1 /* A recursive-descent parser generated by peg 0.1.18 */
2
3 #include <stdio.h>
4 #include <stdlib.h>
5 #include <string.h>
6 #define YYRULECOUNT 63
7 #line 1 "./jqp.leg"
8
9 #include "jqp.h"
10 #include "jbl.h"
11
12
13 #define YY_CTX_LOCAL 1
14 #define YY_CTX_MEMBERS \
15 JQP_AUX *aux;
16
17 struct _yycontext;
18
19 static void _jqp_finish(struct _yycontext *yy);
20 static void _jqp_debug(struct _yycontext *yy, const char *text);
21 static void *_jqp_malloc(struct _yycontext *yy, size_t size);
22 static void *_jqp_realloc(struct _yycontext *yy, void *ptr, size_t size);
23 static JQPUNIT *_jqp_unit(struct _yycontext *yy);
24
25 static void _jqp_op_negate(struct _yycontext *yy);
26 static void _jqp_op_negate_reset(struct _yycontext *yy);
27
28 static JQPUNIT *_jqp_string(struct _yycontext *yy, jqp_string_flavours_t flv, const char *text);
29 static JQPUNIT *_jqp_unescaped_string(struct _yycontext *yy, jqp_string_flavours_t flv, const char *text);
30 static JQPUNIT *_jqp_number(struct _yycontext *yy, jqp_int_flavours_t flv, const char *text);
31 static JQPUNIT *_jqp_placeholder(struct _yycontext *yy, const char *text);
32 static JQPUNIT *_jqp_unit_op(struct _yycontext *yy, const char *text);
33 static JQPUNIT *_jqp_unit_join(struct _yycontext *yy, const char *text);
34 static JQPUNIT *_jqp_expr(struct _yycontext *yy, JQPUNIT *left, JQPUNIT *op, JQPUNIT *right);
35 static JQPUNIT *_jqp_node(struct _yycontext *yy, JQPUNIT *value);
36 static JQPUNIT *_jqp_projection(struct _yycontext *yy, JQPUNIT *value, uint8_t flags);
37 static void _jqp_set_skip(struct _yycontext *yy, JQPUNIT *unit);
38 static void _jqp_set_limit(struct _yycontext *yy, JQPUNIT *unit);
39 static void _jqp_add_orderby(struct _yycontext *yy, JQPUNIT *unit);
40 static void _jqp_set_aggregate_count(struct _yycontext *yy);
41 static void _jqp_set_noidx(struct _yycontext *yy);
42 static void _jqp_set_inverse(struct _yycontext *yy);
43
44 static JQPUNIT *_jqp_json_string(struct _yycontext *yy, const char *text);
45 static JQPUNIT *_jqp_json_number(struct _yycontext *yy, const char *text);
46 static JQPUNIT *_jqp_json_true_false_null(struct _yycontext *yy, const char *text);
47 static JQPUNIT *_jqp_json_pair(struct _yycontext *yy, JQPUNIT *key, JQPUNIT *val);
48 static JQPUNIT *_jqp_json_collect(struct _yycontext *yy, jbl_type_t type, JQPUNIT *until);
49
50 static JQP_STACK *_jqp_push(struct _yycontext *yy);
51 static void _jqp_unit_push(struct _yycontext *yy, JQPUNIT *unit);
52 static JQPUNIT *_jqp_unit_pop(struct _yycontext *yy);
53 static void _jqp_string_push(struct _yycontext *yy, char *str, bool dup);
54 static char *_jqp_string_pop(struct _yycontext *yy);
55
56 static JQPUNIT *_jqp_pop_filter_factor_chain(struct _yycontext *yy, JQPUNIT *until);
57 static JQPUNIT *_jqp_pop_expr_chain(struct _yycontext *yy, JQPUNIT *until);
58 static JQPUNIT *_jqp_pop_node_chain(struct _yycontext *yy, JQPUNIT *until);
59 static JQPUNIT *_jqp_pop_projfields_chain(struct _yycontext *yy, JQPUNIT *until);
60 static JQPUNIT *_jqp_pop_projection_nodes(struct _yycontext *yy, JQPUNIT *until);
61 static JQPUNIT *_jqp_pop_ordernodes(struct _yycontext *yy, JQPUNIT *until);
62 static JQPUNIT *_jqp_push_joined_projection(struct _yycontext *yy, JQPUNIT *p);
63 static JQPUNIT *_jqp_pop_joined_projections(struct _yycontext *yy, JQPUNIT *until);
64
65 static void _jqp_set_filters_expr(struct _yycontext *yy, JQPUNIT *expr);
66 static JQPUNIT *_jqp_create_filterexpr_pk(struct _yycontext *yy, JQPUNIT *argument);
67 static void _jqp_set_apply(struct _yycontext *yy, JQPUNIT *unit);
68 static void _jqp_set_apply_delete(struct _yycontext *yy);
69 static void _jqp_set_apply_upsert(struct _yycontext *yy, JQPUNIT *unit);
70 static void _jqp_set_projection(struct _yycontext *yy, JQPUNIT *unit);
71
72 #define YYSTYPE JQPUNIT*
73 #define YY_MALLOC(yy_, sz_) _jqp_malloc(yy_, sz_)
74 #define YY_REALLOC(yy_, ptr_, sz_) _jqp_realloc(yy_, ptr_, sz_)
75
76 #define YY_INPUT(yy_, buf_, result_, max_size_) \
77 { \
78 JQP_AUX *aux = (yy_)->aux; \
79 if (aux->rc || *(aux->buf + aux->pos) == '\0') { \
80 result_ = 0; \
81 } else { \
82 char ch = *(aux->buf + aux->pos++); \
83 result_ = 1; \
84 *(buf_)= ch; \
85 } \
86 }
87
88 #ifndef YY_MALLOC
89 #define YY_MALLOC(C, N) malloc(N)
90 #endif
91 #ifndef YY_REALLOC
92 #define YY_REALLOC(C, P, N) realloc(P, N)
93 #endif
94 #ifndef YY_FREE
95 #define YY_FREE(C, P) free(P)
96 #endif
97 #ifndef YY_LOCAL
98 #define YY_LOCAL(T) static T
99 #endif
100 #ifndef YY_ACTION
101 #define YY_ACTION(T) static T
102 #endif
103 #ifndef YY_RULE
104 #define YY_RULE(T) static T
105 #endif
106 #ifndef YY_PARSE
107 #define YY_PARSE(T) T
108 #endif
109 #ifndef YYPARSE
110 #define YYPARSE yyparse
111 #endif
112 #ifndef YYPARSEFROM
113 #define YYPARSEFROM yyparsefrom
114 #endif
115 #ifndef YYRELEASE
116 #define YYRELEASE yyrelease
117 #endif
118 #ifndef YY_BEGIN
119 #define YY_BEGIN ( yy->__begin= yy->__pos, 1)
120 #endif
121 #ifndef YY_END
122 #define YY_END ( yy->__end= yy->__pos, 1)
123 #endif
124 #ifdef YY_DEBUG
125 # define yyprintf(args) fprintf args
126 #else
127 # define yyprintf(args)
128 #endif
129 #ifndef YYSTYPE
130 #define YYSTYPE int
131 #endif
132 #ifndef YY_STACK_SIZE
133 #define YY_STACK_SIZE 128
134 #endif
135
136 #ifndef YY_BUFFER_SIZE
137 #define YY_BUFFER_SIZE 1024
138 #endif
139
140 #ifndef YY_PART
141
142 typedef struct _yycontext yycontext;
143 typedef void (*yyaction)(yycontext *yy, char *yytext, int yyleng);
144 typedef struct _yythunk { int begin, end; yyaction action; struct _yythunk *next; } yythunk;
145
146 struct _yycontext {
147 char *__buf;
148 int __buflen;
149 int __pos;
150 int __limit;
151 char *__text;
152 int __textlen;
153 int __begin;
154 int __end;
155 int __textmax;
156 yythunk *__thunks;
157 int __thunkslen;
158 int __thunkpos;
159 YYSTYPE __;
160 YYSTYPE *__val;
161 YYSTYPE *__vals;
162 int __valslen;
163 #ifdef YY_CTX_MEMBERS
164 YY_CTX_MEMBERS
165 #endif
166 };
167
168 #ifdef YY_CTX_LOCAL
169 #define YY_CTX_PARAM_ yycontext *yyctx,
170 #define YY_CTX_PARAM yycontext *yyctx
171 #define YY_CTX_ARG_ yyctx,
172 #define YY_CTX_ARG yyctx
173 #ifndef YY_INPUT
174 #define YY_INPUT(yy, buf, result, max_size) \
175 { \
176 int yyc= getchar(); \
177 result= (EOF == yyc) ? 0 : (*(buf)= yyc, 1); \
178 yyprintf((stderr, "<%c>", yyc)); \
179 }
180 #endif
181 #else
182 #define YY_CTX_PARAM_
183 #define YY_CTX_PARAM
184 #define YY_CTX_ARG_
185 #define YY_CTX_ARG
186 yycontext _yyctx= { 0, 0 };
187 yycontext *yyctx= &_yyctx;
188 #ifndef YY_INPUT
189 #define YY_INPUT(buf, result, max_size) \
190 { \
191 int yyc= getchar(); \
192 result= (EOF == yyc) ? 0 : (*(buf)= yyc, 1); \
193 yyprintf((stderr, "<%c>", yyc)); \
194 }
195 #endif
196 #endif
197
yyrefill(yycontext * yy)198 YY_LOCAL(int) yyrefill(yycontext *yy)
199 {
200 int yyn;
201 while (yy->__buflen - yy->__pos < 512)
202 {
203 yy->__buflen *= 2;
204 yy->__buf= (char *)YY_REALLOC(yy, yy->__buf, yy->__buflen);
205 }
206 #ifdef YY_CTX_LOCAL
207 YY_INPUT(yy, (yy->__buf + yy->__pos), yyn, (yy->__buflen - yy->__pos));
208 #else
209 YY_INPUT((yy->__buf + yy->__pos), yyn, (yy->__buflen - yy->__pos));
210 #endif
211 if (!yyn) return 0;
212 yy->__limit += yyn;
213 return 1;
214 }
215
yymatchDot(yycontext * yy)216 YY_LOCAL(int) yymatchDot(yycontext *yy)
217 {
218 if (yy->__pos >= yy->__limit && !yyrefill(yy)) return 0;
219 ++yy->__pos;
220 return 1;
221 }
222
yymatchChar(yycontext * yy,int c)223 YY_LOCAL(int) yymatchChar(yycontext *yy, int c)
224 {
225 if (yy->__pos >= yy->__limit && !yyrefill(yy)) return 0;
226 if ((unsigned char)yy->__buf[yy->__pos] == c)
227 {
228 ++yy->__pos;
229 yyprintf((stderr, " ok yymatchChar(yy, %c) @ %s\n", c, yy->__buf+yy->__pos));
230 return 1;
231 }
232 yyprintf((stderr, " fail yymatchChar(yy, %c) @ %s\n", c, yy->__buf+yy->__pos));
233 return 0;
234 }
235
yymatchString(yycontext * yy,const char * s)236 YY_LOCAL(int) yymatchString(yycontext *yy, const char *s)
237 {
238 int yysav= yy->__pos;
239 while (*s)
240 {
241 if (yy->__pos >= yy->__limit && !yyrefill(yy)) return 0;
242 if (yy->__buf[yy->__pos] != *s)
243 {
244 yy->__pos= yysav;
245 return 0;
246 }
247 ++s;
248 ++yy->__pos;
249 }
250 return 1;
251 }
252
yymatchClass(yycontext * yy,unsigned char * bits)253 YY_LOCAL(int) yymatchClass(yycontext *yy, unsigned char *bits)
254 {
255 int c;
256 if (yy->__pos >= yy->__limit && !yyrefill(yy)) return 0;
257 c= (unsigned char)yy->__buf[yy->__pos];
258 if (bits[c >> 3] & (1 << (c & 7)))
259 {
260 ++yy->__pos;
261 yyprintf((stderr, " ok yymatchClass @ %s\n", yy->__buf+yy->__pos));
262 return 1;
263 }
264 yyprintf((stderr, " fail yymatchClass @ %s\n", yy->__buf+yy->__pos));
265 return 0;
266 }
267
yyDo(yycontext * yy,yyaction action,int begin,int end)268 YY_LOCAL(void) yyDo(yycontext *yy, yyaction action, int begin, int end)
269 {
270 while (yy->__thunkpos >= yy->__thunkslen)
271 {
272 yy->__thunkslen *= 2;
273 yy->__thunks= (yythunk *)YY_REALLOC(yy, yy->__thunks, sizeof(yythunk) * yy->__thunkslen);
274 }
275 yy->__thunks[yy->__thunkpos].begin= begin;
276 yy->__thunks[yy->__thunkpos].end= end;
277 yy->__thunks[yy->__thunkpos].action= action;
278 ++yy->__thunkpos;
279 }
280
yyText(yycontext * yy,int begin,int end)281 YY_LOCAL(int) yyText(yycontext *yy, int begin, int end)
282 {
283 int yyleng= end - begin;
284 if (yyleng <= 0)
285 yyleng= 0;
286 else
287 {
288 while (yy->__textlen < (yyleng + 1))
289 {
290 yy->__textlen *= 2;
291 yy->__text= (char *)YY_REALLOC(yy, yy->__text, yy->__textlen);
292 }
293 memcpy(yy->__text, yy->__buf + begin, yyleng);
294 }
295 yy->__text[yyleng]= '\0';
296 return yyleng;
297 }
298
yyDone(yycontext * yy)299 YY_LOCAL(void) yyDone(yycontext *yy)
300 {
301 int pos;
302 for (pos= 0; pos < yy->__thunkpos; ++pos)
303 {
304 yythunk *thunk= &yy->__thunks[pos];
305 int yyleng= thunk->end ? yyText(yy, thunk->begin, thunk->end) : thunk->begin;
306 yyprintf((stderr, "DO [%d] %p %s\n", pos, thunk->action, yy->__text));
307 thunk->action(yy, yy->__text, yyleng);
308 }
309 yy->__thunkpos= 0;
310 }
311
yyCommit(yycontext * yy)312 YY_LOCAL(void) yyCommit(yycontext *yy)
313 {
314 if ((yy->__limit -= yy->__pos))
315 {
316 memmove(yy->__buf, yy->__buf + yy->__pos, yy->__limit);
317 }
318 yy->__begin -= yy->__pos;
319 yy->__end -= yy->__pos;
320 yy->__pos= yy->__thunkpos= 0;
321 }
322
yyAccept(yycontext * yy,int tp0)323 YY_LOCAL(int) yyAccept(yycontext *yy, int tp0)
324 {
325 if (tp0)
326 {
327 fprintf(stderr, "accept denied at %d\n", tp0);
328 return 0;
329 }
330 else
331 {
332 yyDone(yy);
333 yyCommit(yy);
334 }
335 return 1;
336 }
337
yyPush(yycontext * yy,char * text,int count)338 YY_LOCAL(void) yyPush(yycontext *yy, char *text, int count)
339 {
340 yy->__val += count;
341 while (yy->__valslen <= yy->__val - yy->__vals)
342 {
343 long offset= yy->__val - yy->__vals;
344 yy->__valslen *= 2;
345 yy->__vals= (YYSTYPE *)YY_REALLOC(yy, yy->__vals, sizeof(YYSTYPE) * yy->__valslen);
346 yy->__val= yy->__vals + offset;
347 }
348 }
yyPop(yycontext * yy,char * text,int count)349 YY_LOCAL(void) yyPop(yycontext *yy, char *text, int count) { yy->__val -= count; }
yySet(yycontext * yy,char * text,int count)350 YY_LOCAL(void) yySet(yycontext *yy, char *text, int count) { yy->__val[count]= yy->__; }
351
352 #endif /* YY_PART */
353
354 #define YYACCEPT yyAccept(yy, yythunkpos0)
355
356 YY_RULE(int) yy_EOL(yycontext *yy); /* 63 */
357 YY_RULE(int) yy_SPACE(yycontext *yy); /* 62 */
358 YY_RULE(int) yy_NUME(yycontext *yy); /* 61 */
359 YY_RULE(int) yy_NUMF(yycontext *yy); /* 60 */
360 YY_RULE(int) yy_NUMJ(yycontext *yy); /* 59 */
361 YY_RULE(int) yy_STRJ(yycontext *yy); /* 58 */
362 YY_RULE(int) yy_SARRJ(yycontext *yy); /* 57 */
363 YY_RULE(int) yy_PAIRJ(yycontext *yy); /* 56 */
364 YY_RULE(int) yy_SOBJJ(yycontext *yy); /* 55 */
365 YY_RULE(int) yy_CHJ(yycontext *yy); /* 54 */
366 YY_RULE(int) yy_CHP(yycontext *yy); /* 53 */
367 YY_RULE(int) yy_VALJ(yycontext *yy); /* 52 */
368 YY_RULE(int) yy_NEXPRLEFT(yycontext *yy); /* 51 */
369 YY_RULE(int) yy_STRSTAR(yycontext *yy); /* 50 */
370 YY_RULE(int) yy_DBLSTAR(yycontext *yy); /* 49 */
371 YY_RULE(int) yy_NEXRIGHT(yycontext *yy); /* 48 */
372 YY_RULE(int) yy_NEXOP(yycontext *yy); /* 47 */
373 YY_RULE(int) yy_NEXLEFT(yycontext *yy); /* 46 */
374 YY_RULE(int) yy_NEXJOIN(yycontext *yy); /* 45 */
375 YY_RULE(int) yy_NEXPAIR(yycontext *yy); /* 44 */
376 YY_RULE(int) yy_STRP(yycontext *yy); /* 43 */
377 YY_RULE(int) yy_NEXPR(yycontext *yy); /* 42 */
378 YY_RULE(int) yy_NODE(yycontext *yy); /* 41 */
379 YY_RULE(int) yy_FILTER(yycontext *yy); /* 40 */
380 YY_RULE(int) yy_FILTERFACTOR(yycontext *yy); /* 39 */
381 YY_RULE(int) yy_HEX(yycontext *yy); /* 38 */
382 YY_RULE(int) yy_PCHP(yycontext *yy); /* 37 */
383 YY_RULE(int) yy_PSTRP(yycontext *yy); /* 36 */
384 YY_RULE(int) yy_STRN(yycontext *yy); /* 35 */
385 YY_RULE(int) yy_PROJFIELDS(yycontext *yy); /* 34 */
386 YY_RULE(int) yy_PROJNODE(yycontext *yy); /* 33 */
387 YY_RULE(int) yy_PROJALL(yycontext *yy); /* 32 */
388 YY_RULE(int) yy_PROJPROP(yycontext *yy); /* 31 */
389 YY_RULE(int) yy_ORDERNODE(yycontext *yy); /* 30 */
390 YY_RULE(int) yy_ORDERNODES(yycontext *yy); /* 29 */
391 YY_RULE(int) yy_NUMI(yycontext *yy); /* 28 */
392 YY_RULE(int) yy_INVERSE(yycontext *yy); /* 27 */
393 YY_RULE(int) yy_NOIDX(yycontext *yy); /* 26 */
394 YY_RULE(int) yy_COUNT(yycontext *yy); /* 25 */
395 YY_RULE(int) yy_ORDERBY(yycontext *yy); /* 24 */
396 YY_RULE(int) yy_LIMIT(yycontext *yy); /* 23 */
397 YY_RULE(int) yy_SKIP(yycontext *yy); /* 22 */
398 YY_RULE(int) yy_OPT(yycontext *yy); /* 21 */
399 YY_RULE(int) yy_PROJOIN(yycontext *yy); /* 20 */
400 YY_RULE(int) yy_PROJNODES(yycontext *yy); /* 19 */
401 YY_RULE(int) yy_ARRJ(yycontext *yy); /* 18 */
402 YY_RULE(int) yy_OBJJ(yycontext *yy); /* 17 */
403 YY_RULE(int) yy___(yycontext *yy); /* 16 */
404 YY_RULE(int) yy_FILTERJOIN(yycontext *yy); /* 15 */
405 YY_RULE(int) yy_NUMPK_ARR(yycontext *yy); /* 14 */
406 YY_RULE(int) yy_NUMPK(yycontext *yy); /* 13 */
407 YY_RULE(int) yy_PLACEHOLDER(yycontext *yy); /* 12 */
408 YY_RULE(int) yy_FILTERANCHOR(yycontext *yy); /* 11 */
409 YY_RULE(int) yy_FILTEREXPR(yycontext *yy); /* 10 */
410 YY_RULE(int) yy_FILTEREXPR_PK(yycontext *yy); /* 9 */
411 YY_RULE(int) yy_EOF(yycontext *yy); /* 8 */
412 YY_RULE(int) yy_OPTS(yycontext *yy); /* 7 */
413 YY_RULE(int) yy_PROJECTION(yycontext *yy); /* 6 */
414 YY_RULE(int) yy_UPSERT(yycontext *yy); /* 5 */
415 YY_RULE(int) yy_APPLY(yycontext *yy); /* 4 */
416 YY_RULE(int) yy__(yycontext *yy); /* 3 */
417 YY_RULE(int) yy_QEXPR(yycontext *yy); /* 2 */
418 YY_RULE(int) yy_QUERY(yycontext *yy); /* 1 */
419
yy_4_NUMPK_ARR(yycontext * yy,char * yytext,int yyleng)420 YY_ACTION(void) yy_4_NUMPK_ARR(yycontext *yy, char *yytext, int yyleng)
421 {
422 #define v yy->__val[-1]
423 #define fv yy->__val[-2]
424 #define s yy->__val[-3]
425 #define __ yy->__
426 #define yypos yy->__pos
427 #define yythunkpos yy->__thunkpos
428 yyprintf((stderr, "do yy_4_NUMPK_ARR\n"));
429 {
430 #line 235
431 __ = _jqp_json_collect(yy, JBV_ARRAY, s); ;
432 }
433 #undef yythunkpos
434 #undef yypos
435 #undef yy
436 #undef v
437 #undef fv
438 #undef s
439 }
yy_3_NUMPK_ARR(yycontext * yy,char * yytext,int yyleng)440 YY_ACTION(void) yy_3_NUMPK_ARR(yycontext *yy, char *yytext, int yyleng)
441 {
442 #define v yy->__val[-1]
443 #define fv yy->__val[-2]
444 #define s yy->__val[-3]
445 #define __ yy->__
446 #define yypos yy->__pos
447 #define yythunkpos yy->__thunkpos
448 yyprintf((stderr, "do yy_3_NUMPK_ARR\n"));
449 {
450 #line 234
451 _jqp_unit_push(yy, v); ;
452 }
453 #undef yythunkpos
454 #undef yypos
455 #undef yy
456 #undef v
457 #undef fv
458 #undef s
459 }
yy_2_NUMPK_ARR(yycontext * yy,char * yytext,int yyleng)460 YY_ACTION(void) yy_2_NUMPK_ARR(yycontext *yy, char *yytext, int yyleng)
461 {
462 #define v yy->__val[-1]
463 #define fv yy->__val[-2]
464 #define s yy->__val[-3]
465 #define __ yy->__
466 #define yypos yy->__pos
467 #define yythunkpos yy->__thunkpos
468 yyprintf((stderr, "do yy_2_NUMPK_ARR\n"));
469 {
470 #line 234
471 _jqp_unit_push(yy, fv); ;
472 }
473 #undef yythunkpos
474 #undef yypos
475 #undef yy
476 #undef v
477 #undef fv
478 #undef s
479 }
yy_1_NUMPK_ARR(yycontext * yy,char * yytext,int yyleng)480 YY_ACTION(void) yy_1_NUMPK_ARR(yycontext *yy, char *yytext, int yyleng)
481 {
482 #define v yy->__val[-1]
483 #define fv yy->__val[-2]
484 #define s yy->__val[-3]
485 #define __ yy->__
486 #define yypos yy->__pos
487 #define yythunkpos yy->__thunkpos
488 yyprintf((stderr, "do yy_1_NUMPK_ARR\n"));
489 {
490 #line 233
491 _jqp_unit_push(yy, s); ;
492 }
493 #undef yythunkpos
494 #undef yypos
495 #undef yy
496 #undef v
497 #undef fv
498 #undef s
499 }
yy_1_NUMPK(yycontext * yy,char * yytext,int yyleng)500 YY_ACTION(void) yy_1_NUMPK(yycontext *yy, char *yytext, int yyleng)
501 {
502 #define __ yy->__
503 #define yypos yy->__pos
504 #define yythunkpos yy->__thunkpos
505 yyprintf((stderr, "do yy_1_NUMPK\n"));
506 {
507 #line 231
508 __ = _jqp_json_number(yy, yytext); ;
509 }
510 #undef yythunkpos
511 #undef yypos
512 #undef yy
513 }
yy_1_NUMJ(yycontext * yy,char * yytext,int yyleng)514 YY_ACTION(void) yy_1_NUMJ(yycontext *yy, char *yytext, int yyleng)
515 {
516 #define __ yy->__
517 #define yypos yy->__pos
518 #define yythunkpos yy->__thunkpos
519 yyprintf((stderr, "do yy_1_NUMJ\n"));
520 {
521 #line 229
522 __ = _jqp_json_number(yy, yytext); ;
523 }
524 #undef yythunkpos
525 #undef yypos
526 #undef yy
527 }
yy_1_STRJ(yycontext * yy,char * yytext,int yyleng)528 YY_ACTION(void) yy_1_STRJ(yycontext *yy, char *yytext, int yyleng)
529 {
530 #define __ yy->__
531 #define yypos yy->__pos
532 #define yythunkpos yy->__thunkpos
533 yyprintf((stderr, "do yy_1_STRJ\n"));
534 {
535 #line 214
536 __ = _jqp_json_string(yy, yytext); ;
537 }
538 #undef yythunkpos
539 #undef yypos
540 #undef yy
541 }
yy_3_VALJ(yycontext * yy,char * yytext,int yyleng)542 YY_ACTION(void) yy_3_VALJ(yycontext *yy, char *yytext, int yyleng)
543 {
544 #define __ yy->__
545 #define yypos yy->__pos
546 #define yythunkpos yy->__thunkpos
547 yyprintf((stderr, "do yy_3_VALJ\n"));
548 {
549 #line 212
550 __ = _jqp_json_true_false_null(yy, "null"); ;
551 }
552 #undef yythunkpos
553 #undef yypos
554 #undef yy
555 }
yy_2_VALJ(yycontext * yy,char * yytext,int yyleng)556 YY_ACTION(void) yy_2_VALJ(yycontext *yy, char *yytext, int yyleng)
557 {
558 #define __ yy->__
559 #define yypos yy->__pos
560 #define yythunkpos yy->__thunkpos
561 yyprintf((stderr, "do yy_2_VALJ\n"));
562 {
563 #line 211
564 __ = _jqp_json_true_false_null(yy, "false"); ;
565 }
566 #undef yythunkpos
567 #undef yypos
568 #undef yy
569 }
yy_1_VALJ(yycontext * yy,char * yytext,int yyleng)570 YY_ACTION(void) yy_1_VALJ(yycontext *yy, char *yytext, int yyleng)
571 {
572 #define __ yy->__
573 #define yypos yy->__pos
574 #define yythunkpos yy->__thunkpos
575 yyprintf((stderr, "do yy_1_VALJ\n"));
576 {
577 #line 210
578 __ = _jqp_json_true_false_null(yy, "true"); ;
579 }
580 #undef yythunkpos
581 #undef yypos
582 #undef yy
583 }
yy_1_PAIRJ(yycontext * yy,char * yytext,int yyleng)584 YY_ACTION(void) yy_1_PAIRJ(yycontext *yy, char *yytext, int yyleng)
585 {
586 #define v yy->__val[-1]
587 #define s yy->__val[-2]
588 #define __ yy->__
589 #define yypos yy->__pos
590 #define yythunkpos yy->__thunkpos
591 yyprintf((stderr, "do yy_1_PAIRJ\n"));
592 {
593 #line 204
594 __ = _jqp_json_pair(yy, s, v); ;
595 }
596 #undef yythunkpos
597 #undef yypos
598 #undef yy
599 #undef v
600 #undef s
601 }
yy_1_SARRJ(yycontext * yy,char * yytext,int yyleng)602 YY_ACTION(void) yy_1_SARRJ(yycontext *yy, char *yytext, int yyleng)
603 {
604 #define __ yy->__
605 #define yypos yy->__pos
606 #define yythunkpos yy->__thunkpos
607 yyprintf((stderr, "do yy_1_SARRJ\n"));
608 {
609 #line 202
610 __ = _jqp_unit(yy); ;
611 }
612 #undef yythunkpos
613 #undef yypos
614 #undef yy
615 }
yy_1_SOBJJ(yycontext * yy,char * yytext,int yyleng)616 YY_ACTION(void) yy_1_SOBJJ(yycontext *yy, char *yytext, int yyleng)
617 {
618 #define __ yy->__
619 #define yypos yy->__pos
620 #define yythunkpos yy->__thunkpos
621 yyprintf((stderr, "do yy_1_SOBJJ\n"));
622 {
623 #line 200
624 __ = _jqp_unit(yy); ;
625 }
626 #undef yythunkpos
627 #undef yypos
628 #undef yy
629 }
yy_4_ARRJ(yycontext * yy,char * yytext,int yyleng)630 YY_ACTION(void) yy_4_ARRJ(yycontext *yy, char *yytext, int yyleng)
631 {
632 #define v yy->__val[-1]
633 #define fv yy->__val[-2]
634 #define s yy->__val[-3]
635 #define __ yy->__
636 #define yypos yy->__pos
637 #define yythunkpos yy->__thunkpos
638 yyprintf((stderr, "do yy_4_ARRJ\n"));
639 {
640 #line 198
641 __ = _jqp_json_collect(yy, JBV_ARRAY, s); ;
642 }
643 #undef yythunkpos
644 #undef yypos
645 #undef yy
646 #undef v
647 #undef fv
648 #undef s
649 }
yy_3_ARRJ(yycontext * yy,char * yytext,int yyleng)650 YY_ACTION(void) yy_3_ARRJ(yycontext *yy, char *yytext, int yyleng)
651 {
652 #define v yy->__val[-1]
653 #define fv yy->__val[-2]
654 #define s yy->__val[-3]
655 #define __ yy->__
656 #define yypos yy->__pos
657 #define yythunkpos yy->__thunkpos
658 yyprintf((stderr, "do yy_3_ARRJ\n"));
659 {
660 #line 197
661 _jqp_unit_push(yy, v); ;
662 }
663 #undef yythunkpos
664 #undef yypos
665 #undef yy
666 #undef v
667 #undef fv
668 #undef s
669 }
yy_2_ARRJ(yycontext * yy,char * yytext,int yyleng)670 YY_ACTION(void) yy_2_ARRJ(yycontext *yy, char *yytext, int yyleng)
671 {
672 #define v yy->__val[-1]
673 #define fv yy->__val[-2]
674 #define s yy->__val[-3]
675 #define __ yy->__
676 #define yypos yy->__pos
677 #define yythunkpos yy->__thunkpos
678 yyprintf((stderr, "do yy_2_ARRJ\n"));
679 {
680 #line 197
681 _jqp_unit_push(yy, fv); ;
682 }
683 #undef yythunkpos
684 #undef yypos
685 #undef yy
686 #undef v
687 #undef fv
688 #undef s
689 }
yy_1_ARRJ(yycontext * yy,char * yytext,int yyleng)690 YY_ACTION(void) yy_1_ARRJ(yycontext *yy, char *yytext, int yyleng)
691 {
692 #define v yy->__val[-1]
693 #define fv yy->__val[-2]
694 #define s yy->__val[-3]
695 #define __ yy->__
696 #define yypos yy->__pos
697 #define yythunkpos yy->__thunkpos
698 yyprintf((stderr, "do yy_1_ARRJ\n"));
699 {
700 #line 196
701 _jqp_unit_push(yy, s); ;
702 }
703 #undef yythunkpos
704 #undef yypos
705 #undef yy
706 #undef v
707 #undef fv
708 #undef s
709 }
yy_4_OBJJ(yycontext * yy,char * yytext,int yyleng)710 YY_ACTION(void) yy_4_OBJJ(yycontext *yy, char *yytext, int yyleng)
711 {
712 #define p yy->__val[-1]
713 #define fp yy->__val[-2]
714 #define s yy->__val[-3]
715 #define __ yy->__
716 #define yypos yy->__pos
717 #define yythunkpos yy->__thunkpos
718 yyprintf((stderr, "do yy_4_OBJJ\n"));
719 {
720 #line 194
721 __ = _jqp_json_collect(yy, JBV_OBJECT, s); ;
722 }
723 #undef yythunkpos
724 #undef yypos
725 #undef yy
726 #undef p
727 #undef fp
728 #undef s
729 }
yy_3_OBJJ(yycontext * yy,char * yytext,int yyleng)730 YY_ACTION(void) yy_3_OBJJ(yycontext *yy, char *yytext, int yyleng)
731 {
732 #define p yy->__val[-1]
733 #define fp yy->__val[-2]
734 #define s yy->__val[-3]
735 #define __ yy->__
736 #define yypos yy->__pos
737 #define yythunkpos yy->__thunkpos
738 yyprintf((stderr, "do yy_3_OBJJ\n"));
739 {
740 #line 193
741 _jqp_unit_push(yy, p); ;
742 }
743 #undef yythunkpos
744 #undef yypos
745 #undef yy
746 #undef p
747 #undef fp
748 #undef s
749 }
yy_2_OBJJ(yycontext * yy,char * yytext,int yyleng)750 YY_ACTION(void) yy_2_OBJJ(yycontext *yy, char *yytext, int yyleng)
751 {
752 #define p yy->__val[-1]
753 #define fp yy->__val[-2]
754 #define s yy->__val[-3]
755 #define __ yy->__
756 #define yypos yy->__pos
757 #define yythunkpos yy->__thunkpos
758 yyprintf((stderr, "do yy_2_OBJJ\n"));
759 {
760 #line 193
761 _jqp_unit_push(yy, fp); ;
762 }
763 #undef yythunkpos
764 #undef yypos
765 #undef yy
766 #undef p
767 #undef fp
768 #undef s
769 }
yy_1_OBJJ(yycontext * yy,char * yytext,int yyleng)770 YY_ACTION(void) yy_1_OBJJ(yycontext *yy, char *yytext, int yyleng)
771 {
772 #define p yy->__val[-1]
773 #define fp yy->__val[-2]
774 #define s yy->__val[-3]
775 #define __ yy->__
776 #define yypos yy->__pos
777 #define yythunkpos yy->__thunkpos
778 yyprintf((stderr, "do yy_1_OBJJ\n"));
779 {
780 #line 192
781 _jqp_unit_push(yy, s); ;
782 }
783 #undef yythunkpos
784 #undef yypos
785 #undef yy
786 #undef p
787 #undef fp
788 #undef s
789 }
yy_1_STRN(yycontext * yy,char * yytext,int yyleng)790 YY_ACTION(void) yy_1_STRN(yycontext *yy, char *yytext, int yyleng)
791 {
792 #define __ yy->__
793 #define yypos yy->__pos
794 #define yythunkpos yy->__thunkpos
795 yyprintf((stderr, "do yy_1_STRN\n"));
796 {
797 #line 190
798 __ = _jqp_unescaped_string(yy, JQP_STR_QUOTED, yytext); ;
799 }
800 #undef yythunkpos
801 #undef yypos
802 #undef yy
803 }
yy_1_STRSTAR(yycontext * yy,char * yytext,int yyleng)804 YY_ACTION(void) yy_1_STRSTAR(yycontext *yy, char *yytext, int yyleng)
805 {
806 #define __ yy->__
807 #define yypos yy->__pos
808 #define yythunkpos yy->__thunkpos
809 yyprintf((stderr, "do yy_1_STRSTAR\n"));
810 {
811 #line 188
812 __ = _jqp_unescaped_string(yy, JQP_STR_STAR, "*"); ;
813 }
814 #undef yythunkpos
815 #undef yypos
816 #undef yy
817 }
yy_1_DBLSTAR(yycontext * yy,char * yytext,int yyleng)818 YY_ACTION(void) yy_1_DBLSTAR(yycontext *yy, char *yytext, int yyleng)
819 {
820 #define __ yy->__
821 #define yypos yy->__pos
822 #define yythunkpos yy->__thunkpos
823 yyprintf((stderr, "do yy_1_DBLSTAR\n"));
824 {
825 #line 186
826 __ = _jqp_unescaped_string(yy, JQP_STR_DBL_STAR, "**"); ;
827 }
828 #undef yythunkpos
829 #undef yypos
830 #undef yy
831 }
yy_1_STRP(yycontext * yy,char * yytext,int yyleng)832 YY_ACTION(void) yy_1_STRP(yycontext *yy, char *yytext, int yyleng)
833 {
834 #define __ yy->__
835 #define yypos yy->__pos
836 #define yythunkpos yy->__thunkpos
837 yyprintf((stderr, "do yy_1_STRP\n"));
838 {
839 #line 184
840 __ = _jqp_unescaped_string(yy, 0, yytext); ;
841 }
842 #undef yythunkpos
843 #undef yypos
844 #undef yy
845 }
yy_9_NEXOP(yycontext * yy,char * yytext,int yyleng)846 YY_ACTION(void) yy_9_NEXOP(yycontext *yy, char *yytext, int yyleng)
847 {
848 #define __ yy->__
849 #define yypos yy->__pos
850 #define yythunkpos yy->__thunkpos
851 yyprintf((stderr, "do yy_9_NEXOP\n"));
852 {
853 #line 182
854 __ = _jqp_unit_op(yy, yytext); ;
855 }
856 #undef yythunkpos
857 #undef yypos
858 #undef yy
859 }
yy_8_NEXOP(yycontext * yy,char * yytext,int yyleng)860 YY_ACTION(void) yy_8_NEXOP(yycontext *yy, char *yytext, int yyleng)
861 {
862 #define __ yy->__
863 #define yypos yy->__pos
864 #define yythunkpos yy->__thunkpos
865 yyprintf((stderr, "do yy_8_NEXOP\n"));
866 {
867 #line 181
868 __ = _jqp_unit_op(yy, yytext); ;
869 }
870 #undef yythunkpos
871 #undef yypos
872 #undef yy
873 }
yy_7_NEXOP(yycontext * yy,char * yytext,int yyleng)874 YY_ACTION(void) yy_7_NEXOP(yycontext *yy, char *yytext, int yyleng)
875 {
876 #define __ yy->__
877 #define yypos yy->__pos
878 #define yythunkpos yy->__thunkpos
879 yyprintf((stderr, "do yy_7_NEXOP\n"));
880 {
881 #line 180
882 __ = _jqp_unit_op(yy, yytext); ;
883 }
884 #undef yythunkpos
885 #undef yypos
886 #undef yy
887 }
yy_6_NEXOP(yycontext * yy,char * yytext,int yyleng)888 YY_ACTION(void) yy_6_NEXOP(yycontext *yy, char *yytext, int yyleng)
889 {
890 #define __ yy->__
891 #define yypos yy->__pos
892 #define yythunkpos yy->__thunkpos
893 yyprintf((stderr, "do yy_6_NEXOP\n"));
894 {
895 #line 179
896 __ = _jqp_unit_op(yy, yytext); ;
897 }
898 #undef yythunkpos
899 #undef yypos
900 #undef yy
901 }
yy_5_NEXOP(yycontext * yy,char * yytext,int yyleng)902 YY_ACTION(void) yy_5_NEXOP(yycontext *yy, char *yytext, int yyleng)
903 {
904 #define __ yy->__
905 #define yypos yy->__pos
906 #define yythunkpos yy->__thunkpos
907 yyprintf((stderr, "do yy_5_NEXOP\n"));
908 {
909 #line 179
910 _jqp_op_negate(yy); ;
911 }
912 #undef yythunkpos
913 #undef yypos
914 #undef yy
915 }
yy_4_NEXOP(yycontext * yy,char * yytext,int yyleng)916 YY_ACTION(void) yy_4_NEXOP(yycontext *yy, char *yytext, int yyleng)
917 {
918 #define __ yy->__
919 #define yypos yy->__pos
920 #define yythunkpos yy->__thunkpos
921 yyprintf((stderr, "do yy_4_NEXOP\n"));
922 {
923 #line 178
924 __ = _jqp_unit_op(yy, yytext); ;
925 }
926 #undef yythunkpos
927 #undef yypos
928 #undef yy
929 }
yy_3_NEXOP(yycontext * yy,char * yytext,int yyleng)930 YY_ACTION(void) yy_3_NEXOP(yycontext *yy, char *yytext, int yyleng)
931 {
932 #define __ yy->__
933 #define yypos yy->__pos
934 #define yythunkpos yy->__thunkpos
935 yyprintf((stderr, "do yy_3_NEXOP\n"));
936 {
937 #line 177
938 __ = _jqp_unit_op(yy, yytext); ;
939 }
940 #undef yythunkpos
941 #undef yypos
942 #undef yy
943 }
yy_2_NEXOP(yycontext * yy,char * yytext,int yyleng)944 YY_ACTION(void) yy_2_NEXOP(yycontext *yy, char *yytext, int yyleng)
945 {
946 #define __ yy->__
947 #define yypos yy->__pos
948 #define yythunkpos yy->__thunkpos
949 yyprintf((stderr, "do yy_2_NEXOP\n"));
950 {
951 #line 176
952 __ = _jqp_unit_op(yy, yytext); ;
953 }
954 #undef yythunkpos
955 #undef yypos
956 #undef yy
957 }
yy_1_NEXOP(yycontext * yy,char * yytext,int yyleng)958 YY_ACTION(void) yy_1_NEXOP(yycontext *yy, char *yytext, int yyleng)
959 {
960 #define __ yy->__
961 #define yypos yy->__pos
962 #define yythunkpos yy->__thunkpos
963 yyprintf((stderr, "do yy_1_NEXOP\n"));
964 {
965 #line 176
966 _jqp_op_negate(yy); ;
967 }
968 #undef yythunkpos
969 #undef yypos
970 #undef yy
971 }
yy_1_PLACEHOLDER(yycontext * yy,char * yytext,int yyleng)972 YY_ACTION(void) yy_1_PLACEHOLDER(yycontext *yy, char *yytext, int yyleng)
973 {
974 #define __ yy->__
975 #define yypos yy->__pos
976 #define yythunkpos yy->__thunkpos
977 yyprintf((stderr, "do yy_1_PLACEHOLDER\n"));
978 {
979 #line 174
980 __ = _jqp_placeholder(yy, yytext); ;
981 }
982 #undef yythunkpos
983 #undef yypos
984 #undef yy
985 }
yy_1_NEXPRLEFT(yycontext * yy,char * yytext,int yyleng)986 YY_ACTION(void) yy_1_NEXPRLEFT(yycontext *yy, char *yytext, int yyleng)
987 {
988 #define r yy->__val[-1]
989 #define o yy->__val[-2]
990 #define l yy->__val[-3]
991 #define __ yy->__
992 #define yypos yy->__pos
993 #define yythunkpos yy->__thunkpos
994 yyprintf((stderr, "do yy_1_NEXPRLEFT\n"));
995 {
996 #line 170
997 __ = _jqp_expr(yy, l, o, r); ;
998 }
999 #undef yythunkpos
1000 #undef yypos
1001 #undef yy
1002 #undef r
1003 #undef o
1004 #undef l
1005 }
yy_1_NEXPAIR(yycontext * yy,char * yytext,int yyleng)1006 YY_ACTION(void) yy_1_NEXPAIR(yycontext *yy, char *yytext, int yyleng)
1007 {
1008 #define r yy->__val[-1]
1009 #define o yy->__val[-2]
1010 #define l yy->__val[-3]
1011 #define __ yy->__
1012 #define yypos yy->__pos
1013 #define yythunkpos yy->__thunkpos
1014 yyprintf((stderr, "do yy_1_NEXPAIR\n"));
1015 {
1016 #line 166
1017 __ = _jqp_expr(yy, l, o, r); ;
1018 }
1019 #undef yythunkpos
1020 #undef yypos
1021 #undef yy
1022 #undef r
1023 #undef o
1024 #undef l
1025 }
yy_2_NEXJOIN(yycontext * yy,char * yytext,int yyleng)1026 YY_ACTION(void) yy_2_NEXJOIN(yycontext *yy, char *yytext, int yyleng)
1027 {
1028 #define __ yy->__
1029 #define yypos yy->__pos
1030 #define yythunkpos yy->__thunkpos
1031 yyprintf((stderr, "do yy_2_NEXJOIN\n"));
1032 {
1033 #line 164
1034 __ = _jqp_unit_join(yy, yytext); ;
1035 }
1036 #undef yythunkpos
1037 #undef yypos
1038 #undef yy
1039 }
yy_1_NEXJOIN(yycontext * yy,char * yytext,int yyleng)1040 YY_ACTION(void) yy_1_NEXJOIN(yycontext *yy, char *yytext, int yyleng)
1041 {
1042 #define __ yy->__
1043 #define yypos yy->__pos
1044 #define yythunkpos yy->__thunkpos
1045 yyprintf((stderr, "do yy_1_NEXJOIN\n"));
1046 {
1047 #line 164
1048 _jqp_op_negate(yy); ;
1049 }
1050 #undef yythunkpos
1051 #undef yypos
1052 #undef yy
1053 }
yy_4_NEXPR(yycontext * yy,char * yytext,int yyleng)1054 YY_ACTION(void) yy_4_NEXPR(yycontext *yy, char *yytext, int yyleng)
1055 {
1056 #define np yy->__val[-1]
1057 #define j yy->__val[-2]
1058 #define n yy->__val[-3]
1059 #define __ yy->__
1060 #define yypos yy->__pos
1061 #define yythunkpos yy->__thunkpos
1062 yyprintf((stderr, "do yy_4_NEXPR\n"));
1063 {
1064 #line 162
1065 __ = _jqp_pop_expr_chain(yy, n); ;
1066 }
1067 #undef yythunkpos
1068 #undef yypos
1069 #undef yy
1070 #undef np
1071 #undef j
1072 #undef n
1073 }
yy_3_NEXPR(yycontext * yy,char * yytext,int yyleng)1074 YY_ACTION(void) yy_3_NEXPR(yycontext *yy, char *yytext, int yyleng)
1075 {
1076 #define np yy->__val[-1]
1077 #define j yy->__val[-2]
1078 #define n yy->__val[-3]
1079 #define __ yy->__
1080 #define yypos yy->__pos
1081 #define yythunkpos yy->__thunkpos
1082 yyprintf((stderr, "do yy_3_NEXPR\n"));
1083 {
1084 #line 161
1085 _jqp_unit_push(yy, np); ;
1086 }
1087 #undef yythunkpos
1088 #undef yypos
1089 #undef yy
1090 #undef np
1091 #undef j
1092 #undef n
1093 }
yy_2_NEXPR(yycontext * yy,char * yytext,int yyleng)1094 YY_ACTION(void) yy_2_NEXPR(yycontext *yy, char *yytext, int yyleng)
1095 {
1096 #define np yy->__val[-1]
1097 #define j yy->__val[-2]
1098 #define n yy->__val[-3]
1099 #define __ yy->__
1100 #define yypos yy->__pos
1101 #define yythunkpos yy->__thunkpos
1102 yyprintf((stderr, "do yy_2_NEXPR\n"));
1103 {
1104 #line 161
1105 _jqp_unit_push(yy, j); ;
1106 }
1107 #undef yythunkpos
1108 #undef yypos
1109 #undef yy
1110 #undef np
1111 #undef j
1112 #undef n
1113 }
yy_1_NEXPR(yycontext * yy,char * yytext,int yyleng)1114 YY_ACTION(void) yy_1_NEXPR(yycontext *yy, char *yytext, int yyleng)
1115 {
1116 #define np yy->__val[-1]
1117 #define j yy->__val[-2]
1118 #define n yy->__val[-3]
1119 #define __ yy->__
1120 #define yypos yy->__pos
1121 #define yythunkpos yy->__thunkpos
1122 yyprintf((stderr, "do yy_1_NEXPR\n"));
1123 {
1124 #line 160
1125 _jqp_unit_push(yy, n); ;
1126 }
1127 #undef yythunkpos
1128 #undef yypos
1129 #undef yy
1130 #undef np
1131 #undef j
1132 #undef n
1133 }
yy_1_NODE(yycontext * yy,char * yytext,int yyleng)1134 YY_ACTION(void) yy_1_NODE(yycontext *yy, char *yytext, int yyleng)
1135 {
1136 #define n yy->__val[-1]
1137 #define __ yy->__
1138 #define yypos yy->__pos
1139 #define yythunkpos yy->__thunkpos
1140 yyprintf((stderr, "do yy_1_NODE\n"));
1141 {
1142 #line 158
1143 __ = _jqp_node(yy, n); ;
1144 }
1145 #undef yythunkpos
1146 #undef yypos
1147 #undef yy
1148 #undef n
1149 }
yy_1_FILTERANCHOR(yycontext * yy,char * yytext,int yyleng)1150 YY_ACTION(void) yy_1_FILTERANCHOR(yycontext *yy, char *yytext, int yyleng)
1151 {
1152 #define __ yy->__
1153 #define yypos yy->__pos
1154 #define yythunkpos yy->__thunkpos
1155 yyprintf((stderr, "do yy_1_FILTERANCHOR\n"));
1156 {
1157 #line 155
1158 __ = _jqp_string(yy, JQP_STR_ANCHOR, yytext); ;
1159 }
1160 #undef yythunkpos
1161 #undef yypos
1162 #undef yy
1163 }
yy_4_FILTER(yycontext * yy,char * yytext,int yyleng)1164 YY_ACTION(void) yy_4_FILTER(yycontext *yy, char *yytext, int yyleng)
1165 {
1166 #define n yy->__val[-1]
1167 #define fn yy->__val[-2]
1168 #define a yy->__val[-3]
1169 #define __ yy->__
1170 #define yypos yy->__pos
1171 #define yythunkpos yy->__thunkpos
1172 yyprintf((stderr, "do yy_4_FILTER\n"));
1173 {
1174 #line 153
1175 __ = _jqp_pop_node_chain(yy, fn); ;
1176 }
1177 #undef yythunkpos
1178 #undef yypos
1179 #undef yy
1180 #undef n
1181 #undef fn
1182 #undef a
1183 }
yy_3_FILTER(yycontext * yy,char * yytext,int yyleng)1184 YY_ACTION(void) yy_3_FILTER(yycontext *yy, char *yytext, int yyleng)
1185 {
1186 #define n yy->__val[-1]
1187 #define fn yy->__val[-2]
1188 #define a yy->__val[-3]
1189 #define __ yy->__
1190 #define yypos yy->__pos
1191 #define yythunkpos yy->__thunkpos
1192 yyprintf((stderr, "do yy_3_FILTER\n"));
1193 {
1194 #line 153
1195 _jqp_unit_push(yy, n); ;
1196 }
1197 #undef yythunkpos
1198 #undef yypos
1199 #undef yy
1200 #undef n
1201 #undef fn
1202 #undef a
1203 }
yy_2_FILTER(yycontext * yy,char * yytext,int yyleng)1204 YY_ACTION(void) yy_2_FILTER(yycontext *yy, char *yytext, int yyleng)
1205 {
1206 #define n yy->__val[-1]
1207 #define fn yy->__val[-2]
1208 #define a yy->__val[-3]
1209 #define __ yy->__
1210 #define yypos yy->__pos
1211 #define yythunkpos yy->__thunkpos
1212 yyprintf((stderr, "do yy_2_FILTER\n"));
1213 {
1214 #line 153
1215 _jqp_unit_push(yy, fn); ;
1216 }
1217 #undef yythunkpos
1218 #undef yypos
1219 #undef yy
1220 #undef n
1221 #undef fn
1222 #undef a
1223 }
yy_1_FILTER(yycontext * yy,char * yytext,int yyleng)1224 YY_ACTION(void) yy_1_FILTER(yycontext *yy, char *yytext, int yyleng)
1225 {
1226 #define n yy->__val[-1]
1227 #define fn yy->__val[-2]
1228 #define a yy->__val[-3]
1229 #define __ yy->__
1230 #define yypos yy->__pos
1231 #define yythunkpos yy->__thunkpos
1232 yyprintf((stderr, "do yy_1_FILTER\n"));
1233 {
1234 #line 153
1235 _jqp_unit_push(yy, a); ;
1236 }
1237 #undef yythunkpos
1238 #undef yypos
1239 #undef yy
1240 #undef n
1241 #undef fn
1242 #undef a
1243 }
yy_4_FILTEREXPR(yycontext * yy,char * yytext,int yyleng)1244 YY_ACTION(void) yy_4_FILTEREXPR(yycontext *yy, char *yytext, int yyleng)
1245 {
1246 #define f yy->__val[-1]
1247 #define j yy->__val[-2]
1248 #define ff yy->__val[-3]
1249 #define __ yy->__
1250 #define yypos yy->__pos
1251 #define yythunkpos yy->__thunkpos
1252 yyprintf((stderr, "do yy_4_FILTEREXPR\n"));
1253 {
1254 #line 151
1255 __ = _jqp_pop_filter_factor_chain(yy, ff); ;
1256 }
1257 #undef yythunkpos
1258 #undef yypos
1259 #undef yy
1260 #undef f
1261 #undef j
1262 #undef ff
1263 }
yy_3_FILTEREXPR(yycontext * yy,char * yytext,int yyleng)1264 YY_ACTION(void) yy_3_FILTEREXPR(yycontext *yy, char *yytext, int yyleng)
1265 {
1266 #define f yy->__val[-1]
1267 #define j yy->__val[-2]
1268 #define ff yy->__val[-3]
1269 #define __ yy->__
1270 #define yypos yy->__pos
1271 #define yythunkpos yy->__thunkpos
1272 yyprintf((stderr, "do yy_3_FILTEREXPR\n"));
1273 {
1274 #line 151
1275 _jqp_unit_push(yy, f); ;
1276 }
1277 #undef yythunkpos
1278 #undef yypos
1279 #undef yy
1280 #undef f
1281 #undef j
1282 #undef ff
1283 }
yy_2_FILTEREXPR(yycontext * yy,char * yytext,int yyleng)1284 YY_ACTION(void) yy_2_FILTEREXPR(yycontext *yy, char *yytext, int yyleng)
1285 {
1286 #define f yy->__val[-1]
1287 #define j yy->__val[-2]
1288 #define ff yy->__val[-3]
1289 #define __ yy->__
1290 #define yypos yy->__pos
1291 #define yythunkpos yy->__thunkpos
1292 yyprintf((stderr, "do yy_2_FILTEREXPR\n"));
1293 {
1294 #line 151
1295 _jqp_unit_push(yy, j); ;
1296 }
1297 #undef yythunkpos
1298 #undef yypos
1299 #undef yy
1300 #undef f
1301 #undef j
1302 #undef ff
1303 }
yy_1_FILTEREXPR(yycontext * yy,char * yytext,int yyleng)1304 YY_ACTION(void) yy_1_FILTEREXPR(yycontext *yy, char *yytext, int yyleng)
1305 {
1306 #define f yy->__val[-1]
1307 #define j yy->__val[-2]
1308 #define ff yy->__val[-3]
1309 #define __ yy->__
1310 #define yypos yy->__pos
1311 #define yythunkpos yy->__thunkpos
1312 yyprintf((stderr, "do yy_1_FILTEREXPR\n"));
1313 {
1314 #line 150
1315 _jqp_unit_push(yy, ff); ;
1316 }
1317 #undef yythunkpos
1318 #undef yypos
1319 #undef yy
1320 #undef f
1321 #undef j
1322 #undef ff
1323 }
yy_1_PSTRP(yycontext * yy,char * yytext,int yyleng)1324 YY_ACTION(void) yy_1_PSTRP(yycontext *yy, char *yytext, int yyleng)
1325 {
1326 #define __ yy->__
1327 #define yypos yy->__pos
1328 #define yythunkpos yy->__thunkpos
1329 yyprintf((stderr, "do yy_1_PSTRP\n"));
1330 {
1331 #line 140
1332 __ = _jqp_string(yy, 0, yytext); ;
1333 }
1334 #undef yythunkpos
1335 #undef yypos
1336 #undef yy
1337 }
yy_3_PROJFIELDS(yycontext * yy,char * yytext,int yyleng)1338 YY_ACTION(void) yy_3_PROJFIELDS(yycontext *yy, char *yytext, int yyleng)
1339 {
1340 #define p yy->__val[-1]
1341 #define sp yy->__val[-2]
1342 #define __ yy->__
1343 #define yypos yy->__pos
1344 #define yythunkpos yy->__thunkpos
1345 yyprintf((stderr, "do yy_3_PROJFIELDS\n"));
1346 {
1347 #line 134
1348 __ = _jqp_pop_projfields_chain(yy, sp); ;
1349 }
1350 #undef yythunkpos
1351 #undef yypos
1352 #undef yy
1353 #undef p
1354 #undef sp
1355 }
yy_2_PROJFIELDS(yycontext * yy,char * yytext,int yyleng)1356 YY_ACTION(void) yy_2_PROJFIELDS(yycontext *yy, char *yytext, int yyleng)
1357 {
1358 #define p yy->__val[-1]
1359 #define sp yy->__val[-2]
1360 #define __ yy->__
1361 #define yypos yy->__pos
1362 #define yythunkpos yy->__thunkpos
1363 yyprintf((stderr, "do yy_2_PROJFIELDS\n"));
1364 {
1365 #line 133
1366 _jqp_unit_push(yy, p); ;
1367 }
1368 #undef yythunkpos
1369 #undef yypos
1370 #undef yy
1371 #undef p
1372 #undef sp
1373 }
yy_1_PROJFIELDS(yycontext * yy,char * yytext,int yyleng)1374 YY_ACTION(void) yy_1_PROJFIELDS(yycontext *yy, char *yytext, int yyleng)
1375 {
1376 #define p yy->__val[-1]
1377 #define sp yy->__val[-2]
1378 #define __ yy->__
1379 #define yypos yy->__pos
1380 #define yythunkpos yy->__thunkpos
1381 yyprintf((stderr, "do yy_1_PROJFIELDS\n"));
1382 {
1383 #line 133
1384 _jqp_unit_push(yy, sp); ;
1385 }
1386 #undef yythunkpos
1387 #undef yypos
1388 #undef yy
1389 #undef p
1390 #undef sp
1391 }
yy_1_PROJALL(yycontext * yy,char * yytext,int yyleng)1392 YY_ACTION(void) yy_1_PROJALL(yycontext *yy, char *yytext, int yyleng)
1393 {
1394 #define __ yy->__
1395 #define yypos yy->__pos
1396 #define yythunkpos yy->__thunkpos
1397 yyprintf((stderr, "do yy_1_PROJALL\n"));
1398 {
1399 #line 129
1400 __ = _jqp_string(yy, JQP_STR_PROJALIAS, "all"); ;
1401 }
1402 #undef yythunkpos
1403 #undef yypos
1404 #undef yy
1405 }
yy_4_PROJNODES(yycontext * yy,char * yytext,int yyleng)1406 YY_ACTION(void) yy_4_PROJNODES(yycontext *yy, char *yytext, int yyleng)
1407 {
1408 #define n yy->__val[-1]
1409 #define sn yy->__val[-2]
1410 #define a yy->__val[-3]
1411 #define __ yy->__
1412 #define yypos yy->__pos
1413 #define yythunkpos yy->__thunkpos
1414 yyprintf((stderr, "do yy_4_PROJNODES\n"));
1415 {
1416 #line 127
1417 __ = _jqp_pop_projection_nodes(yy, sn); ;
1418 }
1419 #undef yythunkpos
1420 #undef yypos
1421 #undef yy
1422 #undef n
1423 #undef sn
1424 #undef a
1425 }
yy_3_PROJNODES(yycontext * yy,char * yytext,int yyleng)1426 YY_ACTION(void) yy_3_PROJNODES(yycontext *yy, char *yytext, int yyleng)
1427 {
1428 #define n yy->__val[-1]
1429 #define sn yy->__val[-2]
1430 #define a yy->__val[-3]
1431 #define __ yy->__
1432 #define yypos yy->__pos
1433 #define yythunkpos yy->__thunkpos
1434 yyprintf((stderr, "do yy_3_PROJNODES\n"));
1435 {
1436 #line 127
1437 _jqp_unit_push(yy, n);;
1438 }
1439 #undef yythunkpos
1440 #undef yypos
1441 #undef yy
1442 #undef n
1443 #undef sn
1444 #undef a
1445 }
yy_2_PROJNODES(yycontext * yy,char * yytext,int yyleng)1446 YY_ACTION(void) yy_2_PROJNODES(yycontext *yy, char *yytext, int yyleng)
1447 {
1448 #define n yy->__val[-1]
1449 #define sn yy->__val[-2]
1450 #define a yy->__val[-3]
1451 #define __ yy->__
1452 #define yypos yy->__pos
1453 #define yythunkpos yy->__thunkpos
1454 yyprintf((stderr, "do yy_2_PROJNODES\n"));
1455 {
1456 #line 127
1457 _jqp_unit_push(yy, sn); ;
1458 }
1459 #undef yythunkpos
1460 #undef yypos
1461 #undef yy
1462 #undef n
1463 #undef sn
1464 #undef a
1465 }
yy_1_PROJNODES(yycontext * yy,char * yytext,int yyleng)1466 YY_ACTION(void) yy_1_PROJNODES(yycontext *yy, char *yytext, int yyleng)
1467 {
1468 #define n yy->__val[-1]
1469 #define sn yy->__val[-2]
1470 #define a yy->__val[-3]
1471 #define __ yy->__
1472 #define yypos yy->__pos
1473 #define yythunkpos yy->__thunkpos
1474 yyprintf((stderr, "do yy_1_PROJNODES\n"));
1475 {
1476 #line 126
1477 __ = _jqp_projection(yy, a, 0); ;
1478 }
1479 #undef yythunkpos
1480 #undef yypos
1481 #undef yy
1482 #undef n
1483 #undef sn
1484 #undef a
1485 }
yy_3_ORDERNODES(yycontext * yy,char * yytext,int yyleng)1486 YY_ACTION(void) yy_3_ORDERNODES(yycontext *yy, char *yytext, int yyleng)
1487 {
1488 #define n yy->__val[-1]
1489 #define sn yy->__val[-2]
1490 #define __ yy->__
1491 #define yypos yy->__pos
1492 #define yythunkpos yy->__thunkpos
1493 yyprintf((stderr, "do yy_3_ORDERNODES\n"));
1494 {
1495 #line 122
1496 __ = _jqp_pop_ordernodes(yy, sn) ;
1497 }
1498 #undef yythunkpos
1499 #undef yypos
1500 #undef yy
1501 #undef n
1502 #undef sn
1503 }
yy_2_ORDERNODES(yycontext * yy,char * yytext,int yyleng)1504 YY_ACTION(void) yy_2_ORDERNODES(yycontext *yy, char *yytext, int yyleng)
1505 {
1506 #define n yy->__val[-1]
1507 #define sn yy->__val[-2]
1508 #define __ yy->__
1509 #define yypos yy->__pos
1510 #define yythunkpos yy->__thunkpos
1511 yyprintf((stderr, "do yy_2_ORDERNODES\n"));
1512 {
1513 #line 122
1514 _jqp_unit_push(yy, n); ;
1515 }
1516 #undef yythunkpos
1517 #undef yypos
1518 #undef yy
1519 #undef n
1520 #undef sn
1521 }
yy_1_ORDERNODES(yycontext * yy,char * yytext,int yyleng)1522 YY_ACTION(void) yy_1_ORDERNODES(yycontext *yy, char *yytext, int yyleng)
1523 {
1524 #define n yy->__val[-1]
1525 #define sn yy->__val[-2]
1526 #define __ yy->__
1527 #define yypos yy->__pos
1528 #define yythunkpos yy->__thunkpos
1529 yyprintf((stderr, "do yy_1_ORDERNODES\n"));
1530 {
1531 #line 122
1532 _jqp_unit_push(yy, sn); ;
1533 }
1534 #undef yythunkpos
1535 #undef yypos
1536 #undef yy
1537 #undef n
1538 #undef sn
1539 }
yy_2_ORDERBY(yycontext * yy,char * yytext,int yyleng)1540 YY_ACTION(void) yy_2_ORDERBY(yycontext *yy, char *yytext, int yyleng)
1541 {
1542 #define p yy->__val[-1]
1543 #define __ yy->__
1544 #define yypos yy->__pos
1545 #define yythunkpos yy->__thunkpos
1546 yyprintf((stderr, "do yy_2_ORDERBY\n"));
1547 {
1548 #line 120
1549 p->string.flavour |= (yy->aux->negate ? JQP_STR_NEGATE : 0); _jqp_op_negate_reset(yy); _jqp_add_orderby(yy, p); ;
1550 }
1551 #undef yythunkpos
1552 #undef yypos
1553 #undef yy
1554 #undef p
1555 }
yy_1_ORDERBY(yycontext * yy,char * yytext,int yyleng)1556 YY_ACTION(void) yy_1_ORDERBY(yycontext *yy, char *yytext, int yyleng)
1557 {
1558 #define p yy->__val[-1]
1559 #define __ yy->__
1560 #define yypos yy->__pos
1561 #define yythunkpos yy->__thunkpos
1562 yyprintf((stderr, "do yy_1_ORDERBY\n"));
1563 {
1564 #line 118
1565 _jqp_op_negate(yy); ;
1566 }
1567 #undef yythunkpos
1568 #undef yypos
1569 #undef yy
1570 #undef p
1571 }
yy_1_INVERSE(yycontext * yy,char * yytext,int yyleng)1572 YY_ACTION(void) yy_1_INVERSE(yycontext *yy, char *yytext, int yyleng)
1573 {
1574 #define __ yy->__
1575 #define yypos yy->__pos
1576 #define yythunkpos yy->__thunkpos
1577 yyprintf((stderr, "do yy_1_INVERSE\n"));
1578 {
1579 #line 116
1580 _jqp_set_inverse(yy); ;
1581 }
1582 #undef yythunkpos
1583 #undef yypos
1584 #undef yy
1585 }
yy_1_NOIDX(yycontext * yy,char * yytext,int yyleng)1586 YY_ACTION(void) yy_1_NOIDX(yycontext *yy, char *yytext, int yyleng)
1587 {
1588 #define __ yy->__
1589 #define yypos yy->__pos
1590 #define yythunkpos yy->__thunkpos
1591 yyprintf((stderr, "do yy_1_NOIDX\n"));
1592 {
1593 #line 114
1594 _jqp_set_noidx(yy); ;
1595 }
1596 #undef yythunkpos
1597 #undef yypos
1598 #undef yy
1599 }
yy_1_COUNT(yycontext * yy,char * yytext,int yyleng)1600 YY_ACTION(void) yy_1_COUNT(yycontext *yy, char *yytext, int yyleng)
1601 {
1602 #define __ yy->__
1603 #define yypos yy->__pos
1604 #define yythunkpos yy->__thunkpos
1605 yyprintf((stderr, "do yy_1_COUNT\n"));
1606 {
1607 #line 112
1608 _jqp_set_aggregate_count(yy); ;
1609 }
1610 #undef yythunkpos
1611 #undef yypos
1612 #undef yy
1613 }
yy_3_LIMIT(yycontext * yy,char * yytext,int yyleng)1614 YY_ACTION(void) yy_3_LIMIT(yycontext *yy, char *yytext, int yyleng)
1615 {
1616 #define p yy->__val[-1]
1617 #define __ yy->__
1618 #define yypos yy->__pos
1619 #define yythunkpos yy->__thunkpos
1620 yyprintf((stderr, "do yy_3_LIMIT\n"));
1621 {
1622 #line 110
1623 _jqp_set_limit(yy, __); ;
1624 }
1625 #undef yythunkpos
1626 #undef yypos
1627 #undef yy
1628 #undef p
1629 }
yy_2_LIMIT(yycontext * yy,char * yytext,int yyleng)1630 YY_ACTION(void) yy_2_LIMIT(yycontext *yy, char *yytext, int yyleng)
1631 {
1632 #define p yy->__val[-1]
1633 #define __ yy->__
1634 #define yypos yy->__pos
1635 #define yythunkpos yy->__thunkpos
1636 yyprintf((stderr, "do yy_2_LIMIT\n"));
1637 {
1638 #line 110
1639 __ = p; ;
1640 }
1641 #undef yythunkpos
1642 #undef yypos
1643 #undef yy
1644 #undef p
1645 }
yy_1_LIMIT(yycontext * yy,char * yytext,int yyleng)1646 YY_ACTION(void) yy_1_LIMIT(yycontext *yy, char *yytext, int yyleng)
1647 {
1648 #define p yy->__val[-1]
1649 #define __ yy->__
1650 #define yypos yy->__pos
1651 #define yythunkpos yy->__thunkpos
1652 yyprintf((stderr, "do yy_1_LIMIT\n"));
1653 {
1654 #line 110
1655 __ = _jqp_number(yy, JQP_INT_LIMIT, yytext); ;
1656 }
1657 #undef yythunkpos
1658 #undef yypos
1659 #undef yy
1660 #undef p
1661 }
yy_3_SKIP(yycontext * yy,char * yytext,int yyleng)1662 YY_ACTION(void) yy_3_SKIP(yycontext *yy, char *yytext, int yyleng)
1663 {
1664 #define p yy->__val[-1]
1665 #define __ yy->__
1666 #define yypos yy->__pos
1667 #define yythunkpos yy->__thunkpos
1668 yyprintf((stderr, "do yy_3_SKIP\n"));
1669 {
1670 #line 108
1671 _jqp_set_skip(yy, __); ;
1672 }
1673 #undef yythunkpos
1674 #undef yypos
1675 #undef yy
1676 #undef p
1677 }
yy_2_SKIP(yycontext * yy,char * yytext,int yyleng)1678 YY_ACTION(void) yy_2_SKIP(yycontext *yy, char *yytext, int yyleng)
1679 {
1680 #define p yy->__val[-1]
1681 #define __ yy->__
1682 #define yypos yy->__pos
1683 #define yythunkpos yy->__thunkpos
1684 yyprintf((stderr, "do yy_2_SKIP\n"));
1685 {
1686 #line 108
1687 __ = p; ;
1688 }
1689 #undef yythunkpos
1690 #undef yypos
1691 #undef yy
1692 #undef p
1693 }
yy_1_SKIP(yycontext * yy,char * yytext,int yyleng)1694 YY_ACTION(void) yy_1_SKIP(yycontext *yy, char *yytext, int yyleng)
1695 {
1696 #define p yy->__val[-1]
1697 #define __ yy->__
1698 #define yypos yy->__pos
1699 #define yythunkpos yy->__thunkpos
1700 yyprintf((stderr, "do yy_1_SKIP\n"));
1701 {
1702 #line 108
1703 __ = _jqp_number(yy, JQP_INT_SKIP, yytext); ;
1704 }
1705 #undef yythunkpos
1706 #undef yypos
1707 #undef yy
1708 #undef p
1709 }
yy_4_PROJECTION(yycontext * yy,char * yytext,int yyleng)1710 YY_ACTION(void) yy_4_PROJECTION(yycontext *yy, char *yytext, int yyleng)
1711 {
1712 #define n yy->__val[-1]
1713 #define sn yy->__val[-2]
1714 #define __ yy->__
1715 #define yypos yy->__pos
1716 #define yythunkpos yy->__thunkpos
1717 yyprintf((stderr, "do yy_4_PROJECTION\n"));
1718 {
1719 #line 102
1720 __ = _jqp_pop_joined_projections(yy, sn); ;
1721 }
1722 #undef yythunkpos
1723 #undef yypos
1724 #undef yy
1725 #undef n
1726 #undef sn
1727 }
yy_3_PROJECTION(yycontext * yy,char * yytext,int yyleng)1728 YY_ACTION(void) yy_3_PROJECTION(yycontext *yy, char *yytext, int yyleng)
1729 {
1730 #define n yy->__val[-1]
1731 #define sn yy->__val[-2]
1732 #define __ yy->__
1733 #define yypos yy->__pos
1734 #define yythunkpos yy->__thunkpos
1735 yyprintf((stderr, "do yy_3_PROJECTION\n"));
1736 {
1737 #line 101
1738 _jqp_push_joined_projection(yy, n); ;
1739 }
1740 #undef yythunkpos
1741 #undef yypos
1742 #undef yy
1743 #undef n
1744 #undef sn
1745 }
yy_2_PROJECTION(yycontext * yy,char * yytext,int yyleng)1746 YY_ACTION(void) yy_2_PROJECTION(yycontext *yy, char *yytext, int yyleng)
1747 {
1748 #define n yy->__val[-1]
1749 #define sn yy->__val[-2]
1750 #define __ yy->__
1751 #define yypos yy->__pos
1752 #define yythunkpos yy->__thunkpos
1753 yyprintf((stderr, "do yy_2_PROJECTION\n"));
1754 {
1755 #line 101
1756 _jqp_string_push(yy, yytext, true); ;
1757 }
1758 #undef yythunkpos
1759 #undef yypos
1760 #undef yy
1761 #undef n
1762 #undef sn
1763 }
yy_1_PROJECTION(yycontext * yy,char * yytext,int yyleng)1764 YY_ACTION(void) yy_1_PROJECTION(yycontext *yy, char *yytext, int yyleng)
1765 {
1766 #define n yy->__val[-1]
1767 #define sn yy->__val[-2]
1768 #define __ yy->__
1769 #define yypos yy->__pos
1770 #define yythunkpos yy->__thunkpos
1771 yyprintf((stderr, "do yy_1_PROJECTION\n"));
1772 {
1773 #line 100
1774 _jqp_unit_push(yy, sn); ;
1775 }
1776 #undef yythunkpos
1777 #undef yypos
1778 #undef yy
1779 #undef n
1780 #undef sn
1781 }
yy_2_FILTERJOIN(yycontext * yy,char * yytext,int yyleng)1782 YY_ACTION(void) yy_2_FILTERJOIN(yycontext *yy, char *yytext, int yyleng)
1783 {
1784 #define __ yy->__
1785 #define yypos yy->__pos
1786 #define yythunkpos yy->__thunkpos
1787 yyprintf((stderr, "do yy_2_FILTERJOIN\n"));
1788 {
1789 #line 94
1790 __ = _jqp_unit_join(yy, yytext); ;
1791 }
1792 #undef yythunkpos
1793 #undef yypos
1794 #undef yy
1795 }
yy_1_FILTERJOIN(yycontext * yy,char * yytext,int yyleng)1796 YY_ACTION(void) yy_1_FILTERJOIN(yycontext *yy, char *yytext, int yyleng)
1797 {
1798 #define __ yy->__
1799 #define yypos yy->__pos
1800 #define yythunkpos yy->__thunkpos
1801 yyprintf((stderr, "do yy_1_FILTERJOIN\n"));
1802 {
1803 #line 94
1804 _jqp_op_negate(yy); ;
1805 }
1806 #undef yythunkpos
1807 #undef yypos
1808 #undef yy
1809 }
yy_2_FILTEREXPR_PK(yycontext * yy,char * yytext,int yyleng)1810 YY_ACTION(void) yy_2_FILTEREXPR_PK(yycontext *yy, char *yytext, int yyleng)
1811 {
1812 #define p yy->__val[-1]
1813 #define a yy->__val[-2]
1814 #define __ yy->__
1815 #define yypos yy->__pos
1816 #define yythunkpos yy->__thunkpos
1817 yyprintf((stderr, "do yy_2_FILTEREXPR_PK\n"));
1818 {
1819 #line 92
1820 __ = _jqp_create_filterexpr_pk(yy, p) ;
1821 }
1822 #undef yythunkpos
1823 #undef yypos
1824 #undef yy
1825 #undef p
1826 #undef a
1827 }
yy_1_FILTEREXPR_PK(yycontext * yy,char * yytext,int yyleng)1828 YY_ACTION(void) yy_1_FILTEREXPR_PK(yycontext *yy, char *yytext, int yyleng)
1829 {
1830 #define p yy->__val[-1]
1831 #define a yy->__val[-2]
1832 #define __ yy->__
1833 #define yypos yy->__pos
1834 #define yythunkpos yy->__thunkpos
1835 yyprintf((stderr, "do yy_1_FILTEREXPR_PK\n"));
1836 {
1837 #line 90
1838 _jqp_unit_push(yy, a); ;
1839 }
1840 #undef yythunkpos
1841 #undef yypos
1842 #undef yy
1843 #undef p
1844 #undef a
1845 }
yy_6_QUERY(yycontext * yy,char * yytext,int yyleng)1846 YY_ACTION(void) yy_6_QUERY(yycontext *yy, char *yytext, int yyleng)
1847 {
1848 #define p yy->__val[-1]
1849 #define u yy->__val[-2]
1850 #define a yy->__val[-3]
1851 #define s yy->__val[-4]
1852 #define __ yy->__
1853 #define yypos yy->__pos
1854 #define yythunkpos yy->__thunkpos
1855 yyprintf((stderr, "do yy_6_QUERY\n"));
1856 {
1857 #line 86
1858 _jqp_finish(yy); ;
1859 }
1860 #undef yythunkpos
1861 #undef yypos
1862 #undef yy
1863 #undef p
1864 #undef u
1865 #undef a
1866 #undef s
1867 }
yy_5_QUERY(yycontext * yy,char * yytext,int yyleng)1868 YY_ACTION(void) yy_5_QUERY(yycontext *yy, char *yytext, int yyleng)
1869 {
1870 #define p yy->__val[-1]
1871 #define u yy->__val[-2]
1872 #define a yy->__val[-3]
1873 #define s yy->__val[-4]
1874 #define __ yy->__
1875 #define yypos yy->__pos
1876 #define yythunkpos yy->__thunkpos
1877 yyprintf((stderr, "do yy_5_QUERY\n"));
1878 {
1879 #line 84
1880 _jqp_set_projection(yy, p); ;
1881 }
1882 #undef yythunkpos
1883 #undef yypos
1884 #undef yy
1885 #undef p
1886 #undef u
1887 #undef a
1888 #undef s
1889 }
yy_4_QUERY(yycontext * yy,char * yytext,int yyleng)1890 YY_ACTION(void) yy_4_QUERY(yycontext *yy, char *yytext, int yyleng)
1891 {
1892 #define p yy->__val[-1]
1893 #define u yy->__val[-2]
1894 #define a yy->__val[-3]
1895 #define s yy->__val[-4]
1896 #define __ yy->__
1897 #define yypos yy->__pos
1898 #define yythunkpos yy->__thunkpos
1899 yyprintf((stderr, "do yy_4_QUERY\n"));
1900 {
1901 #line 83
1902 _jqp_set_apply_upsert(yy, u); ;
1903 }
1904 #undef yythunkpos
1905 #undef yypos
1906 #undef yy
1907 #undef p
1908 #undef u
1909 #undef a
1910 #undef s
1911 }
yy_3_QUERY(yycontext * yy,char * yytext,int yyleng)1912 YY_ACTION(void) yy_3_QUERY(yycontext *yy, char *yytext, int yyleng)
1913 {
1914 #define p yy->__val[-1]
1915 #define u yy->__val[-2]
1916 #define a yy->__val[-3]
1917 #define s yy->__val[-4]
1918 #define __ yy->__
1919 #define yypos yy->__pos
1920 #define yythunkpos yy->__thunkpos
1921 yyprintf((stderr, "do yy_3_QUERY\n"));
1922 {
1923 #line 83
1924 _jqp_set_apply_delete(yy); ;
1925 }
1926 #undef yythunkpos
1927 #undef yypos
1928 #undef yy
1929 #undef p
1930 #undef u
1931 #undef a
1932 #undef s
1933 }
yy_2_QUERY(yycontext * yy,char * yytext,int yyleng)1934 YY_ACTION(void) yy_2_QUERY(yycontext *yy, char *yytext, int yyleng)
1935 {
1936 #define p yy->__val[-1]
1937 #define u yy->__val[-2]
1938 #define a yy->__val[-3]
1939 #define s yy->__val[-4]
1940 #define __ yy->__
1941 #define yypos yy->__pos
1942 #define yythunkpos yy->__thunkpos
1943 yyprintf((stderr, "do yy_2_QUERY\n"));
1944 {
1945 #line 83
1946 _jqp_set_apply(yy, a); ;
1947 }
1948 #undef yythunkpos
1949 #undef yypos
1950 #undef yy
1951 #undef p
1952 #undef u
1953 #undef a
1954 #undef s
1955 }
yy_1_QUERY(yycontext * yy,char * yytext,int yyleng)1956 YY_ACTION(void) yy_1_QUERY(yycontext *yy, char *yytext, int yyleng)
1957 {
1958 #define p yy->__val[-1]
1959 #define u yy->__val[-2]
1960 #define a yy->__val[-3]
1961 #define s yy->__val[-4]
1962 #define __ yy->__
1963 #define yypos yy->__pos
1964 #define yythunkpos yy->__thunkpos
1965 yyprintf((stderr, "do yy_1_QUERY\n"));
1966 {
1967 #line 82
1968 _jqp_set_filters_expr(yy, s); ;
1969 }
1970 #undef yythunkpos
1971 #undef yypos
1972 #undef yy
1973 #undef p
1974 #undef u
1975 #undef a
1976 #undef s
1977 }
1978
yy_EOL(yycontext * yy)1979 YY_RULE(int) yy_EOL(yycontext *yy)
1980 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1981 yyprintf((stderr, "%s\n", "EOL"));
1982 { int yypos2= yy->__pos, yythunkpos2= yy->__thunkpos; if (!yymatchString(yy, "\r\n")) goto l3; goto l2;
1983 l3:; yy->__pos= yypos2; yy->__thunkpos= yythunkpos2; if (!yymatchChar(yy, '\n')) goto l4; goto l2;
1984 l4:; yy->__pos= yypos2; yy->__thunkpos= yythunkpos2; if (!yymatchChar(yy, '\r')) goto l1;
1985 }
1986 l2:;
1987 yyprintf((stderr, " ok %s @ %s\n", "EOL", yy->__buf+yy->__pos));
1988 return 1;
1989 l1:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
1990 yyprintf((stderr, " fail %s @ %s\n", "EOL", yy->__buf+yy->__pos));
1991 return 0;
1992 }
yy_SPACE(yycontext * yy)1993 YY_RULE(int) yy_SPACE(yycontext *yy)
1994 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
1995 yyprintf((stderr, "%s\n", "SPACE"));
1996 { int yypos6= yy->__pos, yythunkpos6= yy->__thunkpos; if (!yymatchChar(yy, ' ')) goto l7; goto l6;
1997 l7:; yy->__pos= yypos6; yy->__thunkpos= yythunkpos6; if (!yymatchChar(yy, '\t')) goto l8; goto l6;
1998 l8:; yy->__pos= yypos6; yy->__thunkpos= yythunkpos6; if (!yy_EOL(yy)) goto l5;
1999 }
2000 l6:;
2001 yyprintf((stderr, " ok %s @ %s\n", "SPACE", yy->__buf+yy->__pos));
2002 return 1;
2003 l5:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2004 yyprintf((stderr, " fail %s @ %s\n", "SPACE", yy->__buf+yy->__pos));
2005 return 0;
2006 }
yy_NUME(yycontext * yy)2007 YY_RULE(int) yy_NUME(yycontext *yy)
2008 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2009 yyprintf((stderr, "%s\n", "NUME")); if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\000\000\040\000\000\000\040\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l9; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\001\370\377\377\377\377\377\077\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l9;
2010 l10:;
2011 { int yypos11= yy->__pos, yythunkpos11= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\001\370\377\377\377\377\377\077\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l11; goto l10;
2012 l11:; yy->__pos= yypos11; yy->__thunkpos= yythunkpos11;
2013 }
2014 yyprintf((stderr, " ok %s @ %s\n", "NUME", yy->__buf+yy->__pos));
2015 return 1;
2016 l9:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2017 yyprintf((stderr, " fail %s @ %s\n", "NUME", yy->__buf+yy->__pos));
2018 return 0;
2019 }
yy_NUMF(yycontext * yy)2020 YY_RULE(int) yy_NUMF(yycontext *yy)
2021 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2022 yyprintf((stderr, "%s\n", "NUMF")); if (!yymatchChar(yy, '.')) goto l12; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l12;
2023 l13:;
2024 { int yypos14= yy->__pos, yythunkpos14= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l14; goto l13;
2025 l14:; yy->__pos= yypos14; yy->__thunkpos= yythunkpos14;
2026 }
2027 yyprintf((stderr, " ok %s @ %s\n", "NUMF", yy->__buf+yy->__pos));
2028 return 1;
2029 l12:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2030 yyprintf((stderr, " fail %s @ %s\n", "NUMF", yy->__buf+yy->__pos));
2031 return 0;
2032 }
yy_NUMJ(yycontext * yy)2033 YY_RULE(int) yy_NUMJ(yycontext *yy)
2034 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2035 yyprintf((stderr, "%s\n", "NUMJ")); yyText(yy, yy->__begin, yy->__end); {
2036 #define yytext yy->__text
2037 #define yyleng yy->__textlen
2038 if (!(YY_BEGIN)) goto l15;
2039 #undef yytext
2040 #undef yyleng
2041 }
2042 { int yypos16= yy->__pos, yythunkpos16= yy->__thunkpos; if (!yymatchChar(yy, '-')) goto l16; goto l17;
2043 l16:; yy->__pos= yypos16; yy->__thunkpos= yythunkpos16;
2044 }
2045 l17:; if (!yy_NUMI(yy)) goto l15;
2046 { int yypos18= yy->__pos, yythunkpos18= yy->__thunkpos; if (!yy_NUMF(yy)) goto l18; goto l19;
2047 l18:; yy->__pos= yypos18; yy->__thunkpos= yythunkpos18;
2048 }
2049 l19:;
2050 { int yypos20= yy->__pos, yythunkpos20= yy->__thunkpos; if (!yy_NUME(yy)) goto l20; goto l21;
2051 l20:; yy->__pos= yypos20; yy->__thunkpos= yythunkpos20;
2052 }
2053 l21:; yyText(yy, yy->__begin, yy->__end); {
2054 #define yytext yy->__text
2055 #define yyleng yy->__textlen
2056 if (!(YY_END)) goto l15;
2057 #undef yytext
2058 #undef yyleng
2059 } yyDo(yy, yy_1_NUMJ, yy->__begin, yy->__end);
2060 yyprintf((stderr, " ok %s @ %s\n", "NUMJ", yy->__buf+yy->__pos));
2061 return 1;
2062 l15:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2063 yyprintf((stderr, " fail %s @ %s\n", "NUMJ", yy->__buf+yy->__pos));
2064 return 0;
2065 }
yy_STRJ(yycontext * yy)2066 YY_RULE(int) yy_STRJ(yycontext *yy)
2067 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2068 yyprintf((stderr, "%s\n", "STRJ")); if (!yymatchChar(yy, '"')) goto l22; yyText(yy, yy->__begin, yy->__end); {
2069 #define yytext yy->__text
2070 #define yyleng yy->__textlen
2071 if (!(YY_BEGIN)) goto l22;
2072 #undef yytext
2073 #undef yyleng
2074 }
2075 l23:;
2076 { int yypos24= yy->__pos, yythunkpos24= yy->__thunkpos; if (!yy_CHJ(yy)) goto l24; goto l23;
2077 l24:; yy->__pos= yypos24; yy->__thunkpos= yythunkpos24;
2078 } yyText(yy, yy->__begin, yy->__end); {
2079 #define yytext yy->__text
2080 #define yyleng yy->__textlen
2081 if (!(YY_END)) goto l22;
2082 #undef yytext
2083 #undef yyleng
2084 } if (!yymatchChar(yy, '"')) goto l22; yyDo(yy, yy_1_STRJ, yy->__begin, yy->__end);
2085 yyprintf((stderr, " ok %s @ %s\n", "STRJ", yy->__buf+yy->__pos));
2086 return 1;
2087 l22:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2088 yyprintf((stderr, " fail %s @ %s\n", "STRJ", yy->__buf+yy->__pos));
2089 return 0;
2090 }
yy_SARRJ(yycontext * yy)2091 YY_RULE(int) yy_SARRJ(yycontext *yy)
2092 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2093 yyprintf((stderr, "%s\n", "SARRJ")); if (!yymatchChar(yy, '[')) goto l25; yyDo(yy, yy_1_SARRJ, yy->__begin, yy->__end);
2094 yyprintf((stderr, " ok %s @ %s\n", "SARRJ", yy->__buf+yy->__pos));
2095 return 1;
2096 l25:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2097 yyprintf((stderr, " fail %s @ %s\n", "SARRJ", yy->__buf+yy->__pos));
2098 return 0;
2099 }
yy_PAIRJ(yycontext * yy)2100 YY_RULE(int) yy_PAIRJ(yycontext *yy)
2101 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 2, 0);
2102 yyprintf((stderr, "%s\n", "PAIRJ")); if (!yy_STRJ(yy)) goto l26; yyDo(yy, yySet, -2, 0); if (!yy__(yy)) goto l26; if (!yymatchChar(yy, ':')) goto l26; if (!yy__(yy)) goto l26; if (!yy_VALJ(yy)) goto l26; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_1_PAIRJ, yy->__begin, yy->__end);
2103 yyprintf((stderr, " ok %s @ %s\n", "PAIRJ", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 2, 0);
2104 return 1;
2105 l26:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2106 yyprintf((stderr, " fail %s @ %s\n", "PAIRJ", yy->__buf+yy->__pos));
2107 return 0;
2108 }
yy_SOBJJ(yycontext * yy)2109 YY_RULE(int) yy_SOBJJ(yycontext *yy)
2110 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2111 yyprintf((stderr, "%s\n", "SOBJJ")); if (!yymatchChar(yy, '{')) goto l27; yyDo(yy, yy_1_SOBJJ, yy->__begin, yy->__end);
2112 yyprintf((stderr, " ok %s @ %s\n", "SOBJJ", yy->__buf+yy->__pos));
2113 return 1;
2114 l27:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2115 yyprintf((stderr, " fail %s @ %s\n", "SOBJJ", yy->__buf+yy->__pos));
2116 return 0;
2117 }
yy_CHJ(yycontext * yy)2118 YY_RULE(int) yy_CHJ(yycontext *yy)
2119 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2120 yyprintf((stderr, "%s\n", "CHJ"));
2121 { int yypos29= yy->__pos, yythunkpos29= yy->__thunkpos; if (!yymatchChar(yy, '\\')) goto l30; if (!yymatchChar(yy, '"')) goto l30; goto l29;
2122 l30:; yy->__pos= yypos29; yy->__thunkpos= yythunkpos29; if (!yymatchChar(yy, '\\')) goto l31; if (!yymatchChar(yy, '\\')) goto l31; goto l29;
2123 l31:; yy->__pos= yypos29; yy->__thunkpos= yythunkpos29; if (!yymatchChar(yy, '\\')) goto l32; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\000\000\000\000\000\000\104\100\024\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l32; goto l29;
2124 l32:; yy->__pos= yypos29; yy->__thunkpos= yythunkpos29; if (!yymatchChar(yy, '\\')) goto l33; if (!yymatchChar(yy, 'u')) goto l33; if (!yy_HEX(yy)) goto l33; if (!yy_HEX(yy)) goto l33; if (!yy_HEX(yy)) goto l33; if (!yy_HEX(yy)) goto l33; goto l29;
2125 l33:; yy->__pos= yypos29; yy->__thunkpos= yythunkpos29;
2126 { int yypos34= yy->__pos, yythunkpos34= yy->__thunkpos; if (!yymatchChar(yy, '"')) goto l34; goto l28;
2127 l34:; yy->__pos= yypos34; yy->__thunkpos= yythunkpos34;
2128 } if (!yymatchDot(yy)) goto l28;
2129 }
2130 l29:;
2131 yyprintf((stderr, " ok %s @ %s\n", "CHJ", yy->__buf+yy->__pos));
2132 return 1;
2133 l28:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2134 yyprintf((stderr, " fail %s @ %s\n", "CHJ", yy->__buf+yy->__pos));
2135 return 0;
2136 }
yy_CHP(yycontext * yy)2137 YY_RULE(int) yy_CHP(yycontext *yy)
2138 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2139 yyprintf((stderr, "%s\n", "CHP"));
2140 { int yypos36= yy->__pos, yythunkpos36= yy->__thunkpos; if (!yymatchChar(yy, '\\')) goto l37; if (!yymatchChar(yy, '\\')) goto l37; goto l36;
2141 l37:; yy->__pos= yypos36; yy->__thunkpos= yythunkpos36; if (!yymatchChar(yy, '\\')) goto l38; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\000\000\000\000\000\000\104\100\024\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l38; goto l36;
2142 l38:; yy->__pos= yypos36; yy->__thunkpos= yythunkpos36; if (!yymatchChar(yy, '\\')) goto l39; if (!yymatchChar(yy, 'u')) goto l39; if (!yy_HEX(yy)) goto l39; if (!yy_HEX(yy)) goto l39; if (!yy_HEX(yy)) goto l39; if (!yy_HEX(yy)) goto l39; goto l36;
2143 l39:; yy->__pos= yypos36; yy->__thunkpos= yythunkpos36;
2144 { int yypos40= yy->__pos, yythunkpos40= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\046\000\000\007\203\000\160\000\000\000\050\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l40; goto l35;
2145 l40:; yy->__pos= yypos40; yy->__thunkpos= yythunkpos40;
2146 } if (!yymatchDot(yy)) goto l35;
2147 }
2148 l36:;
2149 yyprintf((stderr, " ok %s @ %s\n", "CHP", yy->__buf+yy->__pos));
2150 return 1;
2151 l35:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2152 yyprintf((stderr, " fail %s @ %s\n", "CHP", yy->__buf+yy->__pos));
2153 return 0;
2154 }
yy_VALJ(yycontext * yy)2155 YY_RULE(int) yy_VALJ(yycontext *yy)
2156 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2157 yyprintf((stderr, "%s\n", "VALJ"));
2158 { int yypos42= yy->__pos, yythunkpos42= yy->__thunkpos; if (!yy_STRJ(yy)) goto l43; goto l42;
2159 l43:; yy->__pos= yypos42; yy->__thunkpos= yythunkpos42; if (!yy_NUMJ(yy)) goto l44; goto l42;
2160 l44:; yy->__pos= yypos42; yy->__thunkpos= yythunkpos42; if (!yy_OBJJ(yy)) goto l45; goto l42;
2161 l45:; yy->__pos= yypos42; yy->__thunkpos= yythunkpos42; if (!yy_ARRJ(yy)) goto l46; goto l42;
2162 l46:; yy->__pos= yypos42; yy->__thunkpos= yythunkpos42; if (!yymatchString(yy, "true")) goto l47; yyDo(yy, yy_1_VALJ, yy->__begin, yy->__end); goto l42;
2163 l47:; yy->__pos= yypos42; yy->__thunkpos= yythunkpos42; if (!yymatchString(yy, "false")) goto l48; yyDo(yy, yy_2_VALJ, yy->__begin, yy->__end); goto l42;
2164 l48:; yy->__pos= yypos42; yy->__thunkpos= yythunkpos42; if (!yymatchString(yy, "null")) goto l41; yyDo(yy, yy_3_VALJ, yy->__begin, yy->__end);
2165 }
2166 l42:;
2167 yyprintf((stderr, " ok %s @ %s\n", "VALJ", yy->__buf+yy->__pos));
2168 return 1;
2169 l41:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2170 yyprintf((stderr, " fail %s @ %s\n", "VALJ", yy->__buf+yy->__pos));
2171 return 0;
2172 }
yy_NEXPRLEFT(yycontext * yy)2173 YY_RULE(int) yy_NEXPRLEFT(yycontext *yy)
2174 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2175 yyprintf((stderr, "%s\n", "NEXPRLEFT")); if (!yymatchChar(yy, '[')) goto l49; if (!yy__(yy)) goto l49; if (!yy_STRSTAR(yy)) goto l49; yyDo(yy, yySet, -3, 0); if (!yy__(yy)) goto l49; if (!yy_NEXOP(yy)) goto l49; yyDo(yy, yySet, -2, 0); if (!yy__(yy)) goto l49; if (!yy_NEXRIGHT(yy)) goto l49; yyDo(yy, yySet, -1, 0); if (!yy__(yy)) goto l49; if (!yymatchChar(yy, ']')) goto l49; yyDo(yy, yy_1_NEXPRLEFT, yy->__begin, yy->__end);
2176 yyprintf((stderr, " ok %s @ %s\n", "NEXPRLEFT", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2177 return 1;
2178 l49:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2179 yyprintf((stderr, " fail %s @ %s\n", "NEXPRLEFT", yy->__buf+yy->__pos));
2180 return 0;
2181 }
yy_STRSTAR(yycontext * yy)2182 YY_RULE(int) yy_STRSTAR(yycontext *yy)
2183 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2184 yyprintf((stderr, "%s\n", "STRSTAR")); if (!yymatchChar(yy, '*')) goto l50; yyDo(yy, yy_1_STRSTAR, yy->__begin, yy->__end);
2185 yyprintf((stderr, " ok %s @ %s\n", "STRSTAR", yy->__buf+yy->__pos));
2186 return 1;
2187 l50:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2188 yyprintf((stderr, " fail %s @ %s\n", "STRSTAR", yy->__buf+yy->__pos));
2189 return 0;
2190 }
yy_DBLSTAR(yycontext * yy)2191 YY_RULE(int) yy_DBLSTAR(yycontext *yy)
2192 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2193 yyprintf((stderr, "%s\n", "DBLSTAR")); if (!yymatchString(yy, "**")) goto l51; yyDo(yy, yy_1_DBLSTAR, yy->__begin, yy->__end);
2194 yyprintf((stderr, " ok %s @ %s\n", "DBLSTAR", yy->__buf+yy->__pos));
2195 return 1;
2196 l51:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2197 yyprintf((stderr, " fail %s @ %s\n", "DBLSTAR", yy->__buf+yy->__pos));
2198 return 0;
2199 }
yy_NEXRIGHT(yycontext * yy)2200 YY_RULE(int) yy_NEXRIGHT(yycontext *yy)
2201 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2202 yyprintf((stderr, "%s\n", "NEXRIGHT"));
2203 { int yypos53= yy->__pos, yythunkpos53= yy->__thunkpos; if (!yy_PLACEHOLDER(yy)) goto l54; goto l53;
2204 l54:; yy->__pos= yypos53; yy->__thunkpos= yythunkpos53; if (!yy_VALJ(yy)) goto l55; goto l53;
2205 l55:; yy->__pos= yypos53; yy->__thunkpos= yythunkpos53; if (!yy_STRP(yy)) goto l52;
2206 }
2207 l53:;
2208 yyprintf((stderr, " ok %s @ %s\n", "NEXRIGHT", yy->__buf+yy->__pos));
2209 return 1;
2210 l52:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2211 yyprintf((stderr, " fail %s @ %s\n", "NEXRIGHT", yy->__buf+yy->__pos));
2212 return 0;
2213 }
yy_NEXOP(yycontext * yy)2214 YY_RULE(int) yy_NEXOP(yycontext *yy)
2215 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2216 yyprintf((stderr, "%s\n", "NEXOP"));
2217 { int yypos57= yy->__pos, yythunkpos57= yy->__thunkpos;
2218 { int yypos59= yy->__pos, yythunkpos59= yy->__thunkpos; if (!yymatchString(yy, "not")) goto l59; if (!yy___(yy)) goto l59; yyDo(yy, yy_1_NEXOP, yy->__begin, yy->__end); goto l60;
2219 l59:; yy->__pos= yypos59; yy->__thunkpos= yythunkpos59;
2220 }
2221 l60:; yyText(yy, yy->__begin, yy->__end); {
2222 #define yytext yy->__text
2223 #define yyleng yy->__textlen
2224 if (!(YY_BEGIN)) goto l58;
2225 #undef yytext
2226 #undef yyleng
2227 }
2228 { int yypos61= yy->__pos, yythunkpos61= yy->__thunkpos; if (!yymatchString(yy, "in")) goto l62; goto l61;
2229 l62:; yy->__pos= yypos61; yy->__thunkpos= yythunkpos61; if (!yymatchString(yy, "ni")) goto l63; goto l61;
2230 l63:; yy->__pos= yypos61; yy->__thunkpos= yythunkpos61; if (!yymatchString(yy, "re")) goto l58;
2231 }
2232 l61:; yyText(yy, yy->__begin, yy->__end); {
2233 #define yytext yy->__text
2234 #define yyleng yy->__textlen
2235 if (!(YY_END)) goto l58;
2236 #undef yytext
2237 #undef yyleng
2238 } yyDo(yy, yy_2_NEXOP, yy->__begin, yy->__end); goto l57;
2239 l58:; yy->__pos= yypos57; yy->__thunkpos= yythunkpos57; yyText(yy, yy->__begin, yy->__end); {
2240 #define yytext yy->__text
2241 #define yyleng yy->__textlen
2242 if (!(YY_BEGIN)) goto l64;
2243 #undef yytext
2244 #undef yyleng
2245 }
2246 { int yypos65= yy->__pos, yythunkpos65= yy->__thunkpos; if (!yymatchString(yy, ">=")) goto l66; goto l65;
2247 l66:; yy->__pos= yypos65; yy->__thunkpos= yythunkpos65; if (!yymatchString(yy, "gte")) goto l64;
2248 }
2249 l65:; yyText(yy, yy->__begin, yy->__end); {
2250 #define yytext yy->__text
2251 #define yyleng yy->__textlen
2252 if (!(YY_END)) goto l64;
2253 #undef yytext
2254 #undef yyleng
2255 } yyDo(yy, yy_3_NEXOP, yy->__begin, yy->__end); goto l57;
2256 l64:; yy->__pos= yypos57; yy->__thunkpos= yythunkpos57; yyText(yy, yy->__begin, yy->__end); {
2257 #define yytext yy->__text
2258 #define yyleng yy->__textlen
2259 if (!(YY_BEGIN)) goto l67;
2260 #undef yytext
2261 #undef yyleng
2262 }
2263 { int yypos68= yy->__pos, yythunkpos68= yy->__thunkpos; if (!yymatchString(yy, "<=")) goto l69; goto l68;
2264 l69:; yy->__pos= yypos68; yy->__thunkpos= yythunkpos68; if (!yymatchString(yy, "lte")) goto l67;
2265 }
2266 l68:; yyText(yy, yy->__begin, yy->__end); {
2267 #define yytext yy->__text
2268 #define yyleng yy->__textlen
2269 if (!(YY_END)) goto l67;
2270 #undef yytext
2271 #undef yyleng
2272 } yyDo(yy, yy_4_NEXOP, yy->__begin, yy->__end); goto l57;
2273 l67:; yy->__pos= yypos57; yy->__thunkpos= yythunkpos57;
2274 { int yypos71= yy->__pos, yythunkpos71= yy->__thunkpos; if (!yymatchChar(yy, '!')) goto l71; if (!yy__(yy)) goto l71; yyDo(yy, yy_5_NEXOP, yy->__begin, yy->__end); goto l72;
2275 l71:; yy->__pos= yypos71; yy->__thunkpos= yythunkpos71;
2276 }
2277 l72:; yyText(yy, yy->__begin, yy->__end); {
2278 #define yytext yy->__text
2279 #define yyleng yy->__textlen
2280 if (!(YY_BEGIN)) goto l70;
2281 #undef yytext
2282 #undef yyleng
2283 }
2284 { int yypos73= yy->__pos, yythunkpos73= yy->__thunkpos; if (!yymatchChar(yy, '=')) goto l74; goto l73;
2285 l74:; yy->__pos= yypos73; yy->__thunkpos= yythunkpos73; if (!yymatchString(yy, "eq")) goto l75; goto l73;
2286 l75:; yy->__pos= yypos73; yy->__thunkpos= yythunkpos73; if (!yymatchChar(yy, '~')) goto l70;
2287 }
2288 l73:; yyText(yy, yy->__begin, yy->__end); {
2289 #define yytext yy->__text
2290 #define yyleng yy->__textlen
2291 if (!(YY_END)) goto l70;
2292 #undef yytext
2293 #undef yyleng
2294 } yyDo(yy, yy_6_NEXOP, yy->__begin, yy->__end); goto l57;
2295 l70:; yy->__pos= yypos57; yy->__thunkpos= yythunkpos57; yyText(yy, yy->__begin, yy->__end); {
2296 #define yytext yy->__text
2297 #define yyleng yy->__textlen
2298 if (!(YY_BEGIN)) goto l76;
2299 #undef yytext
2300 #undef yyleng
2301 }
2302 { int yypos77= yy->__pos, yythunkpos77= yy->__thunkpos; if (!yymatchChar(yy, '>')) goto l78; goto l77;
2303 l78:; yy->__pos= yypos77; yy->__thunkpos= yythunkpos77; if (!yymatchString(yy, "gt")) goto l76;
2304 }
2305 l77:; yyText(yy, yy->__begin, yy->__end); {
2306 #define yytext yy->__text
2307 #define yyleng yy->__textlen
2308 if (!(YY_END)) goto l76;
2309 #undef yytext
2310 #undef yyleng
2311 } yyDo(yy, yy_7_NEXOP, yy->__begin, yy->__end); goto l57;
2312 l76:; yy->__pos= yypos57; yy->__thunkpos= yythunkpos57; yyText(yy, yy->__begin, yy->__end); {
2313 #define yytext yy->__text
2314 #define yyleng yy->__textlen
2315 if (!(YY_BEGIN)) goto l79;
2316 #undef yytext
2317 #undef yyleng
2318 }
2319 { int yypos80= yy->__pos, yythunkpos80= yy->__thunkpos; if (!yymatchChar(yy, '<')) goto l81; goto l80;
2320 l81:; yy->__pos= yypos80; yy->__thunkpos= yythunkpos80; if (!yymatchString(yy, "lt")) goto l79;
2321 }
2322 l80:; yyText(yy, yy->__begin, yy->__end); {
2323 #define yytext yy->__text
2324 #define yyleng yy->__textlen
2325 if (!(YY_END)) goto l79;
2326 #undef yytext
2327 #undef yyleng
2328 } yyDo(yy, yy_8_NEXOP, yy->__begin, yy->__end); goto l57;
2329 l79:; yy->__pos= yypos57; yy->__thunkpos= yythunkpos57; yyText(yy, yy->__begin, yy->__end); {
2330 #define yytext yy->__text
2331 #define yyleng yy->__textlen
2332 if (!(YY_BEGIN)) goto l56;
2333 #undef yytext
2334 #undef yyleng
2335 } if (!yymatchChar(yy, '~')) goto l56; yyText(yy, yy->__begin, yy->__end); {
2336 #define yytext yy->__text
2337 #define yyleng yy->__textlen
2338 if (!(YY_END)) goto l56;
2339 #undef yytext
2340 #undef yyleng
2341 } yyDo(yy, yy_9_NEXOP, yy->__begin, yy->__end);
2342 }
2343 l57:;
2344 yyprintf((stderr, " ok %s @ %s\n", "NEXOP", yy->__buf+yy->__pos));
2345 return 1;
2346 l56:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2347 yyprintf((stderr, " fail %s @ %s\n", "NEXOP", yy->__buf+yy->__pos));
2348 return 0;
2349 }
yy_NEXLEFT(yycontext * yy)2350 YY_RULE(int) yy_NEXLEFT(yycontext *yy)
2351 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2352 yyprintf((stderr, "%s\n", "NEXLEFT"));
2353 { int yypos83= yy->__pos, yythunkpos83= yy->__thunkpos; if (!yy_DBLSTAR(yy)) goto l84; goto l83;
2354 l84:; yy->__pos= yypos83; yy->__thunkpos= yythunkpos83; if (!yy_STRSTAR(yy)) goto l85; goto l83;
2355 l85:; yy->__pos= yypos83; yy->__thunkpos= yythunkpos83; if (!yy_STRN(yy)) goto l86; goto l83;
2356 l86:; yy->__pos= yypos83; yy->__thunkpos= yythunkpos83; if (!yy_NEXPRLEFT(yy)) goto l87; goto l83;
2357 l87:; yy->__pos= yypos83; yy->__thunkpos= yythunkpos83; if (!yy_STRP(yy)) goto l82;
2358 }
2359 l83:;
2360 yyprintf((stderr, " ok %s @ %s\n", "NEXLEFT", yy->__buf+yy->__pos));
2361 return 1;
2362 l82:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2363 yyprintf((stderr, " fail %s @ %s\n", "NEXLEFT", yy->__buf+yy->__pos));
2364 return 0;
2365 }
yy_NEXJOIN(yycontext * yy)2366 YY_RULE(int) yy_NEXJOIN(yycontext *yy)
2367 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2368 yyprintf((stderr, "%s\n", "NEXJOIN")); yyText(yy, yy->__begin, yy->__end); {
2369 #define yytext yy->__text
2370 #define yyleng yy->__textlen
2371 if (!(YY_BEGIN)) goto l88;
2372 #undef yytext
2373 #undef yyleng
2374 }
2375 { int yypos89= yy->__pos, yythunkpos89= yy->__thunkpos; if (!yymatchString(yy, "and")) goto l90; goto l89;
2376 l90:; yy->__pos= yypos89; yy->__thunkpos= yythunkpos89; if (!yymatchString(yy, "or")) goto l88;
2377 }
2378 l89:; yyText(yy, yy->__begin, yy->__end); {
2379 #define yytext yy->__text
2380 #define yyleng yy->__textlen
2381 if (!(YY_END)) goto l88;
2382 #undef yytext
2383 #undef yyleng
2384 }
2385 { int yypos91= yy->__pos, yythunkpos91= yy->__thunkpos; if (!yy___(yy)) goto l91; if (!yymatchString(yy, "not")) goto l91; yyDo(yy, yy_1_NEXJOIN, yy->__begin, yy->__end); goto l92;
2386 l91:; yy->__pos= yypos91; yy->__thunkpos= yythunkpos91;
2387 }
2388 l92:; yyDo(yy, yy_2_NEXJOIN, yy->__begin, yy->__end);
2389 yyprintf((stderr, " ok %s @ %s\n", "NEXJOIN", yy->__buf+yy->__pos));
2390 return 1;
2391 l88:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2392 yyprintf((stderr, " fail %s @ %s\n", "NEXJOIN", yy->__buf+yy->__pos));
2393 return 0;
2394 }
yy_NEXPAIR(yycontext * yy)2395 YY_RULE(int) yy_NEXPAIR(yycontext *yy)
2396 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2397 yyprintf((stderr, "%s\n", "NEXPAIR")); if (!yy_NEXLEFT(yy)) goto l93; yyDo(yy, yySet, -3, 0); if (!yy__(yy)) goto l93; if (!yy_NEXOP(yy)) goto l93; yyDo(yy, yySet, -2, 0); if (!yy__(yy)) goto l93; if (!yy_NEXRIGHT(yy)) goto l93; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_1_NEXPAIR, yy->__begin, yy->__end);
2398 yyprintf((stderr, " ok %s @ %s\n", "NEXPAIR", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2399 return 1;
2400 l93:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2401 yyprintf((stderr, " fail %s @ %s\n", "NEXPAIR", yy->__buf+yy->__pos));
2402 return 0;
2403 }
yy_STRP(yycontext * yy)2404 YY_RULE(int) yy_STRP(yycontext *yy)
2405 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2406 yyprintf((stderr, "%s\n", "STRP")); yyText(yy, yy->__begin, yy->__end); {
2407 #define yytext yy->__text
2408 #define yyleng yy->__textlen
2409 if (!(YY_BEGIN)) goto l94;
2410 #undef yytext
2411 #undef yyleng
2412 } if (!yy_CHP(yy)) goto l94;
2413 l95:;
2414 { int yypos96= yy->__pos, yythunkpos96= yy->__thunkpos; if (!yy_CHP(yy)) goto l96; goto l95;
2415 l96:; yy->__pos= yypos96; yy->__thunkpos= yythunkpos96;
2416 } yyText(yy, yy->__begin, yy->__end); {
2417 #define yytext yy->__text
2418 #define yyleng yy->__textlen
2419 if (!(YY_END)) goto l94;
2420 #undef yytext
2421 #undef yyleng
2422 } yyDo(yy, yy_1_STRP, yy->__begin, yy->__end);
2423 yyprintf((stderr, " ok %s @ %s\n", "STRP", yy->__buf+yy->__pos));
2424 return 1;
2425 l94:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2426 yyprintf((stderr, " fail %s @ %s\n", "STRP", yy->__buf+yy->__pos));
2427 return 0;
2428 }
yy_NEXPR(yycontext * yy)2429 YY_RULE(int) yy_NEXPR(yycontext *yy)
2430 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2431 yyprintf((stderr, "%s\n", "NEXPR")); if (!yymatchChar(yy, '[')) goto l97; if (!yy__(yy)) goto l97; if (!yy_NEXPAIR(yy)) goto l97; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_NEXPR, yy->__begin, yy->__end);
2432 l98:;
2433 { int yypos99= yy->__pos, yythunkpos99= yy->__thunkpos; if (!yy___(yy)) goto l99; if (!yy_NEXJOIN(yy)) goto l99; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_NEXPR, yy->__begin, yy->__end); if (!yy___(yy)) goto l99; if (!yy_NEXPAIR(yy)) goto l99; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_NEXPR, yy->__begin, yy->__end); goto l98;
2434 l99:; yy->__pos= yypos99; yy->__thunkpos= yythunkpos99;
2435 } if (!yy__(yy)) goto l97; if (!yymatchChar(yy, ']')) goto l97; yyDo(yy, yy_4_NEXPR, yy->__begin, yy->__end);
2436 yyprintf((stderr, " ok %s @ %s\n", "NEXPR", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2437 return 1;
2438 l97:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2439 yyprintf((stderr, " fail %s @ %s\n", "NEXPR", yy->__buf+yy->__pos));
2440 return 0;
2441 }
yy_NODE(yycontext * yy)2442 YY_RULE(int) yy_NODE(yycontext *yy)
2443 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 1, 0);
2444 yyprintf((stderr, "%s\n", "NODE")); if (!yymatchChar(yy, '/')) goto l100;
2445 { int yypos101= yy->__pos, yythunkpos101= yy->__thunkpos; if (!yy_STRN(yy)) goto l102; yyDo(yy, yySet, -1, 0); goto l101;
2446 l102:; yy->__pos= yypos101; yy->__thunkpos= yythunkpos101; if (!yy_NEXPR(yy)) goto l103; yyDo(yy, yySet, -1, 0); goto l101;
2447 l103:; yy->__pos= yypos101; yy->__thunkpos= yythunkpos101; if (!yy_STRP(yy)) goto l100; yyDo(yy, yySet, -1, 0);
2448 }
2449 l101:; yyDo(yy, yy_1_NODE, yy->__begin, yy->__end);
2450 yyprintf((stderr, " ok %s @ %s\n", "NODE", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 1, 0);
2451 return 1;
2452 l100:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2453 yyprintf((stderr, " fail %s @ %s\n", "NODE", yy->__buf+yy->__pos));
2454 return 0;
2455 }
yy_FILTER(yycontext * yy)2456 YY_RULE(int) yy_FILTER(yycontext *yy)
2457 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2458 yyprintf((stderr, "%s\n", "FILTER"));
2459 { int yypos105= yy->__pos, yythunkpos105= yy->__thunkpos; if (!yy_FILTERANCHOR(yy)) goto l105; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_FILTER, yy->__begin, yy->__end); goto l106;
2460 l105:; yy->__pos= yypos105; yy->__thunkpos= yythunkpos105;
2461 }
2462 l106:; if (!yy_NODE(yy)) goto l104; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_FILTER, yy->__begin, yy->__end);
2463 l107:;
2464 { int yypos108= yy->__pos, yythunkpos108= yy->__thunkpos; if (!yy_NODE(yy)) goto l108; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_FILTER, yy->__begin, yy->__end); goto l107;
2465 l108:; yy->__pos= yypos108; yy->__thunkpos= yythunkpos108;
2466 } yyDo(yy, yy_4_FILTER, yy->__begin, yy->__end);
2467 yyprintf((stderr, " ok %s @ %s\n", "FILTER", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2468 return 1;
2469 l104:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2470 yyprintf((stderr, " fail %s @ %s\n", "FILTER", yy->__buf+yy->__pos));
2471 return 0;
2472 }
yy_FILTERFACTOR(yycontext * yy)2473 YY_RULE(int) yy_FILTERFACTOR(yycontext *yy)
2474 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2475 yyprintf((stderr, "%s\n", "FILTERFACTOR"));
2476 { int yypos110= yy->__pos, yythunkpos110= yy->__thunkpos; if (!yy_FILTER(yy)) goto l111; goto l110;
2477 l111:; yy->__pos= yypos110; yy->__thunkpos= yythunkpos110; if (!yymatchChar(yy, '(')) goto l109; if (!yy_FILTEREXPR(yy)) goto l109; if (!yymatchChar(yy, ')')) goto l109;
2478 }
2479 l110:;
2480 yyprintf((stderr, " ok %s @ %s\n", "FILTERFACTOR", yy->__buf+yy->__pos));
2481 return 1;
2482 l109:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2483 yyprintf((stderr, " fail %s @ %s\n", "FILTERFACTOR", yy->__buf+yy->__pos));
2484 return 0;
2485 }
yy_HEX(yycontext * yy)2486 YY_RULE(int) yy_HEX(yycontext *yy)
2487 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2488 yyprintf((stderr, "%s\n", "HEX")); if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\176\000\000\000\176\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l112;
2489 yyprintf((stderr, " ok %s @ %s\n", "HEX", yy->__buf+yy->__pos));
2490 return 1;
2491 l112:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2492 yyprintf((stderr, " fail %s @ %s\n", "HEX", yy->__buf+yy->__pos));
2493 return 0;
2494 }
yy_PCHP(yycontext * yy)2495 YY_RULE(int) yy_PCHP(yycontext *yy)
2496 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2497 yyprintf((stderr, "%s\n", "PCHP"));
2498 { int yypos114= yy->__pos, yythunkpos114= yy->__thunkpos; if (!yymatchChar(yy, '\\')) goto l115; if (!yymatchChar(yy, '\\')) goto l115; goto l114;
2499 l115:; yy->__pos= yypos114; yy->__thunkpos= yythunkpos114; if (!yymatchChar(yy, '\\')) goto l116; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\000\000\000\000\000\000\104\100\024\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l116; goto l114;
2500 l116:; yy->__pos= yypos114; yy->__thunkpos= yythunkpos114; if (!yymatchChar(yy, '\\')) goto l117; if (!yymatchChar(yy, 'u')) goto l117; if (!yy_HEX(yy)) goto l117; if (!yy_HEX(yy)) goto l117; if (!yy_HEX(yy)) goto l117; if (!yy_HEX(yy)) goto l117; goto l114;
2501 l117:; yy->__pos= yypos114; yy->__thunkpos= yythunkpos114;
2502 { int yypos118= yy->__pos, yythunkpos118= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\046\000\000\005\220\000\000\000\000\000\000\000\000\000\050\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l118; goto l113;
2503 l118:; yy->__pos= yypos118; yy->__thunkpos= yythunkpos118;
2504 } if (!yymatchDot(yy)) goto l113;
2505 }
2506 l114:;
2507 yyprintf((stderr, " ok %s @ %s\n", "PCHP", yy->__buf+yy->__pos));
2508 return 1;
2509 l113:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2510 yyprintf((stderr, " fail %s @ %s\n", "PCHP", yy->__buf+yy->__pos));
2511 return 0;
2512 }
yy_PSTRP(yycontext * yy)2513 YY_RULE(int) yy_PSTRP(yycontext *yy)
2514 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2515 yyprintf((stderr, "%s\n", "PSTRP")); yyText(yy, yy->__begin, yy->__end); {
2516 #define yytext yy->__text
2517 #define yyleng yy->__textlen
2518 if (!(YY_BEGIN)) goto l119;
2519 #undef yytext
2520 #undef yyleng
2521 } if (!yy_PCHP(yy)) goto l119;
2522 l120:;
2523 { int yypos121= yy->__pos, yythunkpos121= yy->__thunkpos; if (!yy_PCHP(yy)) goto l121; goto l120;
2524 l121:; yy->__pos= yypos121; yy->__thunkpos= yythunkpos121;
2525 } yyText(yy, yy->__begin, yy->__end); {
2526 #define yytext yy->__text
2527 #define yyleng yy->__textlen
2528 if (!(YY_END)) goto l119;
2529 #undef yytext
2530 #undef yyleng
2531 } yyDo(yy, yy_1_PSTRP, yy->__begin, yy->__end);
2532 yyprintf((stderr, " ok %s @ %s\n", "PSTRP", yy->__buf+yy->__pos));
2533 return 1;
2534 l119:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2535 yyprintf((stderr, " fail %s @ %s\n", "PSTRP", yy->__buf+yy->__pos));
2536 return 0;
2537 }
yy_STRN(yycontext * yy)2538 YY_RULE(int) yy_STRN(yycontext *yy)
2539 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2540 yyprintf((stderr, "%s\n", "STRN")); if (!yymatchChar(yy, '"')) goto l122; yyText(yy, yy->__begin, yy->__end); {
2541 #define yytext yy->__text
2542 #define yyleng yy->__textlen
2543 if (!(YY_BEGIN)) goto l122;
2544 #undef yytext
2545 #undef yyleng
2546 } if (!yy_CHJ(yy)) goto l122;
2547 l123:;
2548 { int yypos124= yy->__pos, yythunkpos124= yy->__thunkpos; if (!yy_CHJ(yy)) goto l124; goto l123;
2549 l124:; yy->__pos= yypos124; yy->__thunkpos= yythunkpos124;
2550 } yyText(yy, yy->__begin, yy->__end); {
2551 #define yytext yy->__text
2552 #define yyleng yy->__textlen
2553 if (!(YY_END)) goto l122;
2554 #undef yytext
2555 #undef yyleng
2556 } if (!yymatchChar(yy, '"')) goto l122; yyDo(yy, yy_1_STRN, yy->__begin, yy->__end);
2557 yyprintf((stderr, " ok %s @ %s\n", "STRN", yy->__buf+yy->__pos));
2558 return 1;
2559 l122:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2560 yyprintf((stderr, " fail %s @ %s\n", "STRN", yy->__buf+yy->__pos));
2561 return 0;
2562 }
yy_PROJFIELDS(yycontext * yy)2563 YY_RULE(int) yy_PROJFIELDS(yycontext *yy)
2564 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 2, 0);
2565 yyprintf((stderr, "%s\n", "PROJFIELDS")); if (!yymatchChar(yy, '{')) goto l125; if (!yy__(yy)) goto l125; if (!yy_PROJPROP(yy)) goto l125; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_1_PROJFIELDS, yy->__begin, yy->__end);
2566 l126:;
2567 { int yypos127= yy->__pos, yythunkpos127= yy->__thunkpos; if (!yy__(yy)) goto l127; if (!yymatchChar(yy, ',')) goto l127; if (!yy__(yy)) goto l127; if (!yy_PROJPROP(yy)) goto l127; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_2_PROJFIELDS, yy->__begin, yy->__end); goto l126;
2568 l127:; yy->__pos= yypos127; yy->__thunkpos= yythunkpos127;
2569 } if (!yy__(yy)) goto l125; if (!yymatchChar(yy, '}')) goto l125; yyDo(yy, yy_3_PROJFIELDS, yy->__begin, yy->__end);
2570 yyprintf((stderr, " ok %s @ %s\n", "PROJFIELDS", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 2, 0);
2571 return 1;
2572 l125:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2573 yyprintf((stderr, " fail %s @ %s\n", "PROJFIELDS", yy->__buf+yy->__pos));
2574 return 0;
2575 }
yy_PROJNODE(yycontext * yy)2576 YY_RULE(int) yy_PROJNODE(yycontext *yy)
2577 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2578 yyprintf((stderr, "%s\n", "PROJNODE")); if (!yymatchChar(yy, '/')) goto l128;
2579 { int yypos129= yy->__pos, yythunkpos129= yy->__thunkpos; if (!yy_PROJFIELDS(yy)) goto l130; goto l129;
2580 l130:; yy->__pos= yypos129; yy->__thunkpos= yythunkpos129; if (!yy_PROJPROP(yy)) goto l128;
2581 }
2582 l129:;
2583 yyprintf((stderr, " ok %s @ %s\n", "PROJNODE", yy->__buf+yy->__pos));
2584 return 1;
2585 l128:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2586 yyprintf((stderr, " fail %s @ %s\n", "PROJNODE", yy->__buf+yy->__pos));
2587 return 0;
2588 }
yy_PROJALL(yycontext * yy)2589 YY_RULE(int) yy_PROJALL(yycontext *yy)
2590 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2591 yyprintf((stderr, "%s\n", "PROJALL")); if (!yymatchString(yy, "all")) goto l131; yyDo(yy, yy_1_PROJALL, yy->__begin, yy->__end);
2592 yyprintf((stderr, " ok %s @ %s\n", "PROJALL", yy->__buf+yy->__pos));
2593 return 1;
2594 l131:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2595 yyprintf((stderr, " fail %s @ %s\n", "PROJALL", yy->__buf+yy->__pos));
2596 return 0;
2597 }
yy_PROJPROP(yycontext * yy)2598 YY_RULE(int) yy_PROJPROP(yycontext *yy)
2599 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2600 yyprintf((stderr, "%s\n", "PROJPROP"));
2601 { int yypos133= yy->__pos, yythunkpos133= yy->__thunkpos; if (!yy_STRN(yy)) goto l134; goto l133;
2602 l134:; yy->__pos= yypos133; yy->__thunkpos= yythunkpos133; if (!yy_PSTRP(yy)) goto l132;
2603 }
2604 l133:;
2605 yyprintf((stderr, " ok %s @ %s\n", "PROJPROP", yy->__buf+yy->__pos));
2606 return 1;
2607 l132:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2608 yyprintf((stderr, " fail %s @ %s\n", "PROJPROP", yy->__buf+yy->__pos));
2609 return 0;
2610 }
yy_ORDERNODE(yycontext * yy)2611 YY_RULE(int) yy_ORDERNODE(yycontext *yy)
2612 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2613 yyprintf((stderr, "%s\n", "ORDERNODE")); if (!yymatchChar(yy, '/')) goto l135; if (!yy_PROJPROP(yy)) goto l135;
2614 yyprintf((stderr, " ok %s @ %s\n", "ORDERNODE", yy->__buf+yy->__pos));
2615 return 1;
2616 l135:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2617 yyprintf((stderr, " fail %s @ %s\n", "ORDERNODE", yy->__buf+yy->__pos));
2618 return 0;
2619 }
yy_ORDERNODES(yycontext * yy)2620 YY_RULE(int) yy_ORDERNODES(yycontext *yy)
2621 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 2, 0);
2622 yyprintf((stderr, "%s\n", "ORDERNODES")); if (!yy_ORDERNODE(yy)) goto l136; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_1_ORDERNODES, yy->__begin, yy->__end);
2623 l137:;
2624 { int yypos138= yy->__pos, yythunkpos138= yy->__thunkpos; if (!yy_ORDERNODE(yy)) goto l138; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_2_ORDERNODES, yy->__begin, yy->__end); goto l137;
2625 l138:; yy->__pos= yypos138; yy->__thunkpos= yythunkpos138;
2626 } yyDo(yy, yy_3_ORDERNODES, yy->__begin, yy->__end);
2627 yyprintf((stderr, " ok %s @ %s\n", "ORDERNODES", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 2, 0);
2628 return 1;
2629 l136:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2630 yyprintf((stderr, " fail %s @ %s\n", "ORDERNODES", yy->__buf+yy->__pos));
2631 return 0;
2632 }
yy_NUMI(yycontext * yy)2633 YY_RULE(int) yy_NUMI(yycontext *yy)
2634 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2635 yyprintf((stderr, "%s\n", "NUMI"));
2636 { int yypos140= yy->__pos, yythunkpos140= yy->__thunkpos; if (!yymatchChar(yy, '0')) goto l141; goto l140;
2637 l141:; yy->__pos= yypos140; yy->__thunkpos= yythunkpos140; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\376\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l139;
2638 l142:;
2639 { int yypos143= yy->__pos, yythunkpos143= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l143; goto l142;
2640 l143:; yy->__pos= yypos143; yy->__thunkpos= yythunkpos143;
2641 }
2642 }
2643 l140:;
2644 yyprintf((stderr, " ok %s @ %s\n", "NUMI", yy->__buf+yy->__pos));
2645 return 1;
2646 l139:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2647 yyprintf((stderr, " fail %s @ %s\n", "NUMI", yy->__buf+yy->__pos));
2648 return 0;
2649 }
yy_INVERSE(yycontext * yy)2650 YY_RULE(int) yy_INVERSE(yycontext *yy)
2651 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2652 yyprintf((stderr, "%s\n", "INVERSE")); if (!yymatchString(yy, "inverse")) goto l144; yyDo(yy, yy_1_INVERSE, yy->__begin, yy->__end);
2653 yyprintf((stderr, " ok %s @ %s\n", "INVERSE", yy->__buf+yy->__pos));
2654 return 1;
2655 l144:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2656 yyprintf((stderr, " fail %s @ %s\n", "INVERSE", yy->__buf+yy->__pos));
2657 return 0;
2658 }
yy_NOIDX(yycontext * yy)2659 YY_RULE(int) yy_NOIDX(yycontext *yy)
2660 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2661 yyprintf((stderr, "%s\n", "NOIDX")); if (!yymatchString(yy, "noidx")) goto l145; yyDo(yy, yy_1_NOIDX, yy->__begin, yy->__end);
2662 yyprintf((stderr, " ok %s @ %s\n", "NOIDX", yy->__buf+yy->__pos));
2663 return 1;
2664 l145:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2665 yyprintf((stderr, " fail %s @ %s\n", "NOIDX", yy->__buf+yy->__pos));
2666 return 0;
2667 }
yy_COUNT(yycontext * yy)2668 YY_RULE(int) yy_COUNT(yycontext *yy)
2669 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2670 yyprintf((stderr, "%s\n", "COUNT")); if (!yymatchString(yy, "count")) goto l146; yyDo(yy, yy_1_COUNT, yy->__begin, yy->__end);
2671 yyprintf((stderr, " ok %s @ %s\n", "COUNT", yy->__buf+yy->__pos));
2672 return 1;
2673 l146:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2674 yyprintf((stderr, " fail %s @ %s\n", "COUNT", yy->__buf+yy->__pos));
2675 return 0;
2676 }
yy_ORDERBY(yycontext * yy)2677 YY_RULE(int) yy_ORDERBY(yycontext *yy)
2678 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 1, 0);
2679 yyprintf((stderr, "%s\n", "ORDERBY"));
2680 { int yypos148= yy->__pos, yythunkpos148= yy->__thunkpos; if (!yymatchString(yy, "asc")) goto l149; goto l148;
2681 l149:; yy->__pos= yypos148; yy->__thunkpos= yythunkpos148; if (!yymatchString(yy, "desc")) goto l147; yyDo(yy, yy_1_ORDERBY, yy->__begin, yy->__end);
2682 }
2683 l148:; if (!yy___(yy)) goto l147;
2684 { int yypos150= yy->__pos, yythunkpos150= yy->__thunkpos; if (!yy_ORDERNODES(yy)) goto l151; yyDo(yy, yySet, -1, 0); goto l150;
2685 l151:; yy->__pos= yypos150; yy->__thunkpos= yythunkpos150; if (!yy_PLACEHOLDER(yy)) goto l147; yyDo(yy, yySet, -1, 0);
2686 }
2687 l150:; yyDo(yy, yy_2_ORDERBY, yy->__begin, yy->__end);
2688 yyprintf((stderr, " ok %s @ %s\n", "ORDERBY", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 1, 0);
2689 return 1;
2690 l147:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2691 yyprintf((stderr, " fail %s @ %s\n", "ORDERBY", yy->__buf+yy->__pos));
2692 return 0;
2693 }
yy_LIMIT(yycontext * yy)2694 YY_RULE(int) yy_LIMIT(yycontext *yy)
2695 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 1, 0);
2696 yyprintf((stderr, "%s\n", "LIMIT")); if (!yymatchString(yy, "limit")) goto l152; if (!yy___(yy)) goto l152;
2697 { int yypos153= yy->__pos, yythunkpos153= yy->__thunkpos; yyText(yy, yy->__begin, yy->__end); {
2698 #define yytext yy->__text
2699 #define yyleng yy->__textlen
2700 if (!(YY_BEGIN)) goto l154;
2701 #undef yytext
2702 #undef yyleng
2703 } if (!yy_NUMI(yy)) goto l154; yyText(yy, yy->__begin, yy->__end); {
2704 #define yytext yy->__text
2705 #define yyleng yy->__textlen
2706 if (!(YY_END)) goto l154;
2707 #undef yytext
2708 #undef yyleng
2709 } yyDo(yy, yy_1_LIMIT, yy->__begin, yy->__end); goto l153;
2710 l154:; yy->__pos= yypos153; yy->__thunkpos= yythunkpos153; if (!yy_PLACEHOLDER(yy)) goto l152; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_2_LIMIT, yy->__begin, yy->__end);
2711 }
2712 l153:; yyDo(yy, yy_3_LIMIT, yy->__begin, yy->__end);
2713 yyprintf((stderr, " ok %s @ %s\n", "LIMIT", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 1, 0);
2714 return 1;
2715 l152:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2716 yyprintf((stderr, " fail %s @ %s\n", "LIMIT", yy->__buf+yy->__pos));
2717 return 0;
2718 }
yy_SKIP(yycontext * yy)2719 YY_RULE(int) yy_SKIP(yycontext *yy)
2720 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 1, 0);
2721 yyprintf((stderr, "%s\n", "SKIP")); if (!yymatchString(yy, "skip")) goto l155; if (!yy___(yy)) goto l155;
2722 { int yypos156= yy->__pos, yythunkpos156= yy->__thunkpos; yyText(yy, yy->__begin, yy->__end); {
2723 #define yytext yy->__text
2724 #define yyleng yy->__textlen
2725 if (!(YY_BEGIN)) goto l157;
2726 #undef yytext
2727 #undef yyleng
2728 } if (!yy_NUMI(yy)) goto l157; yyText(yy, yy->__begin, yy->__end); {
2729 #define yytext yy->__text
2730 #define yyleng yy->__textlen
2731 if (!(YY_END)) goto l157;
2732 #undef yytext
2733 #undef yyleng
2734 } yyDo(yy, yy_1_SKIP, yy->__begin, yy->__end); goto l156;
2735 l157:; yy->__pos= yypos156; yy->__thunkpos= yythunkpos156; if (!yy_PLACEHOLDER(yy)) goto l155; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_2_SKIP, yy->__begin, yy->__end);
2736 }
2737 l156:; yyDo(yy, yy_3_SKIP, yy->__begin, yy->__end);
2738 yyprintf((stderr, " ok %s @ %s\n", "SKIP", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 1, 0);
2739 return 1;
2740 l155:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2741 yyprintf((stderr, " fail %s @ %s\n", "SKIP", yy->__buf+yy->__pos));
2742 return 0;
2743 }
yy_OPT(yycontext * yy)2744 YY_RULE(int) yy_OPT(yycontext *yy)
2745 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2746 yyprintf((stderr, "%s\n", "OPT"));
2747 { int yypos159= yy->__pos, yythunkpos159= yy->__thunkpos; if (!yy_SKIP(yy)) goto l160; goto l159;
2748 l160:; yy->__pos= yypos159; yy->__thunkpos= yythunkpos159; if (!yy_LIMIT(yy)) goto l161; goto l159;
2749 l161:; yy->__pos= yypos159; yy->__thunkpos= yythunkpos159; if (!yy_ORDERBY(yy)) goto l162; goto l159;
2750 l162:; yy->__pos= yypos159; yy->__thunkpos= yythunkpos159; if (!yy_COUNT(yy)) goto l163; goto l159;
2751 l163:; yy->__pos= yypos159; yy->__thunkpos= yythunkpos159; if (!yy_NOIDX(yy)) goto l164; goto l159;
2752 l164:; yy->__pos= yypos159; yy->__thunkpos= yythunkpos159; if (!yy_INVERSE(yy)) goto l158;
2753 }
2754 l159:;
2755 yyprintf((stderr, " ok %s @ %s\n", "OPT", yy->__buf+yy->__pos));
2756 return 1;
2757 l158:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2758 yyprintf((stderr, " fail %s @ %s\n", "OPT", yy->__buf+yy->__pos));
2759 return 0;
2760 }
yy_PROJOIN(yycontext * yy)2761 YY_RULE(int) yy_PROJOIN(yycontext *yy)
2762 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2763 yyprintf((stderr, "%s\n", "PROJOIN"));
2764 { int yypos166= yy->__pos, yythunkpos166= yy->__thunkpos; if (!yymatchChar(yy, '+')) goto l167; goto l166;
2765 l167:; yy->__pos= yypos166; yy->__thunkpos= yythunkpos166; if (!yymatchChar(yy, '-')) goto l165;
2766 }
2767 l166:;
2768 yyprintf((stderr, " ok %s @ %s\n", "PROJOIN", yy->__buf+yy->__pos));
2769 return 1;
2770 l165:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2771 yyprintf((stderr, " fail %s @ %s\n", "PROJOIN", yy->__buf+yy->__pos));
2772 return 0;
2773 }
yy_PROJNODES(yycontext * yy)2774 YY_RULE(int) yy_PROJNODES(yycontext *yy)
2775 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2776 yyprintf((stderr, "%s\n", "PROJNODES"));
2777 { int yypos169= yy->__pos, yythunkpos169= yy->__thunkpos; if (!yy_PROJALL(yy)) goto l170; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_PROJNODES, yy->__begin, yy->__end); goto l169;
2778 l170:; yy->__pos= yypos169; yy->__thunkpos= yythunkpos169; if (!yy_PROJNODE(yy)) goto l168; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_PROJNODES, yy->__begin, yy->__end);
2779 l171:;
2780 { int yypos172= yy->__pos, yythunkpos172= yy->__thunkpos; if (!yy_PROJNODE(yy)) goto l172; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_PROJNODES, yy->__begin, yy->__end); goto l171;
2781 l172:; yy->__pos= yypos172; yy->__thunkpos= yythunkpos172;
2782 } yyDo(yy, yy_4_PROJNODES, yy->__begin, yy->__end);
2783 }
2784 l169:;
2785 yyprintf((stderr, " ok %s @ %s\n", "PROJNODES", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2786 return 1;
2787 l168:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2788 yyprintf((stderr, " fail %s @ %s\n", "PROJNODES", yy->__buf+yy->__pos));
2789 return 0;
2790 }
yy_ARRJ(yycontext * yy)2791 YY_RULE(int) yy_ARRJ(yycontext *yy)
2792 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2793 yyprintf((stderr, "%s\n", "ARRJ")); if (!yy_SARRJ(yy)) goto l173; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_ARRJ, yy->__begin, yy->__end); if (!yy__(yy)) goto l173;
2794 { int yypos174= yy->__pos, yythunkpos174= yy->__thunkpos; if (!yy_VALJ(yy)) goto l174; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_ARRJ, yy->__begin, yy->__end);
2795 l176:;
2796 { int yypos177= yy->__pos, yythunkpos177= yy->__thunkpos; if (!yy__(yy)) goto l177; if (!yymatchChar(yy, ',')) goto l177; if (!yy__(yy)) goto l177; if (!yy_VALJ(yy)) goto l177; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_ARRJ, yy->__begin, yy->__end); goto l176;
2797 l177:; yy->__pos= yypos177; yy->__thunkpos= yythunkpos177;
2798 } goto l175;
2799 l174:; yy->__pos= yypos174; yy->__thunkpos= yythunkpos174;
2800 }
2801 l175:; if (!yy__(yy)) goto l173; if (!yymatchChar(yy, ']')) goto l173; yyDo(yy, yy_4_ARRJ, yy->__begin, yy->__end);
2802 yyprintf((stderr, " ok %s @ %s\n", "ARRJ", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2803 return 1;
2804 l173:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2805 yyprintf((stderr, " fail %s @ %s\n", "ARRJ", yy->__buf+yy->__pos));
2806 return 0;
2807 }
yy_OBJJ(yycontext * yy)2808 YY_RULE(int) yy_OBJJ(yycontext *yy)
2809 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2810 yyprintf((stderr, "%s\n", "OBJJ")); if (!yy_SOBJJ(yy)) goto l178; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_OBJJ, yy->__begin, yy->__end); if (!yy__(yy)) goto l178;
2811 { int yypos179= yy->__pos, yythunkpos179= yy->__thunkpos; if (!yy_PAIRJ(yy)) goto l179; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_OBJJ, yy->__begin, yy->__end);
2812 l181:;
2813 { int yypos182= yy->__pos, yythunkpos182= yy->__thunkpos; if (!yy__(yy)) goto l182; if (!yymatchChar(yy, ',')) goto l182; if (!yy__(yy)) goto l182; if (!yy_PAIRJ(yy)) goto l182; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_OBJJ, yy->__begin, yy->__end); goto l181;
2814 l182:; yy->__pos= yypos182; yy->__thunkpos= yythunkpos182;
2815 } goto l180;
2816 l179:; yy->__pos= yypos179; yy->__thunkpos= yythunkpos179;
2817 }
2818 l180:; if (!yy__(yy)) goto l178; if (!yymatchChar(yy, '}')) goto l178; yyDo(yy, yy_4_OBJJ, yy->__begin, yy->__end);
2819 yyprintf((stderr, " ok %s @ %s\n", "OBJJ", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2820 return 1;
2821 l178:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2822 yyprintf((stderr, " fail %s @ %s\n", "OBJJ", yy->__buf+yy->__pos));
2823 return 0;
2824 }
yy___(yycontext * yy)2825 YY_RULE(int) yy___(yycontext *yy)
2826 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2827 yyprintf((stderr, "%s\n", "__")); if (!yy_SPACE(yy)) goto l183;
2828 l184:;
2829 { int yypos185= yy->__pos, yythunkpos185= yy->__thunkpos; if (!yy_SPACE(yy)) goto l185; goto l184;
2830 l185:; yy->__pos= yypos185; yy->__thunkpos= yythunkpos185;
2831 }
2832 yyprintf((stderr, " ok %s @ %s\n", "__", yy->__buf+yy->__pos));
2833 return 1;
2834 l183:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2835 yyprintf((stderr, " fail %s @ %s\n", "__", yy->__buf+yy->__pos));
2836 return 0;
2837 }
yy_FILTERJOIN(yycontext * yy)2838 YY_RULE(int) yy_FILTERJOIN(yycontext *yy)
2839 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2840 yyprintf((stderr, "%s\n", "FILTERJOIN")); yyText(yy, yy->__begin, yy->__end); {
2841 #define yytext yy->__text
2842 #define yyleng yy->__textlen
2843 if (!(YY_BEGIN)) goto l186;
2844 #undef yytext
2845 #undef yyleng
2846 }
2847 { int yypos187= yy->__pos, yythunkpos187= yy->__thunkpos; if (!yymatchString(yy, "and")) goto l188; goto l187;
2848 l188:; yy->__pos= yypos187; yy->__thunkpos= yythunkpos187; if (!yymatchString(yy, "or")) goto l186;
2849 }
2850 l187:; yyText(yy, yy->__begin, yy->__end); {
2851 #define yytext yy->__text
2852 #define yyleng yy->__textlen
2853 if (!(YY_END)) goto l186;
2854 #undef yytext
2855 #undef yyleng
2856 }
2857 { int yypos189= yy->__pos, yythunkpos189= yy->__thunkpos; if (!yy___(yy)) goto l189; if (!yymatchString(yy, "not")) goto l189; yyDo(yy, yy_1_FILTERJOIN, yy->__begin, yy->__end); goto l190;
2858 l189:; yy->__pos= yypos189; yy->__thunkpos= yythunkpos189;
2859 }
2860 l190:; yyDo(yy, yy_2_FILTERJOIN, yy->__begin, yy->__end);
2861 yyprintf((stderr, " ok %s @ %s\n", "FILTERJOIN", yy->__buf+yy->__pos));
2862 return 1;
2863 l186:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2864 yyprintf((stderr, " fail %s @ %s\n", "FILTERJOIN", yy->__buf+yy->__pos));
2865 return 0;
2866 }
yy_NUMPK_ARR(yycontext * yy)2867 YY_RULE(int) yy_NUMPK_ARR(yycontext *yy)
2868 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2869 yyprintf((stderr, "%s\n", "NUMPK_ARR")); if (!yy_SARRJ(yy)) goto l191; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_NUMPK_ARR, yy->__begin, yy->__end); if (!yy__(yy)) goto l191;
2870 { int yypos192= yy->__pos, yythunkpos192= yy->__thunkpos; if (!yy_NUMPK(yy)) goto l192; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_NUMPK_ARR, yy->__begin, yy->__end);
2871 l194:;
2872 { int yypos195= yy->__pos, yythunkpos195= yy->__thunkpos; if (!yy__(yy)) goto l195; if (!yymatchChar(yy, ',')) goto l195; if (!yy__(yy)) goto l195; if (!yy_NUMPK(yy)) goto l195; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_NUMPK_ARR, yy->__begin, yy->__end); goto l194;
2873 l195:; yy->__pos= yypos195; yy->__thunkpos= yythunkpos195;
2874 } goto l193;
2875 l192:; yy->__pos= yypos192; yy->__thunkpos= yythunkpos192;
2876 }
2877 l193:; if (!yy__(yy)) goto l191; if (!yymatchChar(yy, ']')) goto l191; yyDo(yy, yy_4_NUMPK_ARR, yy->__begin, yy->__end);
2878 yyprintf((stderr, " ok %s @ %s\n", "NUMPK_ARR", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2879 return 1;
2880 l191:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2881 yyprintf((stderr, " fail %s @ %s\n", "NUMPK_ARR", yy->__buf+yy->__pos));
2882 return 0;
2883 }
yy_NUMPK(yycontext * yy)2884 YY_RULE(int) yy_NUMPK(yycontext *yy)
2885 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2886 yyprintf((stderr, "%s\n", "NUMPK")); yyText(yy, yy->__begin, yy->__end); {
2887 #define yytext yy->__text
2888 #define yyleng yy->__textlen
2889 if (!(YY_BEGIN)) goto l196;
2890 #undef yytext
2891 #undef yyleng
2892 } if (!yy_NUMI(yy)) goto l196; yyText(yy, yy->__begin, yy->__end); {
2893 #define yytext yy->__text
2894 #define yyleng yy->__textlen
2895 if (!(YY_END)) goto l196;
2896 #undef yytext
2897 #undef yyleng
2898 } yyDo(yy, yy_1_NUMPK, yy->__begin, yy->__end);
2899 yyprintf((stderr, " ok %s @ %s\n", "NUMPK", yy->__buf+yy->__pos));
2900 return 1;
2901 l196:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2902 yyprintf((stderr, " fail %s @ %s\n", "NUMPK", yy->__buf+yy->__pos));
2903 return 0;
2904 }
yy_PLACEHOLDER(yycontext * yy)2905 YY_RULE(int) yy_PLACEHOLDER(yycontext *yy)
2906 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2907 yyprintf((stderr, "%s\n", "PLACEHOLDER")); if (!yymatchChar(yy, ':')) goto l197; yyText(yy, yy->__begin, yy->__end); {
2908 #define yytext yy->__text
2909 #define yyleng yy->__textlen
2910 if (!(YY_BEGIN)) goto l197;
2911 #undef yytext
2912 #undef yyleng
2913 }
2914 { int yypos198= yy->__pos, yythunkpos198= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\376\377\377\007\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l199;
2915 l200:;
2916 { int yypos201= yy->__pos, yythunkpos201= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\000\377\003\376\377\377\007\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l201; goto l200;
2917 l201:; yy->__pos= yypos201; yy->__thunkpos= yythunkpos201;
2918 } goto l198;
2919 l199:; yy->__pos= yypos198; yy->__thunkpos= yythunkpos198; if (!yymatchChar(yy, '?')) goto l197;
2920 }
2921 l198:; yyText(yy, yy->__begin, yy->__end); {
2922 #define yytext yy->__text
2923 #define yyleng yy->__textlen
2924 if (!(YY_END)) goto l197;
2925 #undef yytext
2926 #undef yyleng
2927 } yyDo(yy, yy_1_PLACEHOLDER, yy->__begin, yy->__end);
2928 yyprintf((stderr, " ok %s @ %s\n", "PLACEHOLDER", yy->__buf+yy->__pos));
2929 return 1;
2930 l197:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2931 yyprintf((stderr, " fail %s @ %s\n", "PLACEHOLDER", yy->__buf+yy->__pos));
2932 return 0;
2933 }
yy_FILTERANCHOR(yycontext * yy)2934 YY_RULE(int) yy_FILTERANCHOR(yycontext *yy)
2935 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2936 yyprintf((stderr, "%s\n", "FILTERANCHOR")); if (!yymatchChar(yy, '@')) goto l202; yyText(yy, yy->__begin, yy->__end); {
2937 #define yytext yy->__text
2938 #define yyleng yy->__textlen
2939 if (!(YY_BEGIN)) goto l202;
2940 #undef yytext
2941 #undef yyleng
2942 } if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\040\377\003\376\377\377\207\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l202;
2943 l203:;
2944 { int yypos204= yy->__pos, yythunkpos204= yy->__thunkpos; if (!yymatchClass(yy, (unsigned char *)"\000\000\000\000\000\040\377\003\376\377\377\207\376\377\377\007\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000")) goto l204; goto l203;
2945 l204:; yy->__pos= yypos204; yy->__thunkpos= yythunkpos204;
2946 } yyText(yy, yy->__begin, yy->__end); {
2947 #define yytext yy->__text
2948 #define yyleng yy->__textlen
2949 if (!(YY_END)) goto l202;
2950 #undef yytext
2951 #undef yyleng
2952 } yyDo(yy, yy_1_FILTERANCHOR, yy->__begin, yy->__end);
2953 yyprintf((stderr, " ok %s @ %s\n", "FILTERANCHOR", yy->__buf+yy->__pos));
2954 return 1;
2955 l202:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2956 yyprintf((stderr, " fail %s @ %s\n", "FILTERANCHOR", yy->__buf+yy->__pos));
2957 return 0;
2958 }
yy_FILTEREXPR(yycontext * yy)2959 YY_RULE(int) yy_FILTEREXPR(yycontext *yy)
2960 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2961 yyprintf((stderr, "%s\n", "FILTEREXPR")); if (!yy_FILTERFACTOR(yy)) goto l205; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_FILTEREXPR, yy->__begin, yy->__end);
2962 l206:;
2963 { int yypos207= yy->__pos, yythunkpos207= yy->__thunkpos; if (!yy___(yy)) goto l207; if (!yy_FILTERJOIN(yy)) goto l207; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_FILTEREXPR, yy->__begin, yy->__end); if (!yy___(yy)) goto l207; if (!yy_FILTERFACTOR(yy)) goto l207; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_FILTEREXPR, yy->__begin, yy->__end); goto l206;
2964 l207:; yy->__pos= yypos207; yy->__thunkpos= yythunkpos207;
2965 } yyDo(yy, yy_4_FILTEREXPR, yy->__begin, yy->__end);
2966 yyprintf((stderr, " ok %s @ %s\n", "FILTEREXPR", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2967 return 1;
2968 l205:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2969 yyprintf((stderr, " fail %s @ %s\n", "FILTEREXPR", yy->__buf+yy->__pos));
2970 return 0;
2971 }
yy_FILTEREXPR_PK(yycontext * yy)2972 YY_RULE(int) yy_FILTEREXPR_PK(yycontext *yy)
2973 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 2, 0);
2974 yyprintf((stderr, "%s\n", "FILTEREXPR_PK"));
2975 { int yypos209= yy->__pos, yythunkpos209= yy->__thunkpos; if (!yy_FILTERANCHOR(yy)) goto l209; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_1_FILTEREXPR_PK, yy->__begin, yy->__end); goto l210;
2976 l209:; yy->__pos= yypos209; yy->__thunkpos= yythunkpos209;
2977 }
2978 l210:; if (!yymatchChar(yy, '/')) goto l208; if (!yy__(yy)) goto l208; if (!yymatchChar(yy, '=')) goto l208; if (!yy__(yy)) goto l208;
2979 { int yypos211= yy->__pos, yythunkpos211= yy->__thunkpos; if (!yy_PLACEHOLDER(yy)) goto l212; yyDo(yy, yySet, -1, 0); goto l211;
2980 l212:; yy->__pos= yypos211; yy->__thunkpos= yythunkpos211; if (!yy_NUMPK(yy)) goto l213; yyDo(yy, yySet, -1, 0); goto l211;
2981 l213:; yy->__pos= yypos211; yy->__thunkpos= yythunkpos211; if (!yy_NUMPK_ARR(yy)) goto l208; yyDo(yy, yySet, -1, 0);
2982 }
2983 l211:; yyDo(yy, yy_2_FILTEREXPR_PK, yy->__begin, yy->__end);
2984 yyprintf((stderr, " ok %s @ %s\n", "FILTEREXPR_PK", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 2, 0);
2985 return 1;
2986 l208:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2987 yyprintf((stderr, " fail %s @ %s\n", "FILTEREXPR_PK", yy->__buf+yy->__pos));
2988 return 0;
2989 }
yy_EOF(yycontext * yy)2990 YY_RULE(int) yy_EOF(yycontext *yy)
2991 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2992 yyprintf((stderr, "%s\n", "EOF"));
2993 { int yypos215= yy->__pos, yythunkpos215= yy->__thunkpos; if (!yymatchDot(yy)) goto l215; goto l214;
2994 l215:; yy->__pos= yypos215; yy->__thunkpos= yythunkpos215;
2995 }
2996 yyprintf((stderr, " ok %s @ %s\n", "EOF", yy->__buf+yy->__pos));
2997 return 1;
2998 l214:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2999 yyprintf((stderr, " fail %s @ %s\n", "EOF", yy->__buf+yy->__pos));
3000 return 0;
3001 }
yy_OPTS(yycontext * yy)3002 YY_RULE(int) yy_OPTS(yycontext *yy)
3003 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
3004 yyprintf((stderr, "%s\n", "OPTS")); if (!yymatchChar(yy, '|')) goto l216; if (!yy__(yy)) goto l216; if (!yy_OPT(yy)) goto l216;
3005 l217:;
3006 { int yypos218= yy->__pos, yythunkpos218= yy->__thunkpos; if (!yy___(yy)) goto l218; if (!yy_OPT(yy)) goto l218; goto l217;
3007 l218:; yy->__pos= yypos218; yy->__thunkpos= yythunkpos218;
3008 }
3009 yyprintf((stderr, " ok %s @ %s\n", "OPTS", yy->__buf+yy->__pos));
3010 return 1;
3011 l216:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3012 yyprintf((stderr, " fail %s @ %s\n", "OPTS", yy->__buf+yy->__pos));
3013 return 0;
3014 }
yy_PROJECTION(yycontext * yy)3015 YY_RULE(int) yy_PROJECTION(yycontext *yy)
3016 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 2, 0);
3017 yyprintf((stderr, "%s\n", "PROJECTION")); if (!yymatchChar(yy, '|')) goto l219; if (!yy__(yy)) goto l219; if (!yy_PROJNODES(yy)) goto l219; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_1_PROJECTION, yy->__begin, yy->__end);
3018 l220:;
3019 { int yypos221= yy->__pos, yythunkpos221= yy->__thunkpos; if (!yy__(yy)) goto l221; yyText(yy, yy->__begin, yy->__end); {
3020 #define yytext yy->__text
3021 #define yyleng yy->__textlen
3022 if (!(YY_BEGIN)) goto l221;
3023 #undef yytext
3024 #undef yyleng
3025 } if (!yy_PROJOIN(yy)) goto l221; yyText(yy, yy->__begin, yy->__end); {
3026 #define yytext yy->__text
3027 #define yyleng yy->__textlen
3028 if (!(YY_END)) goto l221;
3029 #undef yytext
3030 #undef yyleng
3031 } yyDo(yy, yy_2_PROJECTION, yy->__begin, yy->__end); if (!yy__(yy)) goto l221; if (!yy_PROJNODES(yy)) goto l221; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_PROJECTION, yy->__begin, yy->__end); goto l220;
3032 l221:; yy->__pos= yypos221; yy->__thunkpos= yythunkpos221;
3033 } yyDo(yy, yy_4_PROJECTION, yy->__begin, yy->__end);
3034 yyprintf((stderr, " ok %s @ %s\n", "PROJECTION", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 2, 0);
3035 return 1;
3036 l219:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3037 yyprintf((stderr, " fail %s @ %s\n", "PROJECTION", yy->__buf+yy->__pos));
3038 return 0;
3039 }
yy_UPSERT(yycontext * yy)3040 YY_RULE(int) yy_UPSERT(yycontext *yy)
3041 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
3042 yyprintf((stderr, "%s\n", "UPSERT")); if (!yymatchString(yy, "upsert")) goto l222; if (!yy___(yy)) goto l222;
3043 { int yypos223= yy->__pos, yythunkpos223= yy->__thunkpos; if (!yy_PLACEHOLDER(yy)) goto l224; goto l223;
3044 l224:; yy->__pos= yypos223; yy->__thunkpos= yythunkpos223; if (!yy_OBJJ(yy)) goto l225; goto l223;
3045 l225:; yy->__pos= yypos223; yy->__thunkpos= yythunkpos223; if (!yy_ARRJ(yy)) goto l222;
3046 }
3047 l223:;
3048 yyprintf((stderr, " ok %s @ %s\n", "UPSERT", yy->__buf+yy->__pos));
3049 return 1;
3050 l222:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3051 yyprintf((stderr, " fail %s @ %s\n", "UPSERT", yy->__buf+yy->__pos));
3052 return 0;
3053 }
yy_APPLY(yycontext * yy)3054 YY_RULE(int) yy_APPLY(yycontext *yy)
3055 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
3056 yyprintf((stderr, "%s\n", "APPLY")); if (!yymatchString(yy, "apply")) goto l226; if (!yy___(yy)) goto l226;
3057 { int yypos227= yy->__pos, yythunkpos227= yy->__thunkpos; if (!yy_PLACEHOLDER(yy)) goto l228; goto l227;
3058 l228:; yy->__pos= yypos227; yy->__thunkpos= yythunkpos227; if (!yy_OBJJ(yy)) goto l229; goto l227;
3059 l229:; yy->__pos= yypos227; yy->__thunkpos= yythunkpos227; if (!yy_ARRJ(yy)) goto l226;
3060 }
3061 l227:;
3062 yyprintf((stderr, " ok %s @ %s\n", "APPLY", yy->__buf+yy->__pos));
3063 return 1;
3064 l226:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3065 yyprintf((stderr, " fail %s @ %s\n", "APPLY", yy->__buf+yy->__pos));
3066 return 0;
3067 }
yy__(yycontext * yy)3068 YY_RULE(int) yy__(yycontext *yy)
3069 {
3070 yyprintf((stderr, "%s\n", "_"));
3071 l231:;
3072 { int yypos232= yy->__pos, yythunkpos232= yy->__thunkpos; if (!yy_SPACE(yy)) goto l232; goto l231;
3073 l232:; yy->__pos= yypos232; yy->__thunkpos= yythunkpos232;
3074 }
3075 yyprintf((stderr, " ok %s @ %s\n", "_", yy->__buf+yy->__pos));
3076 return 1;
3077 }
yy_QEXPR(yycontext * yy)3078 YY_RULE(int) yy_QEXPR(yycontext *yy)
3079 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
3080 yyprintf((stderr, "%s\n", "QEXPR"));
3081 { int yypos234= yy->__pos, yythunkpos234= yy->__thunkpos; if (!yy_FILTEREXPR_PK(yy)) goto l235; goto l234;
3082 l235:; yy->__pos= yypos234; yy->__thunkpos= yythunkpos234; if (!yy_FILTEREXPR(yy)) goto l233;
3083 }
3084 l234:;
3085 yyprintf((stderr, " ok %s @ %s\n", "QEXPR", yy->__buf+yy->__pos));
3086 return 1;
3087 l233:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3088 yyprintf((stderr, " fail %s @ %s\n", "QEXPR", yy->__buf+yy->__pos));
3089 return 0;
3090 }
yy_QUERY(yycontext * yy)3091 YY_RULE(int) yy_QUERY(yycontext *yy)
3092 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 4, 0);
3093 yyprintf((stderr, "%s\n", "QUERY")); if (!yy_QEXPR(yy)) goto l236; yyDo(yy, yySet, -4, 0); yyDo(yy, yy_1_QUERY, yy->__begin, yy->__end);
3094 { int yypos237= yy->__pos, yythunkpos237= yy->__thunkpos; if (!yy__(yy)) goto l237; if (!yymatchChar(yy, '|')) goto l237; if (!yy__(yy)) goto l237;
3095 { int yypos239= yy->__pos, yythunkpos239= yy->__thunkpos; if (!yy_APPLY(yy)) goto l240; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_2_QUERY, yy->__begin, yy->__end); goto l239;
3096 l240:; yy->__pos= yypos239; yy->__thunkpos= yythunkpos239; if (!yymatchString(yy, "del")) goto l241; yyDo(yy, yy_3_QUERY, yy->__begin, yy->__end); goto l239;
3097 l241:; yy->__pos= yypos239; yy->__thunkpos= yythunkpos239; if (!yy_UPSERT(yy)) goto l237; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_4_QUERY, yy->__begin, yy->__end);
3098 }
3099 l239:; goto l238;
3100 l237:; yy->__pos= yypos237; yy->__thunkpos= yythunkpos237;
3101 }
3102 l238:;
3103 { int yypos242= yy->__pos, yythunkpos242= yy->__thunkpos; if (!yy__(yy)) goto l242; if (!yy_PROJECTION(yy)) goto l242; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_5_QUERY, yy->__begin, yy->__end); goto l243;
3104 l242:; yy->__pos= yypos242; yy->__thunkpos= yythunkpos242;
3105 }
3106 l243:;
3107 { int yypos244= yy->__pos, yythunkpos244= yy->__thunkpos; if (!yy__(yy)) goto l244; if (!yy_OPTS(yy)) goto l244; goto l245;
3108 l244:; yy->__pos= yypos244; yy->__thunkpos= yythunkpos244;
3109 }
3110 l245:; if (!yy__(yy)) goto l236; if (!yy_EOF(yy)) goto l236; yyDo(yy, yy_6_QUERY, yy->__begin, yy->__end);
3111 yyprintf((stderr, " ok %s @ %s\n", "QUERY", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 4, 0);
3112 return 1;
3113 l236:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3114 yyprintf((stderr, " fail %s @ %s\n", "QUERY", yy->__buf+yy->__pos));
3115 return 0;
3116 }
3117
3118 #ifndef YY_PART
3119
3120 typedef int (*yyrule)(yycontext *yy);
3121
YYPARSEFROM(YY_CTX_PARAM_ yyrule yystart)3122 YY_PARSE(int) YYPARSEFROM(YY_CTX_PARAM_ yyrule yystart)
3123 {
3124 int yyok;
3125 if (!yyctx->__buflen)
3126 {
3127 yyctx->__buflen= YY_BUFFER_SIZE;
3128 yyctx->__buf= (char *)YY_MALLOC(yyctx, yyctx->__buflen);
3129 yyctx->__textlen= YY_BUFFER_SIZE;
3130 yyctx->__text= (char *)YY_MALLOC(yyctx, yyctx->__textlen);
3131 yyctx->__thunkslen= YY_STACK_SIZE;
3132 yyctx->__thunks= (yythunk *)YY_MALLOC(yyctx, sizeof(yythunk) * yyctx->__thunkslen);
3133 yyctx->__valslen= YY_STACK_SIZE;
3134 yyctx->__vals= (YYSTYPE *)YY_MALLOC(yyctx, sizeof(YYSTYPE) * yyctx->__valslen);
3135 yyctx->__begin= yyctx->__end= yyctx->__pos= yyctx->__limit= yyctx->__thunkpos= 0;
3136 }
3137 yyctx->__begin= yyctx->__end= yyctx->__pos;
3138 yyctx->__thunkpos= 0;
3139 yyctx->__val= yyctx->__vals;
3140 yyok= yystart(yyctx);
3141 if (yyok) yyDone(yyctx);
3142 yyCommit(yyctx);
3143 return yyok;
3144 }
3145
YYPARSE(YY_CTX_PARAM)3146 YY_PARSE(int) YYPARSE(YY_CTX_PARAM)
3147 {
3148 return YYPARSEFROM(YY_CTX_ARG_ yy_QUERY);
3149 }
3150
YYRELEASE(yycontext * yyctx)3151 YY_PARSE(yycontext *) YYRELEASE(yycontext *yyctx)
3152 {
3153 if (yyctx->__buflen)
3154 {
3155 yyctx->__buflen= 0;
3156 YY_FREE(yyctx, yyctx->__buf);
3157 YY_FREE(yyctx, yyctx->__text);
3158 YY_FREE(yyctx, yyctx->__thunks);
3159 YY_FREE(yyctx, yyctx->__vals);
3160 }
3161 return yyctx;
3162 }
3163
3164 #endif
3165 #line 253 "./jqp.leg"
3166
3167
3168 #include "./inc/jqpx.c"
3169