summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__enumerate.snap
blob: f94828c362ca56becb37b9a2a281af2f28d0a87f (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
---
source: crates/symbols/src/document/tests.rs
expression: "document_symbols(&fixture.workspace, document)"
---
[
    Symbol {
        name: "Enumerate",
        kind: Enumeration,
        label: None,
        full_range: 43..184,
        selection_range: 43..184,
        children: [
            Symbol {
                name: "1",
                kind: EnumerationItem,
                label: Some(
                    Span(
                        "it:foo",
                        70..84,
                    ),
                ),
                full_range: 65..88,
                selection_range: 70..84,
                children: [],
            },
            Symbol {
                name: "Item",
                kind: EnumerationItem,
                label: Some(
                    Span(
                        "it:bar",
                        98..112,
                    ),
                ),
                full_range: 93..116,
                selection_range: 98..112,
                children: [],
            },
            Symbol {
                name: "Baz",
                kind: EnumerationItem,
                label: None,
                full_range: 121..135,
                selection_range: 121..135,
                children: [],
            },
            Symbol {
                name: "2",
                kind: EnumerationItem,
                label: Some(
                    Span(
                        "it:qux",
                        150..164,
                    ),
                ),
                full_range: 140..168,
                selection_range: 150..164,
                children: [],
            },
        ],
    },
]