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/ok/0029_range_forms.rast | |
parent | b1d5817dd18b7b5fc102a63b084b1ee7ff4f9996 (diff) |
Convert tests to text-size
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast | 304 |
1 files changed, 152 insertions, 152 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast b/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast index 78056aa95..8177bd89b 100644 --- a/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast +++ b/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast | |||
@@ -1,152 +1,152 @@ | |||
1 | SOURCE_FILE@[0; 153) | 1 | SOURCE_FILE@0..153 |
2 | FN_DEF@[0; 152) | 2 | FN_DEF@0..152 |
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; 152) | 11 | BLOCK_EXPR@9..152 |
12 | BLOCK@[9; 152) | 12 | BLOCK@9..152 |
13 | L_CURLY@[9; 10) "{" | 13 | L_CURLY@9..10 "{" |
14 | WHITESPACE@[10; 15) "\n " | 14 | WHITESPACE@10..15 "\n " |
15 | EXPR_STMT@[15; 23) | 15 | EXPR_STMT@15..23 |
16 | RANGE_EXPR@[15; 22) | 16 | RANGE_EXPR@15..22 |
17 | DOT2@[15; 17) ".." | 17 | DOT2@15..17 ".." |
18 | BIN_EXPR@[17; 22) | 18 | BIN_EXPR@17..22 |
19 | LITERAL@[17; 18) | 19 | LITERAL@17..18 |
20 | INT_NUMBER@[17; 18) "1" | 20 | INT_NUMBER@17..18 "1" |
21 | WHITESPACE@[18; 19) " " | 21 | WHITESPACE@18..19 " " |
22 | PLUS@[19; 20) "+" | 22 | PLUS@19..20 "+" |
23 | WHITESPACE@[20; 21) " " | 23 | WHITESPACE@20..21 " " |
24 | LITERAL@[21; 22) | 24 | LITERAL@21..22 |
25 | INT_NUMBER@[21; 22) "1" | 25 | INT_NUMBER@21..22 "1" |
26 | SEMICOLON@[22; 23) ";" | 26 | SEMICOLON@22..23 ";" |
27 | WHITESPACE@[23; 28) "\n " | 27 | WHITESPACE@23..28 "\n " |
28 | EXPR_STMT@[28; 36) | 28 | EXPR_STMT@28..36 |
29 | BIN_EXPR@[28; 35) | 29 | BIN_EXPR@28..35 |
30 | RANGE_EXPR@[28; 31) | 30 | RANGE_EXPR@28..31 |
31 | DOT2@[28; 30) ".." | 31 | DOT2@28..30 ".." |
32 | PATH_EXPR@[30; 31) | 32 | PATH_EXPR@30..31 |
33 | PATH@[30; 31) | 33 | PATH@30..31 |
34 | PATH_SEGMENT@[30; 31) | 34 | PATH_SEGMENT@30..31 |
35 | NAME_REF@[30; 31) | 35 | NAME_REF@30..31 |
36 | IDENT@[30; 31) "z" | 36 | IDENT@30..31 "z" |
37 | WHITESPACE@[31; 32) " " | 37 | WHITESPACE@31..32 " " |
38 | EQ@[32; 33) "=" | 38 | EQ@32..33 "=" |
39 | WHITESPACE@[33; 34) " " | 39 | WHITESPACE@33..34 " " |
40 | LITERAL@[34; 35) | 40 | LITERAL@34..35 |
41 | INT_NUMBER@[34; 35) "2" | 41 | INT_NUMBER@34..35 "2" |
42 | SEMICOLON@[35; 36) ";" | 42 | SEMICOLON@35..36 ";" |
43 | WHITESPACE@[36; 41) "\n " | 43 | WHITESPACE@36..41 "\n " |
44 | EXPR_STMT@[41; 59) | 44 | EXPR_STMT@41..59 |
45 | BIN_EXPR@[41; 58) | 45 | BIN_EXPR@41..58 |
46 | PATH_EXPR@[41; 42) | 46 | PATH_EXPR@41..42 |
47 | PATH@[41; 42) | 47 | PATH@41..42 |
48 | PATH_SEGMENT@[41; 42) | 48 | PATH_SEGMENT@41..42 |
49 | NAME_REF@[41; 42) | 49 | NAME_REF@41..42 |
50 | IDENT@[41; 42) "x" | 50 | IDENT@41..42 "x" |
51 | WHITESPACE@[42; 43) " " | 51 | WHITESPACE@42..43 " " |
52 | EQ@[43; 44) "=" | 52 | EQ@43..44 "=" |
53 | WHITESPACE@[44; 45) " " | 53 | WHITESPACE@44..45 " " |
54 | RANGE_EXPR@[45; 58) | 54 | RANGE_EXPR@45..58 |
55 | LITERAL@[45; 50) | 55 | LITERAL@45..50 |
56 | FALSE_KW@[45; 50) "false" | 56 | FALSE_KW@45..50 "false" |
57 | DOT2@[50; 52) ".." | 57 | DOT2@50..52 ".." |
58 | BIN_EXPR@[52; 58) | 58 | BIN_EXPR@52..58 |
59 | LITERAL@[52; 53) | 59 | LITERAL@52..53 |
60 | INT_NUMBER@[52; 53) "1" | 60 | INT_NUMBER@52..53 "1" |
61 | WHITESPACE@[53; 54) " " | 61 | WHITESPACE@53..54 " " |
62 | EQ2@[54; 56) "==" | 62 | EQ2@54..56 "==" |
63 | WHITESPACE@[56; 57) " " | 63 | WHITESPACE@56..57 " " |
64 | LITERAL@[57; 58) | 64 | LITERAL@57..58 |
65 | INT_NUMBER@[57; 58) "1" | 65 | INT_NUMBER@57..58 "1" |
66 | SEMICOLON@[58; 59) ";" | 66 | SEMICOLON@58..59 ";" |
67 | WHITESPACE@[59; 64) "\n " | 67 | WHITESPACE@59..64 "\n " |
68 | LET_STMT@[64; 76) | 68 | LET_STMT@64..76 |
69 | LET_KW@[64; 67) "let" | 69 | LET_KW@64..67 "let" |
70 | WHITESPACE@[67; 68) " " | 70 | WHITESPACE@67..68 " " |
71 | BIND_PAT@[68; 69) | 71 | BIND_PAT@68..69 |
72 | NAME@[68; 69) | 72 | NAME@68..69 |
73 | IDENT@[68; 69) "x" | 73 | IDENT@68..69 "x" |
74 | WHITESPACE@[69; 70) " " | 74 | WHITESPACE@69..70 " " |
75 | EQ@[70; 71) "=" | 75 | EQ@70..71 "=" |
76 | WHITESPACE@[71; 72) " " | 76 | WHITESPACE@71..72 " " |
77 | RANGE_EXPR@[72; 75) | 77 | RANGE_EXPR@72..75 |
78 | LITERAL@[72; 73) | 78 | LITERAL@72..73 |
79 | INT_NUMBER@[72; 73) "1" | 79 | INT_NUMBER@72..73 "1" |
80 | DOT2@[73; 75) ".." | 80 | DOT2@73..75 ".." |
81 | SEMICOLON@[75; 76) ";" | 81 | SEMICOLON@75..76 ";" |
82 | WHITESPACE@[76; 86) "\n \n " | 82 | WHITESPACE@76..86 "\n \n " |
83 | EXPR_STMT@[86; 95) | 83 | EXPR_STMT@86..95 |
84 | RANGE_EXPR@[86; 94) | 84 | RANGE_EXPR@86..94 |
85 | DOT2EQ@[86; 89) "..=" | 85 | DOT2EQ@86..89 "..=" |
86 | BIN_EXPR@[89; 94) | 86 | BIN_EXPR@89..94 |
87 | LITERAL@[89; 90) | 87 | LITERAL@89..90 |
88 | INT_NUMBER@[89; 90) "1" | 88 | INT_NUMBER@89..90 "1" |
89 | WHITESPACE@[90; 91) " " | 89 | WHITESPACE@90..91 " " |
90 | PLUS@[91; 92) "+" | 90 | PLUS@91..92 "+" |
91 | WHITESPACE@[92; 93) " " | 91 | WHITESPACE@92..93 " " |
92 | LITERAL@[93; 94) | 92 | LITERAL@93..94 |
93 | INT_NUMBER@[93; 94) "1" | 93 | INT_NUMBER@93..94 "1" |
94 | SEMICOLON@[94; 95) ";" | 94 | SEMICOLON@94..95 ";" |
95 | WHITESPACE@[95; 100) "\n " | 95 | WHITESPACE@95..100 "\n " |
96 | EXPR_STMT@[100; 109) | 96 | EXPR_STMT@100..109 |
97 | BIN_EXPR@[100; 108) | 97 | BIN_EXPR@100..108 |
98 | RANGE_EXPR@[100; 104) | 98 | RANGE_EXPR@100..104 |
99 | DOT2EQ@[100; 103) "..=" | 99 | DOT2EQ@100..103 "..=" |
100 | PATH_EXPR@[103; 104) | 100 | PATH_EXPR@103..104 |
101 | PATH@[103; 104) | 101 | PATH@103..104 |
102 | PATH_SEGMENT@[103; 104) | 102 | PATH_SEGMENT@103..104 |
103 | NAME_REF@[103; 104) | 103 | NAME_REF@103..104 |
104 | IDENT@[103; 104) "z" | 104 | IDENT@103..104 "z" |
105 | WHITESPACE@[104; 105) " " | 105 | WHITESPACE@104..105 " " |
106 | EQ@[105; 106) "=" | 106 | EQ@105..106 "=" |
107 | WHITESPACE@[106; 107) " " | 107 | WHITESPACE@106..107 " " |
108 | LITERAL@[107; 108) | 108 | LITERAL@107..108 |
109 | INT_NUMBER@[107; 108) "2" | 109 | INT_NUMBER@107..108 "2" |
110 | SEMICOLON@[108; 109) ";" | 110 | SEMICOLON@108..109 ";" |
111 | WHITESPACE@[109; 114) "\n " | 111 | WHITESPACE@109..114 "\n " |
112 | EXPR_STMT@[114; 133) | 112 | EXPR_STMT@114..133 |
113 | BIN_EXPR@[114; 132) | 113 | BIN_EXPR@114..132 |
114 | PATH_EXPR@[114; 115) | 114 | PATH_EXPR@114..115 |
115 | PATH@[114; 115) | 115 | PATH@114..115 |
116 | PATH_SEGMENT@[114; 115) | 116 | PATH_SEGMENT@114..115 |
117 | NAME_REF@[114; 115) | 117 | NAME_REF@114..115 |
118 | IDENT@[114; 115) "x" | 118 | IDENT@114..115 "x" |
119 | WHITESPACE@[115; 116) " " | 119 | WHITESPACE@115..116 " " |
120 | EQ@[116; 117) "=" | 120 | EQ@116..117 "=" |
121 | WHITESPACE@[117; 118) " " | 121 | WHITESPACE@117..118 " " |
122 | RANGE_EXPR@[118; 132) | 122 | RANGE_EXPR@118..132 |
123 | LITERAL@[118; 123) | 123 | LITERAL@118..123 |
124 | FALSE_KW@[118; 123) "false" | 124 | FALSE_KW@118..123 "false" |
125 | DOT2EQ@[123; 126) "..=" | 125 | DOT2EQ@123..126 "..=" |
126 | BIN_EXPR@[126; 132) | 126 | BIN_EXPR@126..132 |
127 | LITERAL@[126; 127) | 127 | LITERAL@126..127 |
128 | INT_NUMBER@[126; 127) "1" | 128 | INT_NUMBER@126..127 "1" |
129 | WHITESPACE@[127; 128) " " | 129 | WHITESPACE@127..128 " " |
130 | EQ2@[128; 130) "==" | 130 | EQ2@128..130 "==" |
131 | WHITESPACE@[130; 131) " " | 131 | WHITESPACE@130..131 " " |
132 | LITERAL@[131; 132) | 132 | LITERAL@131..132 |
133 | INT_NUMBER@[131; 132) "1" | 133 | INT_NUMBER@131..132 "1" |
134 | SEMICOLON@[132; 133) ";" | 134 | SEMICOLON@132..133 ";" |
135 | WHITESPACE@[133; 138) "\n " | 135 | WHITESPACE@133..138 "\n " |
136 | LET_STMT@[138; 150) | 136 | LET_STMT@138..150 |
137 | LET_KW@[138; 141) "let" | 137 | LET_KW@138..141 "let" |
138 | WHITESPACE@[141; 142) " " | 138 | WHITESPACE@141..142 " " |
139 | BIND_PAT@[142; 143) | 139 | BIND_PAT@142..143 |
140 | NAME@[142; 143) | 140 | NAME@142..143 |
141 | IDENT@[142; 143) "x" | 141 | IDENT@142..143 "x" |
142 | WHITESPACE@[143; 144) " " | 142 | WHITESPACE@143..144 " " |
143 | EQ@[144; 145) "=" | 143 | EQ@144..145 "=" |
144 | WHITESPACE@[145; 146) " " | 144 | WHITESPACE@145..146 " " |
145 | RANGE_EXPR@[146; 149) | 145 | RANGE_EXPR@146..149 |
146 | LITERAL@[146; 147) | 146 | LITERAL@146..147 |
147 | INT_NUMBER@[146; 147) "1" | 147 | INT_NUMBER@146..147 "1" |
148 | DOT2@[147; 149) ".." | 148 | DOT2@147..149 ".." |
149 | SEMICOLON@[149; 150) ";" | 149 | SEMICOLON@149..150 ";" |
150 | WHITESPACE@[150; 151) "\n" | 150 | WHITESPACE@150..151 "\n" |
151 | R_CURLY@[151; 152) "}" | 151 | R_CURLY@151..152 "}" |
152 | WHITESPACE@[152; 153) "\n" | 152 | WHITESPACE@152..153 "\n" |