@opra/common 0.17.0 → 0.17.2

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 (64) hide show
  1. package/browser.js +12220 -0
  2. package/cjs/document/constants.js +1 -1
  3. package/cjs/document/data-type/complex-type.js +1 -1
  4. package/cjs/document/resource/collection.js +13 -7
  5. package/cjs/filter/antlr/OpraFilterLexer.js +209 -238
  6. package/cjs/filter/antlr/OpraFilterListener.js +1 -1
  7. package/cjs/filter/antlr/OpraFilterParser.js +795 -1482
  8. package/cjs/filter/antlr/OpraFilterVisitor.js +1 -1
  9. package/cjs/filter/ast/expressions/logical-expression.js +4 -0
  10. package/cjs/filter/ast/expressions/{parentheses-expression.js → negative-expression.js} +3 -3
  11. package/cjs/filter/ast/expressions/parenthesized-expression.js +14 -0
  12. package/cjs/filter/ast/index.js +2 -1
  13. package/cjs/filter/build.js +1 -1
  14. package/cjs/filter/filter-tree-visitor.js +44 -66
  15. package/cjs/filter/index.js +2 -5
  16. package/cjs/filter/opra-filter.ns.js +8 -0
  17. package/cjs/filter/parse.js +5 -6
  18. package/cjs/http/codecs/filter-codec.js +2 -2
  19. package/cjs/http/http-message.host.js +6 -6
  20. package/cjs/http/http-request-message.js +3 -3
  21. package/cjs/http/http-response-message.js +2 -2
  22. package/cjs/http/multipart/batch-multipart.js +1 -1
  23. package/cjs/i18n/i18n.js +1 -1
  24. package/esm/document/constants.js +1 -1
  25. package/esm/document/data-type/complex-type.js +1 -1
  26. package/esm/document/resource/collection.js +14 -8
  27. package/esm/filter/antlr/OpraFilterLexer.js +209 -238
  28. package/esm/filter/antlr/OpraFilterListener.js +1 -1
  29. package/esm/filter/antlr/OpraFilterParser.js +775 -1448
  30. package/esm/filter/antlr/OpraFilterVisitor.js +1 -1
  31. package/esm/filter/ast/expressions/logical-expression.js +4 -0
  32. package/esm/filter/ast/expressions/{parentheses-expression.js → negative-expression.js} +1 -1
  33. package/esm/filter/ast/expressions/parenthesized-expression.js +10 -0
  34. package/esm/filter/ast/index.js +2 -1
  35. package/esm/filter/build.js +2 -2
  36. package/esm/filter/filter-tree-visitor.js +46 -68
  37. package/esm/filter/index.js +1 -5
  38. package/esm/filter/opra-filter.ns.js +5 -0
  39. package/esm/filter/parse.js +3 -4
  40. package/esm/http/codecs/filter-codec.js +2 -2
  41. package/esm/http/http-message.host.js +1 -1
  42. package/esm/http/http-request-message.js +1 -1
  43. package/esm/http/http-response-message.js +1 -1
  44. package/esm/http/multipart/batch-multipart.js +1 -1
  45. package/esm/i18n/i18n.js +1 -1
  46. package/package.json +29 -17
  47. package/types/document/resource/collection.d.ts +2 -2
  48. package/types/filter/antlr/OpraFilterLexer.d.ts +9 -22
  49. package/types/filter/antlr/OpraFilterListener.d.ts +89 -217
  50. package/types/filter/antlr/OpraFilterParser.d.ts +91 -206
  51. package/types/filter/antlr/OpraFilterVisitor.d.ts +49 -124
  52. package/types/filter/ast/expressions/{parentheses-expression.d.ts → negative-expression.d.ts} +1 -1
  53. package/types/filter/ast/expressions/parenthesized-expression.d.ts +6 -0
  54. package/types/filter/ast/index.d.ts +2 -1
  55. package/types/filter/build.d.ts +2 -2
  56. package/types/filter/filter-tree-visitor.d.ts +10 -11
  57. package/types/filter/index.d.ts +1 -5
  58. package/types/filter/opra-filter.ns.d.ts +5 -0
  59. package/types/filter/parse.d.ts +1 -1
  60. package/types/http/http-message.host.d.ts +1 -1
  61. package/types/i18n/i18n.d.ts +2 -2
  62. package/types/i18n/translate.d.ts +1 -1
  63. package/types/schema/data-type/complex-type.interface.d.ts +1 -1
  64. package/types/schema/resource/endpoint.interface.d.ts +2 -2
