diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.rast | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.rast b/crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.rast new file mode 100644 index 000000000..3556099bd --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0147_macro_def.rast | |||
@@ -0,0 +1,45 @@ | |||
1 | SOURCE_FILE@[0; 50) | ||
2 | MACRO_DEF@[0; 28) | ||
3 | MACRO_KW@[0; 5) "macro" | ||
4 | WHITESPACE@[5; 6) " " | ||
5 | NAME@[6; 7) | ||
6 | IDENT@[6; 7) "m" | ||
7 | WHITESPACE@[7; 8) " " | ||
8 | TOKEN_TREE@[8; 28) | ||
9 | L_CURLY@[8; 9) "{" | ||
10 | WHITESPACE@[9; 10) " " | ||
11 | TOKEN_TREE@[10; 20) | ||
12 | L_PAREN@[10; 11) "(" | ||
13 | DOLLAR@[11; 12) "$" | ||
14 | IDENT@[12; 13) "i" | ||
15 | COLON@[13; 14) ":" | ||
16 | IDENT@[14; 19) "ident" | ||
17 | R_PAREN@[19; 20) ")" | ||
18 | WHITESPACE@[20; 21) " " | ||
19 | EQ@[21; 22) "=" | ||
20 | R_ANGLE@[22; 23) ">" | ||
21 | WHITESPACE@[23; 24) " " | ||
22 | TOKEN_TREE@[24; 26) | ||
23 | L_CURLY@[24; 25) "{" | ||
24 | R_CURLY@[25; 26) "}" | ||
25 | WHITESPACE@[26; 27) " " | ||
26 | R_CURLY@[27; 28) "}" | ||
27 | WHITESPACE@[28; 29) "\n" | ||
28 | MACRO_DEF@[29; 49) | ||
29 | MACRO_KW@[29; 34) "macro" | ||
30 | WHITESPACE@[34; 35) " " | ||
31 | NAME@[35; 36) | ||
32 | IDENT@[35; 36) "m" | ||
33 | TOKEN_TREE@[36; 49) | ||
34 | TOKEN_TREE@[36; 46) | ||
35 | L_PAREN@[36; 37) "(" | ||
36 | DOLLAR@[37; 38) "$" | ||
37 | IDENT@[38; 39) "i" | ||
38 | COLON@[39; 40) ":" | ||
39 | IDENT@[40; 45) "ident" | ||
40 | R_PAREN@[45; 46) ")" | ||
41 | WHITESPACE@[46; 47) " " | ||
42 | TOKEN_TREE@[47; 49) | ||
43 | L_CURLY@[47; 48) "{" | ||
44 | R_CURLY@[48; 49) "}" | ||
45 | WHITESPACE@[49; 50) "\n" | ||