@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.
- package/browser.js +12220 -0
- package/cjs/document/constants.js +1 -1
- package/cjs/document/data-type/complex-type.js +1 -1
- package/cjs/document/resource/collection.js +13 -7
- package/cjs/filter/antlr/OpraFilterLexer.js +209 -238
- package/cjs/filter/antlr/OpraFilterListener.js +1 -1
- package/cjs/filter/antlr/OpraFilterParser.js +795 -1482
- package/cjs/filter/antlr/OpraFilterVisitor.js +1 -1
- package/cjs/filter/ast/expressions/logical-expression.js +4 -0
- package/cjs/filter/ast/expressions/{parentheses-expression.js → negative-expression.js} +3 -3
- package/cjs/filter/ast/expressions/parenthesized-expression.js +14 -0
- package/cjs/filter/ast/index.js +2 -1
- package/cjs/filter/build.js +1 -1
- package/cjs/filter/filter-tree-visitor.js +44 -66
- package/cjs/filter/index.js +2 -5
- package/cjs/filter/opra-filter.ns.js +8 -0
- package/cjs/filter/parse.js +5 -6
- package/cjs/http/codecs/filter-codec.js +2 -2
- package/cjs/http/http-message.host.js +6 -6
- package/cjs/http/http-request-message.js +3 -3
- package/cjs/http/http-response-message.js +2 -2
- package/cjs/http/multipart/batch-multipart.js +1 -1
- package/cjs/i18n/i18n.js +1 -1
- package/esm/document/constants.js +1 -1
- package/esm/document/data-type/complex-type.js +1 -1
- package/esm/document/resource/collection.js +14 -8
- package/esm/filter/antlr/OpraFilterLexer.js +209 -238
- package/esm/filter/antlr/OpraFilterListener.js +1 -1
- package/esm/filter/antlr/OpraFilterParser.js +775 -1448
- package/esm/filter/antlr/OpraFilterVisitor.js +1 -1
- package/esm/filter/ast/expressions/logical-expression.js +4 -0
- package/esm/filter/ast/expressions/{parentheses-expression.js → negative-expression.js} +1 -1
- package/esm/filter/ast/expressions/parenthesized-expression.js +10 -0
- package/esm/filter/ast/index.js +2 -1
- package/esm/filter/build.js +2 -2
- package/esm/filter/filter-tree-visitor.js +46 -68
- package/esm/filter/index.js +1 -5
- package/esm/filter/opra-filter.ns.js +5 -0
- package/esm/filter/parse.js +3 -4
- package/esm/http/codecs/filter-codec.js +2 -2
- package/esm/http/http-message.host.js +1 -1
- package/esm/http/http-request-message.js +1 -1
- package/esm/http/http-response-message.js +1 -1
- package/esm/http/multipart/batch-multipart.js +1 -1
- package/esm/i18n/i18n.js +1 -1
- package/package.json +29 -17
- package/types/document/resource/collection.d.ts +2 -2
- package/types/filter/antlr/OpraFilterLexer.d.ts +9 -22
- package/types/filter/antlr/OpraFilterListener.d.ts +89 -217
- package/types/filter/antlr/OpraFilterParser.d.ts +91 -206
- package/types/filter/antlr/OpraFilterVisitor.d.ts +49 -124
- package/types/filter/ast/expressions/{parentheses-expression.d.ts → negative-expression.d.ts} +1 -1
- package/types/filter/ast/expressions/parenthesized-expression.d.ts +6 -0
- package/types/filter/ast/index.d.ts +2 -1
- package/types/filter/build.d.ts +2 -2
- package/types/filter/filter-tree-visitor.d.ts +10 -11
- package/types/filter/index.d.ts +1 -5
- package/types/filter/opra-filter.ns.d.ts +5 -0
- package/types/filter/parse.d.ts +1 -1
- package/types/http/http-message.host.d.ts +1 -1
- package/types/i18n/i18n.d.ts +2 -2
- package/types/i18n/translate.d.ts +1 -1
- package/types/schema/data-type/complex-type.interface.d.ts +1 -1
- package/types/schema/resource/endpoint.interface.d.ts +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ParseTreeListener } from "@browsery/antlr4";
|
|
2
|
-
import {
|
|
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 `
|
|
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
|
-
|
|
35
|
+
enterNegativeExpression?: (ctx: NegativeExpressionContext) => void;
|
|
36
36
|
/**
|
|
37
|
-
* Exit a parse tree produced by the `
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
70
|
+
enterComparisonLeft?: (ctx: ComparisonLeftContext) => void;
|
|
199
71
|
/**
|
|
200
|
-
* Exit a parse tree produced by `OpraFilterParser.
|
|
72
|
+
* Exit a parse tree produced by `OpraFilterParser.comparisonLeft`.
|
|
201
73
|
* @param ctx the parse tree
|
|
202
74
|
*/
|
|
203
|
-
|
|
75
|
+
exitComparisonLeft?: (ctx: ComparisonLeftContext) => void;
|
|
204
76
|
/**
|
|
205
|
-
* Enter a parse tree produced by `OpraFilterParser.
|
|
77
|
+
* Enter a parse tree produced by `OpraFilterParser.comparisonRight`.
|
|
206
78
|
* @param ctx the parse tree
|
|
207
79
|
*/
|
|
208
|
-
|
|
80
|
+
enterComparisonRight?: (ctx: ComparisonRightContext) => void;
|
|
209
81
|
/**
|
|
210
|
-
* Exit a parse tree produced by `OpraFilterParser.
|
|
82
|
+
* Exit a parse tree produced by `OpraFilterParser.comparisonRight`.
|
|
211
83
|
* @param ctx the parse tree
|
|
212
84
|
*/
|
|
213
|
-
|
|
85
|
+
exitComparisonRight?: (ctx: ComparisonRightContext) => void;
|
|
214
86
|
/**
|
|
215
|
-
* Enter a parse tree produced by `OpraFilterParser.
|
|
87
|
+
* Enter a parse tree produced by `OpraFilterParser.parenthesizedItem`.
|
|
216
88
|
* @param ctx the parse tree
|
|
217
89
|
*/
|
|
218
|
-
|
|
90
|
+
enterParenthesizedItem?: (ctx: ParenthesizedItemContext) => void;
|
|
219
91
|
/**
|
|
220
|
-
* Exit a parse tree produced by `OpraFilterParser.
|
|
92
|
+
* Exit a parse tree produced by `OpraFilterParser.parenthesizedItem`.
|
|
221
93
|
* @param ctx the parse tree
|
|
222
94
|
*/
|
|
223
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
193
|
+
* Enter a parse tree produced by `OpraFilterParser.qualifiedIdentifier`.
|
|
362
194
|
* @param ctx the parse tree
|
|
363
195
|
*/
|
|
364
|
-
|
|
196
|
+
enterQualifiedIdentifier?: (ctx: QualifiedIdentifierContext) => void;
|
|
365
197
|
/**
|
|
366
|
-
* Exit a parse tree produced by `OpraFilterParser.
|
|
198
|
+
* Exit a parse tree produced by `OpraFilterParser.qualifiedIdentifier`.
|
|
367
199
|
* @param ctx the parse tree
|
|
368
200
|
*/
|
|
369
|
-
|
|
201
|
+
exitQualifiedIdentifier?: (ctx: QualifiedIdentifierContext) => void;
|
|
370
202
|
/**
|
|
371
|
-
* Enter a parse tree produced by `OpraFilterParser.
|
|
203
|
+
* Enter a parse tree produced by `OpraFilterParser.externalConstant`.
|
|
372
204
|
* @param ctx the parse tree
|
|
373
205
|
*/
|
|
374
|
-
|
|
206
|
+
enterExternalConstant?: (ctx: ExternalConstantContext) => void;
|
|
375
207
|
/**
|
|
376
|
-
* Exit a parse tree produced by `OpraFilterParser.
|
|
208
|
+
* Exit a parse tree produced by `OpraFilterParser.externalConstant`.
|
|
377
209
|
* @param ctx the parse tree
|
|
378
210
|
*/
|
|
379
|
-
|
|
211
|
+
exitExternalConstant?: (ctx: ExternalConstantContext) => void;
|
|
380
212
|
/**
|
|
381
|
-
* Enter a parse tree produced by `OpraFilterParser.
|
|
213
|
+
* Enter a parse tree produced by `OpraFilterParser.identifier`.
|
|
382
214
|
* @param ctx the parse tree
|
|
383
215
|
*/
|
|
384
|
-
|
|
216
|
+
enterIdentifier?: (ctx: IdentifierContext) => void;
|
|
385
217
|
/**
|
|
386
|
-
* Exit a parse tree produced by `OpraFilterParser.
|
|
218
|
+
* Exit a parse tree produced by `OpraFilterParser.identifier`.
|
|
387
219
|
* @param ctx the parse tree
|
|
388
220
|
*/
|
|
389
|
-
|
|
221
|
+
exitIdentifier?: (ctx: IdentifierContext) => void;
|
|
390
222
|
/**
|
|
391
|
-
* Enter a parse tree produced by `OpraFilterParser.
|
|
223
|
+
* Enter a parse tree produced by `OpraFilterParser.arrayValue`.
|
|
392
224
|
* @param ctx the parse tree
|
|
393
225
|
*/
|
|
394
|
-
|
|
226
|
+
enterArrayValue?: (ctx: ArrayValueContext) => void;
|
|
395
227
|
/**
|
|
396
|
-
* Exit a parse tree produced by `OpraFilterParser.
|
|
228
|
+
* Exit a parse tree produced by `OpraFilterParser.arrayValue`.
|
|
397
229
|
* @param ctx the parse tree
|
|
398
230
|
*/
|
|
399
|
-
|
|
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
|
}
|