diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast new file mode 100644 index 000000000..fe86894a9 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast | |||
@@ -0,0 +1,29 @@ | |||
1 | SOURCE_FILE@[0; 26) | ||
2 | FN_DEF@[0; 25) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 7) | ||
6 | IDENT@[3; 7) "main" | ||
7 | PARAM_LIST@[7; 9) | ||
8 | L_PAREN@[7; 8) "(" | ||
9 | R_PAREN@[8; 9) ")" | ||
10 | WHITESPACE@[9; 10) " " | ||
11 | BLOCK_EXPR@[10; 25) | ||
12 | BLOCK@[10; 25) | ||
13 | L_CURLY@[10; 11) "{" | ||
14 | WHITESPACE@[11; 12) " " | ||
15 | LET_STMT@[12; 23) | ||
16 | LET_KW@[12; 15) "let" | ||
17 | WHITESPACE@[15; 16) " " | ||
18 | PLACEHOLDER_PAT@[16; 17) | ||
19 | UNDERSCORE@[16; 17) "_" | ||
20 | WHITESPACE@[17; 18) " " | ||
21 | EQ@[18; 19) "=" | ||
22 | WHITESPACE@[19; 20) " " | ||
23 | TUPLE_EXPR@[20; 22) | ||
24 | L_PAREN@[20; 21) "(" | ||
25 | R_PAREN@[21; 22) ")" | ||
26 | SEMI@[22; 23) ";" | ||
27 | WHITESPACE@[23; 24) " " | ||
28 | R_CURLY@[24; 25) "}" | ||
29 | WHITESPACE@[25; 26) "\n" | ||