diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast new file mode 100644 index 000000000..18ccfe9ef --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast | |||
@@ -0,0 +1,26 @@ | |||
1 | SOURCE_FILE@[0; 21) | ||
2 | FN_DEF@[0; 20) | ||
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; 20) | ||
12 | BLOCK@[9; 20) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | EXPR_STMT@[15; 18) | ||
16 | TRY_EXPR@[15; 17) | ||
17 | PATH_EXPR@[15; 16) | ||
18 | PATH@[15; 16) | ||
19 | PATH_SEGMENT@[15; 16) | ||
20 | NAME_REF@[15; 16) | ||
21 | IDENT@[15; 16) "x" | ||
22 | QUESTION@[16; 17) "?" | ||
23 | SEMI@[17; 18) ";" | ||
24 | WHITESPACE@[18; 19) "\n" | ||
25 | R_CURLY@[19; 20) "}" | ||
26 | WHITESPACE@[20; 21) "\n" | ||