diff options
Diffstat (limited to 'support/texlab/src/syntax/latex/snapshots/texlab__syntax__latex__parser__tests__caption_figure.snap')
-rw-r--r-- | support/texlab/src/syntax/latex/snapshots/texlab__syntax__latex__parser__tests__caption_figure.snap | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/support/texlab/src/syntax/latex/snapshots/texlab__syntax__latex__parser__tests__caption_figure.snap b/support/texlab/src/syntax/latex/snapshots/texlab__syntax__latex__parser__tests__caption_figure.snap new file mode 100644 index 0000000000..4b963caabd --- /dev/null +++ b/support/texlab/src/syntax/latex/snapshots/texlab__syntax__latex__parser__tests__caption_figure.snap @@ -0,0 +1,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 "}" + |