@@ -1,5 +1,5 @@
1
1
  import { ParseTreeListener } from "@browsery/antlr4";
2
- import { ArithmeticExpressionContext, ArrayExpressionContext, ArthOpContext, BooleanContext, BooleanLiteralContext, ComparisonExpressionContext, CompOpContext, DateLiteralContext, DateTimeLiteralContext, DateTimePrecisionContext, ExternalConstantContext, ExternalConstantTermContext, FunctionContext, IdentifierContext, InfinityContext, InfinityLiteralContext, InvocableContext, LiteralTermContext, LogicalExpressionContext, LogOpContext, MemberIndexContext, MemberInvocationContext, NullContext, NullLiteralContext, NumberIndexContext, NumberLiteralContext, ParamListContext, ParenthesizedExpressionContext, PluralDateTimePrecisionContext, PolarityExpressionContext, PolarOpContext, QualifiedIdentifierContext, QualifiedIdentifierTermContext, RootContext, StringLiteralContext, TermExpressionContext, TimeLiteralContext, UnitContext } from "./OpraFilterParser.js";
2
+ import { ArithmeticOperatorContext, ArrayValueContext, BooleanContext, BooleanLiteralContext, ComparisonExpressionContext, ComparisonLeftContext, ComparisonOperatorContext, ComparisonRightContext, DateLiteralContext, DateTimeLiteralContext, ExternalConstantContext, IdentifierContext, InfinityContext, InfinityLiteralContext, LogicalExpressionContext, LogicalOperatorContext, NegativeExpressionContext, NullContext, NullLiteralContext, NumberLiteralContext, ParenthesizedExpressionContext, ParenthesizedItemContext, PolarityOperatorContext, QualifiedIdentifierContext, RootContext, StringLiteralContext, TimeLiteralContext } from "./OpraFilterParser.js";
3
3
  /**
4
4
  * This interface defines a complete listener for a parse tree produced by
5
5
  * `OpraFilterParser`.
@@ -28,29 +28,17 @@ export default class OpraFilterListener extends ParseTreeListener {
28
28
  */
29
29
  exitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => void;
30
30
  /**
31
- * Enter a parse tree produced by the `arrayExpression`
31
+ * Enter a parse tree produced by the `negativeExpression`
32
32
  * labeled alternative in `OpraFilterParser.expression`.
33
33
  * @param ctx the parse tree
34
34
  */
35
- enterArrayExpression?: (ctx: ArrayExpressionContext) => void;
35
+ enterNegativeExpression?: (ctx: NegativeExpressionContext) => void;
36
36
  /**
37
- * Exit a parse tree produced by the `arrayExpression`
37
+ * Exit a parse tree produced by the `negativeExpression`
38
38
  * labeled alternative in `OpraFilterParser.expression`.
39
39
  * @param ctx the parse tree
40
40
  */
41
- exitArrayExpression?: (ctx: ArrayExpressionContext) => void;
42
- /**
43
- * Enter a parse tree produced by the `polarityExpression`
44
- * labeled alternative in `OpraFilterParser.expression`.
45
- * @param ctx the parse tree
46
- */
47
- enterPolarityExpression?: (ctx: PolarityExpressionContext) => void;
48
- /**
49
- * Exit a parse tree produced by the `polarityExpression`
50
- * labeled alternative in `OpraFilterParser.expression`.
51
- * @param ctx the parse tree
52
- */
53
- exitPolarityExpression?: (ctx: PolarityExpressionContext) => void;
41
+ exitNegativeExpression?: (ctx: NegativeExpressionContext) => void;
54
42
  /**
55
43
  * Enter a parse tree produced by the `comparisonExpression`
56
44
  * labeled alternative in `OpraFilterParser.expression`.
@@ -63,18 +51,6 @@ export default class OpraFilterListener extends ParseTreeListener {
63
51
  * @param ctx the parse tree
64
52
  */
65
53
  exitComparisonExpression?: (ctx: ComparisonExpressionContext) => void;
