@webda/cloudevents 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/LICENSE +166 -0
  2. package/lib/filters/abstract.d.ts +28 -0
  3. package/lib/filters/abstract.js +17 -0
  4. package/lib/filters/abstract.js.map +1 -0
  5. package/lib/filters/index.d.ts +14 -0
  6. package/lib/filters/index.js +34 -0
  7. package/lib/filters/index.js.map +1 -0
  8. package/lib/filters/interfaces.d.ts +0 -0
  9. package/lib/filters/interfaces.js +1 -0
  10. package/lib/filters/interfaces.js.map +1 -0
  11. package/lib/filters/logical.d.ts +54 -0
  12. package/lib/filters/logical.js +49 -0
  13. package/lib/filters/logical.js.map +1 -0
  14. package/lib/filters/sql/CESQLParserLexer.d.ts +55 -0
  15. package/lib/filters/sql/CESQLParserLexer.js +293 -0
  16. package/lib/filters/sql/CESQLParserLexer.js.map +1 -0
  17. package/lib/filters/sql/CESQLParserListener.d.ts +325 -0
  18. package/lib/filters/sql/CESQLParserListener.js +3 -0
  19. package/lib/filters/sql/CESQLParserListener.js.map +1 -0
  20. package/lib/filters/sql/CESQLParserParser.d.ts +313 -0
  21. package/lib/filters/sql/CESQLParserParser.js +1825 -0
  22. package/lib/filters/sql/CESQLParserParser.js.map +1 -0
  23. package/lib/filters/sql/CESQLParserVisitor.d.ts +208 -0
  24. package/lib/filters/sql/CESQLParserVisitor.js +3 -0
  25. package/lib/filters/sql/CESQLParserVisitor.js.map +1 -0
  26. package/lib/filters/sql.d.ts +426 -0
  27. package/lib/filters/sql.js +752 -0
  28. package/lib/filters/sql.js.map +1 -0
  29. package/lib/filters/string.d.ts +105 -0
  30. package/lib/filters/string.js +79 -0
  31. package/lib/filters/string.js.map +1 -0
  32. package/lib/subscription.d.ts +228 -0
  33. package/lib/subscription.js +60 -0
  34. package/lib/subscription.js.map +1 -0
  35. package/package.json +61 -0
