@@ -41,46 +41,46 @@ color = "gray"
41
41
Elts: []ast.Decl{
42
42
*ast.Field{
43
43
Label: *ast.Ident{
44
- NamePos: token.Pos("example.toml:4:1").WithRel(" newline" )
44
+ NamePos: token.Pos("example.toml:4:1", newline)
45
45
}
46
46
Value: *ast.BasicLit{
47
47
ValuePos: token.Pos("example.toml:4:9")
48
48
}
49
49
}
50
50
*ast.Field{
51
51
Label: *ast.Ident{
52
- NamePos: token.Pos("example.toml:6:2").WithRel(" newline" )
52
+ NamePos: token.Pos("example.toml:6:2", newline)
53
53
}
54
54
Value: *ast.StructLit{
55
- Lbrace: token.Pos("-").WithRel(" blank" )
55
+ Lbrace: token.Pos("-", blank)
56
56
Elts: []ast.Decl{
57
57
*ast.Field{
58
58
Label: *ast.Ident{
59
- NamePos: token.Pos("example.toml:7:1").WithRel(" newline" )
59
+ NamePos: token.Pos("example.toml:7:1", newline)
60
60
}
61
61
Value: *ast.BasicLit{
62
62
ValuePos: token.Pos("example.toml:7:8")
63
63
}
64
64
}
65
65
}
66
- Rbrace: token.Pos("-").WithRel(" newline" )
66
+ Rbrace: token.Pos("-", newline)
67
67
}
68
68
}
69
69
*ast.Field{
70
70
Label: *ast.Ident{
71
- NamePos: token.Pos("example.toml:11:2").WithRel(" newline" )
71
+ NamePos: token.Pos("example.toml:11:2", newline)
72
72
}
73
73
Value: *ast.StructLit{
74
- Lbrace: token.Pos("-").WithRel(" blank" )
74
+ Lbrace: token.Pos("-", blank)
75
75
Elts: []ast.Decl{
76
76
*ast.Field{
77
77
Label: *ast.Ident{
78
- NamePos: token.Pos("example.toml:12:1").WithRel(" newline" )
78
+ NamePos: token.Pos("example.toml:12:1", newline)
79
79
}
80
80
}
81
81
*ast.Field{
82
82
Label: *ast.Ident{
83
- NamePos: token.Pos("example.toml:13:1").WithRel(" newline" )
83
+ NamePos: token.Pos("example.toml:13:1", newline)
84
84
}
85
85
Value: *ast.ListLit{
86
86
Elts: []ast.Expr{
@@ -98,7 +98,7 @@ color = "gray"
98
98
}
99
99
*ast.Field{
100
100
Label: *ast.Ident{
101
- NamePos: token.Pos("example.toml:14:1").WithRel(" newline" )
101
+ NamePos: token.Pos("example.toml:14:1", newline)
102
102
}
103
103
Value: *ast.ListLit{
104
104
Elts: []ast.Expr{
@@ -124,181 +124,181 @@ color = "gray"
124
124
}
125
125
*ast.Field{
126
126
Label: *ast.Ident{
127
- NamePos: token.Pos("example.toml:15:1").WithRel(" newline" )
127
+ NamePos: token.Pos("example.toml:15:1", newline)
128
128
}
129
129
Value: *ast.StructLit{
130
130
Lbrace: token.Pos("example.toml:15:16")
131
131
Elts: []ast.Decl{
132
132
*ast.Field{
133
133
Label: *ast.Ident{
134
- NamePos: token.Pos("example.toml:15:18").WithRel(" blank" )
134
+ NamePos: token.Pos("example.toml:15:18", blank)
135
135
}
136
136
Value: *ast.BasicLit{
137
137
ValuePos: token.Pos("example.toml:15:24")
138
138
}
139
139
}
140
140
*ast.Field{
141
141
Label: *ast.Ident{
142
- NamePos: token.Pos("example.toml:15:30").WithRel(" blank" )
142
+ NamePos: token.Pos("example.toml:15:30", blank)
143
143
}
144
144
Value: *ast.BasicLit{
145
145
ValuePos: token.Pos("example.toml:15:37")
146
146
}
147
147
}
148
148
}
149
- Rbrace: token.Pos("-").WithRel(" blank" )
149
+ Rbrace: token.Pos("-", blank)
150
150
}
151
151
}
152
152
}
153
- Rbrace: token.Pos("-").WithRel(" newline" )
153
+ Rbrace: token.Pos("-", newline)
154
154
}
155
155
}
156
156
*ast.Field{
157
157
Label: *ast.Ident{
158
- NamePos: token.Pos("example.toml:17:2").WithRel(" newline" )
158
+ NamePos: token.Pos("example.toml:17:2", newline)
159
159
}
160
160
Value: *ast.StructLit{
161
- Lbrace: token.Pos("-").WithRel(" blank" )
162
- Rbrace: token.Pos("-").WithRel(" newline" )
161
+ Lbrace: token.Pos("-", blank)
162
+ Rbrace: token.Pos("-", newline)
163
163
}
164
164
}
165
165
*ast.Field{
166
166
Label: *ast.Ident{
167
- NamePos: token.Pos("example.toml:19:2").WithRel(" newline" )
167
+ NamePos: token.Pos("example.toml:19:2", newline)
168
168
}
169
169
Value: *ast.StructLit{
170
170
Elts: []ast.Decl{
171
171
*ast.Field{
172
172
Label: *ast.Ident{
173
- NamePos: token.Pos("example.toml:19:10").WithRel(" blank" )
173
+ NamePos: token.Pos("example.toml:19:10", blank)
174
174
}
175
175
Value: *ast.StructLit{
176
- Lbrace: token.Pos("-").WithRel(" blank" )
176
+ Lbrace: token.Pos("-", blank)
177
177
Elts: []ast.Decl{
178
178
*ast.Field{
179
179
Label: *ast.Ident{
180
- NamePos: token.Pos("example.toml:20:1").WithRel(" newline" )
180
+ NamePos: token.Pos("example.toml:20:1", newline)
181
181
}
182
182
Value: *ast.BasicLit{
183
183
ValuePos: token.Pos("example.toml:20:6")
184
184
}
185
185
}
186
186
*ast.Field{
187
187
Label: *ast.Ident{
188
- NamePos: token.Pos("example.toml:21:1").WithRel(" newline" )
188
+ NamePos: token.Pos("example.toml:21:1", newline)
189
189
}
190
190
Value: *ast.BasicLit{
191
191
ValuePos: token.Pos("example.toml:21:8")
192
192
}
193
193
}
194
194
}
195
- Rbrace: token.Pos("-").WithRel(" newline" )
195
+ Rbrace: token.Pos("-", newline)
196
196
}
197
197
}
198
198
}
199
199
}
200
200
}
201
201
*ast.Field{
202
202
Label: *ast.Ident{
203
- NamePos: token.Pos("example.toml:23:2").WithRel(" newline" )
203
+ NamePos: token.Pos("example.toml:23:2", newline)
204
204
}
205
205
Value: *ast.StructLit{
206
206
Elts: []ast.Decl{
207
207
*ast.Field{
208
208
Label: *ast.Ident{
209
- NamePos: token.Pos("example.toml:23:10").WithRel(" blank" )
209
+ NamePos: token.Pos("example.toml:23:10", blank)
210
210
}
211
211
Value: *ast.StructLit{
212
- Lbrace: token.Pos("-").WithRel(" blank" )
212
+ Lbrace: token.Pos("-", blank)
213
213
Elts: []ast.Decl{
214
214
*ast.Field{
215
215
Label: *ast.Ident{
216
- NamePos: token.Pos("example.toml:24:1").WithRel(" newline" )
216
+ NamePos: token.Pos("example.toml:24:1", newline)
217
217
}
218
218
Value: *ast.BasicLit{
219
219
ValuePos: token.Pos("example.toml:24:6")
220
220
}
221
221
}
222
222
*ast.Field{
223
223
Label: *ast.Ident{
224
- NamePos: token.Pos("example.toml:25:1").WithRel(" newline" )
224
+ NamePos: token.Pos("example.toml:25:1", newline)
225
225
}
226
226
Value: *ast.BasicLit{
227
227
ValuePos: token.Pos("example.toml:25:8")
228
228
}
229
229
}
230
230
}
231
- Rbrace: token.Pos("-").WithRel(" newline" )
231
+ Rbrace: token.Pos("-", newline)
232
232
}
233
233
}
234
234
}
235
235
}
236
236
}
237
237
*ast.Field{
238
238
Label: *ast.Ident{
239
- NamePos: token.Pos("example.toml:27:3").WithRel(" newline" )
239
+ NamePos: token.Pos("example.toml:27:3", newline)
240
240
}
241
241
Value: *ast.ListLit{
242
- Lbrack: token.Pos("-").WithRel(" blank" )
242
+ Lbrack: token.Pos("-", blank)
243
243
Elts: []ast.Expr{
244
244
*ast.StructLit{
245
- Lbrace: token.Pos("-").WithRel(" newline" )
245
+ Lbrace: token.Pos("-", newline)
246
246
Elts: []ast.Decl{
247
247
*ast.Field{
248
248
Label: *ast.Ident{
249
- NamePos: token.Pos("example.toml:28:1").WithRel(" newline" )
249
+ NamePos: token.Pos("example.toml:28:1", newline)
250
250
}
251
251
Value: *ast.BasicLit{
252
252
ValuePos: token.Pos("example.toml:28:8")
253
253
}
254
254
}
255
255
*ast.Field{
256
256
Label: *ast.Ident{
257
- NamePos: token.Pos("example.toml:29:1").WithRel(" newline" )
257
+ NamePos: token.Pos("example.toml:29:1", newline)
258
258
}
259
259
Value: *ast.BasicLit{
260
260
ValuePos: token.Pos("example.toml:29:7")
261
261
}
262
262
}
263
263
}
264
- Rbrace: token.Pos("-").WithRel(" newline" )
264
+ Rbrace: token.Pos("-", newline)
265
265
}
266
266
*ast.StructLit{
267
- Lbrace: token.Pos("-").WithRel(" newline" )
268
- Rbrace: token.Pos("-").WithRel(" newline" )
267
+ Lbrace: token.Pos("-", newline)
268
+ Rbrace: token.Pos("-", newline)
269
269
}
270
270
*ast.StructLit{
271
- Lbrace: token.Pos("-").WithRel(" newline" )
271
+ Lbrace: token.Pos("-", newline)
272
272
Elts: []ast.Decl{
273
273
*ast.Field{
274
274
Label: *ast.Ident{
275
- NamePos: token.Pos("example.toml:34:1").WithRel(" newline" )
275
+ NamePos: token.Pos("example.toml:34:1", newline)
276
276
}
277
277
Value: *ast.BasicLit{
278
278
ValuePos: token.Pos("example.toml:34:8")
279
279
}
280
280
}
281
281
*ast.Field{
282
282
Label: *ast.Ident{
283
- NamePos: token.Pos("example.toml:35:1").WithRel(" newline" )
283
+ NamePos: token.Pos("example.toml:35:1", newline)
284
284
}
285
285
Value: *ast.BasicLit{
286
286
ValuePos: token.Pos("example.toml:35:7")
287
287
}
288
288
}
289
289
*ast.Field{
290
290
Label: *ast.Ident{
291
- NamePos: token.Pos("example.toml:37:1").WithRel(" newline" )
291
+ NamePos: token.Pos("example.toml:37:1", newline)
292
292
}
293
293
Value: *ast.BasicLit{
294
294
ValuePos: token.Pos("example.toml:37:9")
295
295
}
296
296
}
297
297
}
298
- Rbrace: token.Pos("-").WithRel(" newline" )
298
+ Rbrace: token.Pos("-", newline)
299
299
}
300
300
}
301
- Rbrack: token.Pos("-").WithRel(" newline" )
301
+ Rbrack: token.Pos("-", newline)
302
302
}
303
303
}
304
304
}
0 commit comments