diff options
author | Aleksey Kladov <[email protected]> | 2018-08-16 11:20:59 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-16 11:20:59 +0100 |
commit | eda52cbc348f37c1ae4391da901b2d605e161716 (patch) | |
tree | a5ca0308241aea303a207a424464abbbf6614d40 /crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.txt | |
parent | a5515d9d6f215da4351b482d839aab5212fa0e6f (diff) |
allow field attrs
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.txt')
-rw-r--r-- | crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.txt b/crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.txt new file mode 100644 index 000000000..f4e2d9716 --- /dev/null +++ b/crates/libsyntax2/tests/data/parser/inline/0103_field_attrs.txt | |||
@@ -0,0 +1,41 @@ | |||
1 | FILE@[0; 64) | ||
2 | STRUCT_DEF@[0; 63) | ||
3 | STRUCT_KW@[0; 6) | ||
4 | WHITESPACE@[6; 7) | ||
5 | NAME@[7; 8) | ||
6 | IDENT@[7; 8) "S" | ||
7 | WHITESPACE@[8; 9) | ||
8 | L_CURLY@[9; 10) | ||
9 | WHITESPACE@[10; 15) | ||
10 | NAMED_FIELD@[15; 60) | ||
11 | ATTR@[15; 43) | ||
12 | POUND@[15; 16) | ||
13 | TOKEN_TREE@[16; 43) | ||
14 | L_BRACK@[16; 17) | ||
15 | IDENT@[17; 22) "serde" | ||
16 | TOKEN_TREE@[22; 42) | ||
17 | L_PAREN@[22; 23) | ||
18 | IDENT@[23; 27) "with" | ||
19 | WHITESPACE@[27; 28) | ||
20 | EQ@[28; 29) | ||
21 | WHITESPACE@[29; 30) | ||
22 | STRING@[30; 41) | ||
23 | R_PAREN@[41; 42) | ||
24 | R_BRACK@[42; 43) | ||
25 | WHITESPACE@[43; 48) | ||
26 | VISIBILITY@[48; 51) | ||
27 | PUB_KW@[48; 51) | ||
28 | WHITESPACE@[51; 52) | ||
29 | NAME@[52; 55) | ||
30 | IDENT@[52; 55) "uri" | ||
31 | COLON@[55; 56) | ||
32 | WHITESPACE@[56; 57) | ||
33 | PATH_TYPE@[57; 60) | ||
34 | PATH@[57; 60) | ||
35 | PATH_SEGMENT@[57; 60) | ||
36 | NAME_REF@[57; 60) | ||
37 | IDENT@[57; 60) "Uri" | ||
38 | COMMA@[60; 61) | ||
39 | WHITESPACE@[61; 62) | ||
40 | R_CURLY@[62; 63) | ||
41 | WHITESPACE@[63; 64) | ||