summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/workspace/snapshots/symbols__workspace__tests__filter_type_item.snap
blob: 993d046d3de67f05cd338aace9870b64b99af586 (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
---
source: crates/symbols/src/workspace/tests.rs
expression: "workspace_symbols(&fixture.workspace, \"item\")"
---
[
    SymbolLocation {
        document: Document(
            "file:///texlab/main.tex",
        ),
        symbol: Symbol {
            name: "1",
            kind: EnumerationItem,
            label: Some(
                Span(
                    "itm:foo",
                    352..367,
                ),
            ),
            full_range: 347..371,
            selection_range: 352..367,
            children: [],
        },
    },
    SymbolLocation {
        document: Document(
            "file:///texlab/main.tex",
        ),
        symbol: Symbol {
            name: "2",
            kind: EnumerationItem,
            label: Some(
                Span(
                    "itm:bar",
                    381..396,
                ),
            ),
            full_range: 376..400,
            selection_range: 381..396,
            children: [],
        },
    },
    SymbolLocation {
        document: Document(
            "file:///texlab/main.tex",
        ),
        symbol: Symbol {
            name: "3",
            kind: EnumerationItem,
            label: Some(
                Span(
                    "itm:baz",
                    410..425,
                ),
            ),
            full_range: 405..429,
            selection_range: 410..425,
            children: [],
        },
    },
]