66
- /**
67
- * Enter a parse tree produced by the `arithmeticExpression`
68
- * labeled alternative in `OpraFilterParser.expression`.
69
- * @param ctx the parse tree
70
- */
71
- enterArithmeticExpression?: (ctx: ArithmeticExpressionContext) => void;
72
- /**
73
- * Exit a parse tree produced by the `arithmeticExpression`
74
- * labeled alternative in `OpraFilterParser.expression`.
75
- * @param ctx the parse tree
76
- */
77
- exitArithmeticExpression?: (ctx: ArithmeticExpressionContext) => void;
78
54
  /**
79
55
  * Enter a parse tree produced by the `logicalExpression`
80
56
  * labeled alternative in `OpraFilterParser.expression`.
@@ -88,315 +64,171 @@ export default class OpraFilterListener extends ParseTreeListener {
88
64
  */
89
65
  exitLogicalExpression?: (ctx: LogicalExpressionContext) => void;
90
66
  /**
91
- * Enter a parse tree produced by the `termExpression`
92
- * labeled alternative in `OpraFilterParser.expression`.
93
- * @param ctx the parse tree
94
- */
95
- enterTermExpression?: (ctx: TermExpressionContext) => void;
96
- /**
97
- * Exit a parse tree produced by the `termExpression`
98
- * labeled alternative in `OpraFilterParser.expression`.
99
- * @param ctx the parse tree
100
- */
101
- exitTermExpression?: (ctx: TermExpressionContext) => void;
102
- /**
103
- * Enter a parse tree produced by the `literalTerm`
104
- * labeled alternative in `OpraFilterParser.term`.
105
- * @param ctx the parse tree
106
- */
107
- enterLiteralTerm?: (ctx: LiteralTermContext) => void;
108
- /**
109
- * Exit a parse tree produced by the `literalTerm`
110
- * labeled alternative in `OpraFilterParser.term`.
111
- * @param ctx the parse tree
112
- */
113
- exitLiteralTerm?: (ctx: LiteralTermContext) => void;
114
- /**
115
- * Enter a parse tree produced by the `qualifiedIdentifierTerm`
116
- * labeled alternative in `OpraFilterParser.term`.
117
- * @param ctx the parse tree
118
- */
119
- enterQualifiedIdentifierTerm?: (ctx: QualifiedIdentifierTermContext) => void;
120
- /**
121
- * Exit a parse tree produced by the `qualifiedIdentifierTerm`
122
- * labeled alternative in `OpraFilterParser.term`.
123
- * @param ctx the parse tree
124
- */
125
- exitQualifiedIdentifierTerm?: (ctx: QualifiedIdentifierTermContext) => void;
126
- /**
127
- * Enter a parse tree produced by the `externalConstantTerm`
128
- * labeled alternative in `OpraFilterParser.term`.
129
- * @param ctx the parse tree
130
- */
131
- enterExternalConstantTerm?: (ctx: ExternalConstantTermContext) => void;
132
- /**
133
- * Exit a parse tree produced by the `externalConstantTerm`
134
- * labeled alternative in `OpraFilterParser.term`.
135
- * @param ctx the parse tree
136
- */
137
- exitExternalConstantTerm?: (ctx: ExternalConstantTermContext) => void;
138
- /**
139
- * Enter a parse tree produced by `OpraFilterParser.invocable`.
140
- * @param ctx the parse tree
141
- */
142
- enterInvocable?: (ctx: InvocableContext) => void;
143
- /**
144
- * Exit a parse tree produced by `OpraFilterParser.invocable`.
145
- * @param ctx the parse tree
146
- */
147
- exitInvocable?: (ctx: InvocableContext) => void;
148
- /**
149
- * Enter a parse tree produced by the `memberInvocation`
150
- * labeled alternative in `OpraFilterParser.invocation`.
151
- * @param ctx the parse tree
152
- */
153
- enterMemberInvocation?: (ctx: MemberInvocationContext) => void;
154
- /**
155
- * Exit a parse tree produced by the `memberInvocation`
156
- * labeled alternative in `OpraFilterParser.invocation`.
157
- * @param ctx the parse tree
158
- */
159
- exitMemberInvocation?: (ctx: MemberInvocationContext) => void;
160
- /**
161
- * Enter a parse tree produced by the `memberIndex`
162
- * labeled alternative in `OpraFilterParser.indexer`.
163
- * @param ctx the parse tree
164
- */
165
- enterMemberIndex?: (ctx: MemberIndexContext) => void;
166
- /**
167
- * Exit a parse tree produced by the `memberIndex`
168
- * labeled alternative in `OpraFilterParser.indexer`.
169
- * @param ctx the parse tree
170
- */
171
- exitMemberIndex?: (ctx: MemberIndexContext) => void;
172
- /**
173
- * Enter a parse tree produced by the `numberIndex`
174
- * labeled alternative in `OpraFilterParser.indexer`.
175
- * @param ctx the parse tree
176
- */
177
- enterNumberIndex?: (ctx: NumberIndexContext) => void;
178
- /**
179
- * Exit a parse tree produced by the `numberIndex`
180
- * labeled alternative in `OpraFilterParser.indexer`.
181
- * @param ctx the parse tree
182
- */
183
- exitNumberIndex?: (ctx: NumberIndexContext) => void;
184
- /**
185
- * Enter a parse tree produced by `OpraFilterParser.function`.
186
- * @param ctx the parse tree
187
- */
188
- enterFunction?: (ctx: FunctionContext) => void;
189
- /**
190
- * Exit a parse tree produced by `OpraFilterParser.function`.
191
- * @param ctx the parse tree
192
- */
193
- exitFunction?: (ctx: FunctionContext) => void;
194
- /**
195
- * Enter a parse tree produced by `OpraFilterParser.paramList`.
67
+ * Enter a parse tree produced by `OpraFilterParser.comparisonLeft`.
196
68
  * @param ctx the parse tree
197
69
  */
