diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast new file mode 100644 index 000000000..21f49690a --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast | |||
@@ -0,0 +1,59 @@ | |||
1 | SOURCE_FILE@[0; 47) | ||
2 | FN_DEF@[0; 46) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | R_PAREN@[7; 8) ")" | ||
10 | WHITESPACE@[8; 9) " " | ||
11 | BLOCK_EXPR@[9; 46) | ||
12 | BLOCK@[9; 46) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | EXPR_STMT@[15; 31) | ||
16 | BLOCK_EXPR@[15; 31) | ||
17 | BLOCK@[15; 31) | ||
18 | L_CURLY@[15; 16) "{" | ||
19 | WHITESPACE@[16; 17) " " | ||
20 | TRY_EXPR@[17; 29) | ||
21 | ATTR@[17; 21) | ||
22 | POUND@[17; 18) "#" | ||
23 | L_BRACK@[18; 19) "[" | ||
24 | PATH@[19; 20) | ||
25 | PATH_SEGMENT@[19; 20) | ||
26 | NAME_REF@[19; 20) | ||
27 | IDENT@[19; 20) "A" | ||
28 | R_BRACK@[20; 21) "]" | ||
29 | WHITESPACE@[21; 22) " " | ||
30 | MACRO_CALL@[22; 28) | ||
31 | PATH@[22; 25) | ||
32 | PATH_SEGMENT@[22; 25) | ||
33 | NAME_REF@[22; 25) | ||
34 | IDENT@[22; 25) "bar" | ||
35 | EXCL@[25; 26) "!" | ||
36 | TOKEN_TREE@[26; 28) | ||
37 | L_PAREN@[26; 27) "(" | ||
38 | R_PAREN@[27; 28) ")" | ||
39 | QUESTION@[28; 29) "?" | ||
40 | WHITESPACE@[29; 30) " " | ||
41 | R_CURLY@[30; 31) "}" | ||
42 | WHITESPACE@[31; 36) "\n " | ||
43 | REF_EXPR@[36; 44) | ||
44 | ATTR@[36; 40) | ||
45 | POUND@[36; 37) "#" | ||
46 | L_BRACK@[37; 38) "[" | ||
47 | PATH@[38; 39) | ||
48 | PATH_SEGMENT@[38; 39) | ||
49 | NAME_REF@[38; 39) | ||
50 | IDENT@[38; 39) "B" | ||
51 | R_BRACK@[39; 40) "]" | ||
52 | WHITESPACE@[40; 41) " " | ||
53 | AMP@[41; 42) "&" | ||
54 | TUPLE_EXPR@[42; 44) | ||
55 | L_PAREN@[42; 43) "(" | ||
56 | R_PAREN@[43; 44) ")" | ||
57 | WHITESPACE@[44; 45) "\n" | ||
58 | R_CURLY@[45; 46) "}" | ||
59 | WHITESPACE@[46; 47) "\n" | ||