@webda/core 3.16.0 → 4.0.0-beta.1
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/lib/application.d.ts +9 -0
- package/lib/application.js.map +1 -1
- package/lib/core.d.ts +2 -1
- package/lib/core.js +6 -5
- package/lib/core.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/models/coremodel.d.ts +6 -0
- package/lib/models/coremodel.js +5 -4
- package/lib/models/coremodel.js.map +1 -1
- package/lib/queues/queue.spec.js +2 -0
- package/lib/queues/queue.spec.js.map +1 -1
- package/lib/services/filebinary.spec.js +3 -3
- package/lib/services/filebinary.spec.js.map +1 -1
- package/lib/services/prometheus.js +3 -2
- package/lib/services/prometheus.js.map +1 -1
- package/lib/services/resource.d.ts +5 -0
- package/lib/services/resource.js +4 -1
- package/lib/services/resource.js.map +1 -1
- package/lib/stores/aliasstore.d.ts +1 -1
- package/lib/stores/aliasstore.js +1 -1
- package/lib/stores/aliasstore.js.map +1 -1
- package/lib/stores/file.d.ts +1 -1
- package/lib/stores/memory.d.ts +1 -1
- package/lib/stores/memory.spec.js +1 -1
- package/lib/stores/memory.spec.js.map +1 -1
- package/lib/stores/store.d.ts +1 -1
- package/lib/stores/store.js +1 -1
- package/lib/stores/store.js.map +1 -1
- package/lib/stores/store.spec.js +12 -12
- package/lib/stores/store.spec.js.map +1 -1
- package/lib/unpackedapplication.js +1 -1
- package/lib/unpackedapplication.js.map +1 -1
- package/lib/utils/context.js +5 -1
- package/lib/utils/context.js.map +1 -1
- package/lib/utils/context.spec.js +1 -1
- package/lib/utils/context.spec.js.map +1 -1
- package/lib/utils/serializers.d.ts +5 -4
- package/lib/utils/serializers.js +22 -19
- package/lib/utils/serializers.js.map +1 -1
- package/lib/utils/serializers.spec.js +7 -7
- package/lib/utils/serializers.spec.js.map +1 -1
- package/lib/utils/waiter.js +2 -2
- package/lib/utils/waiter.js.map +1 -1
- package/package.json +8 -8
- package/webda.module.json +5 -0
- package/lib/stores/webdaql/WebdaQLLexer.d.ts +0 -54
- package/lib/stores/webdaql/WebdaQLLexer.js +0 -295
- package/lib/stores/webdaql/WebdaQLLexer.js.map +0 -1
- package/lib/stores/webdaql/WebdaQLParserLexer.d.ts +0 -54
- package/lib/stores/webdaql/WebdaQLParserLexer.js +0 -295
- package/lib/stores/webdaql/WebdaQLParserLexer.js.map +0 -1
- package/lib/stores/webdaql/WebdaQLParserListener.d.ts +0 -296
- package/lib/stores/webdaql/WebdaQLParserListener.js +0 -3
- package/lib/stores/webdaql/WebdaQLParserListener.js.map +0 -1
- package/lib/stores/webdaql/WebdaQLParserParser.d.ts +0 -311
- package/lib/stores/webdaql/WebdaQLParserParser.js +0 -1807
- package/lib/stores/webdaql/WebdaQLParserParser.js.map +0 -1
- package/lib/stores/webdaql/WebdaQLParserVisitor.d.ts +0 -181
- package/lib/stores/webdaql/WebdaQLParserVisitor.js +0 -3
- package/lib/stores/webdaql/WebdaQLParserVisitor.js.map +0 -1
- package/lib/stores/webdaql/query.d.ts +0 -387
- package/lib/stores/webdaql/query.js +0 -667
- package/lib/stores/webdaql/query.js.map +0 -1
- package/lib/stores/webdaql/query.spec.d.ts +0 -1
- package/lib/stores/webdaql/query.spec.js +0 -199
- package/lib/stores/webdaql/query.spec.js.map +0 -1
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
import { ParseTreeListener } from "antlr4ts/tree/ParseTreeListener.js";
|
|
2
|
-
import { AndLogicExpressionContext, AtomContext, AtomExpressionContext, BinaryComparisonExpressionContext, BooleanAtomContext, BooleanLiteralContext, ContainsExpressionContext, ExpressionContext, IdentifierAtomContext, IdentifierContext, InExpressionContext, IntegerAtomContext, IntegerLiteralContext, LikeExpressionContext, LimitExpressionContext, OffsetExpressionContext, OrderExpressionContext, OrderFieldExpressionContext, OrLogicExpressionContext, SetExpressionContext, StringAtomContext, StringLiteralContext, SubExpressionContext, ValuesAtomContext, ValuesContext, WebdaqlContext } from "./WebdaQLParserParser.js";
|
|
3
|
-
/**
|
|
4
|
-
* This interface defines a complete listener for a parse tree produced by
|
|
5
|
-
* `WebdaQLParserParser`.
|
|
6
|
-
*/
|
|
7
|
-
export interface WebdaQLParserListener extends ParseTreeListener {
|
|
8
|
-
/**
|
|
9
|
-
* Enter a parse tree produced by the `likeExpression`
|
|
10
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
11
|
-
* @param ctx the parse tree
|
|
12
|
-
*/
|
|
13
|
-
enterLikeExpression?: (ctx: LikeExpressionContext) => void;
|
|
14
|
-
/**
|
|
15
|
-
* Exit a parse tree produced by the `likeExpression`
|
|
16
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
17
|
-
* @param ctx the parse tree
|
|
18
|
-
*/
|
|
19
|
-
exitLikeExpression?: (ctx: LikeExpressionContext) => void;
|
|
20
|
-
/**
|
|
21
|
-
* Enter a parse tree produced by the `inExpression`
|
|
22
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
23
|
-
* @param ctx the parse tree
|
|
24
|
-
*/
|
|
25
|
-
enterInExpression?: (ctx: InExpressionContext) => void;
|
|
26
|
-
/**
|
|
27
|
-
* Exit a parse tree produced by the `inExpression`
|
|
28
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
29
|
-
* @param ctx the parse tree
|
|
30
|
-
*/
|
|
31
|
-
exitInExpression?: (ctx: InExpressionContext) => void;
|
|
32
|
-
/**
|
|
33
|
-
* Enter a parse tree produced by the `containsExpression`
|
|
34
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
35
|
-
* @param ctx the parse tree
|
|
36
|
-
*/
|
|
37
|
-
enterContainsExpression?: (ctx: ContainsExpressionContext) => void;
|
|
38
|
-
/**
|
|
39
|
-
* Exit a parse tree produced by the `containsExpression`
|
|
40
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
41
|
-
* @param ctx the parse tree
|
|
42
|
-
*/
|
|
43
|
-
exitContainsExpression?: (ctx: ContainsExpressionContext) => void;
|
|
44
|
-
/**
|
|
45
|
-
* Enter a parse tree produced by the `binaryComparisonExpression`
|
|
46
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
47
|
-
* @param ctx the parse tree
|
|
48
|
-
*/
|
|
49
|
-
enterBinaryComparisonExpression?: (ctx: BinaryComparisonExpressionContext) => void;
|
|
50
|
-
/**
|
|
51
|
-
* Exit a parse tree produced by the `binaryComparisonExpression`
|
|
52
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
53
|
-
* @param ctx the parse tree
|
|
54
|
-
*/
|
|
55
|
-
exitBinaryComparisonExpression?: (ctx: BinaryComparisonExpressionContext) => void;
|
|
56
|
-
/**
|
|
57
|
-
* Enter a parse tree produced by the `andLogicExpression`
|
|
58
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
59
|
-
* @param ctx the parse tree
|
|
60
|
-
*/
|
|
61
|
-
enterAndLogicExpression?: (ctx: AndLogicExpressionContext) => void;
|
|
62
|
-
/**
|
|
63
|
-
* Exit a parse tree produced by the `andLogicExpression`
|
|
64
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
65
|
-
* @param ctx the parse tree
|
|
66
|
-
*/
|
|
67
|
-
exitAndLogicExpression?: (ctx: AndLogicExpressionContext) => void;
|
|
68
|
-
/**
|
|
69
|
-
* Enter a parse tree produced by the `orLogicExpression`
|
|
70
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
71
|
-
* @param ctx the parse tree
|
|
72
|
-
*/
|
|
73
|
-
enterOrLogicExpression?: (ctx: OrLogicExpressionContext) => void;
|
|
74
|
-
/**
|
|
75
|
-
* Exit a parse tree produced by the `orLogicExpression`
|
|
76
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
77
|
-
* @param ctx the parse tree
|
|
78
|
-
*/
|
|
79
|
-
exitOrLogicExpression?: (ctx: OrLogicExpressionContext) => void;
|
|
80
|
-
/**
|
|
81
|
-
* Enter a parse tree produced by the `subExpression`
|
|
82
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
83
|
-
* @param ctx the parse tree
|
|
84
|
-
*/
|
|
85
|
-
enterSubExpression?: (ctx: SubExpressionContext) => void;
|
|
86
|
-
/**
|
|
87
|
-
* Exit a parse tree produced by the `subExpression`
|
|
88
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
89
|
-
* @param ctx the parse tree
|
|
90
|
-
*/
|
|
91
|
-
exitSubExpression?: (ctx: SubExpressionContext) => void;
|
|
92
|
-
/**
|
|
93
|
-
* Enter a parse tree produced by the `atomExpression`
|
|
94
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
95
|
-
* @param ctx the parse tree
|
|
96
|
-
*/
|
|
97
|
-
enterAtomExpression?: (ctx: AtomExpressionContext) => void;
|
|
98
|
-
/**
|
|
99
|
-
* Exit a parse tree produced by the `atomExpression`
|
|
100
|
-
* labeled alternative in `WebdaQLParserParser.expression`.
|
|
101
|
-
* @param ctx the parse tree
|
|
102
|
-
*/
|
|
103
|
-
exitAtomExpression?: (ctx: AtomExpressionContext) => void;
|
|
104
|
-
/**
|
|
105
|
-
* Enter a parse tree produced by the `booleanAtom`
|
|
106
|
-
* labeled alternative in `WebdaQLParserParser.values`.
|
|
107
|
-
* @param ctx the parse tree
|
|
108
|
-
*/
|
|
109
|
-
enterBooleanAtom?: (ctx: BooleanAtomContext) => void;
|
|
110
|
-
/**
|
|
111
|
-
* Exit a parse tree produced by the `booleanAtom`
|
|
112
|
-
* labeled alternative in `WebdaQLParserParser.values`.
|
|
113
|
-
* @param ctx the parse tree
|
|
114
|
-
*/
|
|
115
|
-
exitBooleanAtom?: (ctx: BooleanAtomContext) => void;
|
|
116
|
-
/**
|
|
117
|
-
* Enter a parse tree produced by the `integerAtom`
|
|
118
|
-
* labeled alternative in `WebdaQLParserParser.values`.
|
|
119
|
-
* @param ctx the parse tree
|
|
120
|
-
*/
|
|
121
|
-
enterIntegerAtom?: (ctx: IntegerAtomContext) => void;
|
|
122
|
-
/**
|
|
123
|
-
* Exit a parse tree produced by the `integerAtom`
|
|
124
|
-
* labeled alternative in `WebdaQLParserParser.values`.
|
|
125
|
-
* @param ctx the parse tree
|
|
126
|
-
*/
|
|
127
|
-
exitIntegerAtom?: (ctx: IntegerAtomContext) => void;
|
|
128
|
-
/**
|
|
129
|
-
* Enter a parse tree produced by the `stringAtom`
|
|
130
|
-
* labeled alternative in `WebdaQLParserParser.values`.
|
|
131
|
-
* @param ctx the parse tree
|
|
132
|
-
*/
|
|
133
|
-
enterStringAtom?: (ctx: StringAtomContext) => void;
|
|
134
|
-
/**
|
|
135
|
-
* Exit a parse tree produced by the `stringAtom`
|
|
136
|
-
* labeled alternative in `WebdaQLParserParser.values`.
|
|
137
|
-
* @param ctx the parse tree
|
|
138
|
-
*/
|
|
139
|
-
exitStringAtom?: (ctx: StringAtomContext) => void;
|
|
140
|
-
/**
|
|
141
|
-
* Enter a parse tree produced by the `valuesAtom`
|
|
142
|
-
* labeled alternative in `WebdaQLParserParser.atom`.
|
|
143
|
-
* @param ctx the parse tree
|
|
144
|
-
*/
|
|
145
|
-
enterValuesAtom?: (ctx: ValuesAtomContext) => void;
|
|
146
|
-
/**
|
|
147
|
-
* Exit a parse tree produced by the `valuesAtom`
|
|
148
|
-
* labeled alternative in `WebdaQLParserParser.atom`.
|
|
149
|
-
* @param ctx the parse tree
|
|
150
|
-
*/
|
|
151
|
-
exitValuesAtom?: (ctx: ValuesAtomContext) => void;
|
|
152
|
-
/**
|
|
153
|
-
* Enter a parse tree produced by the `identifierAtom`
|
|
154
|
-
* labeled alternative in `WebdaQLParserParser.atom`.
|
|
155
|
-
* @param ctx the parse tree
|
|
156
|
-
*/
|
|
157
|
-
enterIdentifierAtom?: (ctx: IdentifierAtomContext) => void;
|
|
158
|
-
/**
|
|
159
|
-
* Exit a parse tree produced by the `identifierAtom`
|
|
160
|
-
* labeled alternative in `WebdaQLParserParser.atom`.
|
|
161
|
-
* @param ctx the parse tree
|
|
162
|
-
*/
|
|
163
|
-
exitIdentifierAtom?: (ctx: IdentifierAtomContext) => void;
|
|
164
|
-
/**
|
|
165
|
-
* Enter a parse tree produced by `WebdaQLParserParser.webdaql`.
|
|
166
|
-
* @param ctx the parse tree
|
|
167
|
-
*/
|
|
168
|
-
enterWebdaql?: (ctx: WebdaqlContext) => void;
|
|
169
|
-
/**
|
|
170
|
-
* Exit a parse tree produced by `WebdaQLParserParser.webdaql`.
|
|
171
|
-
* @param ctx the parse tree
|
|
172
|
-
*/
|
|
173
|
-
exitWebdaql?: (ctx: WebdaqlContext) => void;
|
|
174
|
-
/**
|
|
175
|
-
* Enter a parse tree produced by `WebdaQLParserParser.limitExpression`.
|
|
176
|
-
* @param ctx the parse tree
|
|
177
|
-
*/
|
|
178
|
-
enterLimitExpression?: (ctx: LimitExpressionContext) => void;
|
|
179
|
-
/**
|
|
180
|
-
* Exit a parse tree produced by `WebdaQLParserParser.limitExpression`.
|
|
181
|
-
* @param ctx the parse tree
|
|
182
|
-
*/
|
|
183
|
-
exitLimitExpression?: (ctx: LimitExpressionContext) => void;
|
|
184
|
-
/**
|
|
185
|
-
* Enter a parse tree produced by `WebdaQLParserParser.offsetExpression`.
|
|
186
|
-
* @param ctx the parse tree
|
|
187
|
-
*/
|
|
188
|
-
enterOffsetExpression?: (ctx: OffsetExpressionContext) => void;
|
|
189
|
-
/**
|
|
190
|
-
* Exit a parse tree produced by `WebdaQLParserParser.offsetExpression`.
|
|
191
|
-
* @param ctx the parse tree
|
|
192
|
-
*/
|
|
193
|
-
exitOffsetExpression?: (ctx: OffsetExpressionContext) => void;
|
|
194
|
-
/**
|
|
195
|
-
* Enter a parse tree produced by `WebdaQLParserParser.orderFieldExpression`.
|
|
196
|
-
* @param ctx the parse tree
|
|
197
|
-
*/
|
|
198
|
-
enterOrderFieldExpression?: (ctx: OrderFieldExpressionContext) => void;
|
|
199
|
-
/**
|
|
200
|
-
* Exit a parse tree produced by `WebdaQLParserParser.orderFieldExpression`.
|
|
201
|
-
* @param ctx the parse tree
|
|
202
|
-
*/
|
|
203
|
-
exitOrderFieldExpression?: (ctx: OrderFieldExpressionContext) => void;
|
|
204
|
-
/**
|
|
205
|
-
* Enter a parse tree produced by `WebdaQLParserParser.orderExpression`.
|
|
206
|
-
* @param ctx the parse tree
|
|
207
|
-
*/
|
|
208
|
-
enterOrderExpression?: (ctx: OrderExpressionContext) => void;
|
|
209
|
-
/**
|
|
210
|
-
* Exit a parse tree produced by `WebdaQLParserParser.orderExpression`.
|
|
211
|
-
* @param ctx the parse tree
|
|
212
|
-
*/
|
|
213
|
-
exitOrderExpression?: (ctx: OrderExpressionContext) => void;
|
|
214
|
-
/**
|
|
215
|
-
* Enter a parse tree produced by `WebdaQLParserParser.expression`.
|
|
216
|
-
* @param ctx the parse tree
|
|
217
|
-
*/
|
|
218
|
-
enterExpression?: (ctx: ExpressionContext) => void;
|
|
219
|
-
/**
|
|
220
|
-
* Exit a parse tree produced by `WebdaQLParserParser.expression`.
|
|
221
|
-
* @param ctx the parse tree
|
|
222
|
-
*/
|
|
223
|
-
exitExpression?: (ctx: ExpressionContext) => void;
|
|
224
|
-
/**
|
|
225
|
-
* Enter a parse tree produced by the `values`
|
|
226
|
-
* labeled alternative in `WebdaQLParserParser.expressionexpressionexpressionexpressionexpressionexpressionexpressionexpressionvaluesvaluesvaluesatomatom`.
|
|
227
|
-
* @param ctx the parse tree
|
|
228
|
-
*/
|
|
229
|
-
enterValues?: (ctx: ValuesContext) => void;
|
|
230
|
-
/**
|
|
231
|
-
* Exit a parse tree produced by the `values`
|
|
232
|
-
* labeled alternative in `WebdaQLParserParser.expressionexpressionexpressionexpressionexpressionexpressionexpressionexpressionvaluesvaluesvaluesatomatom`.
|
|
233
|
-
* @param ctx the parse tree
|
|
234
|
-
*/
|
|
235
|
-
exitValues?: (ctx: ValuesContext) => void;
|
|
236
|
-
/**
|
|
237
|
-
* Enter a parse tree produced by `WebdaQLParserParser.atom`.
|
|
238
|
-
* @param ctx the parse tree
|
|
239
|
-
*/
|
|
240
|
-
enterAtom?: (ctx: AtomContext) => void;
|
|
241
|
-
/**
|
|
242
|
-
* Exit a parse tree produced by `WebdaQLParserParser.atom`.
|
|
243
|
-
* @param ctx the parse tree
|
|
244
|
-
*/
|
|
245
|
-
exitAtom?: (ctx: AtomContext) => void;
|
|
246
|
-
/**
|
|
247
|
-
* Enter a parse tree produced by `WebdaQLParserParser.identifier`.
|
|
248
|
-
* @param ctx the parse tree
|
|
249
|
-
*/
|
|
250
|
-
enterIdentifier?: (ctx: IdentifierContext) => void;
|
|
251
|
-
/**
|
|
252
|
-
* Exit a parse tree produced by `WebdaQLParserParser.identifier`.
|
|
253
|
-
* @param ctx the parse tree
|
|
254
|
-
*/
|
|
255
|
-
exitIdentifier?: (ctx: IdentifierContext) => void;
|
|
256
|
-
/**
|
|
257
|
-
* Enter a parse tree produced by `WebdaQLParserParser.booleanLiteral`.
|
|
258
|
-
* @param ctx the parse tree
|
|
259
|
-
*/
|
|
260
|
-
enterBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
|
|
261
|
-
/**
|
|
262
|
-
* Exit a parse tree produced by `WebdaQLParserParser.booleanLiteral`.
|
|
263
|
-
* @param ctx the parse tree
|
|
264
|
-
*/
|
|
265
|
-
exitBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
|
|
266
|
-
/**
|
|
267
|
-
* Enter a parse tree produced by `WebdaQLParserParser.stringLiteral`.
|
|
268
|
-
* @param ctx the parse tree
|
|
269
|
-
*/
|
|
270
|
-
enterStringLiteral?: (ctx: StringLiteralContext) => void;
|
|
271
|
-
/**
|
|
272
|
-
* Exit a parse tree produced by `WebdaQLParserParser.stringLiteral`.
|
|
273
|
-
* @param ctx the parse tree
|
|
274
|
-
*/
|
|
275
|
-
exitStringLiteral?: (ctx: StringLiteralContext) => void;
|
|
276
|
-
/**
|
|
277
|
-
* Enter a parse tree produced by `WebdaQLParserParser.integerLiteral`.
|
|
278
|
-
* @param ctx the parse tree
|
|
279
|
-
*/
|
|
280
|
-
enterIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
|
|
281
|
-
/**
|
|
282
|
-
* Exit a parse tree produced by `WebdaQLParserParser.integerLiteral`.
|
|
283
|
-
* @param ctx the parse tree
|
|
284
|
-
*/
|
|
285
|
-
exitIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
|
|
286
|
-
/**
|
|
287
|
-
* Enter a parse tree produced by `WebdaQLParserParser.setExpression`.
|
|
288
|
-
* @param ctx the parse tree
|
|
289
|
-
*/
|
|
290
|
-
enterSetExpression?: (ctx: SetExpressionContext) => void;
|
|
291
|
-
/**
|
|
292
|
-
* Exit a parse tree produced by `WebdaQLParserParser.setExpression`.
|
|
293
|
-
* @param ctx the parse tree
|
|
294
|
-
*/
|
|
295
|
-
exitSetExpression?: (ctx: SetExpressionContext) => void;
|
|
296
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WebdaQLParserListener.js","sourceRoot":"","sources":["../../../src/stores/webdaql/WebdaQLParserListener.ts"],"names":[],"mappings":"AAAA,6EAA6E"}
|
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import { ATN } from "antlr4ts/atn/ATN.js";
|
|
2
|
-
import { FailedPredicateException } from "antlr4ts/FailedPredicateException.js";
|
|
3
|
-
import { Parser } from "antlr4ts/Parser.js";
|
|
4
|
-
import { ParserRuleContext } from "antlr4ts/ParserRuleContext.js";
|
|
5
|
-
import { RuleContext } from "antlr4ts/RuleContext.js";
|
|
6
|
-
import { TokenStream } from "antlr4ts/TokenStream.js";
|
|
7
|
-
import { TerminalNode } from "antlr4ts/tree/TerminalNode.js";
|
|
8
|
-
import { Vocabulary } from "antlr4ts/Vocabulary.js";
|
|
9
|
-
import { WebdaQLParserListener } from "./WebdaQLParserListener.js";
|
|
10
|
-
import { WebdaQLParserVisitor } from "./WebdaQLParserVisitor.js";
|
|
11
|
-
export declare class WebdaQLParserParser extends Parser {
|
|
12
|
-
static readonly SPACE = 1;
|
|
13
|
-
static readonly LR_BRACKET = 2;
|
|
14
|
-
static readonly RR_BRACKET = 3;
|
|
15
|
-
static readonly COMMA = 4;
|
|
16
|
-
static readonly SINGLE_QUOTE_SYMB = 5;
|
|
17
|
-
static readonly DOUBLE_QUOTE_SYMB = 6;
|
|
18
|
-
static readonly LR_SQ_BRACKET = 7;
|
|
19
|
-
static readonly RR_SQ_BRACKET = 8;
|
|
20
|
-
static readonly AND = 9;
|
|
21
|
-
static readonly OR = 10;
|
|
22
|
-
static readonly EQUAL = 11;
|
|
23
|
-
static readonly NOT_EQUAL = 12;
|
|
24
|
-
static readonly GREATER = 13;
|
|
25
|
-
static readonly GREATER_OR_EQUAL = 14;
|
|
26
|
-
static readonly LESS = 15;
|
|
27
|
-
static readonly LESS_OR_EQUAL = 16;
|
|
28
|
-
static readonly LIKE = 17;
|
|
29
|
-
static readonly IN = 18;
|
|
30
|
-
static readonly CONTAINS = 19;
|
|
31
|
-
static readonly TRUE = 20;
|
|
32
|
-
static readonly FALSE = 21;
|
|
33
|
-
static readonly LIMIT = 22;
|
|
34
|
-
static readonly OFFSET = 23;
|
|
35
|
-
static readonly ORDER_BY = 24;
|
|
36
|
-
static readonly ASC = 25;
|
|
37
|
-
static readonly DESC = 26;
|
|
38
|
-
static readonly DQUOTED_STRING_LITERAL = 27;
|
|
39
|
-
static readonly SQUOTED_STRING_LITERAL = 28;
|
|
40
|
-
static readonly INTEGER_LITERAL = 29;
|
|
41
|
-
static readonly IDENTIFIER = 30;
|
|
42
|
-
static readonly IDENTIFIER_WITH_NUMBER = 31;
|
|
43
|
-
static readonly FUNCTION_IDENTIFIER_WITH_UNDERSCORE = 32;
|
|
44
|
-
static readonly RULE_webdaql = 0;
|
|
45
|
-
static readonly RULE_limitExpression = 1;
|
|
46
|
-
static readonly RULE_offsetExpression = 2;
|
|
47
|
-
static readonly RULE_orderFieldExpression = 3;
|
|
48
|
-
static readonly RULE_orderExpression = 4;
|
|
49
|
-
static readonly RULE_expression = 5;
|
|
50
|
-
static readonly RULE_values = 6;
|
|
51
|
-
static readonly RULE_atom = 7;
|
|
52
|
-
static readonly RULE_identifier = 8;
|
|
53
|
-
static readonly RULE_booleanLiteral = 9;
|
|
54
|
-
static readonly RULE_stringLiteral = 10;
|
|
55
|
-
static readonly RULE_integerLiteral = 11;
|
|
56
|
-
static readonly RULE_setExpression = 12;
|
|
57
|
-
static readonly ruleNames: string[];
|
|
58
|
-
private static readonly _LITERAL_NAMES;
|
|
59
|
-
private static readonly _SYMBOLIC_NAMES;
|
|
60
|
-
static readonly VOCABULARY: Vocabulary;
|
|
61
|
-
get vocabulary(): Vocabulary;
|
|
62
|
-
get grammarFileName(): string;
|
|
63
|
-
get ruleNames(): string[];
|
|
64
|
-
get serializedATN(): string;
|
|
65
|
-
protected createFailedPredicateException(predicate?: string, message?: string): FailedPredicateException;
|
|
66
|
-
constructor(input: TokenStream);
|
|
67
|
-
webdaql(): WebdaqlContext;
|
|
68
|
-
limitExpression(): LimitExpressionContext;
|
|
69
|
-
offsetExpression(): OffsetExpressionContext;
|
|
70
|
-
orderFieldExpression(): OrderFieldExpressionContext;
|
|
71
|
-
orderExpression(): OrderExpressionContext;
|
|
72
|
-
expression(): ExpressionContext;
|
|
73
|
-
expression(_p: number): ExpressionContext;
|
|
74
|
-
values(): ValuesContext;
|
|
75
|
-
atom(): AtomContext;
|
|
76
|
-
identifier(): IdentifierContext;
|
|
77
|
-
booleanLiteral(): BooleanLiteralContext;
|
|
78
|
-
stringLiteral(): StringLiteralContext;
|
|
79
|
-
integerLiteral(): IntegerLiteralContext;
|
|
80
|
-
setExpression(): SetExpressionContext;
|
|
81
|
-
sempred(_localctx: RuleContext, ruleIndex: number, predIndex: number): boolean;
|
|
82
|
-
private expression_sempred;
|
|
83
|
-
static readonly _serializedATN: string;
|
|
84
|
-
static __ATN: ATN;
|
|
85
|
-
static get _ATN(): ATN;
|
|
86
|
-
}
|
|
87
|
-
export declare class WebdaqlContext extends ParserRuleContext {
|
|
88
|
-
EOF(): TerminalNode;
|
|
89
|
-
expression(): ExpressionContext | undefined;
|
|
90
|
-
orderExpression(): OrderExpressionContext | undefined;
|
|
91
|
-
limitExpression(): LimitExpressionContext | undefined;
|
|
92
|
-
offsetExpression(): OffsetExpressionContext | undefined;
|
|
93
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
94
|
-
get ruleIndex(): number;
|
|
95
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
96
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
97
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
98
|
-
}
|
|
99
|
-
export declare class LimitExpressionContext extends ParserRuleContext {
|
|
100
|
-
LIMIT(): TerminalNode;
|
|
101
|
-
integerLiteral(): IntegerLiteralContext;
|
|
102
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
103
|
-
get ruleIndex(): number;
|
|
104
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
105
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
106
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
107
|
-
}
|
|
108
|
-
export declare class OffsetExpressionContext extends ParserRuleContext {
|
|
109
|
-
OFFSET(): TerminalNode;
|
|
110
|
-
stringLiteral(): StringLiteralContext;
|
|
111
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
112
|
-
get ruleIndex(): number;
|
|
113
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
114
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
115
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
116
|
-
}
|
|
117
|
-
export declare class OrderFieldExpressionContext extends ParserRuleContext {
|
|
118
|
-
identifier(): IdentifierContext;
|
|
119
|
-
ASC(): TerminalNode | undefined;
|
|
120
|
-
DESC(): TerminalNode | undefined;
|
|
121
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
122
|
-
get ruleIndex(): number;
|
|
123
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
124
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
125
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
126
|
-
}
|
|
127
|
-
export declare class OrderExpressionContext extends ParserRuleContext {
|
|
128
|
-
ORDER_BY(): TerminalNode;
|
|
129
|
-
orderFieldExpression(): OrderFieldExpressionContext[];
|
|
130
|
-
orderFieldExpression(i: number): OrderFieldExpressionContext;
|
|
131
|
-
COMMA(): TerminalNode[];
|
|
132
|
-
COMMA(i: number): TerminalNode;
|
|
133
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
134
|
-
get ruleIndex(): number;
|
|
135
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
136
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
137
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
138
|
-
}
|
|
139
|
-
export declare class ExpressionContext extends ParserRuleContext {
|
|
140
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
141
|
-
get ruleIndex(): number;
|
|
142
|
-
copyFrom(ctx: ExpressionContext): void;
|
|
143
|
-
}
|
|
144
|
-
export declare class LikeExpressionContext extends ExpressionContext {
|
|
145
|
-
identifier(): IdentifierContext;
|
|
146
|
-
LIKE(): TerminalNode;
|
|
147
|
-
stringLiteral(): StringLiteralContext;
|
|
148
|
-
constructor(ctx: ExpressionContext);
|
|
149
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
150
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
151
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
152
|
-
}
|
|
153
|
-
export declare class InExpressionContext extends ExpressionContext {
|
|
154
|
-
identifier(): IdentifierContext;
|
|
155
|
-
IN(): TerminalNode;
|
|
156
|
-
setExpression(): SetExpressionContext;
|
|
157
|
-
constructor(ctx: ExpressionContext);
|
|
158
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
159
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
160
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
161
|
-
}
|
|
162
|
-
export declare class ContainsExpressionContext extends ExpressionContext {
|
|
163
|
-
identifier(): IdentifierContext;
|
|
164
|
-
CONTAINS(): TerminalNode;
|
|
165
|
-
stringLiteral(): StringLiteralContext;
|
|
166
|
-
constructor(ctx: ExpressionContext);
|
|
167
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
168
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
169
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
170
|
-
}
|
|
171
|
-
export declare class BinaryComparisonExpressionContext extends ExpressionContext {
|
|
172
|
-
identifier(): IdentifierContext;
|
|
173
|
-
values(): ValuesContext;
|
|
174
|
-
EQUAL(): TerminalNode | undefined;
|
|
175
|
-
NOT_EQUAL(): TerminalNode | undefined;
|
|
176
|
-
GREATER_OR_EQUAL(): TerminalNode | undefined;
|
|
177
|
-
LESS_OR_EQUAL(): TerminalNode | undefined;
|
|
178
|
-
LESS(): TerminalNode | undefined;
|
|
179
|
-
GREATER(): TerminalNode | undefined;
|
|
180
|
-
constructor(ctx: ExpressionContext);
|
|
181
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
182
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
183
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
184
|
-
}
|
|
185
|
-
export declare class AndLogicExpressionContext extends ExpressionContext {
|
|
186
|
-
expression(): ExpressionContext[];
|
|
187
|
-
expression(i: number): ExpressionContext;
|
|
188
|
-
AND(): TerminalNode;
|
|
189
|
-
constructor(ctx: ExpressionContext);
|
|
190
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
191
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
192
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
193
|
-
}
|
|
194
|
-
export declare class OrLogicExpressionContext extends ExpressionContext {
|
|
195
|
-
expression(): ExpressionContext[];
|
|
196
|
-
expression(i: number): ExpressionContext;
|
|
197
|
-
OR(): TerminalNode;
|
|
198
|
-
constructor(ctx: ExpressionContext);
|
|
199
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
200
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
201
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
202
|
-
}
|
|
203
|
-
export declare class SubExpressionContext extends ExpressionContext {
|
|
204
|
-
LR_BRACKET(): TerminalNode;
|
|
205
|
-
expression(): ExpressionContext;
|
|
206
|
-
RR_BRACKET(): TerminalNode;
|
|
207
|
-
constructor(ctx: ExpressionContext);
|
|
208
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
209
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
210
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
211
|
-
}
|
|
212
|
-
export declare class AtomExpressionContext extends ExpressionContext {
|
|
213
|
-
atom(): AtomContext;
|
|
214
|
-
constructor(ctx: ExpressionContext);
|
|
215
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
216
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
217
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
218
|
-
}
|
|
219
|
-
export declare class ValuesContext extends ParserRuleContext {
|
|
220
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
221
|
-
get ruleIndex(): number;
|
|
222
|
-
copyFrom(ctx: ValuesContext): void;
|
|
223
|
-
}
|
|
224
|
-
export declare class BooleanAtomContext extends ValuesContext {
|
|
225
|
-
booleanLiteral(): BooleanLiteralContext;
|
|
226
|
-
constructor(ctx: ValuesContext);
|
|
227
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
228
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
229
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
230
|
-
}
|
|
231
|
-
export declare class IntegerAtomContext extends ValuesContext {
|
|
232
|
-
integerLiteral(): IntegerLiteralContext;
|
|
233
|
-
constructor(ctx: ValuesContext);
|
|
234
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
235
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
236
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
237
|
-
}
|
|
238
|
-
export declare class StringAtomContext extends ValuesContext {
|
|
239
|
-
stringLiteral(): StringLiteralContext;
|
|
240
|
-
constructor(ctx: ValuesContext);
|
|
241
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
242
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
243
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
244
|
-
}
|
|
245
|
-
export declare class AtomContext extends ParserRuleContext {
|
|
246
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
247
|
-
get ruleIndex(): number;
|
|
248
|
-
copyFrom(ctx: AtomContext): void;
|
|
249
|
-
}
|
|
250
|
-
export declare class ValuesAtomContext extends AtomContext {
|
|
251
|
-
values(): ValuesContext;
|
|
252
|
-
constructor(ctx: AtomContext);
|
|
253
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
254
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
255
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
256
|
-
}
|
|
257
|
-
export declare class IdentifierAtomContext extends AtomContext {
|
|
258
|
-
identifier(): IdentifierContext;
|
|
259
|
-
constructor(ctx: AtomContext);
|
|
260
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
261
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
262
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
263
|
-
}
|
|
264
|
-
export declare class IdentifierContext extends ParserRuleContext {
|
|
265
|
-
IDENTIFIER(): TerminalNode | undefined;
|
|
266
|
-
IDENTIFIER_WITH_NUMBER(): TerminalNode | undefined;
|
|
267
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
268
|
-
get ruleIndex(): number;
|
|
269
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
270
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
271
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
272
|
-
}
|
|
273
|
-
export declare class BooleanLiteralContext extends ParserRuleContext {
|
|
274
|
-
TRUE(): TerminalNode | undefined;
|
|
275
|
-
FALSE(): TerminalNode | undefined;
|
|
276
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
277
|
-
get ruleIndex(): number;
|
|
278
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
279
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
280
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
281
|
-
}
|
|
282
|
-
export declare class StringLiteralContext extends ParserRuleContext {
|
|
283
|
-
DQUOTED_STRING_LITERAL(): TerminalNode | undefined;
|
|
284
|
-
SQUOTED_STRING_LITERAL(): TerminalNode | undefined;
|
|
285
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
286
|
-
get ruleIndex(): number;
|
|
287
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
288
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
289
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
290
|
-
}
|
|
291
|
-
export declare class IntegerLiteralContext extends ParserRuleContext {
|
|
292
|
-
INTEGER_LITERAL(): TerminalNode;
|
|
293
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
294
|
-
get ruleIndex(): number;
|
|
295
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
296
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
297
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
298
|
-
}
|
|
299
|
-
export declare class SetExpressionContext extends ParserRuleContext {
|
|
300
|
-
LR_SQ_BRACKET(): TerminalNode;
|
|
301
|
-
values(): ValuesContext[];
|
|
302
|
-
values(i: number): ValuesContext;
|
|
303
|
-
RR_SQ_BRACKET(): TerminalNode;
|
|
304
|
-
COMMA(): TerminalNode[];
|
|
305
|
-
COMMA(i: number): TerminalNode;
|
|
306
|
-
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
307
|
-
get ruleIndex(): number;
|
|
308
|
-
enterRule(listener: WebdaQLParserListener): void;
|
|
309
|
-
exitRule(listener: WebdaQLParserListener): void;
|
|
310
|
-
accept<Result>(visitor: WebdaQLParserVisitor<Result>): Result;
|
|
311
|
-
}
|