diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast new file mode 100644 index 000000000..df4c04149 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast | |||
@@ -0,0 +1,66 @@ | |||
1 | SOURCE_FILE@[0; 52) | ||
2 | FN_DEF@[0; 51) | ||
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; 51) | ||
12 | BLOCK@[9; 51) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 14) "\n " | ||
15 | LET_STMT@[14; 34) | ||
16 | LET_KW@[14; 17) "let" | ||
17 | WHITESPACE@[17; 18) " " | ||
18 | BIND_PAT@[18; 23) | ||
19 | MUT_KW@[18; 21) "mut" | ||
20 | WHITESPACE@[21; 22) " " | ||
21 | NAME@[22; 23) | ||
22 | IDENT@[22; 23) "p" | ||
23 | WHITESPACE@[23; 24) " " | ||
24 | EQ@[24; 25) "=" | ||
25 | WHITESPACE@[25; 26) " " | ||
26 | RECORD_LIT@[26; 33) | ||
27 | PATH@[26; 27) | ||
28 | PATH_SEGMENT@[26; 27) | ||
29 | NAME_REF@[26; 27) | ||
30 | IDENT@[26; 27) "F" | ||
31 | RECORD_FIELD_LIST@[27; 33) | ||
32 | L_CURLY@[27; 28) "{" | ||
33 | RECORD_FIELD@[28; 32) | ||
34 | NAME_REF@[28; 29) | ||
35 | IDENT@[28; 29) "x" | ||
36 | COLON@[29; 30) ":" | ||
37 | WHITESPACE@[30; 31) " " | ||
38 | LITERAL@[31; 32) | ||
39 | INT_NUMBER@[31; 32) "5" | ||
40 | R_CURLY@[32; 33) "}" | ||
41 | SEMI@[33; 34) ";" | ||
42 | WHITESPACE@[34; 38) "\n " | ||
43 | EXPR_STMT@[38; 49) | ||
44 | BIN_EXPR@[38; 48) | ||
45 | FIELD_EXPR@[38; 43) | ||
46 | BLOCK_EXPR@[38; 41) | ||
47 | BLOCK@[38; 41) | ||
48 | L_CURLY@[38; 39) "{" | ||
49 | PATH_EXPR@[39; 40) | ||
50 | PATH@[39; 40) | ||
51 | PATH_SEGMENT@[39; 40) | ||
52 | NAME_REF@[39; 40) | ||
53 | IDENT@[39; 40) "p" | ||
54 | R_CURLY@[40; 41) "}" | ||
55 | DOT@[41; 42) "." | ||
56 | NAME_REF@[42; 43) | ||
57 | IDENT@[42; 43) "x" | ||
58 | WHITESPACE@[43; 44) " " | ||
59 | EQ@[44; 45) "=" | ||
60 | WHITESPACE@[45; 46) " " | ||
61 | LITERAL@[46; 48) | ||
62 | INT_NUMBER@[46; 48) "10" | ||
63 | SEMI@[48; 49) ";" | ||
64 | WHITESPACE@[49; 50) "\n" | ||
65 | R_CURLY@[50; 51) "}" | ||
66 | WHITESPACE@[51; 52) "\n" | ||