forked from bytedance/go-querystring-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathy.output
More file actions
525 lines (347 loc) · 9.97 KB
/
Copy pathy.output
File metadata and controls
525 lines (347 loc) · 9.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
state 0
$accept: .input $end
tSTRING shift 12
tNUMBER shift 13
tNOT shift 11
tPLUS shift 6
tMINUS shift 7
tLEFTBRACKET shift 10
. error
searchBase goto 9
searchParts goto 2
searchPart goto 3
searchLogicPart goto 5
searchLogicSimplePart goto 8
searchPrefix goto 4
input goto 1
state 1
$accept: input.$end
$end accept
. error
state 2
input: searchParts. (1)
. reduce 1 (src line 25)
state 3
searchParts: searchPart.searchParts
searchParts: searchPart. (3)
tSTRING shift 12
tNUMBER shift 13
tNOT shift 11
tPLUS shift 6
tMINUS shift 7
tLEFTBRACKET shift 10
. reduce 3 (src line 34)
searchBase goto 9
searchParts goto 14
searchPart goto 3
searchLogicPart goto 5
searchLogicSimplePart goto 8
searchPrefix goto 4
state 4
searchPart: searchPrefix.searchBase
tSTRING shift 12
tNUMBER shift 13
. error
searchBase goto 15
state 5
searchPart: searchLogicPart. (5)
. reduce 5 (src line 48)
state 6
searchPrefix: tPLUS. (12)
. reduce 12 (src line 79)
state 7
searchPrefix: tMINUS. (13)
. reduce 13 (src line 83)
state 8
searchLogicPart: searchLogicSimplePart. (6)
searchLogicPart: searchLogicSimplePart.tAND searchLogicPart
searchLogicPart: searchLogicSimplePart.tOR searchLogicPart
tAND shift 16
tOR shift 17
. reduce 6 (src line 53)
state 9
searchLogicSimplePart: searchBase. (9)
. reduce 9 (src line 66)
state 10
searchLogicSimplePart: tLEFTBRACKET.searchLogicPart tRIGHTBRACKET
tSTRING shift 12
tNUMBER shift 13
tNOT shift 11
tLEFTBRACKET shift 10
. error
searchBase goto 9
searchLogicPart goto 18
searchLogicSimplePart goto 8
state 11
searchLogicSimplePart: tNOT.searchLogicSimplePart
tSTRING shift 12
tNUMBER shift 13
tNOT shift 11
tLEFTBRACKET shift 10
. error
searchBase goto 9
searchLogicSimplePart goto 19
state 12
searchBase: tSTRING. (14)
searchBase: tSTRING.tCOLON tSTRING
searchBase: tSTRING.tCOLON posOrNegNumber
searchBase: tSTRING.tCOLON tPHRASE
searchBase: tSTRING.tCOLON tGREATER posOrNegNumber
searchBase: tSTRING.tCOLON tGREATER tEQUAL posOrNegNumber
searchBase: tSTRING.tCOLON tLESS posOrNegNumber
searchBase: tSTRING.tCOLON tLESS tEQUAL posOrNegNumber
searchBase: tSTRING.tGREATER posOrNegNumber
searchBase: tSTRING.tGREATER tEQUAL posOrNegNumber
searchBase: tSTRING.tLESS posOrNegNumber
searchBase: tSTRING.tLESS tEQUAL posOrNegNumber
searchBase: tSTRING.tCOLON tGREATER tPHRASE
searchBase: tSTRING.tCOLON tGREATER tEQUAL tPHRASE
searchBase: tSTRING.tCOLON tLESS tPHRASE
searchBase: tSTRING.tCOLON tLESS tEQUAL tPHRASE
searchBase: tSTRING.tCOLON tLEFTRANGE posOrNegNumber tTO posOrNegNumber tRIGHTRANGE
searchBase: tSTRING.tCOLON tLEFTRANGE tPHRASE tTO tPHRASE tRIGHTRANGE
tCOLON shift 20
tGREATER shift 21
tLESS shift 22
. reduce 14 (src line 88)
state 13
searchBase: tNUMBER. (15)
. reduce 15 (src line 96)
state 14
searchParts: searchPart searchParts. (2)
. reduce 2 (src line 30)
state 15
searchPart: searchPrefix searchBase. (4)
. reduce 4 (src line 39)
state 16
searchLogicPart: searchLogicSimplePart tAND.searchLogicPart
tSTRING shift 12
tNUMBER shift 13
tNOT shift 11
tLEFTBRACKET shift 10
. error
searchBase goto 9
searchLogicPart goto 23
searchLogicSimplePart goto 8
state 17
searchLogicPart: searchLogicSimplePart tOR.searchLogicPart
tSTRING shift 12
tNUMBER shift 13
tNOT shift 11
tLEFTBRACKET shift 10
. error
searchBase goto 9
searchLogicPart goto 24
searchLogicSimplePart goto 8
state 18
searchLogicSimplePart: tLEFTBRACKET searchLogicPart.tRIGHTBRACKET
tRIGHTBRACKET shift 25
. error
state 19
searchLogicSimplePart: tNOT searchLogicSimplePart. (11)
. reduce 11 (src line 74)
state 20
searchBase: tSTRING tCOLON.tSTRING
searchBase: tSTRING tCOLON.posOrNegNumber
searchBase: tSTRING tCOLON.tPHRASE
searchBase: tSTRING tCOLON.tGREATER posOrNegNumber
searchBase: tSTRING tCOLON.tGREATER tEQUAL posOrNegNumber
searchBase: tSTRING tCOLON.tLESS posOrNegNumber
searchBase: tSTRING tCOLON.tLESS tEQUAL posOrNegNumber
searchBase: tSTRING tCOLON.tGREATER tPHRASE
searchBase: tSTRING tCOLON.tGREATER tEQUAL tPHRASE
searchBase: tSTRING tCOLON.tLESS tPHRASE
searchBase: tSTRING tCOLON.tLESS tEQUAL tPHRASE
searchBase: tSTRING tCOLON.tLEFTRANGE posOrNegNumber tTO posOrNegNumber tRIGHTRANGE
searchBase: tSTRING tCOLON.tLEFTRANGE tPHRASE tTO tPHRASE tRIGHTRANGE
tSTRING shift 26
tPHRASE shift 28
tNUMBER shift 32
tMINUS shift 33
tLEFTRANGE shift 31
tGREATER shift 29
tLESS shift 30
. error
posOrNegNumber goto 27
state 21
searchBase: tSTRING tGREATER.posOrNegNumber
searchBase: tSTRING tGREATER.tEQUAL posOrNegNumber
tNUMBER shift 32
tMINUS shift 33
tEQUAL shift 35
. error
posOrNegNumber goto 34
state 22
searchBase: tSTRING tLESS.posOrNegNumber
searchBase: tSTRING tLESS.tEQUAL posOrNegNumber
tNUMBER shift 32
tMINUS shift 33
tEQUAL shift 37
. error
posOrNegNumber goto 36
state 23
searchLogicPart: searchLogicSimplePart tAND searchLogicPart. (7)
. reduce 7 (src line 57)
state 24
searchLogicPart: searchLogicSimplePart tOR searchLogicPart. (8)
. reduce 8 (src line 61)
state 25
searchLogicSimplePart: tLEFTBRACKET searchLogicPart tRIGHTBRACKET. (10)
. reduce 10 (src line 70)
state 26
searchBase: tSTRING tCOLON tSTRING. (16)
. reduce 16 (src line 100)
state 27
searchBase: tSTRING tCOLON posOrNegNumber. (17)
. reduce 17 (src line 110)
state 28
searchBase: tSTRING tCOLON tPHRASE. (18)
. reduce 18 (src line 117)
state 29
searchBase: tSTRING tCOLON tGREATER.posOrNegNumber
searchBase: tSTRING tCOLON tGREATER.tEQUAL posOrNegNumber
searchBase: tSTRING tCOLON tGREATER.tPHRASE
searchBase: tSTRING tCOLON tGREATER.tEQUAL tPHRASE
tPHRASE shift 40
tNUMBER shift 32
tMINUS shift 33
tEQUAL shift 39
. error
posOrNegNumber goto 38
state 30
searchBase: tSTRING tCOLON tLESS.posOrNegNumber
searchBase: tSTRING tCOLON tLESS.tEQUAL posOrNegNumber
searchBase: tSTRING tCOLON tLESS.tPHRASE
searchBase: tSTRING tCOLON tLESS.tEQUAL tPHRASE
tPHRASE shift 43
tNUMBER shift 32
tMINUS shift 33
tEQUAL shift 42
. error
posOrNegNumber goto 41
state 31
searchBase: tSTRING tCOLON tLEFTRANGE.posOrNegNumber tTO posOrNegNumber tRIGHTRANGE
searchBase: tSTRING tCOLON tLEFTRANGE.tPHRASE tTO tPHRASE tRIGHTRANGE
tPHRASE shift 45
tNUMBER shift 32
tMINUS shift 33
. error
posOrNegNumber goto 44
state 32
posOrNegNumber: tNUMBER. (33)
. reduce 33 (src line 228)
state 33
posOrNegNumber: tMINUS.tNUMBER
tNUMBER shift 46
. error
state 34
searchBase: tSTRING tGREATER posOrNegNumber. (23)
. reduce 23 (src line 155)
state 35
searchBase: tSTRING tGREATER tEQUAL.posOrNegNumber
tNUMBER shift 32
tMINUS shift 33
. error
posOrNegNumber goto 47
state 36
searchBase: tSTRING tLESS posOrNegNumber. (25)
. reduce 25 (src line 169)
state 37
searchBase: tSTRING tLESS tEQUAL.posOrNegNumber
tNUMBER shift 32
tMINUS shift 33
. error
posOrNegNumber goto 48
state 38
searchBase: tSTRING tCOLON tGREATER posOrNegNumber. (19)
. reduce 19 (src line 127)
state 39
searchBase: tSTRING tCOLON tGREATER tEQUAL.posOrNegNumber
searchBase: tSTRING tCOLON tGREATER tEQUAL.tPHRASE
tPHRASE shift 50
tNUMBER shift 32
tMINUS shift 33
. error
posOrNegNumber goto 49
state 40
searchBase: tSTRING tCOLON tGREATER tPHRASE. (27)
. reduce 27 (src line 183)
state 41
searchBase: tSTRING tCOLON tLESS posOrNegNumber. (21)
. reduce 21 (src line 141)
state 42
searchBase: tSTRING tCOLON tLESS tEQUAL.posOrNegNumber
searchBase: tSTRING tCOLON tLESS tEQUAL.tPHRASE
tPHRASE shift 52
tNUMBER shift 32
tMINUS shift 33
. error
posOrNegNumber goto 51
state 43
searchBase: tSTRING tCOLON tLESS tPHRASE. (29)
. reduce 29 (src line 197)
state 44
searchBase: tSTRING tCOLON tLEFTRANGE posOrNegNumber.tTO posOrNegNumber tRIGHTRANGE
tTO shift 53
. error
state 45
searchBase: tSTRING tCOLON tLEFTRANGE tPHRASE.tTO tPHRASE tRIGHTRANGE
tTO shift 54
. error
state 46
posOrNegNumber: tMINUS tNUMBER. (34)
. reduce 34 (src line 232)
state 47
searchBase: tSTRING tGREATER tEQUAL posOrNegNumber. (24)
. reduce 24 (src line 162)
state 48
searchBase: tSTRING tLESS tEQUAL posOrNegNumber. (26)
. reduce 26 (src line 176)
state 49
searchBase: tSTRING tCOLON tGREATER tEQUAL posOrNegNumber. (20)
. reduce 20 (src line 134)
state 50
searchBase: tSTRING tCOLON tGREATER tEQUAL tPHRASE. (28)
. reduce 28 (src line 190)
state 51
searchBase: tSTRING tCOLON tLESS tEQUAL posOrNegNumber. (22)
. reduce 22 (src line 148)
state 52
searchBase: tSTRING tCOLON tLESS tEQUAL tPHRASE. (30)
. reduce 30 (src line 204)
state 53
searchBase: tSTRING tCOLON tLEFTRANGE posOrNegNumber tTO.posOrNegNumber tRIGHTRANGE
tNUMBER shift 32
tMINUS shift 33
. error
posOrNegNumber goto 55
state 54
searchBase: tSTRING tCOLON tLEFTRANGE tPHRASE tTO.tPHRASE tRIGHTRANGE
tPHRASE shift 56
. error
state 55
searchBase: tSTRING tCOLON tLEFTRANGE posOrNegNumber tTO posOrNegNumber.tRIGHTRANGE
tRIGHTRANGE shift 57
. error
state 56
searchBase: tSTRING tCOLON tLEFTRANGE tPHRASE tTO tPHRASE.tRIGHTRANGE
tRIGHTRANGE shift 58
. error
state 57
searchBase: tSTRING tCOLON tLEFTRANGE posOrNegNumber tTO posOrNegNumber tRIGHTRANGE. (31)
. reduce 31 (src line 211)
state 58
searchBase: tSTRING tCOLON tLEFTRANGE tPHRASE tTO tPHRASE tRIGHTRANGE. (32)
. reduce 32 (src line 219)
20 terminals, 9 nonterminals
35 grammar rules, 59/16000 states
0 shift/reduce, 0 reduce/reduce conflicts reported
58 working sets used
memory: parser 35/240000
12 extra closures
78 shift entries, 1 exceptions
24 goto entries
12 entries saved by goto default
Optimizer space used: output 83/240000
83 table entries, 3 zero
maximum spread: 20, maximum offset: 53