Name Paths with One Element

A name path can be as simple as a single name. For instance, the name path server will either point to or define the server section in the configuration.

[main]
user: "example"

[server]
threads: 4
startup delay: 20 s

*[server.connection]
port: 8080
interface: "web"

*[server.connection]
port: 9000
interface: "api"

[server.backend.filter]
reject: "bad"
accept: "good"
Path: server

(root)                    <== Document ( size=2 ) 
── [main]                  <== SectionWithNames ( size=1 ) 
└── user                    <== Text ( "example" ) 
┗━━ [server]                <== SectionWithNames ( size=4 ) 
    ├── [backend]               <== IntermediateSection (  ) 
    └── [filter]                <== SectionWithNames ( size=2 ) 
        ├── accept                  <== Text ( "good" ) 
        └── reject                  <== Text ( "bad" ) 
    ├── *[connection]           <== SectionList ( size=2 ) 
    ├── [0]                     <== SectionWithNames ( size=2 ) 
    ├── interface               <== Text ( "web" ) 
    └── port                    <== Integer ( 8080 ) 
    └── [1]                     <== SectionWithNames ( size=2 ) 
        ├── interface               <== Text ( "api" ) 
        └── port                    <== Integer ( 9000 ) 
    ├── startup_delay           <== TimeDelta ( Not supported ) 
    └── threads                 <== Integer ( 4 ) 

In this case, the path server highlights the section that defines the server-related configurations in the example.