diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast new file mode 100644 index 000000000..d6df1aba2 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast | |||
@@ -0,0 +1,33 @@ | |||
1 | SOURCE_FILE@[0; 33) | ||
2 | FN_DEF@[0; 32) | ||
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; 32) | ||
12 | BLOCK@[9; 32) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | LET_STMT@[15; 30) | ||
16 | LET_KW@[15; 18) "let" | ||
17 | WHITESPACE@[18; 19) " " | ||
18 | PLACEHOLDER_PAT@[19; 20) | ||
19 | UNDERSCORE@[19; 20) "_" | ||
20 | WHITESPACE@[20; 21) " " | ||
21 | EQ@[21; 22) "=" | ||
22 | WHITESPACE@[22; 23) " " | ||
23 | TRY_EXPR@[23; 29) | ||
24 | TRY_KW@[23; 26) "try" | ||
25 | WHITESPACE@[26; 27) " " | ||
26 | BLOCK_EXPR@[27; 29) | ||
27 | BLOCK@[27; 29) | ||
28 | L_CURLY@[27; 28) "{" | ||
29 | R_CURLY@[28; 29) "}" | ||
30 | SEMI@[29; 30) ";" | ||
31 | WHITESPACE@[30; 31) "\n" | ||
32 | R_CURLY@[31; 32) "}" | ||
33 | WHITESPACE@[32; 33) "\n" | ||