File tree Expand file tree Collapse file tree 3 files changed +26
-40
lines changed Expand file tree Collapse file tree 3 files changed +26
-40
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ ast.File{
82
82
{
83
83
BaseDeclaration : ast .BaseDeclaration {
84
84
LeadingComments : {
85
- {Value :" dsdas\n " },
86
85
},
87
86
TrailingComments : {
88
87
},
Original file line number Diff line number Diff line change 2
2
[TestNormal - 1 ]
3
3
namespace some {
4
4
export enum Sex {
5
- // dsdas
6
5
Female = ' female' ,
7
6
Male = ' male' , // hhh
8
7
Original file line number Diff line number Diff line change 133
133
Start : {14 , 9 },
134
134
End : {14 , 14 },
135
135
},
136
- {
137
- Value : " das\n " ,
138
- Type : " LineComment" ,
139
- Start : {16 , 1 },
140
- End : {16 , 6 },
141
- },
142
136
{
143
137
Value : " const" ,
144
138
Type : " Const" ,
145
- Start : {17 , 0 },
146
- End : {17 , 5 },
139
+ Start : {16 , 0 },
140
+ End : {16 , 5 },
147
141
},
148
142
{
149
143
Value : " (" ,
150
144
Type : " LeftParentheses" ,
151
- Start : {17 , 6 },
152
- End : {17 , 6 },
153
- },
154
- {
155
- Value : " dsdas\n " ,
156
- Type : " LineComment" ,
157
- Start : {17 , 9 },
158
- End : {17 , 16 },
145
+ Start : {16 , 6 },
146
+ End : {16 , 6 },
159
147
},
160
148
{
161
149
Value : " Female" ,
162
150
Type : " Identifier" ,
163
- Start : {18 , 1 },
164
- End : {18 , 6 },
151
+ Start : {17 , 1 },
152
+ End : {17 , 6 },
165
153
},
166
154
{
167
155
Value : " Sex" ,
168
156
Type : " Identifier" ,
169
- Start : {18 , 8 },
170
- End : {18 , 10 },
157
+ Start : {17 , 8 },
158
+ End : {17 , 10 },
171
159
},
172
160
{
173
161
Value : " =" ,
174
162
Type : " Assignment" ,
175
- Start : {18 , 12 },
176
- End : {18 , 12 },
163
+ Start : {17 , 12 },
164
+ End : {17 , 12 },
177
165
},
178
166
{
179
167
Value : " female" ,
180
168
Type : " StringValue" ,
181
- Start : {18 , 14 },
182
- End : {18 , 21 },
169
+ Start : {17 , 14 },
170
+ End : {17 , 21 },
183
171
},
184
172
{
185
173
Value : " Male" ,
186
174
Type : " Identifier" ,
187
- Start : {19 , 1 },
188
- End : {19 , 4 },
175
+ Start : {18 , 1 },
176
+ End : {18 , 4 },
189
177
},
190
178
{
191
179
Value : " Sex" ,
192
180
Type : " Identifier" ,
193
- Start : {19 , 8 },
194
- End : {19 , 10 },
181
+ Start : {18 , 8 },
182
+ End : {18 , 10 },
195
183
},
196
184
{
197
185
Value : " =" ,
198
186
Type : " Assignment" ,
199
- Start : {19 , 12 },
200
- End : {19 , 12 },
187
+ Start : {18 , 12 },
188
+ End : {18 , 12 },
201
189
},
202
190
{
203
191
Value : " male" ,
204
192
Type : " StringValue" ,
205
- Start : {19 , 14 },
206
- End : {19 , 19 },
193
+ Start : {18 , 14 },
194
+ End : {18 , 19 },
207
195
},
208
196
{
209
197
Value : " hhh\n " ,
210
198
Type : " LineComment" ,
211
- Start : {19 , 22 },
212
- End : {19 , 26 },
199
+ Start : {18 , 22 },
200
+ End : {18 , 26 },
213
201
},
214
202
{
215
203
Value : " )" ,
216
204
Type : " RightParentheses" ,
217
- Start : {20 , 0 },
218
- End : {20 , 0 },
205
+ Start : {19 , 0 },
206
+ End : {19 , 0 },
219
207
},
220
208
{
221
209
Value : " func Abctext() {\n\t //dadsad\n }\n " ,
222
210
Type : " Unknown" ,
223
- Start : {22 , 0 },
224
- End : {24 , 1 },
211
+ Start : {21 , 0 },
212
+ End : {23 , 1 },
225
213
},
226
214
}
227
215
-- -
You can’t perform that action at this time.
0 commit comments