diff options
author | veetaha <[email protected]> | 2020-04-06 12:04:26 +0100 |
---|---|---|
committer | veetaha <[email protected]> | 2020-04-06 12:04:26 +0100 |
commit | da091b130347c4d6d8c75acb8e65c30a17dc1f5e (patch) | |
tree | f97939669a700ed80a64086b1f0aefd530bc9bea /crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.txt | |
parent | ec3fb1cdb4f1808a11fb6057550ed721c2aa36a9 (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/0089_extern_fn.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.txt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.txt b/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.txt deleted file mode 100644 index b494f6c59..000000000 --- a/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.txt +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 19) | ||
2 | FN_DEF@[0; 18) | ||
3 | ABI@[0; 6) | ||
4 | EXTERN_KW@[0; 6) "extern" | ||
5 | WHITESPACE@[6; 7) " " | ||
6 | FN_KW@[7; 9) "fn" | ||
7 | WHITESPACE@[9; 10) " " | ||
8 | NAME@[10; 13) | ||
9 | IDENT@[10; 13) "foo" | ||
10 | PARAM_LIST@[13; 15) | ||
11 | L_PAREN@[13; 14) "(" | ||
12 | R_PAREN@[14; 15) ")" | ||
13 | WHITESPACE@[15; 16) " " | ||
14 | BLOCK_EXPR@[16; 18) | ||
15 | BLOCK@[16; 18) | ||
16 | L_CURLY@[16; 17) "{" | ||
17 | R_CURLY@[17; 18) "}" | ||
18 | WHITESPACE@[18; 19) "\n" | ||