198
- enterParamList?: (ctx: ParamListContext) => void;
70
+ enterComparisonLeft?: (ctx: ComparisonLeftContext) => void;
199
71
  /**
200
- * Exit a parse tree produced by `OpraFilterParser.paramList`.
72
+ * Exit a parse tree produced by `OpraFilterParser.comparisonLeft`.
201
73
  * @param ctx the parse tree
202
74
  */
203
- exitParamList?: (ctx: ParamListContext) => void;
75
+ exitComparisonLeft?: (ctx: ComparisonLeftContext) => void;
204
76
  /**
205
- * Enter a parse tree produced by `OpraFilterParser.unit`.
77
+ * Enter a parse tree produced by `OpraFilterParser.comparisonRight`.
206
78
  * @param ctx the parse tree
207
79
  */
208
- enterUnit?: (ctx: UnitContext) => void;
80
+ enterComparisonRight?: (ctx: ComparisonRightContext) => void;
209
81
  /**
210
- * Exit a parse tree produced by `OpraFilterParser.unit`.
82
+ * Exit a parse tree produced by `OpraFilterParser.comparisonRight`.
211
83
  * @param ctx the parse tree
212
84
  */
213
- exitUnit?: (ctx: UnitContext) => void;
85
+ exitComparisonRight?: (ctx: ComparisonRightContext) => void;
214
86
  /**
215
- * Enter a parse tree produced by `OpraFilterParser.dateTimePrecision`.
87
+ * Enter a parse tree produced by `OpraFilterParser.parenthesizedItem`.
216
88
  * @param ctx the parse tree
217
89
  */
218
- enterDateTimePrecision?: (ctx: DateTimePrecisionContext) => void;
90
+ enterParenthesizedItem?: (ctx: ParenthesizedItemContext) => void;
219
91
  /**
220
- * Exit a parse tree produced by `OpraFilterParser.dateTimePrecision`.
92
+ * Exit a parse tree produced by `OpraFilterParser.parenthesizedItem`.
221
93
  * @param ctx the parse tree
222
94
  */
