-
Notifications
You must be signed in to change notification settings - Fork 1
/
parser.output
402 lines (269 loc) · 5.79 KB
/
parser.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
394
395
396
397
398
399
400
401
402
state 0
$accept: .statements $end
statements: . (1)
IDENT shift 6
NOT shift 5
LPAREN shift 4
. reduce 1 (src line 34)
statements goto 1
statement goto 2
attrName goto 3
state 1
$accept: statements.$end
$end accept
. error
state 2
statements: statement.statements
statement: statement.AND statement
statement: statement.OR statement
statements: . (1)
IDENT shift 6
AND shift 8
OR shift 9
NOT shift 5
LPAREN shift 4
. reduce 1 (src line 34)
statements goto 7
statement goto 2
attrName goto 3
state 3
statement: attrName.PR
statement: attrName.EQ attrValue
statement: attrName.NE attrValue
statement: attrName.CO VALUE
statement: attrName.SW VALUE
statement: attrName.EW VALUE
statement: attrName.GT attrValue
statement: attrName.GE attrValue
statement: attrName.LT attrValue
statement: attrName.LE attrValue
statement: attrName.LBOXP statement RBOXP
PR shift 10
EQ shift 11
NE shift 12
CO shift 13
SW shift 14
EW shift 15
GT shift 16
GE shift 17
LT shift 18
LE shift 19
LBOXP shift 20
. error
state 4
statement: LPAREN.statement RPAREN
IDENT shift 6
NOT shift 5
LPAREN shift 4
. error
statement goto 21
attrName goto 3
state 5
statement: NOT.LPAREN statement RPAREN
LPAREN shift 22
. error
state 6
attrName: IDENT. (18)
. reduce 18 (src line 112)
state 7
statements: statement statements. (2)
. reduce 2 (src line 42)
state 8
statement: statement AND.statement
IDENT shift 6
NOT shift 5
LPAREN shift 4
. error
statement goto 23
attrName goto 3
state 9
statement: statement OR.statement
IDENT shift 6
NOT shift 5
LPAREN shift 4
. error
statement goto 24
attrName goto 3
state 10
statement: attrName PR. (3)
. reduce 3 (src line 50)
state 11
statement: attrName EQ.attrValue
TRUE shift 27
FALSE shift 28
NULL shift 29
VALUE shift 30
NUMBER shift 26
. error
attrValue goto 25
state 12
statement: attrName NE.attrValue
TRUE shift 27
FALSE shift 28
NULL shift 29
VALUE shift 30
NUMBER shift 26
. error
attrValue goto 31
state 13
statement: attrName CO.VALUE
VALUE shift 32
. error
state 14
statement: attrName SW.VALUE
VALUE shift 33
. error
state 15
statement: attrName EW.VALUE
VALUE shift 34
. error
state 16
statement: attrName GT.attrValue
TRUE shift 27
FALSE shift 28
NULL shift 29
VALUE shift 30
NUMBER shift 26
. error
attrValue goto 35
state 17
statement: attrName GE.attrValue
TRUE shift 27
FALSE shift 28
NULL shift 29
VALUE shift 30
NUMBER shift 26
. error
attrValue goto 36
state 18
statement: attrName LT.attrValue
TRUE shift 27
FALSE shift 28
NULL shift 29
VALUE shift 30
NUMBER shift 26
. error
attrValue goto 37
state 19
statement: attrName LE.attrValue
TRUE shift 27
FALSE shift 28
NULL shift 29
VALUE shift 30
NUMBER shift 26
. error
attrValue goto 38
state 20
statement: attrName LBOXP.statement RBOXP
IDENT shift 6
NOT shift 5
LPAREN shift 4
. error
statement goto 39
attrName goto 3
state 21
statement: statement.AND statement
statement: statement.OR statement
statement: LPAREN statement.RPAREN
AND shift 8
OR shift 9
RPAREN shift 40
. error
state 22
statement: NOT LPAREN.statement RPAREN
IDENT shift 6
NOT shift 5
LPAREN shift 4
. error
statement goto 41
attrName goto 3
state 23
statement: statement.AND statement
statement: statement AND statement. (13)
statement: statement.OR statement
OR shift 9
. reduce 13 (src line 91)
state 24
statement: statement.AND statement
statement: statement.OR statement
statement: statement OR statement. (14)
. reduce 14 (src line 95)
state 25
statement: attrName EQ attrValue. (4)
. reduce 4 (src line 55)
state 26
attrValue: NUMBER. (19)
. reduce 19 (src line 118)
state 27
attrValue: TRUE. (20)
. reduce 20 (src line 123)
state 28
attrValue: FALSE. (21)
. reduce 21 (src line 127)
state 29
attrValue: NULL. (22)
. reduce 22 (src line 131)
state 30
attrValue: VALUE. (23)
. reduce 23 (src line 135)
state 31
statement: attrName NE attrValue. (5)
. reduce 5 (src line 59)
state 32
statement: attrName CO VALUE. (6)
. reduce 6 (src line 63)
state 33
statement: attrName SW VALUE. (7)
. reduce 7 (src line 67)
state 34
statement: attrName EW VALUE. (8)
. reduce 8 (src line 71)
state 35
statement: attrName GT attrValue. (9)
. reduce 9 (src line 75)
state 36
statement: attrName GE attrValue. (10)
. reduce 10 (src line 79)
state 37
statement: attrName LT attrValue. (11)
. reduce 11 (src line 83)
state 38
statement: attrName LE attrValue. (12)
. reduce 12 (src line 87)
state 39
statement: statement.AND statement
statement: statement.OR statement
statement: attrName LBOXP statement.RBOXP
AND shift 8
OR shift 9
RBOXP shift 42
. error
state 40
statement: LPAREN statement RPAREN. (15)
. reduce 15 (src line 99)
state 41
statement: statement.AND statement
statement: statement.OR statement
statement: NOT LPAREN statement.RPAREN
AND shift 8
OR shift 9
RPAREN shift 43
. error
state 42
statement: attrName LBOXP statement RBOXP. (17)
. reduce 17 (src line 107)
state 43
statement: NOT LPAREN statement RPAREN. (16)
. reduce 16 (src line 103)
27 terminals, 5 nonterminals
24 grammar rules, 44/2000 states
0 shift/reduce, 0 reduce/reduce conflicts reported
54 working sets used
memory: parser 21/30000
39 extra closures
78 shift entries, 1 exceptions
15 goto entries
7 entries saved by goto default
Optimizer space used: output 56/30000
56 table entries, 3 zero
maximum spread: 26, maximum offset: 23