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/0010_extern_block.rast | |
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/0010_extern_block.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0010_extern_block.rast | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0010_extern_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0010_extern_block.rast new file mode 100644 index 000000000..506f56fff --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0010_extern_block.rast | |||
@@ -0,0 +1,9 @@ | |||
1 | SOURCE_FILE@[0; 10) | ||
2 | EXTERN_BLOCK@[0; 9) | ||
3 | ABI@[0; 6) | ||
4 | EXTERN_KW@[0; 6) "extern" | ||
5 | WHITESPACE@[6; 7) " " | ||
6 | EXTERN_ITEM_LIST@[7; 9) | ||
7 | L_CURLY@[7; 8) "{" | ||
8 | R_CURLY@[8; 9) "}" | ||
9 | WHITESPACE@[9; 10) "\n" | ||