223
- exitDateTimePrecision?: (ctx: DateTimePrecisionContext) => void;
224
- /**
225
- * Enter a parse tree produced by `OpraFilterParser.pluralDateTimePrecision`.
226
- * @param ctx the parse tree
227
- */
228
- enterPluralDateTimePrecision?: (ctx: PluralDateTimePrecisionContext) => void;
229
- /**
230
- * Exit a parse tree produced by `OpraFilterParser.pluralDateTimePrecision`.
231
- * @param ctx the parse tree
232
- */
233
- exitPluralDateTimePrecision?: (ctx: PluralDateTimePrecisionContext) => void;
234
- /**
235
- * Enter a parse tree produced by `OpraFilterParser.qualifiedIdentifier`.
236
- * @param ctx the parse tree
237
- */
238
- enterQualifiedIdentifier?: (ctx: QualifiedIdentifierContext) => void;
239
- /**
240
- * Exit a parse tree produced by `OpraFilterParser.qualifiedIdentifier`.
241
- * @param ctx the parse tree
242
- */
243
- exitQualifiedIdentifier?: (ctx: QualifiedIdentifierContext) => void;
244
- /**
245
- * Enter a parse tree produced by `OpraFilterParser.externalConstant`.
246
- * @param ctx the parse tree
247
- */
248
- enterExternalConstant?: (ctx: ExternalConstantContext) => void;
249
- /**
250
- * Exit a parse tree produced by `OpraFilterParser.externalConstant`.
251
- * @param ctx the parse tree
252
- */
253
- exitExternalConstant?: (ctx: ExternalConstantContext) => void;
254
- /**
255
- * Enter a parse tree produced by `OpraFilterParser.identifier`.
256
- * @param ctx the parse tree
257
- */
258
- enterIdentifier?: (ctx: IdentifierContext) => void;
259
- /**
260
- * Exit a parse tree produced by `OpraFilterParser.identifier`.
261
- * @param ctx the parse tree
262
- */
263
- exitIdentifier?: (ctx: IdentifierContext) => void;
95
+ exitParenthesizedItem?: (ctx: ParenthesizedItemContext) => void;
264
96
  /**
265
97
  * Enter a parse tree produced by the `numberLiteral`
266
- * labeled alternative in `OpraFilterParser.literal`.
98
+ * labeled alternative in `OpraFilterParser.value`.
267
99
  * @param ctx the parse tree
268
100
  */
269
101
  enterNumberLiteral?: (ctx: NumberLiteralContext) => void;
270
102
  /**
271
103
  * Exit a parse tree produced by the `numberLiteral`
272
- * labeled alternative in `OpraFilterParser.literal`.
104
+ * labeled alternative in `OpraFilterParser.value`.
273
105
  * @param ctx the parse tree
274
106
  */
275
107
  exitNumberLiteral?: (ctx: NumberLiteralContext) => void;
276
108
  /**
277
109
  * Enter a parse tree produced by the `infinityLiteral`
278
- * labeled alternative in `OpraFilterParser.literal`.
110
+ * labeled alternative in `OpraFilterParser.value`.
279
111
  * @param ctx the parse tree
280
112
  */
281
113
  enterInfinityLiteral?: (ctx: InfinityLiteralContext) => void;
282
114
  /**
283
115
  * Exit a parse tree produced by the `infinityLiteral`
284
- * labeled alternative in `OpraFilterParser.literal`.
116
+ * labeled alternative in `OpraFilterParser.value`.
285
117
  * @param ctx the parse tree
286
118
  */
287
119
  exitInfinityLiteral?: (ctx: InfinityLiteralContext) => void;
288
120
  /**
289
121
  * Enter a parse tree produced by the `booleanLiteral`
290
- * labeled alternative in `OpraFilterParser.literal`.
122
+ * labeled alternative in `OpraFilterParser.value`.
291
123
  * @param ctx the parse tree
292
124
  */
293
125
  enterBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
294
126
  /**
295
127
  * Exit a parse tree produced by the `booleanLiteral`
296
- * labeled alternative in `OpraFilterParser.literal`.
128
+ * labeled alternative in `OpraFilterParser.value`.
297
129
  * @param ctx the parse tree
298
130
  */
299
131
  exitBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
300
132
  /**
301
133
  * Enter a parse tree produced by the `nullLiteral`
302
- * labeled alternative in `OpraFilterParser.literal`.
134
+ * labeled alternative in `OpraFilterParser.value`.
303
135
  * @param ctx the parse tree
304
136
  */
305
137
  enterNullLiteral?: (ctx: NullLiteralContext) => void;
306
138
  /**
307
139
  * Exit a parse tree produced by the `nullLiteral`
308
- * labeled alternative in `OpraFilterParser.literal`.
140
+ * labeled alternative in `OpraFilterParser.value`.
309
141
  * @param ctx the parse tree
310
142
  */
311
143
  exitNullLiteral?: (ctx: NullLiteralContext) => void;
