summaryrefslogtreecommitdiff
path: root/tests/data/config.valid
blob: 1fbdd1505552c1ee25709542005b50886aab1930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* top level leaf node */
top-level-leaf-node foo

top-level-valueless-node

top-level-tag-node foo {
    top-level-tag-node-child some-value
}

top-level-tag-node bar {
    top-level-tag-node-child another-value
}

normal-node {
    normal-node-child {
        valueless-node
        multi-node value1
        /* valueless node comment */
        another-valueless-node
        multi-node value1
        tag-node foo {
        }
        one-more-valueless-node
        tag-node bar {
            some-option some-value
        }
    }
    option-with-quoted-value "some-value"
}

trailing-leaf-node-option some-value

empty-node {
}

trailing-leaf-node-without-value

// Trailing comment
// Another trailing comment