diff options
author | Aleksey Kladov <[email protected]> | 2020-04-24 22:51:02 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-25 10:59:18 +0100 |
commit | 8843588fca7a6022b86800d5d2539594c0de93cf (patch) | |
tree | 3c5162068377dbd53dbf40b602baeeed7aa82285 /crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast | |
parent | b1d5817dd18b7b5fc102a63b084b1ee7ff4f9996 (diff) |
Convert tests to text-size
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast | 292 |
1 files changed, 146 insertions, 146 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast b/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast index ff380b448..6123885e3 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast | |||
@@ -1,146 +1,146 @@ | |||
1 | SOURCE_FILE@[0; 259) | 1 | SOURCE_FILE@0..259 |
2 | FN_DEF@[0; 258) | 2 | FN_DEF@0..258 |
3 | FN_KW@[0; 2) "fn" | 3 | FN_KW@0..2 "fn" |
4 | WHITESPACE@[2; 3) " " | 4 | WHITESPACE@2..3 " " |
5 | NAME@[3; 6) | 5 | NAME@3..6 |
6 | IDENT@[3; 6) "foo" | 6 | IDENT@3..6 "foo" |
7 | PARAM_LIST@[6; 8) | 7 | PARAM_LIST@6..8 |
8 | L_PAREN@[6; 7) "(" | 8 | L_PAREN@6..7 "(" |
9 | R_PAREN@[7; 8) ")" | 9 | R_PAREN@7..8 ")" |
10 | WHITESPACE@[8; 9) " " | 10 | WHITESPACE@8..9 " " |
11 | BLOCK_EXPR@[9; 258) | 11 | BLOCK_EXPR@9..258 |
12 | BLOCK@[9; 258) | 12 | BLOCK@9..258 |
13 | L_CURLY@[9; 10) "{" | 13 | L_CURLY@9..10 "{" |
14 | WHITESPACE@[10; 15) "\n " | 14 | WHITESPACE@10..15 "\n " |
15 | MATCH_EXPR@[15; 256) | 15 | MATCH_EXPR@15..256 |
16 | MATCH_KW@[15; 20) "match" | 16 | MATCH_KW@15..20 "match" |
17 | WHITESPACE@[20; 21) " " | 17 | WHITESPACE@20..21 " " |
18 | TUPLE_EXPR@[21; 23) | 18 | TUPLE_EXPR@21..23 |
19 | L_PAREN@[21; 22) "(" | 19 | L_PAREN@21..22 "(" |
20 | R_PAREN@[22; 23) ")" | 20 | R_PAREN@22..23 ")" |
21 | WHITESPACE@[23; 24) " " | 21 | WHITESPACE@23..24 " " |
22 | MATCH_ARM_LIST@[24; 256) | 22 | MATCH_ARM_LIST@24..256 |
23 | L_CURLY@[24; 25) "{" | 23 | L_CURLY@24..25 "{" |
24 | WHITESPACE@[25; 34) "\n " | 24 | WHITESPACE@25..34 "\n " |
25 | MATCH_ARM@[34; 74) | 25 | MATCH_ARM@34..74 |
26 | ATTR@[34; 58) | 26 | ATTR@34..58 |
27 | POUND@[34; 35) "#" | 27 | POUND@34..35 "#" |
28 | L_BRACK@[35; 36) "[" | 28 | L_BRACK@35..36 "[" |
29 | PATH@[36; 39) | 29 | PATH@36..39 |
30 | PATH_SEGMENT@[36; 39) | 30 | PATH_SEGMENT@36..39 |
31 | NAME_REF@[36; 39) | 31 | NAME_REF@36..39 |
32 | IDENT@[36; 39) "cfg" | 32 | IDENT@36..39 "cfg" |
33 | TOKEN_TREE@[39; 57) | 33 | TOKEN_TREE@39..57 |
34 | L_PAREN@[39; 40) "(" | 34 | L_PAREN@39..40 "(" |
35 | IDENT@[40; 47) "feature" | 35 | IDENT@40..47 "feature" |
36 | WHITESPACE@[47; 48) " " | 36 | WHITESPACE@47..48 " " |
37 | EQ@[48; 49) "=" | 37 | EQ@48..49 "=" |
38 | WHITESPACE@[49; 50) " " | 38 | WHITESPACE@49..50 " " |
39 | STRING@[50; 56) "\"some\"" | 39 | STRING@50..56 "\"some\"" |
40 | R_PAREN@[56; 57) ")" | 40 | R_PAREN@56..57 ")" |
41 | R_BRACK@[57; 58) "]" | 41 | R_BRACK@57..58 "]" |
42 | WHITESPACE@[58; 67) "\n " | 42 | WHITESPACE@58..67 "\n " |
43 | PLACEHOLDER_PAT@[67; 68) | 43 | PLACEHOLDER_PAT@67..68 |
44 | UNDERSCORE@[67; 68) "_" | 44 | UNDERSCORE@67..68 "_" |
45 | WHITESPACE@[68; 69) " " | 45 | WHITESPACE@68..69 " " |
46 | FAT_ARROW@[69; 71) "=>" | 46 | FAT_ARROW@69..71 "=>" |
47 | WHITESPACE@[71; 72) " " | 47 | WHITESPACE@71..72 " " |
48 | TUPLE_EXPR@[72; 74) | 48 | TUPLE_EXPR@72..74 |
49 | L_PAREN@[72; 73) "(" | 49 | L_PAREN@72..73 "(" |
50 | R_PAREN@[73; 74) ")" | 50 | R_PAREN@73..74 ")" |
51 | COMMA@[74; 75) "," | 51 | COMMA@74..75 "," |
52 | WHITESPACE@[75; 84) "\n " | 52 | WHITESPACE@75..84 "\n " |
53 | MATCH_ARM@[84; 125) | 53 | MATCH_ARM@84..125 |
54 | ATTR@[84; 109) | 54 | ATTR@84..109 |
55 | POUND@[84; 85) "#" | 55 | POUND@84..85 "#" |
56 | L_BRACK@[85; 86) "[" | 56 | L_BRACK@85..86 "[" |
57 | PATH@[86; 89) | 57 | PATH@86..89 |
58 | PATH_SEGMENT@[86; 89) | 58 | PATH_SEGMENT@86..89 |
59 | NAME_REF@[86; 89) | 59 | NAME_REF@86..89 |
60 | IDENT@[86; 89) "cfg" | 60 | IDENT@86..89 "cfg" |
61 | TOKEN_TREE@[89; 108) | 61 | TOKEN_TREE@89..108 |
62 | L_PAREN@[89; 90) "(" | 62 | L_PAREN@89..90 "(" |
63 | IDENT@[90; 97) "feature" | 63 | IDENT@90..97 "feature" |
64 | WHITESPACE@[97; 98) " " | 64 | WHITESPACE@97..98 " " |
65 | EQ@[98; 99) "=" | 65 | EQ@98..99 "=" |
66 | WHITESPACE@[99; 100) " " | 66 | WHITESPACE@99..100 " " |
67 | STRING@[100; 107) "\"other\"" | 67 | STRING@100..107 "\"other\"" |
68 | R_PAREN@[107; 108) ")" | 68 | R_PAREN@107..108 ")" |
69 | R_BRACK@[108; 109) "]" | 69 | R_BRACK@108..109 "]" |
70 | WHITESPACE@[109; 118) "\n " | 70 | WHITESPACE@109..118 "\n " |
71 | PLACEHOLDER_PAT@[118; 119) | 71 | PLACEHOLDER_PAT@118..119 |
72 | UNDERSCORE@[118; 119) "_" | 72 | UNDERSCORE@118..119 "_" |
73 | WHITESPACE@[119; 120) " " | 73 | WHITESPACE@119..120 " " |
74 | FAT_ARROW@[120; 122) "=>" | 74 | FAT_ARROW@120..122 "=>" |
75 | WHITESPACE@[122; 123) " " | 75 | WHITESPACE@122..123 " " |
76 | TUPLE_EXPR@[123; 125) | 76 | TUPLE_EXPR@123..125 |
77 | L_PAREN@[123; 124) "(" | 77 | L_PAREN@123..124 "(" |
78 | R_PAREN@[124; 125) ")" | 78 | R_PAREN@124..125 ")" |
79 | COMMA@[125; 126) "," | 79 | COMMA@125..126 "," |
80 | WHITESPACE@[126; 135) "\n " | 80 | WHITESPACE@126..135 "\n " |
81 | MATCH_ARM@[135; 249) | 81 | MATCH_ARM@135..249 |
82 | ATTR@[135; 159) | 82 | ATTR@135..159 |
83 | POUND@[135; 136) "#" | 83 | POUND@135..136 "#" |
84 | L_BRACK@[136; 137) "[" | 84 | L_BRACK@136..137 "[" |
85 | PATH@[137; 140) | 85 | PATH@137..140 |
86 | PATH_SEGMENT@[137; 140) | 86 | PATH_SEGMENT@137..140 |
87 | NAME_REF@[137; 140) | 87 | NAME_REF@137..140 |
88 | IDENT@[137; 140) "cfg" | 88 | IDENT@137..140 "cfg" |
89 | TOKEN_TREE@[140; 158) | 89 | TOKEN_TREE@140..158 |
90 | L_PAREN@[140; 141) "(" | 90 | L_PAREN@140..141 "(" |
91 | IDENT@[141; 148) "feature" | 91 | IDENT@141..148 "feature" |
92 | WHITESPACE@[148; 149) " " | 92 | WHITESPACE@148..149 " " |
93 | EQ@[149; 150) "=" | 93 | EQ@149..150 "=" |
94 | WHITESPACE@[150; 151) " " | 94 | WHITESPACE@150..151 " " |
95 | STRING@[151; 157) "\"many\"" | 95 | STRING@151..157 "\"many\"" |
96 | R_PAREN@[157; 158) ")" | 96 | R_PAREN@157..158 ")" |
97 | R_BRACK@[158; 159) "]" | 97 | R_BRACK@158..159 "]" |
98 | WHITESPACE@[159; 168) "\n " | 98 | WHITESPACE@159..168 "\n " |
99 | ATTR@[168; 198) | 99 | ATTR@168..198 |
100 | POUND@[168; 169) "#" | 100 | POUND@168..169 "#" |
101 | L_BRACK@[169; 170) "[" | 101 | L_BRACK@169..170 "[" |
102 | PATH@[170; 173) | 102 | PATH@170..173 |
103 | PATH_SEGMENT@[170; 173) | 103 | PATH_SEGMENT@170..173 |
104 | NAME_REF@[170; 173) | 104 | NAME_REF@170..173 |
105 | IDENT@[170; 173) "cfg" | 105 | IDENT@170..173 "cfg" |
106 | TOKEN_TREE@[173; 197) | 106 | TOKEN_TREE@173..197 |
107 | L_PAREN@[173; 174) "(" | 107 | L_PAREN@173..174 "(" |
108 | IDENT@[174; 181) "feature" | 108 | IDENT@174..181 "feature" |
109 | WHITESPACE@[181; 182) " " | 109 | WHITESPACE@181..182 " " |
110 | EQ@[182; 183) "=" | 110 | EQ@182..183 "=" |
111 | WHITESPACE@[183; 184) " " | 111 | WHITESPACE@183..184 " " |
112 | STRING@[184; 196) "\"attributes\"" | 112 | STRING@184..196 "\"attributes\"" |
113 | R_PAREN@[196; 197) ")" | 113 | R_PAREN@196..197 ")" |
114 | R_BRACK@[197; 198) "]" | 114 | R_BRACK@197..198 "]" |
115 | WHITESPACE@[198; 207) "\n " | 115 | WHITESPACE@198..207 "\n " |
116 | ATTR@[207; 233) | 116 | ATTR@207..233 |
117 | POUND@[207; 208) "#" | 117 | POUND@207..208 "#" |
118 | L_BRACK@[208; 209) "[" | 118 | L_BRACK@208..209 "[" |
119 | PATH@[209; 212) | 119 | PATH@209..212 |
120 | PATH_SEGMENT@[209; 212) | 120 | PATH_SEGMENT@209..212 |
121 | NAME_REF@[209; 212) | 121 | NAME_REF@209..212 |
122 | IDENT@[209; 212) "cfg" | 122 | IDENT@209..212 "cfg" |
123 | TOKEN_TREE@[212; 232) | 123 | TOKEN_TREE@212..232 |
124 | L_PAREN@[212; 213) "(" | 124 | L_PAREN@212..213 "(" |
125 | IDENT@[213; 220) "feature" | 125 | IDENT@213..220 "feature" |
126 | WHITESPACE@[220; 221) " " | 126 | WHITESPACE@220..221 " " |
127 | EQ@[221; 222) "=" | 127 | EQ@221..222 "=" |
128 | WHITESPACE@[222; 223) " " | 128 | WHITESPACE@222..223 " " |
129 | STRING@[223; 231) "\"before\"" | 129 | STRING@223..231 "\"before\"" |
130 | R_PAREN@[231; 232) ")" | 130 | R_PAREN@231..232 ")" |
131 | R_BRACK@[232; 233) "]" | 131 | R_BRACK@232..233 "]" |
132 | WHITESPACE@[233; 242) "\n " | 132 | WHITESPACE@233..242 "\n " |
133 | PLACEHOLDER_PAT@[242; 243) | 133 | PLACEHOLDER_PAT@242..243 |
134 | UNDERSCORE@[242; 243) "_" | 134 | UNDERSCORE@242..243 "_" |
135 | WHITESPACE@[243; 244) " " | 135 | WHITESPACE@243..244 " " |
136 | FAT_ARROW@[244; 246) "=>" | 136 | FAT_ARROW@244..246 "=>" |
137 | WHITESPACE@[246; 247) " " | 137 | WHITESPACE@246..247 " " |
138 | TUPLE_EXPR@[247; 249) | 138 | TUPLE_EXPR@247..249 |
139 | L_PAREN@[247; 248) "(" | 139 | L_PAREN@247..248 "(" |
140 | R_PAREN@[248; 249) ")" | 140 | R_PAREN@248..249 ")" |
141 | COMMA@[249; 250) "," | 141 | COMMA@249..250 "," |
142 | WHITESPACE@[250; 255) "\n " | 142 | WHITESPACE@250..255 "\n " |
143 | R_CURLY@[255; 256) "}" | 143 | R_CURLY@255..256 "}" |
144 | WHITESPACE@[256; 257) "\n" | 144 | WHITESPACE@256..257 "\n" |
145 | R_CURLY@[257; 258) "}" | 145 | R_CURLY@257..258 "}" |
146 | WHITESPACE@[258; 259) "\n" | 146 | WHITESPACE@258..259 "\n" |