aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.txt
diff options
context:
space:
mode:
authorveetaha <[email protected]>2020-04-06 12:04:26 +0100
committerveetaha <[email protected]>2020-04-06 12:04:26 +0100
commitda091b130347c4d6d8c75acb8e65c30a17dc1f5e (patch)
treef97939669a700ed80a64086b1f0aefd530bc9bea /crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.txt
parentec3fb1cdb4f1808a11fb6057550ed721c2aa36a9 (diff)
Migrate tests .txt -> .rast
The sytax tree output files now use .rast extension (rust-analyzer syntax tree or rust abstract syntax tree (whatever)). This format has a editors/code/ra_syntax_tree.tmGrammar.json declaration that supplies nice syntax highlighting for .rast files.
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.txt29
1 files changed, 0 insertions, 29 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.txt b/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.txt
deleted file mode 100644
index 042cee879..000000000
--- a/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.txt
+++ /dev/null
@@ -1,29 +0,0 @@
1SOURCE_FILE@[0; 21)
2 FN_DEF@[0; 20)
3 FN_KW@[0; 2) "fn"
4 WHITESPACE@[2; 3) " "
5 NAME@[3; 6)
6 IDENT@[3; 6) "foo"
7 PARAM_LIST@[6; 8)
8 L_PAREN@[6; 7) "("
9 R_PAREN@[7; 8) ")"
10 WHITESPACE@[8; 9) " "
11 BLOCK_EXPR@[9; 20)
12 BLOCK@[9; 20)
13 L_CURLY@[9; 10) "{"
14 WHITESPACE@[10; 11) " "
15 EXPR_STMT@[11; 18)
16 INDEX_EXPR@[11; 17)
17 PATH_EXPR@[11; 13)
18 PATH@[11; 13)
19 PATH_SEGMENT@[11; 13)
20 NAME_REF@[11; 13)
21 IDENT@[11; 13) "xs"
22 L_BRACK@[13; 14) "["
23 RANGE_EXPR@[14; 16)
24 DOTDOT@[14; 16) ".."
25 R_BRACK@[16; 17) "]"
26 SEMI@[17; 18) ";"
27 WHITESPACE@[18; 19) " "
28 R_CURLY@[19; 20) "}"
29 WHITESPACE@[20; 21) "\n"