summaryrefslogtreecommitdiff
path: root/support/texlab/crates/symbols/src/document/snapshots/symbols__document__tests__theorem.snap
blob: 9d897532b171ca0efe6ac8a878f02bfa9fc38763 (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
---
source: crates/symbols/src/document/tests.rs
expression: "document_symbols(&fixture.workspace, document)"
---
[
    Symbol {
        name: "Lemma 1 (Foo)",
        kind: Theorem,
        label: Some(
            Span(
                "thm:foo",
                107..122,
            ),
        ),
        full_range: 89..142,
        selection_range: 107..122,
        children: [],
    },
    Symbol {
        name: "Lemma 2",
        kind: Theorem,
        label: Some(
            Span(
                "thm:bar",
                157..172,
            ),
        ),
        full_range: 144..192,
        selection_range: 157..172,
        children: [],
    },
    Symbol {
        name: "Lemma",
        kind: Theorem,
        label: Some(
            Span(
                "thm:baz",
                207..222,
            ),
        ),
        full_range: 194..242,
        selection_range: 207..222,
        children: [],
    },
    Symbol {
        name: "Lemma (Qux)",
        kind: Theorem,
        label: None,
        full_range: 244..282,
        selection_range: 244..282,
        children: [],
    },
]