diff options
author | uHOOCCOOHu <[email protected]> | 2019-09-29 21:44:33 +0100 |
---|---|---|
committer | uHOOCCOOHu <[email protected]> | 2019-09-30 09:11:40 +0100 |
commit | 71efdaa6364142b359c59659ec10f35a1e53b5d2 (patch) | |
tree | 5dbbbc522bbb52f05d77e2bc0ad2241a57349c86 /crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.txt | |
parent | c913b48928107710d6ec87a455b1ae6891297c2b (diff) |
Parse correct AttrInput
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.txt | 90 |
1 files changed, 50 insertions, 40 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.txt b/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.txt index e8be8203b..3d9aab500 100644 --- a/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.txt +++ b/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.txt | |||
@@ -15,14 +15,16 @@ SOURCE_FILE@[0; 686) | |||
15 | ATTR@[17; 57) | 15 | ATTR@[17; 57) |
16 | POUND@[17; 18) "#" | 16 | POUND@[17; 18) "#" |
17 | EXCL@[18; 19) "!" | 17 | EXCL@[18; 19) "!" |
18 | TOKEN_TREE@[19; 57) | 18 | L_BRACK@[19; 20) "[" |
19 | L_BRACK@[19; 20) "[" | 19 | PATH@[20; 23) |
20 | IDENT@[20; 23) "doc" | 20 | PATH_SEGMENT@[20; 23) |
21 | TOKEN_TREE@[23; 56) | 21 | NAME_REF@[20; 23) |
22 | L_PAREN@[23; 24) "(" | 22 | IDENT@[20; 23) "doc" |
23 | STRING@[24; 55) "\"Inner attributes all ..." | 23 | TOKEN_TREE@[23; 56) |
24 | R_PAREN@[55; 56) ")" | 24 | L_PAREN@[23; 24) "(" |
25 | R_BRACK@[56; 57) "]" | 25 | STRING@[24; 55) "\"Inner attributes all ..." |
26 | R_PAREN@[55; 56) ")" | ||
27 | R_BRACK@[56; 57) "]" | ||
26 | WHITESPACE@[57; 62) "\n " | 28 | WHITESPACE@[57; 62) "\n " |
27 | COMMENT@[62; 97) "//! As are ModuleDoc ..." | 29 | COMMENT@[62; 97) "//! As are ModuleDoc ..." |
28 | WHITESPACE@[97; 102) "\n " | 30 | WHITESPACE@[97; 102) "\n " |
@@ -34,26 +36,30 @@ SOURCE_FILE@[0; 686) | |||
34 | ATTR@[112; 180) | 36 | ATTR@[112; 180) |
35 | POUND@[112; 113) "#" | 37 | POUND@[112; 113) "#" |
36 | EXCL@[113; 114) "!" | 38 | EXCL@[113; 114) "!" |
37 | TOKEN_TREE@[114; 180) | 39 | L_BRACK@[114; 115) "[" |
38 | L_BRACK@[114; 115) "[" | 40 | PATH@[115; 118) |
39 | IDENT@[115; 118) "doc" | 41 | PATH_SEGMENT@[115; 118) |
40 | TOKEN_TREE@[118; 179) | 42 | NAME_REF@[115; 118) |
41 | L_PAREN@[118; 119) "(" | 43 | IDENT@[115; 118) "doc" |
42 | STRING@[119; 178) "\"Inner attributes are ..." | 44 | TOKEN_TREE@[118; 179) |
43 | R_PAREN@[178; 179) ")" | 45 | L_PAREN@[118; 119) "(" |
44 | R_BRACK@[179; 180) "]" | 46 | STRING@[119; 178) "\"Inner attributes are ..." |
47 | R_PAREN@[178; 179) ")" | ||
48 | R_BRACK@[179; 180) "]" | ||
45 | WHITESPACE@[180; 189) "\n " | 49 | WHITESPACE@[180; 189) "\n " |
46 | ATTR@[189; 244) | 50 | ATTR@[189; 244) |
47 | POUND@[189; 190) "#" | 51 | POUND@[189; 190) "#" |
48 | EXCL@[190; 191) "!" | 52 | EXCL@[190; 191) "!" |
49 | TOKEN_TREE@[191; 244) | 53 | L_BRACK@[191; 192) "[" |
50 | L_BRACK@[191; 192) "[" | 54 | PATH@[192; 195) |
51 | IDENT@[192; 195) "doc" | 55 | PATH_SEGMENT@[192; 195) |
52 | TOKEN_TREE@[195; 243) | 56 | NAME_REF@[192; 195) |
53 | L_PAREN@[195; 196) "(" | 57 | IDENT@[192; 195) "doc" |
54 | STRING@[196; 242) "\"Being validated is n ..." | 58 | TOKEN_TREE@[195; 243) |
55 | R_PAREN@[242; 243) ")" | 59 | L_PAREN@[195; 196) "(" |
56 | R_BRACK@[243; 244) "]" | 60 | STRING@[196; 242) "\"Being validated is n ..." |
61 | R_PAREN@[242; 243) ")" | ||
62 | R_BRACK@[243; 244) "]" | ||
57 | WHITESPACE@[244; 253) "\n " | 63 | WHITESPACE@[244; 253) "\n " |
58 | COMMENT@[253; 288) "//! As are ModuleDoc ..." | 64 | COMMENT@[253; 288) "//! As are ModuleDoc ..." |
59 | WHITESPACE@[288; 293) "\n " | 65 | WHITESPACE@[288; 293) "\n " |
@@ -67,14 +73,16 @@ SOURCE_FILE@[0; 686) | |||
67 | ATTR@[310; 409) | 73 | ATTR@[310; 409) |
68 | POUND@[310; 311) "#" | 74 | POUND@[310; 311) "#" |
69 | EXCL@[311; 312) "!" | 75 | EXCL@[311; 312) "!" |
70 | TOKEN_TREE@[312; 409) | 76 | L_BRACK@[312; 313) "[" |
71 | L_BRACK@[312; 313) "[" | 77 | PATH@[313; 316) |
72 | IDENT@[313; 316) "doc" | 78 | PATH_SEGMENT@[313; 316) |
73 | TOKEN_TREE@[316; 408) | 79 | NAME_REF@[313; 316) |
74 | L_PAREN@[316; 317) "(" | 80 | IDENT@[313; 316) "doc" |
75 | STRING@[317; 407) "\"Inner attributes are ..." | 81 | TOKEN_TREE@[316; 408) |
76 | R_PAREN@[407; 408) ")" | 82 | L_PAREN@[316; 317) "(" |
77 | R_BRACK@[408; 409) "]" | 83 | STRING@[317; 407) "\"Inner attributes are ..." |
84 | R_PAREN@[407; 408) ")" | ||
85 | R_BRACK@[408; 409) "]" | ||
78 | WHITESPACE@[409; 418) "\n " | 86 | WHITESPACE@[409; 418) "\n " |
79 | COMMENT@[418; 453) "//! As are ModuleDoc ..." | 87 | COMMENT@[418; 453) "//! As are ModuleDoc ..." |
80 | WHITESPACE@[453; 458) "\n " | 88 | WHITESPACE@[453; 458) "\n " |
@@ -154,14 +162,16 @@ SOURCE_FILE@[0; 686) | |||
154 | ATTR@[612; 639) | 162 | ATTR@[612; 639) |
155 | POUND@[612; 613) "#" | 163 | POUND@[612; 613) "#" |
156 | EXCL@[613; 614) "!" | 164 | EXCL@[613; 614) "!" |
157 | TOKEN_TREE@[614; 639) | 165 | L_BRACK@[614; 615) "[" |
158 | L_BRACK@[614; 615) "[" | 166 | PATH@[615; 620) |
159 | IDENT@[615; 620) "allow" | 167 | PATH_SEGMENT@[615; 620) |
160 | TOKEN_TREE@[620; 638) | 168 | NAME_REF@[615; 620) |
161 | L_PAREN@[620; 621) "(" | 169 | IDENT@[615; 620) "allow" |
162 | IDENT@[621; 637) "unused_variables" | 170 | TOKEN_TREE@[620; 638) |
163 | R_PAREN@[637; 638) ")" | 171 | L_PAREN@[620; 621) "(" |
164 | R_BRACK@[638; 639) "]" | 172 | IDENT@[621; 637) "unused_variables" |
173 | R_PAREN@[637; 638) ")" | ||
174 | R_BRACK@[638; 639) "]" | ||
165 | WHITESPACE@[639; 640) " " | 175 | WHITESPACE@[639; 640) " " |
166 | COMMENT@[640; 677) "// this is `inner_at ..." | 176 | COMMENT@[640; 677) "// this is `inner_at ..." |
167 | WHITESPACE@[677; 682) "\n " | 177 | WHITESPACE@[677; 682) "\n " |