@@ -0,0 +1,1825 @@
1
+ // Generated from src/models/filters/sql/CESQLParser.g4 by ANTLR 4.9.0-SNAPSHOT
2
+ import { ATN } from "antlr4ts/atn/ATN.js";
3
+ import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer.js";
4
+ import { FailedPredicateException } from "antlr4ts/FailedPredicateException.js";
5
+ import { NoViableAltException } from "antlr4ts/NoViableAltException.js";
6
+ import { Parser } from "antlr4ts/Parser.js";
7
+ import { ParserRuleContext } from "antlr4ts/ParserRuleContext.js";
8
+ import { ParserATNSimulator } from "antlr4ts/atn/ParserATNSimulator.js";
9
+ import { RecognitionException } from "antlr4ts/RecognitionException.js";
10
+ import { Token } from "antlr4ts/Token.js";
11
+ import { VocabularyImpl } from "antlr4ts/VocabularyImpl.js";
12
+ import * as Utils from "antlr4ts/misc/Utils.js";
13
+ export class CESQLParserParser extends Parser {
14
+ // @Override
15
+ // @NotNull
16
+ get vocabulary() {
17
+ return CESQLParserParser.VOCABULARY;
18
+ }
19
+ // tslint:enable:no-trailing-whitespace
20
+ // @Override
21
+ get grammarFileName() {
22
+ return "CESQLParser.g4";
23
+ }
24
+ // @Override
25
+ get ruleNames() {
26
+ return CESQLParserParser.ruleNames;
27
+ }
28
+ // @Override
29
+ get serializedATN() {
30
+ return CESQLParserParser._serializedATN;
31
+ }
32
+ createFailedPredicateException(predicate, message) {
33
+ return new FailedPredicateException(this, predicate, message);
34
+ }
35
+ constructor(input) {
36
+ super(input);
37
+ this._interp = new ParserATNSimulator(CESQLParserParser._ATN, this);
38
+ }
39
+ // @RuleVersion(0)
40
+ cesql() {
41
+ let _localctx = new CesqlContext(this._ctx, this.state);
42
+ this.enterRule(_localctx, 0, CESQLParserParser.RULE_cesql);
43
+ try {
44
+ this.enterOuterAlt(_localctx, 1);
45
+ {
46
+ this.state = 20;
47
+ this.expression(0);
48
+ this.state = 21;
49
+ this.match(CESQLParserParser.EOF);
50
+ }
51
+ }
52
+ catch (re) {
53
+ if (re instanceof RecognitionException) {
54
+ _localctx.exception = re;
55
+ this._errHandler.reportError(this, re);
56
+ this._errHandler.recover(this, re);
57
+ }
58
+ else {
59
+ throw re;
60
+ }
61
+ }
62
+ finally {
63
+ this.exitRule();
64
+ }
65
+ return _localctx;
66
+ }
67
+ // @RuleVersion(0)
68
+ expression(_p) {
69
+ if (_p === undefined) {
70
+ _p = 0;
71
+ }
72
+ let _parentctx = this._ctx;
73
+ let _parentState = this.state;
74
+ let _localctx = new ExpressionContext(this._ctx, _parentState);
75
+ let _prevctx = _localctx;
76
+ let _startState = 2;
77
+ this.enterRecursionRule(_localctx, 2, CESQLParserParser.RULE_expression, _p);
78
+ let _la;
79
+ try {
80
+ let _alt;
81
+ this.enterOuterAlt(_localctx, 1);
82
+ {
83
+ this.state = 38;
84
+ this._errHandler.sync(this);
85
+ switch (this.interpreter.adaptivePredict(this._input, 0, this._ctx)) {
86
+ case 1:
87
+ {
88
+ _localctx = new FunctionInvocationExpressionContext(_localctx);
89
+ this._ctx = _localctx;
90
+ _prevctx = _localctx;
91
+ this.state = 24;
92
+ this.functionIdentifier();
93
+ this.state = 25;
94
+ this.functionParameterList();
95
+ }
96
+ break;
97
+ case 2:
98
+ {
99
+ _localctx = new UnaryLogicExpressionContext(_localctx);
100
+ this._ctx = _localctx;
101
+ _prevctx = _localctx;
102
+ this.state = 27;
103
+ this.match(CESQLParserParser.NOT);
104
+ this.state = 28;
105
+ this.expression(11);
106
+ }
107
+ break;
108
+ case 3:
109
+ {
110
+ _localctx = new UnaryNumericExpressionContext(_localctx);
111
+ this._ctx = _localctx;
112
+ _prevctx = _localctx;
113
+ this.state = 29;
114
+ this.match(CESQLParserParser.MINUS);
115
+ this.state = 30;
116
+ this.expression(10);
117
+ }
118
+ break;
119
+ case 4:
120
+ {
121
+ _localctx = new ExistsExpressionContext(_localctx);
122
+ this._ctx = _localctx;
123
+ _prevctx = _localctx;
124
+ this.state = 31;
125
+ this.match(CESQLParserParser.EXISTS);
126
+ this.state = 32;
127
+ this.identifier();
128
+ }
129
+ break;
130
+ case 5:
131
+ {
132
+ _localctx = new SubExpressionContext(_localctx);
133
+ this._ctx = _localctx;
134
+ _prevctx = _localctx;
135
+ this.state = 33;
136
+ this.match(CESQLParserParser.LR_BRACKET);
137
+ this.state = 34;
138
+ this.expression(0);
139
+ this.state = 35;
140
+ this.match(CESQLParserParser.RR_BRACKET);
141
+ }
142
+ break;
143
+ case 6:
144
+ {
145
+ _localctx = new AtomExpressionContext(_localctx);
146
+ this._ctx = _localctx;
147
+ _prevctx = _localctx;
148
+ this.state = 37;
149
+ this.atom();
150
+ }
151
+ break;
152
+ }
153
+ this._ctx._stop = this._input.tryLT(-1);
154
+ this.state = 66;
155
+ this._errHandler.sync(this);
156
+ _alt = this.interpreter.adaptivePredict(this._input, 4, this._ctx);
157
+ while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) {
158
+ if (_alt === 1) {
159
+ if (this._parseListeners != null) {
160
+ this.triggerExitRuleEvent();
161
+ }
162
+ _prevctx = _localctx;
163
+ {
164
+ this.state = 64;
165
+ this._errHandler.sync(this);
166
+ switch (this.interpreter.adaptivePredict(this._input, 3, this._ctx)) {
167
+ case 1:
168
+ {
169
+ _localctx = new BinaryMultiplicativeExpressionContext(new ExpressionContext(_parentctx, _parentState));
170
+ this.pushNewRecursionContext(_localctx, _startState, CESQLParserParser.RULE_expression);
171
+ this.state = 40;
172
+ if (!this.precpred(this._ctx, 6)) {
173
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");
174
+ }
175
+ this.state = 41;
176
+ _la = this._input.LA(1);
177
+ if (!((_la & ~0x1f) === 0 &&
178
+ ((1 << _la) &
179
+ ((1 << CESQLParserParser.STAR) |
180
+ (1 << CESQLParserParser.DIVIDE) |
181
+ (1 << CESQLParserParser.MODULE))) !==
182
+ 0)) {
183
+ this._errHandler.recoverInline(this);
184
+ }
185
+ else {
186
+ if (this._input.LA(1) === Token.EOF) {
187
+ this.matchedEOF = true;
188
+ }
189
+ this._errHandler.reportMatch(this);
190
+ this.consume();
191
+ }
192
+ this.state = 42;
193
+ this.expression(7);
194
+ }
195
+ break;
196
+ case 2:
197
+ {
198
+ _localctx = new BinaryAdditiveExpressionContext(new ExpressionContext(_parentctx, _parentState));
199
+ this.pushNewRecursionContext(_localctx, _startState, CESQLParserParser.RULE_expression);
200
+ this.state = 43;
201
+ if (!this.precpred(this._ctx, 5)) {
202
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");
203
+ }
204
+ this.state = 44;
205
+ _la = this._input.LA(1);
206
+ if (!(_la === CESQLParserParser.PLUS || _la === CESQLParserParser.MINUS)) {
207
+ this._errHandler.recoverInline(this);
208
+ }
209
+ else {
210
+ if (this._input.LA(1) === Token.EOF) {
211
+ this.matchedEOF = true;
212
+ }
213
+ this._errHandler.reportMatch(this);
214
+ this.consume();
215
+ }
216
+ this.state = 45;
217
+ this.expression(6);
218
+ }
219
+ break;
220
+ case 3:
221
+ {
222
+ _localctx = new BinaryComparisonExpressionContext(new ExpressionContext(_parentctx, _parentState));
223
+ this.pushNewRecursionContext(_localctx, _startState, CESQLParserParser.RULE_expression);
224
+ this.state = 46;
225
+ if (!this.precpred(this._ctx, 4)) {
226
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");
227
+ }
228
+ this.state = 47;
229
+ _la = this._input.LA(1);
230
+ if (!((_la & ~0x1f) === 0 &&
231
+ ((1 << _la) &
232
+ ((1 << CESQLParserParser.EQUAL) |
233
+ (1 << CESQLParserParser.NOT_EQUAL) |
234
+ (1 << CESQLParserParser.GREATER) |
235
+ (1 << CESQLParserParser.GREATER_OR_EQUAL) |
236
+ (1 << CESQLParserParser.LESS) |
237
+ (1 << CESQLParserParser.LESS_GREATER) |
238
+ (1 << CESQLParserParser.LESS_OR_EQUAL))) !==
239
+ 0)) {
240
+ this._errHandler.recoverInline(this);
241
+ }
242
+ else {
243
+ if (this._input.LA(1) === Token.EOF) {
244
+ this.matchedEOF = true;
245
+ }
246
+ this._errHandler.reportMatch(this);
247
+ this.consume();
248
+ }
249
+ this.state = 48;
250
+ this.expression(5);
251
+ }
252
+ break;
253
+ case 4:
254
+ {
255
+ _localctx = new BinaryLogicExpressionContext(new ExpressionContext(_parentctx, _parentState));
256
+ this.pushNewRecursionContext(_localctx, _startState, CESQLParserParser.RULE_expression);
257
+ this.state = 49;
258
+ if (!this.precpred(this._ctx, 3)) {
259
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 3)");
260
+ }
261
+ this.state = 50;
262
+ _la = this._input.LA(1);
263
+ if (!((_la & ~0x1f) === 0 &&
264
+ ((1 << _la) &
265
+ ((1 << CESQLParserParser.AND) |
266
+ (1 << CESQLParserParser.OR) |
267
+ (1 << CESQLParserParser.XOR))) !==
268
+ 0)) {
269
+ this._errHandler.recoverInline(this);
270
+ }
271
+ else {
272
+ if (this._input.LA(1) === Token.EOF) {
273
+ this.matchedEOF = true;
274
+ }
275
+ this._errHandler.reportMatch(this);
276
+ this.consume();
277
+ }
278
+ this.state = 51;
279
+ this.expression(3);
280
+ }
281
+ break;
282
+ case 5:
283
+ {
284
+ _localctx = new LikeExpressionContext(new ExpressionContext(_parentctx, _parentState));
285
+ this.pushNewRecursionContext(_localctx, _startState, CESQLParserParser.RULE_expression);
286
+ this.state = 52;
287
+ if (!this.precpred(this._ctx, 9)) {
288
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");
289
+ }
290
+ this.state = 54;
291
+ this._errHandler.sync(this);
292
+ _la = this._input.LA(1);
293
+ if (_la === CESQLParserParser.NOT) {
294
+ {
295
+ this.state = 53;
296
+ this.match(CESQLParserParser.NOT);
297
+ }
298
+ }
299
+ this.state = 56;
300
+ this.match(CESQLParserParser.LIKE);
301
+ this.state = 57;
302
+ this.stringLiteral();
303
+ }
304
+ break;
305
+ case 6:
306
+ {
307
+ _localctx = new InExpressionContext(new ExpressionContext(_parentctx, _parentState));
308
+ this.pushNewRecursionContext(_localctx, _startState, CESQLParserParser.RULE_expression);
309
+ this.state = 58;
310
+ if (!this.precpred(this._ctx, 7)) {
311
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");
312
+ }
313
+ this.state = 60;
314
+ this._errHandler.sync(this);
315
+ _la = this._input.LA(1);
316
+ if (_la === CESQLParserParser.NOT) {
317
+ {
318
+ this.state = 59;
319
+ this.match(CESQLParserParser.NOT);
320
+ }
321
+ }
322
+ this.state = 62;
323
+ this.match(CESQLParserParser.IN);
324
+ this.state = 63;
325
+ this.setExpression();
326
+ }
327
+ break;
328
+ }
329
+ }
330
+ }
331
+ this.state = 68;
332
+ this._errHandler.sync(this);
333
+ _alt = this.interpreter.adaptivePredict(this._input, 4, this._ctx);
334
+ }
335
+ }
336
+ }
337
+ catch (re) {
338
+ if (re instanceof RecognitionException) {
339
+ _localctx.exception = re;
340
+ this._errHandler.reportError(this, re);
341
+ this._errHandler.recover(this, re);
342
+ }
343
+ else {
344
+ throw re;
345
+ }
346
+ }
347
+ finally {
348
+ this.unrollRecursionContexts(_parentctx);
349
+ }
350
+ return _localctx;
351
+ }
352
+ // @RuleVersion(0)
353
+ atom() {
354
+ let _localctx = new AtomContext(this._ctx, this.state);
355
+ this.enterRule(_localctx, 4, CESQLParserParser.RULE_atom);
356
+ try {
357
+ this.state = 73;
358
+ this._errHandler.sync(this);
359
+ switch (this._input.LA(1)) {
360
+ case CESQLParserParser.TRUE:
361
+ case CESQLParserParser.FALSE:
362
+ _localctx = new BooleanAtomContext(_localctx);
363
+ this.enterOuterAlt(_localctx, 1);
364
+ {
365
+ this.state = 69;
366
+ this.booleanLiteral();
367
+ }
368
+ break;
369
+ case CESQLParserParser.INTEGER_LITERAL:
370
+ _localctx = new IntegerAtomContext(_localctx);
371
+ this.enterOuterAlt(_localctx, 2);
372
+ {
373
+ this.state = 70;
374
+ this.integerLiteral();
375
+ }
376
+ break;
377
+ case CESQLParserParser.DQUOTED_STRING_LITERAL:
378
+ case CESQLParserParser.SQUOTED_STRING_LITERAL:
379
+ _localctx = new StringAtomContext(_localctx);
380
+ this.enterOuterAlt(_localctx, 3);
381
+ {
382
+ this.state = 71;
383
+ this.stringLiteral();
384
+ }
385
+ break;
386
+ case CESQLParserParser.IDENTIFIER:
387
+ case CESQLParserParser.IDENTIFIER_WITH_NUMBER:
388
+ _localctx = new IdentifierAtomContext(_localctx);
389
+ this.enterOuterAlt(_localctx, 4);
390
+ {
391
+ this.state = 72;
392
+ this.identifier();
393
+ }
394
+ break;
395
+ default:
396
+ throw new NoViableAltException(this);
397
+ }
398
+ }
399
+ catch (re) {
400
+ if (re instanceof RecognitionException) {
401
+ _localctx.exception = re;
402
+ this._errHandler.reportError(this, re);
403
+ this._errHandler.recover(this, re);
404
+ }
405
+ else {
406
+ throw re;
407
+ }
408
+ }
409
+ finally {
410
+ this.exitRule();
411
+ }
412
+ return _localctx;
413
+ }
414
+ // @RuleVersion(0)
415
+ identifier() {
416
+ let _localctx = new IdentifierContext(this._ctx, this.state);
417
+ this.enterRule(_localctx, 6, CESQLParserParser.RULE_identifier);
418
+ let _la;
419
+ try {
420
+ this.enterOuterAlt(_localctx, 1);
421
+ {
422
+ this.state = 75;
423
+ _la = this._input.LA(1);
424
+ if (!(_la === CESQLParserParser.IDENTIFIER || _la === CESQLParserParser.IDENTIFIER_WITH_NUMBER)) {
425
+ this._errHandler.recoverInline(this);
426
+ }
427
+ else {
428
+ if (this._input.LA(1) === Token.EOF) {
429
+ this.matchedEOF = true;
430
+ }
431
+ this._errHandler.reportMatch(this);
432
+ this.consume();
433
+ }
434
+ }
435
+ }
436
+ catch (re) {
437
+ if (re instanceof RecognitionException) {
438
+ _localctx.exception = re;
439
+ this._errHandler.reportError(this, re);
440
+ this._errHandler.recover(this, re);
441
+ }
442
+ else {
443
+ throw re;
444
+ }
445
+ }
446
+ finally {
447
+ this.exitRule();
448
+ }
449
+ return _localctx;
450
+ }
451
+ // @RuleVersion(0)
452
+ functionIdentifier() {
453
+ let _localctx = new FunctionIdentifierContext(this._ctx, this.state);
454
+ this.enterRule(_localctx, 8, CESQLParserParser.RULE_functionIdentifier);
455
+ let _la;
456
+ try {
457
+ this.enterOuterAlt(_localctx, 1);
458
+ {
459
+ this.state = 77;
460
+ _la = this._input.LA(1);
461
+ if (!(_la === CESQLParserParser.IDENTIFIER || _la === CESQLParserParser.FUNCTION_IDENTIFIER_WITH_UNDERSCORE)) {
462
+ this._errHandler.recoverInline(this);
463
+ }
464
+ else {
465
+ if (this._input.LA(1) === Token.EOF) {
466
+ this.matchedEOF = true;
467
+ }
468
+ this._errHandler.reportMatch(this);
469
+ this.consume();
470
+ }
471
+ }
472
+ }
473
+ catch (re) {
474
+ if (re instanceof RecognitionException) {
475
+ _localctx.exception = re;
476
+ this._errHandler.reportError(this, re);
477
+ this._errHandler.recover(this, re);
478
+ }
479
+ else {
480
+ throw re;
481
+ }
482
+ }
483
+ finally {
484
+ this.exitRule();
485
+ }
486
+ return _localctx;
487
+ }
488
+ // @RuleVersion(0)
489
+ booleanLiteral() {
490
+ let _localctx = new BooleanLiteralContext(this._ctx, this.state);
491
+ this.enterRule(_localctx, 10, CESQLParserParser.RULE_booleanLiteral);
492
+ let _la;
493
+ try {
494
+ this.enterOuterAlt(_localctx, 1);
495
+ {
496
+ this.state = 79;
497
+ _la = this._input.LA(1);
498
+ if (!(_la === CESQLParserParser.TRUE || _la === CESQLParserParser.FALSE)) {
499
+ this._errHandler.recoverInline(this);
500
+ }
501
+ else {
502
+ if (this._input.LA(1) === Token.EOF) {
503
+ this.matchedEOF = true;
504
+ }
505
+ this._errHandler.reportMatch(this);
506
+ this.consume();
507
+ }
508
+ }
509
+ }
510
+ catch (re) {
511
+ if (re instanceof RecognitionException) {
512
+ _localctx.exception = re;
513
+ this._errHandler.reportError(this, re);
514
+ this._errHandler.recover(this, re);
515
+ }
516
+ else {
517
+ throw re;
518
+ }
519
+ }
520
+ finally {
521
+ this.exitRule();
522
+ }
523
+ return _localctx;
524
+ }
525
+ // @RuleVersion(0)
526
+ stringLiteral() {
527
+ let _localctx = new StringLiteralContext(this._ctx, this.state);
528
+ this.enterRule(_localctx, 12, CESQLParserParser.RULE_stringLiteral);
529
+ let _la;
530
+ try {
531
+ this.enterOuterAlt(_localctx, 1);
532
+ {
533
+ this.state = 81;
534
+ _la = this._input.LA(1);
535
+ if (!(_la === CESQLParserParser.DQUOTED_STRING_LITERAL || _la === CESQLParserParser.SQUOTED_STRING_LITERAL)) {
536
+ this._errHandler.recoverInline(this);
537
+ }
538
+ else {
539
+ if (this._input.LA(1) === Token.EOF) {
540
+ this.matchedEOF = true;
541
+ }
542
+ this._errHandler.reportMatch(this);
543
+ this.consume();
544
+ }
545
+ }
546
+ }
547
+ catch (re) {
548
+ if (re instanceof RecognitionException) {
549
+ _localctx.exception = re;
550
+ this._errHandler.reportError(this, re);
551
+ this._errHandler.recover(this, re);
552
+ }
553
+ else {
554
+ throw re;
555
+ }
556
+ }
557
+ finally {
558
+ this.exitRule();
559
+ }
560
+ return _localctx;
561
+ }
562
+ // @RuleVersion(0)
563
+ integerLiteral() {
564
+ let _localctx = new IntegerLiteralContext(this._ctx, this.state);
565
+ this.enterRule(_localctx, 14, CESQLParserParser.RULE_integerLiteral);
566
+ try {
567
+ this.enterOuterAlt(_localctx, 1);
568
+ {
569
+ this.state = 83;
570
+ this.match(CESQLParserParser.INTEGER_LITERAL);
571
+ }
572
+ }
573
+ catch (re) {
574
+ if (re instanceof RecognitionException) {
575
+ _localctx.exception = re;
576
+ this._errHandler.reportError(this, re);
577
+ this._errHandler.recover(this, re);
578
+ }
579
+ else {
580
+ throw re;
581
+ }
582
+ }
583
+ finally {
584
+ this.exitRule();
585
+ }
586
+ return _localctx;
587
+ }
588
+ // @RuleVersion(0)
589
+ functionParameterList() {
590
+ let _localctx = new FunctionParameterListContext(this._ctx, this.state);
591
+ this.enterRule(_localctx, 16, CESQLParserParser.RULE_functionParameterList);
592
+ let _la;
593
+ try {
594
+ this.enterOuterAlt(_localctx, 1);
595
+ {
596
+ this.state = 85;
597
+ this.match(CESQLParserParser.LR_BRACKET);
598
+ this.state = 94;
599
+ this._errHandler.sync(this);
600
+ _la = this._input.LA(1);
601
+ if (((_la - 2) & ~0x1f) === 0 &&
602
+ ((1 << (_la - 2)) &
603
+ ((1 << (CESQLParserParser.LR_BRACKET - 2)) |
604
+ (1 << (CESQLParserParser.NOT - 2)) |
605
+ (1 << (CESQLParserParser.MINUS - 2)) |
606
+ (1 << (CESQLParserParser.EXISTS - 2)) |
607
+ (1 << (CESQLParserParser.TRUE - 2)) |
608
+ (1 << (CESQLParserParser.FALSE - 2)) |
609
+ (1 << (CESQLParserParser.DQUOTED_STRING_LITERAL - 2)) |
610
+ (1 << (CESQLParserParser.SQUOTED_STRING_LITERAL - 2)) |
611
+ (1 << (CESQLParserParser.INTEGER_LITERAL - 2)) |
612
+ (1 << (CESQLParserParser.IDENTIFIER - 2)) |
613
+ (1 << (CESQLParserParser.IDENTIFIER_WITH_NUMBER - 2)) |
614
+ (1 << (CESQLParserParser.FUNCTION_IDENTIFIER_WITH_UNDERSCORE - 2)))) !==
615
+ 0) {
616
+ {
617
+ this.state = 86;
618
+ this.expression(0);
619
+ this.state = 91;
620
+ this._errHandler.sync(this);
621
+ _la = this._input.LA(1);
622
+ while (_la === CESQLParserParser.COMMA) {
623
+ {
624
+ {
625
+ this.state = 87;
626
+ this.match(CESQLParserParser.COMMA);
627
+ this.state = 88;
628
+ this.expression(0);
629
+ }
630
+ }
631
+ this.state = 93;
632
+ this._errHandler.sync(this);
633
+ _la = this._input.LA(1);
634
+ }
635
+ }
636
+ }
637
+ this.state = 96;
638
+ this.match(CESQLParserParser.RR_BRACKET);
639
+ }
640
+ }
641
+ catch (re) {
642
+ if (re instanceof RecognitionException) {
643
+ _localctx.exception = re;
644
+ this._errHandler.reportError(this, re);
645
+ this._errHandler.recover(this, re);
646
+ }
647
+ else {
648
+ throw re;
649
+ }
650
+ }
651
+ finally {
652
+ this.exitRule();
653
+ }
654
+ return _localctx;
655
+ }
656
+ // @RuleVersion(0)
657
+ setExpression() {
658
+ let _localctx = new SetExpressionContext(this._ctx, this.state);
659
+ this.enterRule(_localctx, 18, CESQLParserParser.RULE_setExpression);
660
+ let _la;
661
+ try {
662
+ this.enterOuterAlt(_localctx, 1);
663
+ {
664
+ this.state = 98;
665
+ this.match(CESQLParserParser.LR_BRACKET);
666
+ this.state = 99;
667
+ this.expression(0);
668
+ this.state = 104;
669
+ this._errHandler.sync(this);
670
+ _la = this._input.LA(1);
671
+ while (_la === CESQLParserParser.COMMA) {
672
+ {
673
+ {
674
+ this.state = 100;
675
+ this.match(CESQLParserParser.COMMA);
676
+ this.state = 101;
677
+ this.expression(0);
678
+ }
679
+ }
680
+ this.state = 106;
681
+ this._errHandler.sync(this);
682
+ _la = this._input.LA(1);
683
+ }
684
+ this.state = 107;
685
+ this.match(CESQLParserParser.RR_BRACKET);
686
+ }
687
+ }
688
+ catch (re) {
689
+ if (re instanceof RecognitionException) {
690
+ _localctx.exception = re;
691
+ this._errHandler.reportError(this, re);
692
+ this._errHandler.recover(this, re);
693
+ }
694
+ else {
695
+ throw re;
696
+ }
697
+ }
698
+ finally {
699
+ this.exitRule();
700
+ }
701
+ return _localctx;
702
+ }
703
+ sempred(_localctx, ruleIndex, predIndex) {
704
+ switch (ruleIndex) {
705
+ case 1:
706
+ return this.expression_sempred(_localctx, predIndex);
707
+ }
708
+ return true;
709
+ }
710
+ expression_sempred(_localctx, predIndex) {
711
+ switch (predIndex) {
712
+ case 0:
713
+ return this.precpred(this._ctx, 6);
714
+ case 1:
715
+ return this.precpred(this._ctx, 5);
716
+ case 2:
717
+ return this.precpred(this._ctx, 4);
718
+ case 3:
719
+ return this.precpred(this._ctx, 3);
720
+ case 4:
721
+ return this.precpred(this._ctx, 9);
722
+ case 5:
723
+ return this.precpred(this._ctx, 7);
724
+ }
725
+ return true;
726
+ }
727
+ static get _ATN() {
728
+ if (!CESQLParserParser.__ATN) {
729
+ CESQLParserParser.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(CESQLParserParser._serializedATN));
730
+ }
731
+ return CESQLParserParser.__ATN;
732
+ }
733
+ }
734
+ CESQLParserParser.SPACE = 1;
735
+ CESQLParserParser.LR_BRACKET = 2;
736
+ CESQLParserParser.RR_BRACKET = 3;
737
+ CESQLParserParser.COMMA = 4;
738
+ CESQLParserParser.SINGLE_QUOTE_SYMB = 5;
739
+ CESQLParserParser.DOUBLE_QUOTE_SYMB = 6;
740
+ CESQLParserParser.AND = 7;
741
+ CESQLParserParser.OR = 8;
742
+ CESQLParserParser.XOR = 9;
743
+ CESQLParserParser.NOT = 10;
744
+ CESQLParserParser.STAR = 11;
745
+ CESQLParserParser.DIVIDE = 12;
746
+ CESQLParserParser.MODULE = 13;
747
+ CESQLParserParser.PLUS = 14;
748
+ CESQLParserParser.MINUS = 15;
749
+ CESQLParserParser.EQUAL = 16;
750
+ CESQLParserParser.NOT_EQUAL = 17;
751
+ CESQLParserParser.GREATER = 18;
752
+ CESQLParserParser.GREATER_OR_EQUAL = 19;
753
+ CESQLParserParser.LESS = 20;
754
+ CESQLParserParser.LESS_GREATER = 21;
755
+ CESQLParserParser.LESS_OR_EQUAL = 22;
756
+ CESQLParserParser.LIKE = 23;
757
+ CESQLParserParser.EXISTS = 24;
758
+ CESQLParserParser.IN = 25;
759
+ CESQLParserParser.TRUE = 26;
760
+ CESQLParserParser.FALSE = 27;
761
+ CESQLParserParser.DQUOTED_STRING_LITERAL = 28;
762
+ CESQLParserParser.SQUOTED_STRING_LITERAL = 29;
763
+ CESQLParserParser.INTEGER_LITERAL = 30;
764
+ CESQLParserParser.IDENTIFIER = 31;
765
+ CESQLParserParser.IDENTIFIER_WITH_NUMBER = 32;
766
+ CESQLParserParser.FUNCTION_IDENTIFIER_WITH_UNDERSCORE = 33;
767
+ CESQLParserParser.RULE_cesql = 0;
768
+ CESQLParserParser.RULE_expression = 1;
769
+ CESQLParserParser.RULE_atom = 2;
770
+ CESQLParserParser.RULE_identifier = 3;
771
+ CESQLParserParser.RULE_functionIdentifier = 4;
772
+ CESQLParserParser.RULE_booleanLiteral = 5;
773
+ CESQLParserParser.RULE_stringLiteral = 6;
774
+ CESQLParserParser.RULE_integerLiteral = 7;
775
+ CESQLParserParser.RULE_functionParameterList = 8;
776
+ CESQLParserParser.RULE_setExpression = 9;
777
+ // tslint:disable:no-trailing-whitespace
778
+ CESQLParserParser.ruleNames = [
779
+ "cesql",
780
+ "expression",
781
+ "atom",
782
+ "identifier",
783
+ "functionIdentifier",
784
+ "booleanLiteral",
785
+ "stringLiteral",
786
+ "integerLiteral",
787
+ "functionParameterList",
788
+ "setExpression"
789
+ ];
790
+ CESQLParserParser._LITERAL_NAMES = [
791
+ undefined,
792
+ undefined,
793
+ "'('",
794
+ "')'",
795
+ "','",
796
+ "'''",
797
+ "'\"'",
798
+ "'AND'",
799
+ "'OR'",
800
+ "'XOR'",
801
+ "'NOT'",
802
+ "'*'",
803
+ "'/'",
804
+ "'%'",
805
+ "'+'",
806
+ "'-'",
807
+ "'='",
808
+ "'!='",
809
+ "'>'",
810
+ "'>='",
811
+ "'<'",
812
+ "'<>'",
813
+ "'<='",
814
+ "'LIKE'",
815
+ "'EXISTS'",
816
+ "'IN'",
817
+ "'TRUE'",
818
+ "'FALSE'"
819
+ ];
820
+ CESQLParserParser._SYMBOLIC_NAMES = [
821
+ undefined,
822
+ "SPACE",
823
+ "LR_BRACKET",
824
+ "RR_BRACKET",
825
+ "COMMA",
826
+ "SINGLE_QUOTE_SYMB",
827
+ "DOUBLE_QUOTE_SYMB",
828
+ "AND",
829
+ "OR",
830
+ "XOR",
831
+ "NOT",
832
+ "STAR",
833
+ "DIVIDE",
834
+ "MODULE",
835
+ "PLUS",
836
+ "MINUS",
837
+ "EQUAL",
838
+ "NOT_EQUAL",
839
+ "GREATER",
840
+ "GREATER_OR_EQUAL",
841
+ "LESS",
842
+ "LESS_GREATER",
843
+ "LESS_OR_EQUAL",
844
+ "LIKE",
845
+ "EXISTS",
846
+ "IN",
847
+ "TRUE",
848
+ "FALSE",
849
+ "DQUOTED_STRING_LITERAL",
850
+ "SQUOTED_STRING_LITERAL",
851
+ "INTEGER_LITERAL",
852
+ "IDENTIFIER",
853
+ "IDENTIFIER_WITH_NUMBER",
854
+ "FUNCTION_IDENTIFIER_WITH_UNDERSCORE"
855
+ ];
856
+ CESQLParserParser.VOCABULARY = new VocabularyImpl(CESQLParserParser._LITERAL_NAMES, CESQLParserParser._SYMBOLIC_NAMES, []);
857
+ CESQLParserParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03#p\x04\x02\t\x02" +
858
+ "\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07" +
859
+ "\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x03\x02\x03\x02\x03\x02\x03\x03" +
860
+ "\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03" +
861
+ "\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x05\x03)\n\x03\x03\x03\x03\x03" +
862
+ "\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03" +
863
+ "\x03\x03\x03\x03\x03\x03\x05\x039\n\x03\x03\x03\x03\x03\x03\x03\x03\x03" +
864
+ "\x05\x03?\n\x03\x03\x03\x03\x03\x07\x03C\n\x03\f\x03\x0E\x03F\v\x03\x03" +
865
+ "\x04\x03\x04\x03\x04\x03\x04\x05\x04L\n\x04\x03\x05\x03\x05\x03\x06\x03" +
866
+ "\x06\x03\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03\n\x03\n\x03\n\x03\n\x07" +
867
+ "\n\\\n\n\f\n\x0E\n_\v\n\x05\na\n\n\x03\n\x03\n\x03\v\x03\v\x03\v\x03\v" +
868
+ "\x07\vi\n\v\f\v\x0E\vl\v\v\x03\v\x03\v\x03\v\x02\x02\x03\x04\f\x02\x02" +
869
+ "\x04\x02\x06\x02\b\x02\n\x02\f\x02\x0E\x02\x10\x02\x12\x02\x14\x02\x02" +
870
+ "\n\x03\x02\r\x0F\x03\x02\x10\x11\x03\x02\x12\x18\x03\x02\t\v\x03\x02!" +
871
+ '"\x04\x02!!##\x03\x02\x1C\x1D\x03\x02\x1E\x1F\x02x\x02\x16\x03\x02\x02' +
872
+ "\x02\x04(\x03\x02\x02\x02\x06K\x03\x02\x02\x02\bM\x03\x02\x02\x02\nO\x03" +
873
+ "\x02\x02\x02\fQ\x03\x02\x02\x02\x0ES\x03\x02\x02\x02\x10U\x03\x02\x02" +
874
+ "\x02\x12W\x03\x02\x02\x02\x14d\x03\x02\x02\x02\x16\x17\x05\x04\x03\x02" +
875
+ "\x17\x18\x07\x02\x02\x03\x18\x03\x03\x02\x02\x02\x19\x1A\b\x03\x01\x02" +
876
+ "\x1A\x1B\x05\n\x06\x02\x1B\x1C\x05\x12\n\x02\x1C)\x03\x02\x02\x02\x1D" +
877
+ "\x1E\x07\f\x02\x02\x1E)\x05\x04\x03\r\x1F \x07\x11\x02\x02 )\x05\x04\x03" +
878
+ '\f!"\x07\x1A\x02\x02")\x05\b\x05\x02#$\x07\x04\x02\x02$%\x05\x04\x03' +
879
+ "\x02%&\x07\x05\x02\x02&)\x03\x02\x02\x02')\x05\x06\x04\x02(\x19\x03\x02" +
880
+ "\x02\x02(\x1D\x03\x02\x02\x02(\x1F\x03\x02\x02\x02(!\x03\x02\x02\x02(" +
881
+ "#\x03\x02\x02\x02('\x03\x02\x02\x02)D\x03\x02\x02\x02*+\f\b\x02\x02+" +
882
+ ",\t\x02\x02\x02,C\x05\x04\x03\t-.\f\x07\x02\x02./\t\x03\x02\x02/C\x05" +
883
+ "\x04\x03\b01\f\x06\x02\x0212\t\x04\x02\x022C\x05\x04\x03\x0734\f\x05\x02" +
884
+ "\x0245\t\x05\x02\x025C\x05\x04\x03\x0568\f\v\x02\x0279\x07\f\x02\x028" +
885
+ "7\x03\x02\x02\x0289\x03\x02\x02\x029:\x03\x02\x02\x02:;\x07\x19\x02\x02" +
886
+ ";C\x05\x0E\b\x02<>\f\t\x02\x02=?\x07\f\x02\x02>=\x03\x02\x02\x02>?\x03" +
887
+ "\x02\x02\x02?@\x03\x02\x02\x02@A\x07\x1B\x02\x02AC\x05\x14\v\x02B*\x03" +
888
+ "\x02\x02\x02B-\x03\x02\x02\x02B0\x03\x02\x02\x02B3\x03\x02\x02\x02B6\x03" +
889
+ "\x02\x02\x02B<\x03\x02\x02\x02CF\x03\x02\x02\x02DB\x03\x02\x02\x02DE\x03" +
890
+ "\x02\x02\x02E\x05\x03\x02\x02\x02FD\x03\x02\x02\x02GL\x05\f\x07\x02HL" +
891
+ "\x05\x10\t\x02IL\x05\x0E\b\x02JL\x05\b\x05\x02KG\x03\x02\x02\x02KH\x03" +
892
+ "\x02\x02\x02KI\x03\x02\x02\x02KJ\x03\x02\x02\x02L\x07\x03\x02\x02\x02" +
893
+ "MN\t\x06\x02\x02N\t\x03\x02\x02\x02OP\t\x07\x02\x02P\v\x03\x02\x02\x02" +
894
+ "QR\t\b\x02\x02R\r\x03\x02\x02\x02ST\t\t\x02\x02T\x0F\x03\x02\x02\x02U" +
895
+ "V\x07 \x02\x02V\x11\x03\x02\x02\x02W`\x07\x04\x02\x02X]\x05\x04\x03\x02" +
896
+ "YZ\x07\x06\x02\x02Z\\\x05\x04\x03\x02[Y\x03\x02\x02\x02\\_\x03\x02\x02" +
897
+ "\x02][\x03\x02\x02\x02]^\x03\x02\x02\x02^a\x03\x02\x02\x02_]\x03\x02\x02" +
898
+ "\x02`X\x03\x02\x02\x02`a\x03\x02\x02\x02ab\x03\x02\x02\x02bc\x07\x05\x02" +
899
+ "\x02c\x13\x03\x02\x02\x02de\x07\x04\x02\x02ej\x05\x04\x03\x02fg\x07\x06" +
900
+ "\x02\x02gi\x05\x04\x03\x02hf\x03\x02\x02\x02il\x03\x02\x02\x02jh\x03\x02" +
901
+ "\x02\x02jk\x03\x02\x02\x02km\x03\x02\x02\x02lj\x03\x02\x02\x02mn\x07\x05" +
902
+ "\x02\x02n\x15\x03\x02\x02\x02\v(8>BDK]`j";
903
+ export class CesqlContext extends ParserRuleContext {
904
+ expression() {
905
+ return this.getRuleContext(0, ExpressionContext);
906
+ }
907
+ EOF() {
908
+ return this.getToken(CESQLParserParser.EOF, 0);
909
+ }
910
+ constructor(parent, invokingState) {
911
+ super(parent, invokingState);
912
+ }
913
+ // @Override
914
+ get ruleIndex() {
915
+ return CESQLParserParser.RULE_cesql;
916
+ }
917
+ // @Override
918
+ enterRule(listener) {
919
+ if (listener.enterCesql) {
920
+ listener.enterCesql(this);
921
+ }
922
+ }
923
+ // @Override
924
+ exitRule(listener) {
925
+ if (listener.exitCesql) {
926
+ listener.exitCesql(this);
927
+ }
928
+ }
929
+ // @Override
930
+ accept(visitor) {
931
+ if (visitor.visitCesql) {
932
+ return visitor.visitCesql(this);
933
+ }
934
+ else {
935
+ return visitor.visitChildren(this);
936
+ }
937
+ }
938
+ }
939
+ export class ExpressionContext extends ParserRuleContext {
940
+ constructor(parent, invokingState) {
941
+ super(parent, invokingState);
942
+ }
943
+ // @Override
944
+ get ruleIndex() {
945
+ return CESQLParserParser.RULE_expression;
946
+ }
947
+ copyFrom(ctx) {
948
+ super.copyFrom(ctx);
949
+ }
950
+ }
951
+ export class FunctionInvocationExpressionContext extends ExpressionContext {
952
+ functionIdentifier() {
953
+ return this.getRuleContext(0, FunctionIdentifierContext);
954
+ }
955
+ functionParameterList() {
956
+ return this.getRuleContext(0, FunctionParameterListContext);
957
+ }
958
+ constructor(ctx) {
959
+ super(ctx.parent, ctx.invokingState);
960
+ this.copyFrom(ctx);
961
+ }
962
+ // @Override
963
+ enterRule(listener) {
964
+ if (listener.enterFunctionInvocationExpression) {
965
+ listener.enterFunctionInvocationExpression(this);
966
+ }
967
+ }
968
+ // @Override
969
+ exitRule(listener) {
970
+ if (listener.exitFunctionInvocationExpression) {
971
+ listener.exitFunctionInvocationExpression(this);
972
+ }
973
+ }
974
+ // @Override
975
+ accept(visitor) {
976
+ if (visitor.visitFunctionInvocationExpression) {
977
+ return visitor.visitFunctionInvocationExpression(this);
978
+ }
979
+ else {
980
+ return visitor.visitChildren(this);
981
+ }
982
+ }
983
+ }
984
+ export class UnaryLogicExpressionContext extends ExpressionContext {
985
+ NOT() {
986
+ return this.getToken(CESQLParserParser.NOT, 0);
987
+ }
988
+ expression() {
989
+ return this.getRuleContext(0, ExpressionContext);
990
+ }
991
+ constructor(ctx) {
992
+ super(ctx.parent, ctx.invokingState);
993
+ this.copyFrom(ctx);
994
+ }
995
+ // @Override
996
+ enterRule(listener) {
997
+ if (listener.enterUnaryLogicExpression) {
998
+ listener.enterUnaryLogicExpression(this);
999
+ }
1000
+ }
1001
+ // @Override
1002
+ exitRule(listener) {
1003
+ if (listener.exitUnaryLogicExpression) {
1004
+ listener.exitUnaryLogicExpression(this);
1005
+ }
1006
+ }
1007
+ // @Override
1008
+ accept(visitor) {
1009
+ if (visitor.visitUnaryLogicExpression) {
1010
+ return visitor.visitUnaryLogicExpression(this);
1011
+ }
1012
+ else {
1013
+ return visitor.visitChildren(this);
1014
+ }
1015
+ }
1016
+ }
1017
+ export class UnaryNumericExpressionContext extends ExpressionContext {
1018
+ MINUS() {
1019
+ return this.getToken(CESQLParserParser.MINUS, 0);
1020
+ }
1021
+ expression() {
1022
+ return this.getRuleContext(0, ExpressionContext);
1023
+ }
1024
+ constructor(ctx) {
1025
+ super(ctx.parent, ctx.invokingState);
1026
+ this.copyFrom(ctx);
1027
+ }
1028
+ // @Override
1029
+ enterRule(listener) {
1030
+ if (listener.enterUnaryNumericExpression) {
1031
+ listener.enterUnaryNumericExpression(this);
1032
+ }
1033
+ }
1034
+ // @Override
1035
+ exitRule(listener) {
1036
+ if (listener.exitUnaryNumericExpression) {
1037
+ listener.exitUnaryNumericExpression(this);
1038
+ }
1039
+ }
1040
+ // @Override
1041
+ accept(visitor) {
1042
+ if (visitor.visitUnaryNumericExpression) {
1043
+ return visitor.visitUnaryNumericExpression(this);
1044
+ }
1045
+ else {
1046
+ return visitor.visitChildren(this);
1047
+ }
1048
+ }
1049
+ }
1050
+ export class LikeExpressionContext extends ExpressionContext {
1051
+ expression() {
1052
+ return this.getRuleContext(0, ExpressionContext);
1053
+ }
1054
+ LIKE() {
1055
+ return this.getToken(CESQLParserParser.LIKE, 0);
1056
+ }
1057
+ stringLiteral() {
1058
+ return this.getRuleContext(0, StringLiteralContext);
1059
+ }
1060
+ NOT() {
1061
+ return this.tryGetToken(CESQLParserParser.NOT, 0);
1062
+ }
1063
+ constructor(ctx) {
1064
+ super(ctx.parent, ctx.invokingState);
1065
+ this.copyFrom(ctx);
1066
+ }
1067
+ // @Override
1068
+ enterRule(listener) {
1069
+ if (listener.enterLikeExpression) {
1070
+ listener.enterLikeExpression(this);
1071
+ }
1072
+ }
1073
+ // @Override
1074
+ exitRule(listener) {
1075
+ if (listener.exitLikeExpression) {
1076
+ listener.exitLikeExpression(this);
1077
+ }
1078
+ }
1079
+ // @Override
1080
+ accept(visitor) {
1081
+ if (visitor.visitLikeExpression) {
1082
+ return visitor.visitLikeExpression(this);
1083
+ }
1084
+ else {
1085
+ return visitor.visitChildren(this);
1086
+ }
1087
+ }
1088
+ }
1089
+ export class ExistsExpressionContext extends ExpressionContext {
1090
+ EXISTS() {
1091
+ return this.getToken(CESQLParserParser.EXISTS, 0);
1092
+ }
1093
+ identifier() {
1094
+ return this.getRuleContext(0, IdentifierContext);
1095
+ }
1096
+ constructor(ctx) {
1097
+ super(ctx.parent, ctx.invokingState);
1098
+ this.copyFrom(ctx);
1099
+ }
1100
+ // @Override
1101
+ enterRule(listener) {
1102
+ if (listener.enterExistsExpression) {
1103
+ listener.enterExistsExpression(this);
1104
+ }
1105
+ }
1106
+ // @Override
1107
+ exitRule(listener) {
1108
+ if (listener.exitExistsExpression) {
1109
+ listener.exitExistsExpression(this);
1110
+ }
1111
+ }
1112
+ // @Override
1113
+ accept(visitor) {
1114
+ if (visitor.visitExistsExpression) {
1115
+ return visitor.visitExistsExpression(this);
1116
+ }
1117
+ else {
1118
+ return visitor.visitChildren(this);
1119
+ }
1120
+ }
1121
+ }
1122
+ export class InExpressionContext extends ExpressionContext {
1123
+ expression() {
1124
+ return this.getRuleContext(0, ExpressionContext);
1125
+ }
1126
+ IN() {
1127
+ return this.getToken(CESQLParserParser.IN, 0);
1128
+ }
1129
+ setExpression() {
1130
+ return this.getRuleContext(0, SetExpressionContext);
1131
+ }
1132
+ NOT() {
1133
+ return this.tryGetToken(CESQLParserParser.NOT, 0);
1134
+ }
1135
+ constructor(ctx) {
1136
+ super(ctx.parent, ctx.invokingState);
1137
+ this.copyFrom(ctx);
1138
+ }
1139
+ // @Override
1140
+ enterRule(listener) {
1141
+ if (listener.enterInExpression) {
1142
+ listener.enterInExpression(this);
1143
+ }
1144
+ }
1145
+ // @Override
1146
+ exitRule(listener) {
1147
+ if (listener.exitInExpression) {
1148
+ listener.exitInExpression(this);
1149
+ }
1150
+ }
1151
+ // @Override
1152
+ accept(visitor) {
1153
+ if (visitor.visitInExpression) {
1154
+ return visitor.visitInExpression(this);
1155
+ }
1156
+ else {
1157
+ return visitor.visitChildren(this);
1158
+ }
1159
+ }
1160
+ }
1161
+ export class BinaryMultiplicativeExpressionContext extends ExpressionContext {
1162
+ expression(i) {
1163
+ if (i === undefined) {
1164
+ return this.getRuleContexts(ExpressionContext);
1165
+ }
1166
+ else {
1167
+ return this.getRuleContext(i, ExpressionContext);
1168
+ }
1169
+ }
1170
+ STAR() {
1171
+ return this.tryGetToken(CESQLParserParser.STAR, 0);
1172
+ }
1173
+ DIVIDE() {
1174
+ return this.tryGetToken(CESQLParserParser.DIVIDE, 0);
1175
+ }
1176
+ MODULE() {
1177
+ return this.tryGetToken(CESQLParserParser.MODULE, 0);
1178
+ }
1179
+ constructor(ctx) {
1180
+ super(ctx.parent, ctx.invokingState);
1181
+ this.copyFrom(ctx);
1182
+ }
1183
+ // @Override
1184
+ enterRule(listener) {
1185
+ if (listener.enterBinaryMultiplicativeExpression) {
1186
+ listener.enterBinaryMultiplicativeExpression(this);
1187
+ }
1188
+ }
1189
+ // @Override
1190
+ exitRule(listener) {
1191
+ if (listener.exitBinaryMultiplicativeExpression) {
1192
+ listener.exitBinaryMultiplicativeExpression(this);
1193
+ }
1194
+ }
1195
+ // @Override
1196
+ accept(visitor) {
1197
+ if (visitor.visitBinaryMultiplicativeExpression) {
1198
+ return visitor.visitBinaryMultiplicativeExpression(this);
1199
+ }
1200
+ else {
1201
+ return visitor.visitChildren(this);
1202
+ }
1203
+ }
1204
+ }
1205
+ export class BinaryAdditiveExpressionContext extends ExpressionContext {
1206
+ expression(i) {
1207
+ if (i === undefined) {
1208
+ return this.getRuleContexts(ExpressionContext);
1209
+ }
1210
+ else {
1211
+ return this.getRuleContext(i, ExpressionContext);
1212
+ }
1213
+ }
1214
+ PLUS() {
1215
+ return this.tryGetToken(CESQLParserParser.PLUS, 0);
1216
+ }
1217
+ MINUS() {
1218
+ return this.tryGetToken(CESQLParserParser.MINUS, 0);
1219
+ }
1220
+ constructor(ctx) {
1221
+ super(ctx.parent, ctx.invokingState);
1222
+ this.copyFrom(ctx);
1223
+ }
1224
+ // @Override
1225
+ enterRule(listener) {
1226
+ if (listener.enterBinaryAdditiveExpression) {
1227
+ listener.enterBinaryAdditiveExpression(this);
1228
+ }
1229
+ }
1230
+ // @Override
1231
+ exitRule(listener) {
1232
+ if (listener.exitBinaryAdditiveExpression) {
1233
+ listener.exitBinaryAdditiveExpression(this);
1234
+ }
1235
+ }
1236
+ // @Override
1237
+ accept(visitor) {
1238
+ if (visitor.visitBinaryAdditiveExpression) {
1239
+ return visitor.visitBinaryAdditiveExpression(this);
1240
+ }
1241
+ else {
1242
+ return visitor.visitChildren(this);
1243
+ }
1244
+ }
1245
+ }
1246
+ export class BinaryComparisonExpressionContext extends ExpressionContext {
1247
+ expression(i) {
1248
+ if (i === undefined) {
1249
+ return this.getRuleContexts(ExpressionContext);
1250
+ }
1251
+ else {
1252
+ return this.getRuleContext(i, ExpressionContext);
1253
+ }
1254
+ }
1255
+ EQUAL() {
1256
+ return this.tryGetToken(CESQLParserParser.EQUAL, 0);
1257
+ }
1258
+ NOT_EQUAL() {
1259
+ return this.tryGetToken(CESQLParserParser.NOT_EQUAL, 0);
1260
+ }
1261
+ LESS_GREATER() {
1262
+ return this.tryGetToken(CESQLParserParser.LESS_GREATER, 0);
1263
+ }
1264
+ GREATER_OR_EQUAL() {
1265
+ return this.tryGetToken(CESQLParserParser.GREATER_OR_EQUAL, 0);
1266
+ }
1267
+ LESS_OR_EQUAL() {
1268
+ return this.tryGetToken(CESQLParserParser.LESS_OR_EQUAL, 0);
1269
+ }
1270
+ LESS() {
1271
+ return this.tryGetToken(CESQLParserParser.LESS, 0);
1272
+ }
1273
+ GREATER() {
1274
+ return this.tryGetToken(CESQLParserParser.GREATER, 0);
1275
+ }
1276
+ constructor(ctx) {
1277
+ super(ctx.parent, ctx.invokingState);
1278
+ this.copyFrom(ctx);
1279
+ }
1280
+ // @Override
1281
+ enterRule(listener) {
1282
+ if (listener.enterBinaryComparisonExpression) {
1283
+ listener.enterBinaryComparisonExpression(this);
1284
+ }
1285
+ }
1286
+ // @Override
1287
+ exitRule(listener) {
1288
+ if (listener.exitBinaryComparisonExpression) {
1289
+ listener.exitBinaryComparisonExpression(this);
1290
+ }
1291
+ }
1292
+ // @Override
1293
+ accept(visitor) {
1294
+ if (visitor.visitBinaryComparisonExpression) {
1295
+ return visitor.visitBinaryComparisonExpression(this);
1296
+ }
1297
+ else {
1298
+ return visitor.visitChildren(this);
1299
+ }
1300
+ }
1301
+ }
1302
+ export class BinaryLogicExpressionContext extends ExpressionContext {
1303
+ expression(i) {
1304
+ if (i === undefined) {
1305
+ return this.getRuleContexts(ExpressionContext);
1306
+ }
1307
+ else {
1308
+ return this.getRuleContext(i, ExpressionContext);
1309
+ }
1310
+ }
1311
+ AND() {
1312
+ return this.tryGetToken(CESQLParserParser.AND, 0);
1313
+ }
1314
+ OR() {
1315
+ return this.tryGetToken(CESQLParserParser.OR, 0);
1316
+ }
1317
+ XOR() {
1318
+ return this.tryGetToken(CESQLParserParser.XOR, 0);
1319
+ }
1320
+ constructor(ctx) {
1321
+ super(ctx.parent, ctx.invokingState);
1322
+ this.copyFrom(ctx);
1323
+ }
1324
+ // @Override
1325
+ enterRule(listener) {
1326
+ if (listener.enterBinaryLogicExpression) {
1327
+ listener.enterBinaryLogicExpression(this);
1328
+ }
1329
+ }
1330
+ // @Override
1331
+ exitRule(listener) {
1332
+ if (listener.exitBinaryLogicExpression) {
1333
+ listener.exitBinaryLogicExpression(this);
1334
+ }
1335
+ }
1336
+ // @Override
1337
+ accept(visitor) {
1338
+ if (visitor.visitBinaryLogicExpression) {
1339
+ return visitor.visitBinaryLogicExpression(this);
1340
+ }
1341
+ else {
1342
+ return visitor.visitChildren(this);
1343
+ }
1344
+ }
1345
+ }
1346
+ export class SubExpressionContext extends ExpressionContext {
1347
+ LR_BRACKET() {
1348
+ return this.getToken(CESQLParserParser.LR_BRACKET, 0);
1349
+ }
1350
+ expression() {
1351
+ return this.getRuleContext(0, ExpressionContext);
1352
+ }
1353
+ RR_BRACKET() {
1354
+ return this.getToken(CESQLParserParser.RR_BRACKET, 0);
1355
+ }
1356
+ constructor(ctx) {
1357
+ super(ctx.parent, ctx.invokingState);
1358
+ this.copyFrom(ctx);
1359
+ }
1360
+ // @Override
1361
+ enterRule(listener) {
1362
+ if (listener.enterSubExpression) {
1363
+ listener.enterSubExpression(this);
1364
+ }
1365
+ }
1366
+ // @Override
1367
+ exitRule(listener) {
1368
+ if (listener.exitSubExpression) {
1369
+ listener.exitSubExpression(this);
1370
+ }
1371
+ }
1372
+ // @Override
1373
+ accept(visitor) {
1374
+ if (visitor.visitSubExpression) {
1375
+ return visitor.visitSubExpression(this);
1376
+ }
1377
+ else {
1378
+ return visitor.visitChildren(this);
1379
+ }
1380
+ }
1381
+ }
1382
+ export class AtomExpressionContext extends ExpressionContext {
1383
+ atom() {
1384
+ return this.getRuleContext(0, AtomContext);
1385
+ }
1386
+ constructor(ctx) {
1387
+ super(ctx.parent, ctx.invokingState);
1388
+ this.copyFrom(ctx);
1389
+ }
1390
+ // @Override
1391
+ enterRule(listener) {
1392
+ if (listener.enterAtomExpression) {
1393
+ listener.enterAtomExpression(this);
1394
+ }
1395
+ }
1396
+ // @Override
1397
+ exitRule(listener) {
1398
+ if (listener.exitAtomExpression) {
1399
+ listener.exitAtomExpression(this);
1400
+ }
1401
+ }
1402
+ // @Override
1403
+ accept(visitor) {
1404
+ if (visitor.visitAtomExpression) {
1405
+ return visitor.visitAtomExpression(this);
1406
+ }
1407
+ else {
1408
+ return visitor.visitChildren(this);
1409
+ }
1410
+ }
1411
+ }
1412
+ export class AtomContext extends ParserRuleContext {
1413
+ constructor(parent, invokingState) {
1414
+ super(parent, invokingState);
1415
+ }
1416
+ // @Override
1417
+ get ruleIndex() {
1418
+ return CESQLParserParser.RULE_atom;
1419
+ }
1420
+ copyFrom(ctx) {
1421
+ super.copyFrom(ctx);
1422
+ }
1423
+ }
1424
+ export class BooleanAtomContext extends AtomContext {
1425
+ booleanLiteral() {
1426
+ return this.getRuleContext(0, BooleanLiteralContext);
1427
+ }
1428
+ constructor(ctx) {
1429
+ super(ctx.parent, ctx.invokingState);
1430
+ this.copyFrom(ctx);
1431
+ }
1432
+ // @Override
1433
+ enterRule(listener) {
1434
+ if (listener.enterBooleanAtom) {
1435
+ listener.enterBooleanAtom(this);
1436
+ }
1437
+ }
1438
+ // @Override
1439
+ exitRule(listener) {
1440
+ if (listener.exitBooleanAtom) {
1441
+ listener.exitBooleanAtom(this);
1442
+ }
1443
+ }
1444
+ // @Override
1445
+ accept(visitor) {
1446
+ if (visitor.visitBooleanAtom) {
1447
+ return visitor.visitBooleanAtom(this);
1448
+ }
1449
+ else {
1450
+ return visitor.visitChildren(this);
1451
+ }
1452
+ }
1453
+ }
1454
+ export class IntegerAtomContext extends AtomContext {
1455
+ integerLiteral() {
1456
+ return this.getRuleContext(0, IntegerLiteralContext);
1457
+ }
1458
+ constructor(ctx) {
1459
+ super(ctx.parent, ctx.invokingState);
1460
+ this.copyFrom(ctx);
1461
+ }
1462
+ // @Override
1463
+ enterRule(listener) {
1464
+ if (listener.enterIntegerAtom) {
1465
+ listener.enterIntegerAtom(this);
1466
+ }
1467
+ }
1468
+ // @Override
1469
+ exitRule(listener) {
1470
+ if (listener.exitIntegerAtom) {
1471
+ listener.exitIntegerAtom(this);
1472
+ }
1473
+ }
1474
+ // @Override
1475
+ accept(visitor) {
1476
+ if (visitor.visitIntegerAtom) {
1477
+ return visitor.visitIntegerAtom(this);
1478
+ }
1479
+ else {
1480
+ return visitor.visitChildren(this);
1481
+ }
1482
+ }
1483
+ }
1484
+ export class StringAtomContext extends AtomContext {
1485
+ stringLiteral() {
1486
+ return this.getRuleContext(0, StringLiteralContext);
1487
+ }
1488
+ constructor(ctx) {
1489
+ super(ctx.parent, ctx.invokingState);
1490
+ this.copyFrom(ctx);
1491
+ }
1492
+ // @Override
1493
+ enterRule(listener) {
1494
+ if (listener.enterStringAtom) {
1495
+ listener.enterStringAtom(this);
1496
+ }
1497
+ }
1498
+ // @Override
1499
+ exitRule(listener) {
1500
+ if (listener.exitStringAtom) {
1501
+ listener.exitStringAtom(this);
1502
+ }
1503
+ }
1504
+ // @Override
1505
+ accept(visitor) {
1506
+ if (visitor.visitStringAtom) {
1507
+ return visitor.visitStringAtom(this);
1508
+ }
1509
+ else {
1510
+ return visitor.visitChildren(this);
1511
+ }
1512
+ }
1513
+ }
1514
+ export class IdentifierAtomContext extends AtomContext {
1515
+ identifier() {
1516
+ return this.getRuleContext(0, IdentifierContext);
1517
+ }
1518
+ constructor(ctx) {
1519
+ super(ctx.parent, ctx.invokingState);
1520
+ this.copyFrom(ctx);
1521
+ }
1522
+ // @Override
1523
+ enterRule(listener) {
1524
+ if (listener.enterIdentifierAtom) {
1525
+ listener.enterIdentifierAtom(this);
1526
+ }
1527
+ }
1528
+ // @Override
1529
+ exitRule(listener) {
1530
+ if (listener.exitIdentifierAtom) {
1531
+ listener.exitIdentifierAtom(this);
1532
+ }
1533
+ }
1534
+ // @Override
1535
+ accept(visitor) {
1536
+ if (visitor.visitIdentifierAtom) {
1537
+ return visitor.visitIdentifierAtom(this);
1538
+ }
1539
+ else {
1540
+ return visitor.visitChildren(this);
1541
+ }
1542
+ }
1543
+ }
1544
+ export class IdentifierContext extends ParserRuleContext {
1545
+ IDENTIFIER() {
1546
+ return this.tryGetToken(CESQLParserParser.IDENTIFIER, 0);
1547
+ }
1548
+ IDENTIFIER_WITH_NUMBER() {
1549
+ return this.tryGetToken(CESQLParserParser.IDENTIFIER_WITH_NUMBER, 0);
1550
+ }
1551
+ constructor(parent, invokingState) {
1552
+ super(parent, invokingState);
1553
+ }
1554
+ // @Override
1555
+ get ruleIndex() {
1556
+ return CESQLParserParser.RULE_identifier;
1557
+ }
1558
+ // @Override
1559
+ enterRule(listener) {
1560
+ if (listener.enterIdentifier) {
1561
+ listener.enterIdentifier(this);
1562
+ }
1563
+ }
1564
+ // @Override
1565
+ exitRule(listener) {
1566
+ if (listener.exitIdentifier) {
1567
+ listener.exitIdentifier(this);
1568
+ }
1569
+ }
1570
+ // @Override
1571
+ accept(visitor) {
1572
+ if (visitor.visitIdentifier) {
1573
+ return visitor.visitIdentifier(this);
1574
+ }
1575
+ else {
1576
+ return visitor.visitChildren(this);
1577
+ }
1578
+ }
1579
+ }
1580
+ export class FunctionIdentifierContext extends ParserRuleContext {
1581
+ IDENTIFIER() {
1582
+ return this.tryGetToken(CESQLParserParser.IDENTIFIER, 0);
1583
+ }
1584
+ FUNCTION_IDENTIFIER_WITH_UNDERSCORE() {
1585
+ return this.tryGetToken(CESQLParserParser.FUNCTION_IDENTIFIER_WITH_UNDERSCORE, 0);
1586
+ }
1587
+ constructor(parent, invokingState) {
1588
+ super(parent, invokingState);
1589
+ }
1590
+ // @Override
1591
+ get ruleIndex() {
1592
+ return CESQLParserParser.RULE_functionIdentifier;
1593
+ }
1594
+ // @Override
1595
+ enterRule(listener) {
1596
+ if (listener.enterFunctionIdentifier) {
1597
+ listener.enterFunctionIdentifier(this);
1598
+ }
1599
+ }
1600
+ // @Override
1601
+ exitRule(listener) {
1602
+ if (listener.exitFunctionIdentifier) {
1603
+ listener.exitFunctionIdentifier(this);
1604
+ }
1605
+ }
1606
+ // @Override
1607
+ accept(visitor) {
1608
+ if (visitor.visitFunctionIdentifier) {
1609
+ return visitor.visitFunctionIdentifier(this);
1610
+ }
1611
+ else {
1612
+ return visitor.visitChildren(this);
1613
+ }
1614
+ }
1615
+ }
1616
+ export class BooleanLiteralContext extends ParserRuleContext {
1617
+ TRUE() {
1618
+ return this.tryGetToken(CESQLParserParser.TRUE, 0);
1619
+ }
1620
+ FALSE() {
1621
+ return this.tryGetToken(CESQLParserParser.FALSE, 0);
1622
+ }
1623
+ constructor(parent, invokingState) {
1624
+ super(parent, invokingState);
1625
+ }
1626
+ // @Override
1627
+ get ruleIndex() {
1628
+ return CESQLParserParser.RULE_booleanLiteral;
1629
+ }
1630
+ // @Override
1631
+ enterRule(listener) {
1632
+ if (listener.enterBooleanLiteral) {
1633
+ listener.enterBooleanLiteral(this);
1634
+ }
1635
+ }
1636
+ // @Override
1637
+ exitRule(listener) {
1638
+ if (listener.exitBooleanLiteral) {
1639
+ listener.exitBooleanLiteral(this);
1640
+ }
1641
+ }
1642
+ // @Override
1643
+ accept(visitor) {
1644
+ if (visitor.visitBooleanLiteral) {
1645
+ return visitor.visitBooleanLiteral(this);
1646
+ }
1647
+ else {
1648
+ return visitor.visitChildren(this);
1649
+ }
1650
+ }
1651
+ }
1652
+ export class StringLiteralContext extends ParserRuleContext {
1653
+ DQUOTED_STRING_LITERAL() {
1654
+ return this.tryGetToken(CESQLParserParser.DQUOTED_STRING_LITERAL, 0);
1655
+ }
1656
+ SQUOTED_STRING_LITERAL() {
1657
+ return this.tryGetToken(CESQLParserParser.SQUOTED_STRING_LITERAL, 0);
1658
+ }
1659
+ constructor(parent, invokingState) {
1660
+ super(parent, invokingState);
1661
+ }
1662
+ // @Override
1663
+ get ruleIndex() {
1664
+ return CESQLParserParser.RULE_stringLiteral;
1665
+ }
1666
+ // @Override
1667
+ enterRule(listener) {
1668
+ if (listener.enterStringLiteral) {
1669
+ listener.enterStringLiteral(this);
1670
+ }
1671
+ }
1672
+ // @Override
1673
+ exitRule(listener) {
1674
+ if (listener.exitStringLiteral) {
1675
+ listener.exitStringLiteral(this);
1676
+ }
1677
+ }
1678
+ // @Override
1679
+ accept(visitor) {
1680
+ if (visitor.visitStringLiteral) {
1681
+ return visitor.visitStringLiteral(this);
1682
+ }
1683
+ else {
1684
+ return visitor.visitChildren(this);
1685
+ }
1686
+ }
1687
+ }
1688
+ export class IntegerLiteralContext extends ParserRuleContext {
1689
+ INTEGER_LITERAL() {
1690
+ return this.getToken(CESQLParserParser.INTEGER_LITERAL, 0);
1691
+ }
1692
+ constructor(parent, invokingState) {
1693
+ super(parent, invokingState);
1694
+ }
1695
+ // @Override
1696
+ get ruleIndex() {
1697
+ return CESQLParserParser.RULE_integerLiteral;
1698
+ }
1699
+ // @Override
1700
+ enterRule(listener) {
1701
+ if (listener.enterIntegerLiteral) {
1702
+ listener.enterIntegerLiteral(this);
1703
+ }
1704
+ }
1705
+ // @Override
1706
+ exitRule(listener) {
1707
+ if (listener.exitIntegerLiteral) {
1708
+ listener.exitIntegerLiteral(this);
1709
+ }
1710
+ }
1711
+ // @Override
1712
+ accept(visitor) {
1713
+ if (visitor.visitIntegerLiteral) {
1714
+ return visitor.visitIntegerLiteral(this);
1715
+ }
1716
+ else {
1717
+ return visitor.visitChildren(this);
1718
+ }
1719
+ }
1720
+ }
1721
+ export class FunctionParameterListContext extends ParserRuleContext {
1722
+ LR_BRACKET() {
1723
+ return this.getToken(CESQLParserParser.LR_BRACKET, 0);
1724
+ }
1725
+ RR_BRACKET() {
1726
+ return this.getToken(CESQLParserParser.RR_BRACKET, 0);
1727
+ }
1728
+ expression(i) {
1729
+ if (i === undefined) {
1730
+ return this.getRuleContexts(ExpressionContext);
1731
+ }
1732
+ else {
1733
+ return this.getRuleContext(i, ExpressionContext);
1734
+ }
1735
+ }
1736
+ COMMA(i) {
1737
+ if (i === undefined) {
1738
+ return this.getTokens(CESQLParserParser.COMMA);
1739
+ }
1740
+ else {
1741
+ return this.getToken(CESQLParserParser.COMMA, i);
1742
+ }
1743
+ }
1744
+ constructor(parent, invokingState) {
1745
+ super(parent, invokingState);
1746
+ }
1747
+ // @Override
1748
+ get ruleIndex() {
1749
+ return CESQLParserParser.RULE_functionParameterList;
1750
+ }
1751
+ // @Override
1752
+ enterRule(listener) {
1753
+ if (listener.enterFunctionParameterList) {
1754
+ listener.enterFunctionParameterList(this);
1755
+ }
1756
+ }
1757
+ // @Override
1758
+ exitRule(listener) {
1759
+ if (listener.exitFunctionParameterList) {
1760
+ listener.exitFunctionParameterList(this);
1761
+ }
1762
+ }
1763
+ // @Override
1764
+ accept(visitor) {
1765
+ if (visitor.visitFunctionParameterList) {
1766
+ return visitor.visitFunctionParameterList(this);
1767
+ }
1768
+ else {
1769
+ return visitor.visitChildren(this);
1770
+ }
1771
+ }
1772
+ }
1773
+ export class SetExpressionContext extends ParserRuleContext {
1774
+ LR_BRACKET() {
1775
+ return this.getToken(CESQLParserParser.LR_BRACKET, 0);
1776
+ }
1777
+ expression(i) {
1778
+ if (i === undefined) {
1779
+ return this.getRuleContexts(ExpressionContext);
1780
+ }
1781
+ else {
1782
+ return this.getRuleContext(i, ExpressionContext);
1783
+ }
1784
+ }
1785
+ RR_BRACKET() {
1786
+ return this.getToken(CESQLParserParser.RR_BRACKET, 0);
1787
+ }
1788
+ COMMA(i) {
1789
+ if (i === undefined) {
1790
+ return this.getTokens(CESQLParserParser.COMMA);
1791
+ }
1792
+ else {
1793
+ return this.getToken(CESQLParserParser.COMMA, i);
1794
+ }
1795
+ }
1796
+ constructor(parent, invokingState) {
1797
+ super(parent, invokingState);
1798
+ }
1799
+ // @Override
1800
+ get ruleIndex() {
1801
+ return CESQLParserParser.RULE_setExpression;
1802
+ }
1803
+ // @Override
1804
+ enterRule(listener) {
1805
+ if (listener.enterSetExpression) {
1806
+ listener.enterSetExpression(this);
1807
+ }
1808
+ }
1809
+ // @Override
1810
+ exitRule(listener) {
1811
+ if (listener.exitSetExpression) {
1812
+ listener.exitSetExpression(this);
1813
+ }
1814
+ }
1815
+ // @Override
1816
+ accept(visitor) {
1817
+ if (visitor.visitSetExpression) {
1818
+ return visitor.visitSetExpression(this);
1819
+ }
1820
+ else {
1821
+ return visitor.visitChildren(this);
1822
+ }
1823
+ }
1824
+ }
1825
+ //# sourceMappingURL=CESQLParserParser.js.map