summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__section.snap
blob: 6cd44939cf45221fad3e8813cca9d33263b13936 (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
40
41
---
source: crates/symbols/src/document/tests.rs
expression: "document_symbols(&fixture.workspace, document)"
---
[
    Symbol {
        name: "Foo",
        kind: Section,
        label: None,
        full_range: 43..56,
        selection_range: 43..56,
        children: [],
    },
    Symbol {
        name: "2 Bar",
        kind: Section,
        label: Some(
            Span(
                "sec:bar",
                71..86,
            ),
        ),
        full_range: 58..119,
        selection_range: 71..86,
        children: [
            Symbol {
                name: "Baz",
                kind: Section,
                label: Some(
                    Span(
                        "sec:baz",
                        104..119,
                    ),
                ),
                full_range: 88..119,
                selection_range: 104..119,
                children: [],
            },
        ],
    },
]