diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast b/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast new file mode 100644 index 000000000..8a972cdb2 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast | |||
@@ -0,0 +1,37 @@ | |||
1 | SOURCE_FILE@[0; 50) | ||
2 | FN_DEF@[0; 24) | ||
3 | ASYNC_KW@[0; 5) "async" | ||
4 | WHITESPACE@[5; 6) " " | ||
5 | UNSAFE_KW@[6; 12) "unsafe" | ||
6 | WHITESPACE@[12; 13) " " | ||
7 | FN_KW@[13; 15) "fn" | ||
8 | WHITESPACE@[15; 16) " " | ||
9 | NAME@[16; 19) | ||
10 | IDENT@[16; 19) "foo" | ||
11 | PARAM_LIST@[19; 21) | ||
12 | L_PAREN@[19; 20) "(" | ||
13 | R_PAREN@[20; 21) ")" | ||
14 | WHITESPACE@[21; 22) " " | ||
15 | BLOCK_EXPR@[22; 24) | ||
16 | BLOCK@[22; 24) | ||
17 | L_CURLY@[22; 23) "{" | ||
18 | R_CURLY@[23; 24) "}" | ||
19 | WHITESPACE@[24; 25) "\n" | ||
20 | FN_DEF@[25; 49) | ||
21 | CONST_KW@[25; 30) "const" | ||
22 | WHITESPACE@[30; 31) " " | ||
23 | UNSAFE_KW@[31; 37) "unsafe" | ||
24 | WHITESPACE@[37; 38) " " | ||
25 | FN_KW@[38; 40) "fn" | ||
26 | WHITESPACE@[40; 41) " " | ||
27 | NAME@[41; 44) | ||
28 | IDENT@[41; 44) "bar" | ||
29 | PARAM_LIST@[44; 46) | ||
30 | L_PAREN@[44; 45) "(" | ||
31 | R_PAREN@[45; 46) ")" | ||
32 | WHITESPACE@[46; 47) " " | ||
33 | BLOCK_EXPR@[47; 49) | ||
34 | BLOCK@[47; 49) | ||
35 | L_CURLY@[47; 48) "{" | ||
36 | R_CURLY@[48; 49) "}" | ||
37 | WHITESPACE@[49; 50) "\n" | ||