312
144
  /**
313
145
  * Enter a parse tree produced by the `dateLiteral`
314
- * labeled alternative in `OpraFilterParser.literal`.
146
+ * labeled alternative in `OpraFilterParser.value`.
315
147
  * @param ctx the parse tree
316
148
  */
317
149
  enterDateLiteral?: (ctx: DateLiteralContext) => void;
318
150
  /**
319
151
  * Exit a parse tree produced by the `dateLiteral`
320
- * labeled alternative in `OpraFilterParser.literal`.
152
+ * labeled alternative in `OpraFilterParser.value`.
321
153
  * @param ctx the parse tree
322
154
  */
323
155
  exitDateLiteral?: (ctx: DateLiteralContext) => void;
324
156
  /**
325
157
  * Enter a parse tree produced by the `dateTimeLiteral`
326
- * labeled alternative in `OpraFilterParser.literal`.
158
+ * labeled alternative in `OpraFilterParser.value`.
327
159
  * @param ctx the parse tree
328
160
  */
329
161
  enterDateTimeLiteral?: (ctx: DateTimeLiteralContext) => void;
330
162
  /**
331
163
  * Exit a parse tree produced by the `dateTimeLiteral`
332
- * labeled alternative in `OpraFilterParser.literal`.
164
+ * labeled alternative in `OpraFilterParser.value`.
333
165
  * @param ctx the parse tree
334
166
  */
335
167
  exitDateTimeLiteral?: (ctx: DateTimeLiteralContext) => void;
336
168
  /**
337
169
  * Enter a parse tree produced by the `timeLiteral`
338
- * labeled alternative in `OpraFilterParser.literal`.
170
+ * labeled alternative in `OpraFilterParser.value`.
339
171
  * @param ctx the parse tree
340
172
  */
341
173
  enterTimeLiteral?: (ctx: TimeLiteralContext) => void;
342
174
  /**
343
175
  * Exit a parse tree produced by the `timeLiteral`
344
- * labeled alternative in `OpraFilterParser.literal`.
176
+ * labeled alternative in `OpraFilterParser.value`.
345
177
  * @param ctx the parse tree
346
178
  */
347
179
  exitTimeLiteral?: (ctx: TimeLiteralContext) => void;
348
180
  /**
349
181
  * Enter a parse tree produced by the `stringLiteral`
350
- * labeled alternative in `OpraFilterParser.literal`.
182
+ * labeled alternative in `OpraFilterParser.value`.
351
183
  * @param ctx the parse tree
352
184
  */
353
185
  enterStringLiteral?: (ctx: StringLiteralContext) => void;
354
186
  /**
355
187
  * Exit a parse tree produced by the `stringLiteral`
356
- * labeled alternative in `OpraFilterParser.literal`.
188
+ * labeled alternative in `OpraFilterParser.value`.
357
189
  * @param ctx the parse tree
358
190
  */
359
191
  exitStringLiteral?: (ctx: StringLiteralContext) => void;
360
192
  /**
361
- * Enter a parse tree produced by `OpraFilterParser.compOp`.
193
+ * Enter a parse tree produced by `OpraFilterParser.qualifiedIdentifier`.
362
194
  * @param ctx the parse tree
363
195
  */
364
- enterCompOp?: (ctx: CompOpContext) => void;
196
+ enterQualifiedIdentifier?: (ctx: QualifiedIdentifierContext) => void;
365
197
  /**
366
- * Exit a parse tree produced by `OpraFilterParser.compOp`.
198
+ * Exit a parse tree produced by `OpraFilterParser.qualifiedIdentifier`.
367
199
  * @param ctx the parse tree
368
200
  */
369
- exitCompOp?: (ctx: CompOpContext) => void;
201
+ exitQualifiedIdentifier?: (ctx: QualifiedIdentifierContext) => void;
370
202
  /**
371
- * Enter a parse tree produced by `OpraFilterParser.arthOp`.
203
+ * Enter a parse tree produced by `OpraFilterParser.externalConstant`.
372
204
  * @param ctx the parse tree
373
205
  */
374
- enterArthOp?: (ctx: ArthOpContext) => void;
206
+ enterExternalConstant?: (ctx: ExternalConstantContext) => void;
375
207
  /**
376
- * Exit a parse tree produced by `OpraFilterParser.arthOp`.
208
+ * Exit a parse tree produced by `OpraFilterParser.externalConstant`.
377
209
  * @param ctx the parse tree
378
210
  */
