diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.txt | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.txt b/crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.txt new file mode 100644 index 000000000..892dc813a --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.txt | |||
@@ -0,0 +1,43 @@ | |||
1 | SOURCE_FILE@[0; 41) | ||
2 | TYPE_ALIAS_DEF@[0; 16) | ||
3 | TYPE_KW@[0; 4) "type" | ||
4 | WHITESPACE@[4; 5) " " | ||
5 | NAME@[5; 6) | ||
6 | IDENT@[5; 6) "A" | ||
7 | WHITESPACE@[6; 7) " " | ||
8 | EQ@[7; 8) "=" | ||
9 | WHITESPACE@[8; 9) " " | ||
10 | MACRO_CALL@[9; 15) | ||
11 | PATH@[9; 12) | ||
12 | PATH_SEGMENT@[9; 12) | ||
13 | NAME_REF@[9; 12) | ||
14 | IDENT@[9; 12) "foo" | ||
15 | EXCL@[12; 13) "!" | ||
16 | TOKEN_TREE@[13; 15) | ||
17 | L_PAREN@[13; 14) "(" | ||
18 | R_PAREN@[14; 15) ")" | ||
19 | SEMI@[15; 16) ";" | ||
20 | WHITESPACE@[16; 17) "\n" | ||
21 | TYPE_ALIAS_DEF@[17; 40) | ||
22 | TYPE_KW@[17; 21) "type" | ||
23 | WHITESPACE@[21; 22) " " | ||
24 | NAME@[22; 23) | ||
25 | IDENT@[22; 23) "B" | ||
26 | WHITESPACE@[23; 24) " " | ||
27 | EQ@[24; 25) "=" | ||
28 | WHITESPACE@[25; 26) " " | ||
29 | MACRO_CALL@[26; 39) | ||
30 | PATH@[26; 36) | ||
31 | PATH@[26; 31) | ||
32 | PATH_SEGMENT@[26; 31) | ||
33 | CRATE_KW@[26; 31) "crate" | ||
34 | COLONCOLON@[31; 33) "::" | ||
35 | PATH_SEGMENT@[33; 36) | ||
36 | NAME_REF@[33; 36) | ||
37 | IDENT@[33; 36) "foo" | ||
38 | EXCL@[36; 37) "!" | ||
39 | TOKEN_TREE@[37; 39) | ||
40 | L_PAREN@[37; 38) "(" | ||
41 | R_PAREN@[38; 39) ")" | ||
42 | SEMI@[39; 40) ";" | ||
43 | WHITESPACE@[40; 41) "\n" | ||