diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast new file mode 100644 index 000000000..6f685ca8d --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast | |||
@@ -0,0 +1,39 @@ | |||
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; 18) | ||
16 | TUPLE_EXPR@[15; 17) | ||
17 | L_PAREN@[15; 16) "(" | ||
18 | R_PAREN@[16; 17) ")" | ||
19 | SEMI@[17; 18) ";" | ||
20 | WHITESPACE@[18; 23) "\n " | ||
21 | EXPR_STMT@[23; 27) | ||
22 | PAREN_EXPR@[23; 26) | ||
23 | L_PAREN@[23; 24) "(" | ||
24 | LITERAL@[24; 25) | ||
25 | INT_NUMBER@[24; 25) "1" | ||
26 | R_PAREN@[25; 26) ")" | ||
27 | SEMI@[26; 27) ";" | ||
28 | WHITESPACE@[27; 32) "\n " | ||
29 | EXPR_STMT@[32; 37) | ||
30 | TUPLE_EXPR@[32; 36) | ||
31 | L_PAREN@[32; 33) "(" | ||
32 | LITERAL@[33; 34) | ||
33 | INT_NUMBER@[33; 34) "1" | ||
34 | COMMA@[34; 35) "," | ||
35 | R_PAREN@[35; 36) ")" | ||
36 | SEMI@[36; 37) ";" | ||
37 | WHITESPACE@[37; 38) "\n" | ||
38 | R_CURLY@[38; 39) "}" | ||
39 | WHITESPACE@[39; 40) "\n" | ||