379
- exitArthOp?: (ctx: ArthOpContext) => void;
211
+ exitExternalConstant?: (ctx: ExternalConstantContext) => void;
380
212
  /**
381
- * Enter a parse tree produced by `OpraFilterParser.polarOp`.
213
+ * Enter a parse tree produced by `OpraFilterParser.identifier`.
382
214
  * @param ctx the parse tree
383
215
  */
384
- enterPolarOp?: (ctx: PolarOpContext) => void;
216
+ enterIdentifier?: (ctx: IdentifierContext) => void;
385
217
  /**
386
- * Exit a parse tree produced by `OpraFilterParser.polarOp`.
218
+ * Exit a parse tree produced by `OpraFilterParser.identifier`.
387
219
  * @param ctx the parse tree
388
220
  */
389
- exitPolarOp?: (ctx: PolarOpContext) => void;
221
+ exitIdentifier?: (ctx: IdentifierContext) => void;
390
222
  /**
391
- * Enter a parse tree produced by `OpraFilterParser.logOp`.
223
+ * Enter a parse tree produced by `OpraFilterParser.arrayValue`.
392
224
  * @param ctx the parse tree
393
225
  */
394
- enterLogOp?: (ctx: LogOpContext) => void;
226
+ enterArrayValue?: (ctx: ArrayValueContext) => void;
395
227
  /**
396
- * Exit a parse tree produced by `OpraFilterParser.logOp`.
228
+ * Exit a parse tree produced by `OpraFilterParser.arrayValue`.
397
229
  * @param ctx the parse tree
398
230
  */
399
- exitLogOp?: (ctx: LogOpContext) => void;
231
+ exitArrayValue?: (ctx: ArrayValueContext) => void;
400
232
  /**
401
233
  * Enter a parse tree produced by `OpraFilterParser.boolean`.
402
234
  * @param ctx the parse tree
@@ -427,4 +259,44 @@ export default class OpraFilterListener extends ParseTreeListener {
427
259
  * @param ctx the parse tree
428
260
  */
429
261
  exitInfinity?: (ctx: InfinityContext) => void;
262
+ /**
263
+ * Enter a parse tree produced by `OpraFilterParser.arithmeticOperator`.
264
+ * @param ctx the parse tree
265
+ */
266
+ enterArithmeticOperator?: (ctx: ArithmeticOperatorContext) => void;
267
+ /**
268
+ * Exit a parse tree produced by `OpraFilterParser.arithmeticOperator`.
269
+ * @param ctx the parse tree
270
+ */
271
+ exitArithmeticOperator?: (ctx: ArithmeticOperatorContext) => void;
272
+ /**
273
+ * Enter a parse tree produced by `OpraFilterParser.comparisonOperator`.
274
+ * @param ctx the parse tree
275
+ */
276
+ enterComparisonOperator?: (ctx: ComparisonOperatorContext) => void;
277
+ /**
278
+ * Exit a parse tree produced by `OpraFilterParser.comparisonOperator`.
279
+ * @param ctx the parse tree
280
+ */
281
+ exitComparisonOperator?: (ctx: ComparisonOperatorContext) => void;
282
+ /**
283
+ * Enter a parse tree produced by `OpraFilterParser.logicalOperator`.
284
+ * @param ctx the parse tree
285
+ */
286
+ enterLogicalOperator?: (ctx: LogicalOperatorContext) => void;
287
+ /**
288
+ * Exit a parse tree produced by `OpraFilterParser.logicalOperator`.
289
+ * @param ctx the parse tree
290
+ */
291
+ exitLogicalOperator?: (ctx: LogicalOperatorContext) => void;
292
+ /**
293
+ * Enter a parse tree produced by `OpraFilterParser.polarityOperator`.
294
+ * @param ctx the parse tree
295
+ */
296
+ enterPolarityOperator?: (ctx: PolarityOperatorContext) => void;
297
+ /**
298
+ * Exit a parse tree produced by `OpraFilterParser.polarityOperator`.
299
+ * @param ctx the parse tree
300
+ */
301
+ exitPolarityOperator?: (ctx: PolarityOperatorContext) => void;
430
302
  }