summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_section.snap
blob: 4cf0cb5fe21d52b927dee7025c3d962fe0435eaa (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
source: crates/symbols/src/workspace/tests.rs
expression: "workspace_symbols(&fixture.workspace, \"section\")"
---
[
    SymbolLocation {
        document: Document(
            "file:///texlab/main.tex",
        ),
        symbol: Symbol {
            name: "1 Foo",
            kind: Section,
            label: Some(
                Span(
                    "sec:foo",
                    118..133,
                ),
            ),
            full_range: 105..188,
            selection_range: 118..133,
            children: [],
        },
    },
    SymbolLocation {
        document: Document(
            "file:///texlab/main.tex",
        ),
        symbol: Symbol {
            name: "2 Bar",
            kind: Section,
            label: Some(
                Span(
                    "sec:bar",
                    203..218,
                ),
            ),
            full_range: 190..293,
            selection_range: 203..218,
            children: [],
        },
    },
    SymbolLocation {
        document: Document(
            "file:///texlab/main.tex",
        ),
        symbol: Symbol {
            name: "3 Baz",
            kind: Section,
            label: Some(
                Span(
                    "sec:baz",
                    308..323,
                ),
            ),
            full_range: 295..445,
            selection_range: 308..323,
            children: [],
        },
    },
    SymbolLocation {
        document: Document(
            "file:///texlab/main.tex",
        ),
        symbol: Symbol {
            name: "4 Qux",
            kind: Section,
            label: Some(
                Span(
                    "sec:qux",
                    460..475,
                ),
            ),
            full_range: 447..557,
            selection_range: 460..475,
            children: [],
        },
    },
]