-
Notifications
You must be signed in to change notification settings - Fork 0
/
y.output
393 lines (263 loc) · 7.23 KB
/
y.output
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
state 0
$accept: .input $end
tNOT shift 6
tSTRING shift 8
tPHRASE shift 9
tNUMBER shift 10
tLEFTBRACKET shift 5
. error
baseCondition goto 7
searchBase goto 4
searchLogicPart goto 3
searchParts goto 2
input goto 1
state 1
$accept: input.$end
$end accept
. error
state 2
input: searchParts. (1)
. reduce 1 (src line 30)
state 3
searchParts: searchLogicPart. (2)
searchLogicPart: searchLogicPart.tAND searchLogicPart
searchLogicPart: searchLogicPart.tOR searchLogicPart
searchLogicPart: searchLogicPart.tNOT searchLogicPart
tNOT shift 13
tOR shift 12
tAND shift 11
. reduce 2 (src line 36)
state 4
searchLogicPart: searchBase. (3)
. reduce 3 (src line 42)
state 5
searchLogicPart: tLEFTBRACKET.searchLogicPart tRIGHTBRACKET
tNOT shift 6
tSTRING shift 8
tPHRASE shift 9
tNUMBER shift 10
tLEFTBRACKET shift 5
. error
baseCondition goto 7
searchBase goto 4
searchLogicPart goto 14
state 6
searchLogicPart: tNOT.searchBase
tSTRING shift 8
tPHRASE shift 9
tNUMBER shift 10
. error
baseCondition goto 7
searchBase goto 15
state 7
searchBase: baseCondition. (9)
. reduce 9 (src line 67)
state 8
searchBase: tSTRING.tCOLON tLEFTBRACKET searchLogicPart tRIGHTBRACKET
searchBase: tSTRING.tCOLON searchRange
baseCondition: tSTRING. (18)
baseCondition: tSTRING.tSTRING
tSTRING shift 17
tCOLON shift 16
. reduce 18 (src line 118)
state 9
baseCondition: tPHRASE. (20)
baseCondition: tPHRASE.tPHRASE
tPHRASE shift 18
. reduce 20 (src line 126)
state 10
baseCondition: tNUMBER. (22)
. reduce 22 (src line 134)
state 11
searchLogicPart: searchLogicPart tAND.searchLogicPart
tNOT shift 6
tSTRING shift 8
tPHRASE shift 9
tNUMBER shift 10
tLEFTBRACKET shift 5
. error
baseCondition goto 7
searchBase goto 4
searchLogicPart goto 19
state 12
searchLogicPart: searchLogicPart tOR.searchLogicPart
tNOT shift 6
tSTRING shift 8
tPHRASE shift 9
tNUMBER shift 10
tLEFTBRACKET shift 5
. error
baseCondition goto 7
searchBase goto 4
searchLogicPart goto 20
state 13
searchLogicPart: searchLogicPart tNOT.searchLogicPart
tNOT shift 6
tSTRING shift 8
tPHRASE shift 9
tNUMBER shift 10
tLEFTBRACKET shift 5
. error
baseCondition goto 7
searchBase goto 4
searchLogicPart goto 21
state 14
searchLogicPart: tLEFTBRACKET searchLogicPart.tRIGHTBRACKET
searchLogicPart: searchLogicPart.tAND searchLogicPart
searchLogicPart: searchLogicPart.tOR searchLogicPart
searchLogicPart: searchLogicPart.tNOT searchLogicPart
tNOT shift 13
tOR shift 12
tAND shift 11
tRIGHTBRACKET shift 22
. error
state 15
searchLogicPart: tNOT searchBase. (7)
. reduce 7 (src line 58)
state 16
searchBase: tSTRING tCOLON.tLEFTBRACKET searchLogicPart tRIGHTBRACKET
searchBase: tSTRING tCOLON.searchRange
tLEFTBRACKET shift 23
tLEFTRANGE shift 25
. error
searchRange goto 24
state 17
baseCondition: tSTRING tSTRING. (19)
. reduce 19 (src line 122)
state 18
baseCondition: tPHRASE tPHRASE. (21)
. reduce 21 (src line 130)
state 19
searchLogicPart: searchLogicPart.tAND searchLogicPart
searchLogicPart: searchLogicPart tAND searchLogicPart. (5)
searchLogicPart: searchLogicPart.tOR searchLogicPart
searchLogicPart: searchLogicPart.tNOT searchLogicPart
. reduce 5 (src line 50)
state 20
searchLogicPart: searchLogicPart.tAND searchLogicPart
searchLogicPart: searchLogicPart.tOR searchLogicPart
searchLogicPart: searchLogicPart tOR searchLogicPart. (6)
searchLogicPart: searchLogicPart.tNOT searchLogicPart
tAND shift 11
. reduce 6 (src line 54)
state 21
searchLogicPart: searchLogicPart.tAND searchLogicPart
searchLogicPart: searchLogicPart.tOR searchLogicPart
searchLogicPart: searchLogicPart.tNOT searchLogicPart
searchLogicPart: searchLogicPart tNOT searchLogicPart. (8)
tOR shift 12
tAND shift 11
. reduce 8 (src line 62)
state 22
searchLogicPart: tLEFTBRACKET searchLogicPart tRIGHTBRACKET. (4)
. reduce 4 (src line 46)
state 23
searchBase: tSTRING tCOLON tLEFTBRACKET.searchLogicPart tRIGHTBRACKET
tNOT shift 6
tSTRING shift 8
tPHRASE shift 9
tNUMBER shift 10
tLEFTBRACKET shift 5
. error
baseCondition goto 7
searchBase goto 4
searchLogicPart goto 26
state 24
searchBase: tSTRING tCOLON searchRange. (11)
. reduce 11 (src line 77)
state 25
searchRange: tLEFTRANGE.tSTRING tRIGHTRANGE
searchRange: tLEFTRANGE.tTO tSTRING tRIGHTRANGE
searchRange: tLEFTRANGE.tSTRING tTO tSTRING tRIGHTRANGE
searchRange: tLEFTRANGE.tNUMBER tRIGHTRANGE
searchRange: tLEFTRANGE.tTO tNUMBER tRIGHTRANGE
searchRange: tLEFTRANGE.tNUMBER tTO tNUMBER tRIGHTRANGE
tSTRING shift 27
tNUMBER shift 29
tTO shift 28
. error
state 26
searchLogicPart: searchLogicPart.tAND searchLogicPart
searchLogicPart: searchLogicPart.tOR searchLogicPart
searchLogicPart: searchLogicPart.tNOT searchLogicPart
searchBase: tSTRING tCOLON tLEFTBRACKET searchLogicPart.tRIGHTBRACKET
tNOT shift 13
tOR shift 12
tAND shift 11
tRIGHTBRACKET shift 30
. error
state 27
searchRange: tLEFTRANGE tSTRING.tRIGHTRANGE
searchRange: tLEFTRANGE tSTRING.tTO tSTRING tRIGHTRANGE
tTO shift 32
tRIGHTRANGE shift 31
. error
state 28
searchRange: tLEFTRANGE tTO.tSTRING tRIGHTRANGE
searchRange: tLEFTRANGE tTO.tNUMBER tRIGHTRANGE
tSTRING shift 33
tNUMBER shift 34
. error
state 29
searchRange: tLEFTRANGE tNUMBER.tRIGHTRANGE
searchRange: tLEFTRANGE tNUMBER.tTO tNUMBER tRIGHTRANGE
tTO shift 36
tRIGHTRANGE shift 35
. error
state 30
searchBase: tSTRING tCOLON tLEFTBRACKET searchLogicPart tRIGHTBRACKET. (10)
. reduce 10 (src line 71)
state 31
searchRange: tLEFTRANGE tSTRING tRIGHTRANGE. (12)
. reduce 12 (src line 85)
state 32
searchRange: tLEFTRANGE tSTRING tTO.tSTRING tRIGHTRANGE
tSTRING shift 37
. error
state 33
searchRange: tLEFTRANGE tTO tSTRING.tRIGHTRANGE
tRIGHTRANGE shift 38
. error
state 34
searchRange: tLEFTRANGE tTO tNUMBER.tRIGHTRANGE
tRIGHTRANGE shift 39
. error
state 35
searchRange: tLEFTRANGE tNUMBER tRIGHTRANGE. (15)
. reduce 15 (src line 101)
state 36
searchRange: tLEFTRANGE tNUMBER tTO.tNUMBER tRIGHTRANGE
tNUMBER shift 40
. error
state 37
searchRange: tLEFTRANGE tSTRING tTO tSTRING.tRIGHTRANGE
tRIGHTRANGE shift 41
. error
state 38
searchRange: tLEFTRANGE tTO tSTRING tRIGHTRANGE. (13)
. reduce 13 (src line 90)
state 39
searchRange: tLEFTRANGE tTO tNUMBER tRIGHTRANGE. (16)
. reduce 16 (src line 105)
state 40
searchRange: tLEFTRANGE tNUMBER tTO tNUMBER.tRIGHTRANGE
tRIGHTRANGE shift 42
. error
state 41
searchRange: tLEFTRANGE tSTRING tTO tSTRING tRIGHTRANGE. (14)
. reduce 14 (src line 95)
state 42
searchRange: tLEFTRANGE tNUMBER tTO tNUMBER tRIGHTRANGE. (17)
. reduce 17 (src line 110)
15 terminals, 7 nonterminals
23 grammar rules, 43/16000 states
0 shift/reduce, 0 reduce/reduce conflicts reported
56 working sets used
memory: parser 26/240000
10 extra closures
67 shift entries, 1 exceptions
12 goto entries
11 entries saved by goto default
Optimizer space used: output 55/240000
55 table entries, 1 zero
maximum spread: 15, maximum offset: 23