diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast b/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast new file mode 100644 index 000000000..1d65b0d6e --- /dev/null +++ b/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast | |||
@@ -0,0 +1,29 @@ | |||
1 | SOURCE_FILE@[0; 23) | ||
2 | FN_DEF@[0; 22) | ||
3 | ATTR@[0; 10) | ||
4 | POUND@[0; 1) "#" | ||
5 | L_BRACK@[1; 2) "[" | ||
6 | PATH@[2; 5) | ||
7 | PATH_SEGMENT@[2; 5) | ||
8 | NAME_REF@[2; 5) | ||
9 | IDENT@[2; 5) "foo" | ||
10 | TOKEN_TREE@[5; 9) | ||
11 | L_PAREN@[5; 6) "(" | ||
12 | IDENT@[6; 7) "a" | ||
13 | COMMA@[7; 8) "," | ||
14 | R_PAREN@[8; 9) ")" | ||
15 | R_BRACK@[9; 10) "]" | ||
16 | WHITESPACE@[10; 11) "\n" | ||
17 | FN_KW@[11; 13) "fn" | ||
18 | WHITESPACE@[13; 14) " " | ||
19 | NAME@[14; 17) | ||
20 | IDENT@[14; 17) "foo" | ||
21 | PARAM_LIST@[17; 19) | ||
22 | L_PAREN@[17; 18) "(" | ||
23 | R_PAREN@[18; 19) ")" | ||
24 | WHITESPACE@[19; 20) " " | ||
25 | BLOCK_EXPR@[20; 22) | ||
26 | BLOCK@[20; 22) | ||
27 | L_CURLY@[20; 21) "{" | ||
28 | R_CURLY@[21; 22) "}" | ||
29 | WHITESPACE@[22; 23) "\n" | ||