diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast b/crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast new file mode 100644 index 000000000..731c31f76 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast | |||
@@ -0,0 +1,44 @@ | |||
1 | SOURCE_FILE@[0; 64) | ||
2 | STRUCT_DEF@[0; 63) | ||
3 | STRUCT_KW@[0; 6) "struct" | ||
4 | WHITESPACE@[6; 7) " " | ||
5 | NAME@[7; 8) | ||
6 | IDENT@[7; 8) "S" | ||
7 | WHITESPACE@[8; 9) " " | ||
8 | RECORD_FIELD_DEF_LIST@[9; 63) | ||
9 | L_CURLY@[9; 10) "{" | ||
10 | WHITESPACE@[10; 15) "\n " | ||
11 | RECORD_FIELD_DEF@[15; 60) | ||
12 | ATTR@[15; 43) | ||
13 | POUND@[15; 16) "#" | ||
14 | L_BRACK@[16; 17) "[" | ||
15 | PATH@[17; 22) | ||
16 | PATH_SEGMENT@[17; 22) | ||
17 | NAME_REF@[17; 22) | ||
18 | IDENT@[17; 22) "serde" | ||
19 | TOKEN_TREE@[22; 42) | ||
20 | L_PAREN@[22; 23) "(" | ||
21 | IDENT@[23; 27) "with" | ||
22 | WHITESPACE@[27; 28) " " | ||
23 | EQ@[28; 29) "=" | ||
24 | WHITESPACE@[29; 30) " " | ||
25 | STRING@[30; 41) "\"url_serde\"" | ||
26 | R_PAREN@[41; 42) ")" | ||
27 | R_BRACK@[42; 43) "]" | ||
28 | WHITESPACE@[43; 48) "\n " | ||
29 | VISIBILITY@[48; 51) | ||
30 | PUB_KW@[48; 51) "pub" | ||
31 | WHITESPACE@[51; 52) " " | ||
32 | NAME@[52; 55) | ||
33 | IDENT@[52; 55) "uri" | ||
34 | COLON@[55; 56) ":" | ||
35 | WHITESPACE@[56; 57) " " | ||
36 | PATH_TYPE@[57; 60) | ||
37 | PATH@[57; 60) | ||
38 | PATH_SEGMENT@[57; 60) | ||
39 | NAME_REF@[57; 60) | ||
40 | IDENT@[57; 60) "Uri" | ||
41 | COMMA@[60; 61) "," | ||
42 | WHITESPACE@[61; 62) "\n" | ||
43 | R_CURLY@[62; 63) "}" | ||
44 | WHITESPACE@[63; 64) "\n" | ||