diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast new file mode 100644 index 000000000..36d8f4a5f --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast | |||
@@ -0,0 +1,37 @@ | |||
1 | SOURCE_FILE@[0; 33) | ||
2 | FN_DEF@[0; 32) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 7) | ||
6 | IDENT@[3; 7) "main" | ||
7 | PARAM_LIST@[7; 9) | ||
8 | L_PAREN@[7; 8) "(" | ||
9 | R_PAREN@[8; 9) ")" | ||
10 | WHITESPACE@[9; 10) " " | ||
11 | BLOCK_EXPR@[10; 32) | ||
12 | BLOCK@[10; 32) | ||
13 | L_CURLY@[10; 11) "{" | ||
14 | WHITESPACE@[11; 16) "\n " | ||
15 | LET_STMT@[16; 30) | ||
16 | LET_KW@[16; 19) "let" | ||
17 | WHITESPACE@[19; 20) " " | ||
18 | MACRO_PAT@[20; 25) | ||
19 | MACRO_CALL@[20; 25) | ||
20 | PATH@[20; 21) | ||
21 | PATH_SEGMENT@[20; 21) | ||
22 | NAME_REF@[20; 21) | ||
23 | IDENT@[20; 21) "m" | ||
24 | EXCL@[21; 22) "!" | ||
25 | TOKEN_TREE@[22; 25) | ||
26 | L_PAREN@[22; 23) "(" | ||
27 | IDENT@[23; 24) "x" | ||
28 | R_PAREN@[24; 25) ")" | ||
29 | WHITESPACE@[25; 26) " " | ||
30 | EQ@[26; 27) "=" | ||
31 | WHITESPACE@[27; 28) " " | ||
32 | LITERAL@[28; 29) | ||
33 | INT_NUMBER@[28; 29) "0" | ||
34 | SEMI@[29; 30) ";" | ||
35 | WHITESPACE@[30; 31) "\n" | ||
36 | R_CURLY@[31; 32) "}" | ||
37 | WHITESPACE@[32; 33) "\n" | ||