diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast b/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast new file mode 100644 index 000000000..e75d569f0 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast | |||
@@ -0,0 +1,30 @@ | |||
1 | SOURCE_FILE@[0; 21) | ||
2 | FN_DEF@[0; 20) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 4) | ||
6 | IDENT@[3; 4) "a" | ||
7 | PARAM_LIST@[4; 6) | ||
8 | L_PAREN@[4; 5) "(" | ||
9 | R_PAREN@[5; 6) ")" | ||
10 | WHITESPACE@[6; 7) " " | ||
11 | BLOCK_EXPR@[7; 20) | ||
12 | BLOCK@[7; 20) | ||
13 | L_CURLY@[7; 8) "{" | ||
14 | WHITESPACE@[8; 9) " " | ||
15 | FN_DEF@[9; 18) | ||
16 | FN_KW@[9; 11) "fn" | ||
17 | WHITESPACE@[11; 12) " " | ||
18 | NAME@[12; 13) | ||
19 | IDENT@[12; 13) "b" | ||
20 | PARAM_LIST@[13; 15) | ||
21 | L_PAREN@[13; 14) "(" | ||
22 | R_PAREN@[14; 15) ")" | ||
23 | WHITESPACE@[15; 16) " " | ||
24 | BLOCK_EXPR@[16; 18) | ||
25 | BLOCK@[16; 18) | ||
26 | L_CURLY@[16; 17) "{" | ||
27 | R_CURLY@[17; 18) "}" | ||
28 | WHITESPACE@[18; 19) " " | ||
29 | R_CURLY@[19; 20) "}" | ||
30 | WHITESPACE@[20; 21) "\n" | ||