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 <iowow/iwjson.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_PLACEHOLDER(yy)) goto l135; goto l133;
2603 l135:; yy->__pos= yypos133; yy->__thunkpos= yythunkpos133; if (!yy_PSTRP(yy)) goto l132;
2604 }
2605 l133:;
2606 yyprintf((stderr, " ok %s @ %s\n", "PROJPROP", yy->__buf+yy->__pos));
2607 return 1;
2608 l132:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2609 yyprintf((stderr, " fail %s @ %s\n", "PROJPROP", yy->__buf+yy->__pos));
2610 return 0;
2611 }
yy_ORDERNODE(yycontext * yy)2612 YY_RULE(int) yy_ORDERNODE(yycontext *yy)
2613 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2614 yyprintf((stderr, "%s\n", "ORDERNODE")); if (!yymatchChar(yy, '/')) goto l136; if (!yy_PROJPROP(yy)) goto l136;
2615 yyprintf((stderr, " ok %s @ %s\n", "ORDERNODE", yy->__buf+yy->__pos));
2616 return 1;
2617 l136:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2618 yyprintf((stderr, " fail %s @ %s\n", "ORDERNODE", yy->__buf+yy->__pos));
2619 return 0;
2620 }
yy_ORDERNODES(yycontext * yy)2621 YY_RULE(int) yy_ORDERNODES(yycontext *yy)
2622 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 2, 0);
2623 yyprintf((stderr, "%s\n", "ORDERNODES")); if (!yy_ORDERNODE(yy)) goto l137; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_1_ORDERNODES, yy->__begin, yy->__end);
2624 l138:;
2625 { int yypos139= yy->__pos, yythunkpos139= yy->__thunkpos; if (!yy_ORDERNODE(yy)) goto l139; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_2_ORDERNODES, yy->__begin, yy->__end); goto l138;
2626 l139:; yy->__pos= yypos139; yy->__thunkpos= yythunkpos139;
2627 } yyDo(yy, yy_3_ORDERNODES, yy->__begin, yy->__end);
2628 yyprintf((stderr, " ok %s @ %s\n", "ORDERNODES", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 2, 0);
2629 return 1;
2630 l137:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2631 yyprintf((stderr, " fail %s @ %s\n", "ORDERNODES", yy->__buf+yy->__pos));
2632 return 0;
2633 }
yy_NUMI(yycontext * yy)2634 YY_RULE(int) yy_NUMI(yycontext *yy)
2635 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2636 yyprintf((stderr, "%s\n", "NUMI"));
2637 { int yypos141= yy->__pos, yythunkpos141= yy->__thunkpos; if (!yymatchChar(yy, '0')) goto l142; goto l141;
2638 l142:; yy->__pos= yypos141; yy->__thunkpos= yythunkpos141; 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 l140;
2639 l143:;
2640 { int yypos144= yy->__pos, yythunkpos144= 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 l144; goto l143;
2641 l144:; yy->__pos= yypos144; yy->__thunkpos= yythunkpos144;
2642 }
2643 }
2644 l141:;
2645 yyprintf((stderr, " ok %s @ %s\n", "NUMI", yy->__buf+yy->__pos));
2646 return 1;
2647 l140:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2648 yyprintf((stderr, " fail %s @ %s\n", "NUMI", yy->__buf+yy->__pos));
2649 return 0;
2650 }
yy_INVERSE(yycontext * yy)2651 YY_RULE(int) yy_INVERSE(yycontext *yy)
2652 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2653 yyprintf((stderr, "%s\n", "INVERSE")); if (!yymatchString(yy, "inverse")) goto l145; yyDo(yy, yy_1_INVERSE, yy->__begin, yy->__end);
2654 yyprintf((stderr, " ok %s @ %s\n", "INVERSE", yy->__buf+yy->__pos));
2655 return 1;
2656 l145:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2657 yyprintf((stderr, " fail %s @ %s\n", "INVERSE", yy->__buf+yy->__pos));
2658 return 0;
2659 }
yy_NOIDX(yycontext * yy)2660 YY_RULE(int) yy_NOIDX(yycontext *yy)
2661 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2662 yyprintf((stderr, "%s\n", "NOIDX")); if (!yymatchString(yy, "noidx")) goto l146; yyDo(yy, yy_1_NOIDX, yy->__begin, yy->__end);
2663 yyprintf((stderr, " ok %s @ %s\n", "NOIDX", yy->__buf+yy->__pos));
2664 return 1;
2665 l146:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2666 yyprintf((stderr, " fail %s @ %s\n", "NOIDX", yy->__buf+yy->__pos));
2667 return 0;
2668 }
yy_COUNT(yycontext * yy)2669 YY_RULE(int) yy_COUNT(yycontext *yy)
2670 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2671 yyprintf((stderr, "%s\n", "COUNT")); if (!yymatchString(yy, "count")) goto l147; yyDo(yy, yy_1_COUNT, yy->__begin, yy->__end);
2672 yyprintf((stderr, " ok %s @ %s\n", "COUNT", yy->__buf+yy->__pos));
2673 return 1;
2674 l147:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2675 yyprintf((stderr, " fail %s @ %s\n", "COUNT", yy->__buf+yy->__pos));
2676 return 0;
2677 }
yy_ORDERBY(yycontext * yy)2678 YY_RULE(int) yy_ORDERBY(yycontext *yy)
2679 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 1, 0);
2680 yyprintf((stderr, "%s\n", "ORDERBY"));
2681 { int yypos149= yy->__pos, yythunkpos149= yy->__thunkpos; if (!yymatchString(yy, "asc")) goto l150; goto l149;
2682 l150:; yy->__pos= yypos149; yy->__thunkpos= yythunkpos149; if (!yymatchString(yy, "desc")) goto l148; yyDo(yy, yy_1_ORDERBY, yy->__begin, yy->__end);
2683 }
2684 l149:; if (!yy___(yy)) goto l148;
2685 { int yypos151= yy->__pos, yythunkpos151= yy->__thunkpos; if (!yy_ORDERNODES(yy)) goto l152; yyDo(yy, yySet, -1, 0); goto l151;
2686 l152:; yy->__pos= yypos151; yy->__thunkpos= yythunkpos151; if (!yy_PLACEHOLDER(yy)) goto l148; yyDo(yy, yySet, -1, 0);
2687 }
2688 l151:; yyDo(yy, yy_2_ORDERBY, yy->__begin, yy->__end);
2689 yyprintf((stderr, " ok %s @ %s\n", "ORDERBY", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 1, 0);
2690 return 1;
2691 l148:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2692 yyprintf((stderr, " fail %s @ %s\n", "ORDERBY", yy->__buf+yy->__pos));
2693 return 0;
2694 }
yy_LIMIT(yycontext * yy)2695 YY_RULE(int) yy_LIMIT(yycontext *yy)
2696 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 1, 0);
2697 yyprintf((stderr, "%s\n", "LIMIT")); if (!yymatchString(yy, "limit")) goto l153; if (!yy___(yy)) goto l153;
2698 { int yypos154= yy->__pos, yythunkpos154= yy->__thunkpos; yyText(yy, yy->__begin, yy->__end); {
2699 #define yytext yy->__text
2700 #define yyleng yy->__textlen
2701 if (!(YY_BEGIN)) goto l155;
2702 #undef yytext
2703 #undef yyleng
2704 } if (!yy_NUMI(yy)) goto l155; yyText(yy, yy->__begin, yy->__end); {
2705 #define yytext yy->__text
2706 #define yyleng yy->__textlen
2707 if (!(YY_END)) goto l155;
2708 #undef yytext
2709 #undef yyleng
2710 } yyDo(yy, yy_1_LIMIT, yy->__begin, yy->__end); goto l154;
2711 l155:; yy->__pos= yypos154; yy->__thunkpos= yythunkpos154; if (!yy_PLACEHOLDER(yy)) goto l153; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_2_LIMIT, yy->__begin, yy->__end);
2712 }
2713 l154:; yyDo(yy, yy_3_LIMIT, yy->__begin, yy->__end);
2714 yyprintf((stderr, " ok %s @ %s\n", "LIMIT", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 1, 0);
2715 return 1;
2716 l153:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2717 yyprintf((stderr, " fail %s @ %s\n", "LIMIT", yy->__buf+yy->__pos));
2718 return 0;
2719 }
yy_SKIP(yycontext * yy)2720 YY_RULE(int) yy_SKIP(yycontext *yy)
2721 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 1, 0);
2722 yyprintf((stderr, "%s\n", "SKIP")); if (!yymatchString(yy, "skip")) goto l156; if (!yy___(yy)) goto l156;
2723 { int yypos157= yy->__pos, yythunkpos157= yy->__thunkpos; yyText(yy, yy->__begin, yy->__end); {
2724 #define yytext yy->__text
2725 #define yyleng yy->__textlen
2726 if (!(YY_BEGIN)) goto l158;
2727 #undef yytext
2728 #undef yyleng
2729 } if (!yy_NUMI(yy)) goto l158; yyText(yy, yy->__begin, yy->__end); {
2730 #define yytext yy->__text
2731 #define yyleng yy->__textlen
2732 if (!(YY_END)) goto l158;
2733 #undef yytext
2734 #undef yyleng
2735 } yyDo(yy, yy_1_SKIP, yy->__begin, yy->__end); goto l157;
2736 l158:; yy->__pos= yypos157; yy->__thunkpos= yythunkpos157; if (!yy_PLACEHOLDER(yy)) goto l156; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_2_SKIP, yy->__begin, yy->__end);
2737 }
2738 l157:; yyDo(yy, yy_3_SKIP, yy->__begin, yy->__end);
2739 yyprintf((stderr, " ok %s @ %s\n", "SKIP", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 1, 0);
2740 return 1;
2741 l156:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2742 yyprintf((stderr, " fail %s @ %s\n", "SKIP", yy->__buf+yy->__pos));
2743 return 0;
2744 }
yy_OPT(yycontext * yy)2745 YY_RULE(int) yy_OPT(yycontext *yy)
2746 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2747 yyprintf((stderr, "%s\n", "OPT"));
2748 { int yypos160= yy->__pos, yythunkpos160= yy->__thunkpos; if (!yy_SKIP(yy)) goto l161; goto l160;
2749 l161:; yy->__pos= yypos160; yy->__thunkpos= yythunkpos160; if (!yy_LIMIT(yy)) goto l162; goto l160;
2750 l162:; yy->__pos= yypos160; yy->__thunkpos= yythunkpos160; if (!yy_ORDERBY(yy)) goto l163; goto l160;
2751 l163:; yy->__pos= yypos160; yy->__thunkpos= yythunkpos160; if (!yy_COUNT(yy)) goto l164; goto l160;
2752 l164:; yy->__pos= yypos160; yy->__thunkpos= yythunkpos160; if (!yy_NOIDX(yy)) goto l165; goto l160;
2753 l165:; yy->__pos= yypos160; yy->__thunkpos= yythunkpos160; if (!yy_INVERSE(yy)) goto l159;
2754 }
2755 l160:;
2756 yyprintf((stderr, " ok %s @ %s\n", "OPT", yy->__buf+yy->__pos));
2757 return 1;
2758 l159:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2759 yyprintf((stderr, " fail %s @ %s\n", "OPT", yy->__buf+yy->__pos));
2760 return 0;
2761 }
yy_PROJOIN(yycontext * yy)2762 YY_RULE(int) yy_PROJOIN(yycontext *yy)
2763 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2764 yyprintf((stderr, "%s\n", "PROJOIN"));
2765 { int yypos167= yy->__pos, yythunkpos167= yy->__thunkpos; if (!yymatchChar(yy, '+')) goto l168; goto l167;
2766 l168:; yy->__pos= yypos167; yy->__thunkpos= yythunkpos167; if (!yymatchChar(yy, '-')) goto l166;
2767 }
2768 l167:;
2769 yyprintf((stderr, " ok %s @ %s\n", "PROJOIN", yy->__buf+yy->__pos));
2770 return 1;
2771 l166:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2772 yyprintf((stderr, " fail %s @ %s\n", "PROJOIN", yy->__buf+yy->__pos));
2773 return 0;
2774 }
yy_PROJNODES(yycontext * yy)2775 YY_RULE(int) yy_PROJNODES(yycontext *yy)
2776 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2777 yyprintf((stderr, "%s\n", "PROJNODES"));
2778 { int yypos170= yy->__pos, yythunkpos170= yy->__thunkpos; if (!yy_PROJALL(yy)) goto l171; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_PROJNODES, yy->__begin, yy->__end); goto l170;
2779 l171:; yy->__pos= yypos170; yy->__thunkpos= yythunkpos170; if (!yy_PROJNODE(yy)) goto l169; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_PROJNODES, yy->__begin, yy->__end);
2780 l172:;
2781 { int yypos173= yy->__pos, yythunkpos173= yy->__thunkpos; if (!yy_PROJNODE(yy)) goto l173; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_PROJNODES, yy->__begin, yy->__end); goto l172;
2782 l173:; yy->__pos= yypos173; yy->__thunkpos= yythunkpos173;
2783 } yyDo(yy, yy_4_PROJNODES, yy->__begin, yy->__end);
2784 }
2785 l170:;
2786 yyprintf((stderr, " ok %s @ %s\n", "PROJNODES", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2787 return 1;
2788 l169:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2789 yyprintf((stderr, " fail %s @ %s\n", "PROJNODES", yy->__buf+yy->__pos));
2790 return 0;
2791 }
yy_ARRJ(yycontext * yy)2792 YY_RULE(int) yy_ARRJ(yycontext *yy)
2793 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2794 yyprintf((stderr, "%s\n", "ARRJ")); if (!yy_SARRJ(yy)) goto l174; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_ARRJ, yy->__begin, yy->__end); if (!yy__(yy)) goto l174;
2795 { int yypos175= yy->__pos, yythunkpos175= yy->__thunkpos; if (!yy_VALJ(yy)) goto l175; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_ARRJ, yy->__begin, yy->__end);
2796 l177:;
2797 { int yypos178= yy->__pos, yythunkpos178= yy->__thunkpos; if (!yy__(yy)) goto l178; if (!yymatchChar(yy, ',')) goto l178; if (!yy__(yy)) goto l178; if (!yy_VALJ(yy)) goto l178; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_ARRJ, yy->__begin, yy->__end); goto l177;
2798 l178:; yy->__pos= yypos178; yy->__thunkpos= yythunkpos178;
2799 } goto l176;
2800 l175:; yy->__pos= yypos175; yy->__thunkpos= yythunkpos175;
2801 }
2802 l176:; if (!yy__(yy)) goto l174; if (!yymatchChar(yy, ']')) goto l174; yyDo(yy, yy_4_ARRJ, yy->__begin, yy->__end);
2803 yyprintf((stderr, " ok %s @ %s\n", "ARRJ", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2804 return 1;
2805 l174:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2806 yyprintf((stderr, " fail %s @ %s\n", "ARRJ", yy->__buf+yy->__pos));
2807 return 0;
2808 }
yy_OBJJ(yycontext * yy)2809 YY_RULE(int) yy_OBJJ(yycontext *yy)
2810 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2811 yyprintf((stderr, "%s\n", "OBJJ")); if (!yy_SOBJJ(yy)) goto l179; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_OBJJ, yy->__begin, yy->__end); if (!yy__(yy)) goto l179;
2812 { int yypos180= yy->__pos, yythunkpos180= yy->__thunkpos; if (!yy_PAIRJ(yy)) goto l180; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_OBJJ, yy->__begin, yy->__end);
2813 l182:;
2814 { int yypos183= yy->__pos, yythunkpos183= yy->__thunkpos; if (!yy__(yy)) goto l183; if (!yymatchChar(yy, ',')) goto l183; if (!yy__(yy)) goto l183; if (!yy_PAIRJ(yy)) goto l183; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_OBJJ, yy->__begin, yy->__end); goto l182;
2815 l183:; yy->__pos= yypos183; yy->__thunkpos= yythunkpos183;
2816 } goto l181;
2817 l180:; yy->__pos= yypos180; yy->__thunkpos= yythunkpos180;
2818 }
2819 l181:; if (!yy__(yy)) goto l179; if (!yymatchChar(yy, '}')) goto l179; yyDo(yy, yy_4_OBJJ, yy->__begin, yy->__end);
2820 yyprintf((stderr, " ok %s @ %s\n", "OBJJ", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2821 return 1;
2822 l179:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2823 yyprintf((stderr, " fail %s @ %s\n", "OBJJ", yy->__buf+yy->__pos));
2824 return 0;
2825 }
yy___(yycontext * yy)2826 YY_RULE(int) yy___(yycontext *yy)
2827 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2828 yyprintf((stderr, "%s\n", "__")); if (!yy_SPACE(yy)) goto l184;
2829 l185:;
2830 { int yypos186= yy->__pos, yythunkpos186= yy->__thunkpos; if (!yy_SPACE(yy)) goto l186; goto l185;
2831 l186:; yy->__pos= yypos186; yy->__thunkpos= yythunkpos186;
2832 }
2833 yyprintf((stderr, " ok %s @ %s\n", "__", yy->__buf+yy->__pos));
2834 return 1;
2835 l184:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2836 yyprintf((stderr, " fail %s @ %s\n", "__", yy->__buf+yy->__pos));
2837 return 0;
2838 }
yy_FILTERJOIN(yycontext * yy)2839 YY_RULE(int) yy_FILTERJOIN(yycontext *yy)
2840 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2841 yyprintf((stderr, "%s\n", "FILTERJOIN")); yyText(yy, yy->__begin, yy->__end); {
2842 #define yytext yy->__text
2843 #define yyleng yy->__textlen
2844 if (!(YY_BEGIN)) goto l187;
2845 #undef yytext
2846 #undef yyleng
2847 }
2848 { int yypos188= yy->__pos, yythunkpos188= yy->__thunkpos; if (!yymatchString(yy, "and")) goto l189; goto l188;
2849 l189:; yy->__pos= yypos188; yy->__thunkpos= yythunkpos188; if (!yymatchString(yy, "or")) goto l187;
2850 }
2851 l188:; yyText(yy, yy->__begin, yy->__end); {
2852 #define yytext yy->__text
2853 #define yyleng yy->__textlen
2854 if (!(YY_END)) goto l187;
2855 #undef yytext
2856 #undef yyleng
2857 }
2858 { int yypos190= yy->__pos, yythunkpos190= yy->__thunkpos; if (!yy___(yy)) goto l190; if (!yymatchString(yy, "not")) goto l190; yyDo(yy, yy_1_FILTERJOIN, yy->__begin, yy->__end); goto l191;
2859 l190:; yy->__pos= yypos190; yy->__thunkpos= yythunkpos190;
2860 }
2861 l191:; yyDo(yy, yy_2_FILTERJOIN, yy->__begin, yy->__end);
2862 yyprintf((stderr, " ok %s @ %s\n", "FILTERJOIN", yy->__buf+yy->__pos));
2863 return 1;
2864 l187:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2865 yyprintf((stderr, " fail %s @ %s\n", "FILTERJOIN", yy->__buf+yy->__pos));
2866 return 0;
2867 }
yy_NUMPK_ARR(yycontext * yy)2868 YY_RULE(int) yy_NUMPK_ARR(yycontext *yy)
2869 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2870 yyprintf((stderr, "%s\n", "NUMPK_ARR")); if (!yy_SARRJ(yy)) goto l192; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_NUMPK_ARR, yy->__begin, yy->__end); if (!yy__(yy)) goto l192;
2871 { int yypos193= yy->__pos, yythunkpos193= yy->__thunkpos; if (!yy_NUMPK(yy)) goto l193; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_NUMPK_ARR, yy->__begin, yy->__end);
2872 l195:;
2873 { int yypos196= yy->__pos, yythunkpos196= yy->__thunkpos; if (!yy__(yy)) goto l196; if (!yymatchChar(yy, ',')) goto l196; if (!yy__(yy)) goto l196; if (!yy_NUMPK(yy)) goto l196; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_NUMPK_ARR, yy->__begin, yy->__end); goto l195;
2874 l196:; yy->__pos= yypos196; yy->__thunkpos= yythunkpos196;
2875 } goto l194;
2876 l193:; yy->__pos= yypos193; yy->__thunkpos= yythunkpos193;
2877 }
2878 l194:; if (!yy__(yy)) goto l192; if (!yymatchChar(yy, ']')) goto l192; yyDo(yy, yy_4_NUMPK_ARR, yy->__begin, yy->__end);
2879 yyprintf((stderr, " ok %s @ %s\n", "NUMPK_ARR", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2880 return 1;
2881 l192:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2882 yyprintf((stderr, " fail %s @ %s\n", "NUMPK_ARR", yy->__buf+yy->__pos));
2883 return 0;
2884 }
yy_NUMPK(yycontext * yy)2885 YY_RULE(int) yy_NUMPK(yycontext *yy)
2886 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2887 yyprintf((stderr, "%s\n", "NUMPK")); yyText(yy, yy->__begin, yy->__end); {
2888 #define yytext yy->__text
2889 #define yyleng yy->__textlen
2890 if (!(YY_BEGIN)) goto l197;
2891 #undef yytext
2892 #undef yyleng
2893 } if (!yy_NUMI(yy)) goto l197; yyText(yy, yy->__begin, yy->__end); {
2894 #define yytext yy->__text
2895 #define yyleng yy->__textlen
2896 if (!(YY_END)) goto l197;
2897 #undef yytext
2898 #undef yyleng
2899 } yyDo(yy, yy_1_NUMPK, yy->__begin, yy->__end);
2900 yyprintf((stderr, " ok %s @ %s\n", "NUMPK", yy->__buf+yy->__pos));
2901 return 1;
2902 l197:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2903 yyprintf((stderr, " fail %s @ %s\n", "NUMPK", yy->__buf+yy->__pos));
2904 return 0;
2905 }
yy_PLACEHOLDER(yycontext * yy)2906 YY_RULE(int) yy_PLACEHOLDER(yycontext *yy)
2907 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2908 yyprintf((stderr, "%s\n", "PLACEHOLDER")); if (!yymatchChar(yy, ':')) goto l198; yyText(yy, yy->__begin, yy->__end); {
2909 #define yytext yy->__text
2910 #define yyleng yy->__textlen
2911 if (!(YY_BEGIN)) goto l198;
2912 #undef yytext
2913 #undef yyleng
2914 }
2915 { int yypos199= yy->__pos, yythunkpos199= 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 l200;
2916 l201:;
2917 { int yypos202= yy->__pos, yythunkpos202= 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 l202; goto l201;
2918 l202:; yy->__pos= yypos202; yy->__thunkpos= yythunkpos202;
2919 } goto l199;
2920 l200:; yy->__pos= yypos199; yy->__thunkpos= yythunkpos199; if (!yymatchChar(yy, '?')) goto l198;
2921 }
2922 l199:; yyText(yy, yy->__begin, yy->__end); {
2923 #define yytext yy->__text
2924 #define yyleng yy->__textlen
2925 if (!(YY_END)) goto l198;
2926 #undef yytext
2927 #undef yyleng
2928 } yyDo(yy, yy_1_PLACEHOLDER, yy->__begin, yy->__end);
2929 yyprintf((stderr, " ok %s @ %s\n", "PLACEHOLDER", yy->__buf+yy->__pos));
2930 return 1;
2931 l198:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2932 yyprintf((stderr, " fail %s @ %s\n", "PLACEHOLDER", yy->__buf+yy->__pos));
2933 return 0;
2934 }
yy_FILTERANCHOR(yycontext * yy)2935 YY_RULE(int) yy_FILTERANCHOR(yycontext *yy)
2936 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2937 yyprintf((stderr, "%s\n", "FILTERANCHOR")); if (!yymatchChar(yy, '@')) goto l203; yyText(yy, yy->__begin, yy->__end); {
2938 #define yytext yy->__text
2939 #define yyleng yy->__textlen
2940 if (!(YY_BEGIN)) goto l203;
2941 #undef yytext
2942 #undef yyleng
2943 } 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 l203;
2944 l204:;
2945 { int yypos205= yy->__pos, yythunkpos205= 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 l205; goto l204;
2946 l205:; yy->__pos= yypos205; yy->__thunkpos= yythunkpos205;
2947 } yyText(yy, yy->__begin, yy->__end); {
2948 #define yytext yy->__text
2949 #define yyleng yy->__textlen
2950 if (!(YY_END)) goto l203;
2951 #undef yytext
2952 #undef yyleng
2953 } yyDo(yy, yy_1_FILTERANCHOR, yy->__begin, yy->__end);
2954 yyprintf((stderr, " ok %s @ %s\n", "FILTERANCHOR", yy->__buf+yy->__pos));
2955 return 1;
2956 l203:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2957 yyprintf((stderr, " fail %s @ %s\n", "FILTERANCHOR", yy->__buf+yy->__pos));
2958 return 0;
2959 }
yy_FILTEREXPR(yycontext * yy)2960 YY_RULE(int) yy_FILTEREXPR(yycontext *yy)
2961 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 3, 0);
2962 yyprintf((stderr, "%s\n", "FILTEREXPR")); if (!yy_FILTERFACTOR(yy)) goto l206; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_1_FILTEREXPR, yy->__begin, yy->__end);
2963 l207:;
2964 { int yypos208= yy->__pos, yythunkpos208= yy->__thunkpos; if (!yy___(yy)) goto l208; if (!yy_FILTERJOIN(yy)) goto l208; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_2_FILTEREXPR, yy->__begin, yy->__end); if (!yy___(yy)) goto l208; if (!yy_FILTERFACTOR(yy)) goto l208; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_FILTEREXPR, yy->__begin, yy->__end); goto l207;
2965 l208:; yy->__pos= yypos208; yy->__thunkpos= yythunkpos208;
2966 } yyDo(yy, yy_4_FILTEREXPR, yy->__begin, yy->__end);
2967 yyprintf((stderr, " ok %s @ %s\n", "FILTEREXPR", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 3, 0);
2968 return 1;
2969 l206:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2970 yyprintf((stderr, " fail %s @ %s\n", "FILTEREXPR", yy->__buf+yy->__pos));
2971 return 0;
2972 }
yy_FILTEREXPR_PK(yycontext * yy)2973 YY_RULE(int) yy_FILTEREXPR_PK(yycontext *yy)
2974 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 2, 0);
2975 yyprintf((stderr, "%s\n", "FILTEREXPR_PK"));
2976 { int yypos210= yy->__pos, yythunkpos210= yy->__thunkpos; if (!yy_FILTERANCHOR(yy)) goto l210; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_1_FILTEREXPR_PK, yy->__begin, yy->__end); goto l211;
2977 l210:; yy->__pos= yypos210; yy->__thunkpos= yythunkpos210;
2978 }
2979 l211:; if (!yymatchChar(yy, '/')) goto l209; if (!yy__(yy)) goto l209; if (!yymatchChar(yy, '=')) goto l209; if (!yy__(yy)) goto l209;
2980 { int yypos212= yy->__pos, yythunkpos212= yy->__thunkpos; if (!yy_PLACEHOLDER(yy)) goto l213; yyDo(yy, yySet, -1, 0); goto l212;
2981 l213:; yy->__pos= yypos212; yy->__thunkpos= yythunkpos212; if (!yy_NUMPK(yy)) goto l214; yyDo(yy, yySet, -1, 0); goto l212;
2982 l214:; yy->__pos= yypos212; yy->__thunkpos= yythunkpos212; if (!yy_NUMPK_ARR(yy)) goto l209; yyDo(yy, yySet, -1, 0);
2983 }
2984 l212:; yyDo(yy, yy_2_FILTEREXPR_PK, yy->__begin, yy->__end);
2985 yyprintf((stderr, " ok %s @ %s\n", "FILTEREXPR_PK", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 2, 0);
2986 return 1;
2987 l209:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
2988 yyprintf((stderr, " fail %s @ %s\n", "FILTEREXPR_PK", yy->__buf+yy->__pos));
2989 return 0;
2990 }
yy_EOF(yycontext * yy)2991 YY_RULE(int) yy_EOF(yycontext *yy)
2992 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
2993 yyprintf((stderr, "%s\n", "EOF"));
2994 { int yypos216= yy->__pos, yythunkpos216= yy->__thunkpos; if (!yymatchDot(yy)) goto l216; goto l215;
2995 l216:; yy->__pos= yypos216; yy->__thunkpos= yythunkpos216;
2996 }
2997 yyprintf((stderr, " ok %s @ %s\n", "EOF", yy->__buf+yy->__pos));
2998 return 1;
2999 l215:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3000 yyprintf((stderr, " fail %s @ %s\n", "EOF", yy->__buf+yy->__pos));
3001 return 0;
3002 }
yy_OPTS(yycontext * yy)3003 YY_RULE(int) yy_OPTS(yycontext *yy)
3004 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
3005 yyprintf((stderr, "%s\n", "OPTS")); if (!yymatchChar(yy, '|')) goto l217; if (!yy__(yy)) goto l217; if (!yy_OPT(yy)) goto l217;
3006 l218:;
3007 { int yypos219= yy->__pos, yythunkpos219= yy->__thunkpos; if (!yy___(yy)) goto l219; if (!yy_OPT(yy)) goto l219; goto l218;
3008 l219:; yy->__pos= yypos219; yy->__thunkpos= yythunkpos219;
3009 }
3010 yyprintf((stderr, " ok %s @ %s\n", "OPTS", yy->__buf+yy->__pos));
3011 return 1;
3012 l217:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3013 yyprintf((stderr, " fail %s @ %s\n", "OPTS", yy->__buf+yy->__pos));
3014 return 0;
3015 }
yy_PROJECTION(yycontext * yy)3016 YY_RULE(int) yy_PROJECTION(yycontext *yy)
3017 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 2, 0);
3018 yyprintf((stderr, "%s\n", "PROJECTION")); if (!yymatchChar(yy, '|')) goto l220; if (!yy__(yy)) goto l220; if (!yy_PROJNODES(yy)) goto l220; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_1_PROJECTION, yy->__begin, yy->__end);
3019 l221:;
3020 { int yypos222= yy->__pos, yythunkpos222= yy->__thunkpos; if (!yy__(yy)) goto l222; yyText(yy, yy->__begin, yy->__end); {
3021 #define yytext yy->__text
3022 #define yyleng yy->__textlen
3023 if (!(YY_BEGIN)) goto l222;
3024 #undef yytext
3025 #undef yyleng
3026 } if (!yy_PROJOIN(yy)) goto l222; yyText(yy, yy->__begin, yy->__end); {
3027 #define yytext yy->__text
3028 #define yyleng yy->__textlen
3029 if (!(YY_END)) goto l222;
3030 #undef yytext
3031 #undef yyleng
3032 } yyDo(yy, yy_2_PROJECTION, yy->__begin, yy->__end); if (!yy__(yy)) goto l222; if (!yy_PROJNODES(yy)) goto l222; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_3_PROJECTION, yy->__begin, yy->__end); goto l221;
3033 l222:; yy->__pos= yypos222; yy->__thunkpos= yythunkpos222;
3034 } yyDo(yy, yy_4_PROJECTION, yy->__begin, yy->__end);
3035 yyprintf((stderr, " ok %s @ %s\n", "PROJECTION", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 2, 0);
3036 return 1;
3037 l220:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3038 yyprintf((stderr, " fail %s @ %s\n", "PROJECTION", yy->__buf+yy->__pos));
3039 return 0;
3040 }
yy_UPSERT(yycontext * yy)3041 YY_RULE(int) yy_UPSERT(yycontext *yy)
3042 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
3043 yyprintf((stderr, "%s\n", "UPSERT")); if (!yymatchString(yy, "upsert")) goto l223; if (!yy___(yy)) goto l223;
3044 { int yypos224= yy->__pos, yythunkpos224= yy->__thunkpos; if (!yy_PLACEHOLDER(yy)) goto l225; goto l224;
3045 l225:; yy->__pos= yypos224; yy->__thunkpos= yythunkpos224; if (!yy_OBJJ(yy)) goto l226; goto l224;
3046 l226:; yy->__pos= yypos224; yy->__thunkpos= yythunkpos224; if (!yy_ARRJ(yy)) goto l223;
3047 }
3048 l224:;
3049 yyprintf((stderr, " ok %s @ %s\n", "UPSERT", yy->__buf+yy->__pos));
3050 return 1;
3051 l223:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3052 yyprintf((stderr, " fail %s @ %s\n", "UPSERT", yy->__buf+yy->__pos));
3053 return 0;
3054 }
yy_APPLY(yycontext * yy)3055 YY_RULE(int) yy_APPLY(yycontext *yy)
3056 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
3057 yyprintf((stderr, "%s\n", "APPLY")); if (!yymatchString(yy, "apply")) goto l227; if (!yy___(yy)) goto l227;
3058 { int yypos228= yy->__pos, yythunkpos228= yy->__thunkpos; if (!yy_PLACEHOLDER(yy)) goto l229; goto l228;
3059 l229:; yy->__pos= yypos228; yy->__thunkpos= yythunkpos228; if (!yy_OBJJ(yy)) goto l230; goto l228;
3060 l230:; yy->__pos= yypos228; yy->__thunkpos= yythunkpos228; if (!yy_ARRJ(yy)) goto l227;
3061 }
3062 l228:;
3063 yyprintf((stderr, " ok %s @ %s\n", "APPLY", yy->__buf+yy->__pos));
3064 return 1;
3065 l227:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3066 yyprintf((stderr, " fail %s @ %s\n", "APPLY", yy->__buf+yy->__pos));
3067 return 0;
3068 }
yy__(yycontext * yy)3069 YY_RULE(int) yy__(yycontext *yy)
3070 {
3071 yyprintf((stderr, "%s\n", "_"));
3072 l232:;
3073 { int yypos233= yy->__pos, yythunkpos233= yy->__thunkpos; if (!yy_SPACE(yy)) goto l233; goto l232;
3074 l233:; yy->__pos= yypos233; yy->__thunkpos= yythunkpos233;
3075 }
3076 yyprintf((stderr, " ok %s @ %s\n", "_", yy->__buf+yy->__pos));
3077 return 1;
3078 }
yy_QEXPR(yycontext * yy)3079 YY_RULE(int) yy_QEXPR(yycontext *yy)
3080 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;
3081 yyprintf((stderr, "%s\n", "QEXPR"));
3082 { int yypos235= yy->__pos, yythunkpos235= yy->__thunkpos; if (!yy_FILTEREXPR_PK(yy)) goto l236; goto l235;
3083 l236:; yy->__pos= yypos235; yy->__thunkpos= yythunkpos235; if (!yy_FILTEREXPR(yy)) goto l234;
3084 }
3085 l235:;
3086 yyprintf((stderr, " ok %s @ %s\n", "QEXPR", yy->__buf+yy->__pos));
3087 return 1;
3088 l234:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3089 yyprintf((stderr, " fail %s @ %s\n", "QEXPR", yy->__buf+yy->__pos));
3090 return 0;
3091 }
yy_QUERY(yycontext * yy)3092 YY_RULE(int) yy_QUERY(yycontext *yy)
3093 { int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos; yyDo(yy, yyPush, 4, 0);
3094 yyprintf((stderr, "%s\n", "QUERY")); if (!yy_QEXPR(yy)) goto l237; yyDo(yy, yySet, -4, 0); yyDo(yy, yy_1_QUERY, yy->__begin, yy->__end);
3095 { int yypos238= yy->__pos, yythunkpos238= yy->__thunkpos; if (!yy__(yy)) goto l238; if (!yymatchChar(yy, '|')) goto l238; if (!yy__(yy)) goto l238;
3096 { int yypos240= yy->__pos, yythunkpos240= yy->__thunkpos; if (!yy_APPLY(yy)) goto l241; yyDo(yy, yySet, -3, 0); yyDo(yy, yy_2_QUERY, yy->__begin, yy->__end); goto l240;
3097 l241:; yy->__pos= yypos240; yy->__thunkpos= yythunkpos240; if (!yymatchString(yy, "del")) goto l242; yyDo(yy, yy_3_QUERY, yy->__begin, yy->__end); goto l240;
3098 l242:; yy->__pos= yypos240; yy->__thunkpos= yythunkpos240; if (!yy_UPSERT(yy)) goto l238; yyDo(yy, yySet, -2, 0); yyDo(yy, yy_4_QUERY, yy->__begin, yy->__end);
3099 }
3100 l240:; goto l239;
3101 l238:; yy->__pos= yypos238; yy->__thunkpos= yythunkpos238;
3102 }
3103 l239:;
3104 { int yypos243= yy->__pos, yythunkpos243= yy->__thunkpos; if (!yy__(yy)) goto l243; if (!yy_PROJECTION(yy)) goto l243; yyDo(yy, yySet, -1, 0); yyDo(yy, yy_5_QUERY, yy->__begin, yy->__end); goto l244;
3105 l243:; yy->__pos= yypos243; yy->__thunkpos= yythunkpos243;
3106 }
3107 l244:;
3108 { int yypos245= yy->__pos, yythunkpos245= yy->__thunkpos; if (!yy__(yy)) goto l245; if (!yy_OPTS(yy)) goto l245; goto l246;
3109 l245:; yy->__pos= yypos245; yy->__thunkpos= yythunkpos245;
3110 }
3111 l246:; if (!yy__(yy)) goto l237; if (!yy_EOF(yy)) goto l237; yyDo(yy, yy_6_QUERY, yy->__begin, yy->__end);
3112 yyprintf((stderr, " ok %s @ %s\n", "QUERY", yy->__buf+yy->__pos)); yyDo(yy, yyPop, 4, 0);
3113 return 1;
3114 l237:; yy->__pos= yypos0; yy->__thunkpos= yythunkpos0;
3115 yyprintf((stderr, " fail %s @ %s\n", "QUERY", yy->__buf+yy->__pos));
3116 return 0;
3117 }
3118
3119 #ifndef YY_PART
3120
3121 typedef int (*yyrule)(yycontext *yy);
3122
YYPARSEFROM(YY_CTX_PARAM_ yyrule yystart)3123 YY_PARSE(int) YYPARSEFROM(YY_CTX_PARAM_ yyrule yystart)
3124 {
3125 int yyok;
3126 if (!yyctx->__buflen)
3127 {
3128 yyctx->__buflen= YY_BUFFER_SIZE;
3129 yyctx->__buf= (char *)YY_MALLOC(yyctx, yyctx->__buflen);
3130 yyctx->__textlen= YY_BUFFER_SIZE;
3131 yyctx->__text= (char *)YY_MALLOC(yyctx, yyctx->__textlen);
3132 yyctx->__thunkslen= YY_STACK_SIZE;
3133 yyctx->__thunks= (yythunk *)YY_MALLOC(yyctx, sizeof(yythunk) * yyctx->__thunkslen);
3134 yyctx->__valslen= YY_STACK_SIZE;
3135 yyctx->__vals= (YYSTYPE *)YY_MALLOC(yyctx, sizeof(YYSTYPE) * yyctx->__valslen);
3136 yyctx->__begin= yyctx->__end= yyctx->__pos= yyctx->__limit= yyctx->__thunkpos= 0;
3137 }
3138 yyctx->__begin= yyctx->__end= yyctx->__pos;
3139 yyctx->__thunkpos= 0;
3140 yyctx->__val= yyctx->__vals;
3141 yyok= yystart(yyctx);
3142 if (yyok) yyDone(yyctx);
3143 yyCommit(yyctx);
3144 return yyok;
3145 }
3146
YYPARSE(YY_CTX_PARAM)3147 YY_PARSE(int) YYPARSE(YY_CTX_PARAM)
3148 {
3149 return YYPARSEFROM(YY_CTX_ARG_ yy_QUERY);
3150 }
3151
YYRELEASE(yycontext * yyctx)3152 YY_PARSE(yycontext *) YYRELEASE(yycontext *yyctx)
3153 {
3154 if (yyctx->__buflen)
3155 {
3156 yyctx->__buflen= 0;
3157 YY_FREE(yyctx, yyctx->__buf);
3158 YY_FREE(yyctx, yyctx->__text);
3159 YY_FREE(yyctx, yyctx->__thunks);
3160 YY_FREE(yyctx, yyctx->__vals);
3161 }
3162 return yyctx;
3163 }
3164
3165 #endif
3166 #line 253 "./jqp.leg"
3167
3168
3169 #include "./inc/jqpx.c"
3170