diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast new file mode 100644 index 000000000..4a83a7200 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast | |||
@@ -0,0 +1,29 @@ | |||
1 | SOURCE_FILE@[0; 40) | ||
2 | FN_DEF@[0; 39) | ||
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; 39) | ||
12 | BLOCK@[9; 39) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | EXPR_STMT@[15; 22) | ||
16 | RETURN_EXPR@[15; 21) | ||
17 | RETURN_KW@[15; 21) "return" | ||
18 | SEMI@[21; 22) ";" | ||
19 | WHITESPACE@[22; 27) "\n " | ||
20 | EXPR_STMT@[27; 37) | ||
21 | RETURN_EXPR@[27; 36) | ||
22 | RETURN_KW@[27; 33) "return" | ||
23 | WHITESPACE@[33; 34) " " | ||
24 | LITERAL@[34; 36) | ||
25 | INT_NUMBER@[34; 36) "92" | ||
26 | SEMI@[36; 37) ";" | ||
27 | WHITESPACE@[37; 38) "\n" | ||
28 | R_CURLY@[38; 39) "}" | ||
29 | WHITESPACE@[39; 40) "\n" | ||