summaryrefslogtreecommitdiff
path: root/support/texlab/src/syntax/latex/snapshots/texlab__syntax__latex__parser__tests__caption_figure.snap
blob: 4b963caabd0cd4f0948709d9a360e6640df0375a (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
---
source: src/syntax/latex/parser.rs
expression: "setup(r#\"\\begin{figure}\\caption{Foo}\\end{figure}\"#)"

---
ROOT@0..39
  PREAMBLE@0..39
    ENVIRONMENT@0..39
      BEGIN@0..14
        BEGIN_ENVIRONMENT_NAME@0..6 "\\begin"
        CURLY_GROUP_WORD@6..14
          L_CURLY@6..7 "{"
          WORD@7..13 "figure"
          R_CURLY@13..14 "}"
      CAPTION@14..27
        CAPTION_NAME@14..22 "\\caption"
        CURLY_GROUP@22..27
          L_CURLY@22..23 "{"
          TEXT@23..26
            WORD@23..26 "Foo"
          R_CURLY@26..27 "}"
      END@27..39
        END_ENVIRONMENT_NAME@27..31 "\\end"
        CURLY_GROUP_WORD@31..39
          L_CURLY@31..32 "{"
          WORD@32..38 "figure"
          R_CURLY@38..39 "}"