@webda/core 2.0.0-beta.1 → 2.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.
- package/lib/application.d.ts +9 -21
- package/lib/application.js +71 -84
- package/lib/application.js.map +1 -1
- package/lib/application.spec.js +121 -140
- package/lib/application.spec.js.map +1 -1
- package/lib/core.d.ts +86 -46
- package/lib/core.js +254 -316
- package/lib/core.js.map +1 -1
- package/lib/core.spec.js +326 -391
- package/lib/core.spec.js.map +1 -1
- package/lib/index.d.ts +49 -45
- package/lib/index.js +54 -67
- package/lib/index.js.map +1 -1
- package/lib/models/aclmodel.d.ts +2 -2
- package/lib/models/aclmodel.js +63 -90
- package/lib/models/aclmodel.js.map +1 -1
- package/lib/models/aclmodel.spec.js +127 -151
- package/lib/models/aclmodel.spec.js.map +1 -1
- package/lib/models/coremodel.d.ts +84 -11
- package/lib/models/coremodel.js +104 -103
- package/lib/models/coremodel.js.map +1 -1
- package/lib/models/coremodel.spec.js +91 -91
- package/lib/models/coremodel.spec.js.map +1 -1
- package/lib/models/deployment.js +1 -2
- package/lib/models/ident.d.ts +5 -3
- package/lib/models/ident.js +4 -9
- package/lib/models/ident.js.map +1 -1
- package/lib/models/ident.spec.js +9 -11
- package/lib/models/ident.spec.js.map +1 -1
- package/lib/models/ownermodel.d.ts +12 -2
- package/lib/models/ownermodel.js +54 -62
- package/lib/models/ownermodel.js.map +1 -1
- package/lib/models/ownermodel.spec.js +129 -152
- package/lib/models/ownermodel.spec.js.map +1 -1
- package/lib/models/rolemodel.d.ts +2 -2
- package/lib/models/rolemodel.js +24 -40
- package/lib/models/rolemodel.js.map +1 -1
- package/lib/models/rolemodel.spec.js +44 -61
- package/lib/models/rolemodel.spec.js.map +1 -1
- package/lib/models/user.d.ts +5 -5
- package/lib/models/user.js +3 -8
- package/lib/models/user.js.map +1 -1
- package/lib/models/user.spec.js +14 -16
- package/lib/models/user.spec.js.map +1 -1
- package/lib/queues/filequeue.d.ts +2 -2
- package/lib/queues/filequeue.js +72 -93
- package/lib/queues/filequeue.js.map +1 -1
- package/lib/queues/filequeue.spec.js +53 -70
- package/lib/queues/filequeue.spec.js.map +1 -1
- package/lib/queues/memoryqueue.d.ts +2 -2
- package/lib/queues/memoryqueue.js +37 -61
- package/lib/queues/memoryqueue.js.map +1 -1
- package/lib/queues/memoryqueue.spec.js +142 -165
- package/lib/queues/memoryqueue.spec.js.map +1 -1
- package/lib/queues/pubsubservice.d.ts +2 -2
- package/lib/queues/pubsubservice.js +3 -7
- package/lib/queues/pubsubservice.js.map +1 -1
- package/lib/queues/queue.spec.d.ts +1 -1
- package/lib/queues/queue.spec.js +42 -56
- package/lib/queues/queue.spec.js.map +1 -1
- package/lib/queues/queueservice.d.ts +4 -4
- package/lib/queues/queueservice.js +52 -67
- package/lib/queues/queueservice.js.map +1 -1
- package/lib/router.d.ts +7 -3
- package/lib/router.js +49 -48
- package/lib/router.js.map +1 -1
- package/lib/router.spec.js +64 -61
- package/lib/router.spec.js.map +1 -1
- package/lib/services/asyncevents.d.ts +2 -2
- package/lib/services/asyncevents.js +44 -64
- package/lib/services/asyncevents.js.map +1 -1
- package/lib/services/asyncevents.spec.js +81 -98
- package/lib/services/asyncevents.spec.js.map +1 -1
- package/lib/services/authentication.d.ts +28 -19
- package/lib/services/authentication.js +539 -571
- package/lib/services/authentication.js.map +1 -1
- package/lib/services/authentication.spec.js +411 -447
- package/lib/services/authentication.spec.js.map +1 -1
- package/lib/services/binary.d.ts +8 -6
- package/lib/services/binary.js +212 -244
- package/lib/services/binary.js.map +1 -1
- package/lib/services/binary.spec.d.ts +3 -3
- package/lib/services/binary.spec.js +390 -443
- package/lib/services/binary.spec.js.map +1 -1
- package/lib/services/cloudbinary.d.ts +3 -3
- package/lib/services/cloudbinary.js +46 -71
- package/lib/services/cloudbinary.js.map +1 -1
- package/lib/services/cloudbinary.spec.d.ts +3 -3
- package/lib/services/cloudbinary.spec.js +133 -162
- package/lib/services/cloudbinary.spec.js.map +1 -1
- package/lib/services/configuration.d.ts +6 -3
- package/lib/services/configuration.js +78 -103
- package/lib/services/configuration.js.map +1 -1
- package/lib/services/configuration.spec.js +63 -83
- package/lib/services/configuration.spec.js.map +1 -1
- package/lib/services/cron.d.ts +3 -2
- package/lib/services/cron.js +9 -13
- package/lib/services/cron.js.map +1 -1
- package/lib/services/cron.spec.js +18 -21
- package/lib/services/cron.spec.js.map +1 -1
- package/lib/services/cryptoservice.d.ts +258 -0
- package/lib/services/cryptoservice.js +312 -0
- package/lib/services/cryptoservice.js.map +1 -0
- package/lib/services/cryptoservice.spec.d.ts +1 -0
- package/lib/services/cryptoservice.spec.js +137 -0
- package/lib/services/cryptoservice.spec.js.map +1 -0
- package/lib/services/debugmailer.d.ts +1 -1
- package/lib/services/debugmailer.js +13 -34
- package/lib/services/debugmailer.js.map +1 -1
- package/lib/services/debugmailer.spec.js +16 -29
- package/lib/services/debugmailer.spec.js.map +1 -1
- package/lib/services/echo.d.ts +2 -2
- package/lib/services/echo.js +15 -31
- package/lib/services/echo.js.map +1 -1
- package/lib/services/echo.spec.js +27 -40
- package/lib/services/echo.spec.js.map +1 -1
- package/lib/services/filebinary.d.ts +15 -5
- package/lib/services/filebinary.js +171 -200
- package/lib/services/filebinary.js.map +1 -1
- package/lib/services/filebinary.spec.d.ts +2 -1
- package/lib/services/filebinary.spec.js +106 -117
- package/lib/services/filebinary.spec.js.map +1 -1
- package/lib/services/fileconfiguration.d.ts +2 -2
- package/lib/services/fileconfiguration.js +25 -43
- package/lib/services/fileconfiguration.js.map +1 -1
- package/lib/services/fileconfiguration.spec.js +79 -109
- package/lib/services/fileconfiguration.spec.js.map +1 -1
- package/lib/services/invitationservice.d.ts +9 -9
- package/lib/services/invitationservice.js +275 -313
- package/lib/services/invitationservice.js.map +1 -1
- package/lib/services/invitationservice.spec.js +442 -448
- package/lib/services/invitationservice.spec.js.map +1 -1
- package/lib/services/kubernetesconfiguration.d.ts +2 -2
- package/lib/services/kubernetesconfiguration.js +41 -59
- package/lib/services/kubernetesconfiguration.js.map +1 -1
- package/lib/services/kubernetesconfiguration.spec.js +80 -98
- package/lib/services/kubernetesconfiguration.spec.js.map +1 -1
- package/lib/services/mailer.d.ts +4 -4
- package/lib/services/mailer.js +62 -86
- package/lib/services/mailer.js.map +1 -1
- package/lib/services/mailer.spec.js +86 -127
- package/lib/services/mailer.spec.js.map +1 -1
- package/lib/services/notificationservice.d.ts +4 -4
- package/lib/services/notificationservice.js +23 -42
- package/lib/services/notificationservice.js.map +1 -1
- package/lib/services/notificationservice.spec.js +47 -73
- package/lib/services/notificationservice.spec.js.map +1 -1
- package/lib/services/oauth.d.ts +32 -6
- package/lib/services/oauth.js +73 -78
- package/lib/services/oauth.js.map +1 -1
- package/lib/services/oauth.spec.js +128 -147
- package/lib/services/oauth.spec.js.map +1 -1
- package/lib/services/proxy.d.ts +74 -0
- package/lib/services/proxy.js +126 -0
- package/lib/services/proxy.js.map +1 -0
- package/lib/services/proxy.spec.d.ts +1 -0
- package/lib/services/proxy.spec.js +59 -0
- package/lib/services/proxy.spec.js.map +1 -0
- package/lib/services/resource.d.ts +2 -2
- package/lib/services/resource.js +12 -18
- package/lib/services/resource.js.map +1 -1
- package/lib/services/resource.spec.js +67 -99
- package/lib/services/resource.spec.js.map +1 -1
- package/lib/services/service.d.ts +33 -7
- package/lib/services/service.js +74 -42
- package/lib/services/service.js.map +1 -1
- package/lib/services/service.spec.js +62 -67
- package/lib/services/service.spec.js.map +1 -1
- package/lib/services/version.d.ts +1 -1
- package/lib/services/version.js +3 -8
- package/lib/services/version.js.map +1 -1
- package/lib/services/version.spec.js +11 -24
- package/lib/services/version.spec.js.map +1 -1
- package/lib/stores/aggregator.d.ts +3 -3
- package/lib/stores/aggregator.js +37 -57
- package/lib/stores/aggregator.js.map +1 -1
- package/lib/stores/file.d.ts +3 -3
- package/lib/stores/file.js +93 -131
- package/lib/stores/file.js.map +1 -1
- package/lib/stores/file.spec.d.ts +2 -2
- package/lib/stores/file.spec.js +261 -289
- package/lib/stores/file.spec.js.map +1 -1
- package/lib/stores/mapper.d.ts +4 -4
- package/lib/stores/mapper.js +112 -137
- package/lib/stores/mapper.js.map +1 -1
- package/lib/stores/mapper.spec.js +131 -150
- package/lib/stores/mapper.spec.js.map +1 -1
- package/lib/stores/memory.d.ts +67 -6
- package/lib/stores/memory.js +155 -117
- package/lib/stores/memory.js.map +1 -1
- package/lib/stores/memory.spec.d.ts +3 -2
- package/lib/stores/memory.spec.js +127 -105
- package/lib/stores/memory.spec.js.map +1 -1
- package/lib/stores/store.d.ts +35 -15
- package/lib/stores/store.js +839 -821
- package/lib/stores/store.js.map +1 -1
- package/lib/stores/store.spec.d.ts +6 -4
- package/lib/stores/store.spec.js +627 -647
- package/lib/stores/store.spec.js.map +1 -1
- package/lib/stores/webdaql/WebdaQLLexer.d.ts +4 -4
- package/lib/stores/webdaql/WebdaQLLexer.js +9 -13
- package/lib/stores/webdaql/WebdaQLLexer.js.map +1 -1
- package/lib/stores/webdaql/WebdaQLParserLexer.d.ts +4 -4
- package/lib/stores/webdaql/WebdaQLParserLexer.js +9 -13
- package/lib/stores/webdaql/WebdaQLParserLexer.js.map +1 -1
- package/lib/stores/webdaql/WebdaQLParserListener.d.ts +2 -2
- package/lib/stores/webdaql/WebdaQLParserListener.js +1 -2
- package/lib/stores/webdaql/WebdaQLParserListener.js.map +1 -1
- package/lib/stores/webdaql/WebdaQLParserParser.d.ts +10 -10
- package/lib/stores/webdaql/WebdaQLParserParser.js +62 -91
- package/lib/stores/webdaql/WebdaQLParserParser.js.map +1 -1
- package/lib/stores/webdaql/WebdaQLParserVisitor.d.ts +2 -2
- package/lib/stores/webdaql/WebdaQLParserVisitor.js +1 -2
- package/lib/stores/webdaql/WebdaQLParserVisitor.js.map +1 -1
- package/lib/stores/webdaql/query.d.ts +4 -5
- package/lib/stores/webdaql/query.js +16 -19
- package/lib/stores/webdaql/query.js.map +1 -1
- package/lib/stores/webdaql/query.spec.js +30 -32
- package/lib/stores/webdaql/query.spec.js.map +1 -1
- package/lib/test.d.ts +3 -3
- package/lib/test.js +74 -94
- package/lib/test.js.map +1 -1
- package/lib/unpackedapplication.d.ts +1 -1
- package/lib/unpackedapplication.js +25 -31
- package/lib/unpackedapplication.js.map +1 -1
- package/lib/utils/abstractdeployer.js +1 -5
- package/lib/utils/abstractdeployer.js.map +1 -1
- package/lib/utils/abstractdeployer.spec.js +6 -8
- package/lib/utils/abstractdeployer.spec.js.map +1 -1
- package/lib/utils/context.d.ts +61 -29
- package/lib/utils/context.js +133 -127
- package/lib/utils/context.js.map +1 -1
- package/lib/utils/context.spec.js +147 -153
- package/lib/utils/context.spec.js.map +1 -1
- package/lib/utils/cookie.d.ts +66 -45
- package/lib/utils/cookie.js +69 -158
- package/lib/utils/cookie.js.map +1 -1
- package/lib/utils/cookie.spec.js +220 -238
- package/lib/utils/cookie.spec.js.map +1 -1
- package/lib/utils/esm.d.ts +4 -0
- package/lib/utils/esm.js +10 -0
- package/lib/utils/esm.js.map +1 -0
- package/lib/utils/httpcontext.d.ts +37 -9
- package/lib/utils/httpcontext.js +86 -57
- package/lib/utils/httpcontext.js.map +1 -1
- package/lib/utils/httpcontext.spec.js +37 -48
- package/lib/utils/httpcontext.spec.js.map +1 -1
- package/lib/utils/logger.d.ts +2 -2
- package/lib/utils/logger.js +15 -28
- package/lib/utils/logger.js.map +1 -1
- package/lib/utils/logger.spec.js +9 -11
- package/lib/utils/logger.spec.js.map +1 -1
- package/lib/utils/serializers.js +17 -20
- package/lib/utils/serializers.js.map +1 -1
- package/lib/utils/serializers.spec.js +43 -44
- package/lib/utils/serializers.spec.js.map +1 -1
- package/lib/utils/session.d.ts +120 -0
- package/lib/utils/session.js +155 -0
- package/lib/utils/session.js.map +1 -0
- package/lib/utils/session.spec.d.ts +1 -0
- package/lib/utils/session.spec.js +66 -0
- package/lib/utils/session.spec.js.map +1 -0
- package/lib/utils/waiter.d.ts +1 -1
- package/lib/utils/waiter.js +32 -52
- package/lib/utils/waiter.js.map +1 -1
- package/lib/utils/waiter.spec.js +75 -92
- package/lib/utils/waiter.spec.js.map +1 -1
- package/package.json +22 -14
- package/test/config-invitation.json +1 -3
- package/test/config.json +3 -3
- package/test/config.old.json +1 -2
- package/test/moddas/annotatedservice.js +5 -5
- package/test/moddas/debugmailer.js +2 -3
- package/test/moddas/fakeservice.js +2 -3
- package/test/moddas/voidstore.js +6 -4
- package/test/models/ident.js +2 -6
- package/test/models/task.js +3 -7
- package/test/package.json +2 -1
- package/webda.module.json +956 -188
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
// Generated from src/stores/webdaql/WebdaQLParser.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const VocabularyImpl_1 = require("antlr4ts/VocabularyImpl");
|
|
16
|
-
class WebdaQLParserParser extends Parser_1.Parser {
|
|
2
|
+
import { ATN } from "antlr4ts/atn/ATN.js";
|
|
3
|
+
import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer.js";
|
|
4
|
+
import { ParserATNSimulator } from "antlr4ts/atn/ParserATNSimulator.js";
|
|
5
|
+
import { FailedPredicateException } from "antlr4ts/FailedPredicateException.js";
|
|
6
|
+
import * as Utils from "antlr4ts/misc/Utils.js";
|
|
7
|
+
import { NoViableAltException } from "antlr4ts/NoViableAltException.js";
|
|
8
|
+
import { Parser } from "antlr4ts/Parser.js";
|
|
9
|
+
import { ParserRuleContext } from "antlr4ts/ParserRuleContext.js";
|
|
10
|
+
import { RecognitionException } from "antlr4ts/RecognitionException.js";
|
|
11
|
+
import { Token } from "antlr4ts/Token.js";
|
|
12
|
+
import { VocabularyImpl } from "antlr4ts/VocabularyImpl.js";
|
|
13
|
+
export class WebdaQLParserParser extends Parser {
|
|
17
14
|
constructor(input) {
|
|
18
15
|
super(input);
|
|
19
|
-
this._interp = new
|
|
16
|
+
this._interp = new ParserATNSimulator(WebdaQLParserParser._ATN, this);
|
|
20
17
|
}
|
|
21
18
|
// @Override
|
|
22
19
|
// @NotNull
|
|
@@ -37,7 +34,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
37
34
|
return WebdaQLParserParser._serializedATN;
|
|
38
35
|
}
|
|
39
36
|
createFailedPredicateException(predicate, message) {
|
|
40
|
-
return new
|
|
37
|
+
return new FailedPredicateException(this, predicate, message);
|
|
41
38
|
}
|
|
42
39
|
// @RuleVersion(0)
|
|
43
40
|
webdaql() {
|
|
@@ -98,7 +95,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
98
95
|
}
|
|
99
96
|
}
|
|
100
97
|
catch (re) {
|
|
101
|
-
if (re instanceof
|
|
98
|
+
if (re instanceof RecognitionException) {
|
|
102
99
|
_localctx.exception = re;
|
|
103
100
|
this._errHandler.reportError(this, re);
|
|
104
101
|
this._errHandler.recover(this, re);
|
|
@@ -126,7 +123,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
126
123
|
}
|
|
127
124
|
}
|
|
128
125
|
catch (re) {
|
|
129
|
-
if (re instanceof
|
|
126
|
+
if (re instanceof RecognitionException) {
|
|
130
127
|
_localctx.exception = re;
|
|
131
128
|
this._errHandler.reportError(this, re);
|
|
132
129
|
this._errHandler.recover(this, re);
|
|
@@ -154,7 +151,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
154
151
|
}
|
|
155
152
|
}
|
|
156
153
|
catch (re) {
|
|
157
|
-
if (re instanceof
|
|
154
|
+
if (re instanceof RecognitionException) {
|
|
158
155
|
_localctx.exception = re;
|
|
159
156
|
this._errHandler.reportError(this, re);
|
|
160
157
|
this._errHandler.recover(this, re);
|
|
@@ -189,7 +186,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
189
186
|
this._errHandler.recoverInline(this);
|
|
190
187
|
}
|
|
191
188
|
else {
|
|
192
|
-
if (this._input.LA(1) ===
|
|
189
|
+
if (this._input.LA(1) === Token.EOF) {
|
|
193
190
|
this.matchedEOF = true;
|
|
194
191
|
}
|
|
195
192
|
this._errHandler.reportMatch(this);
|
|
@@ -200,7 +197,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
200
197
|
}
|
|
201
198
|
}
|
|
202
199
|
catch (re) {
|
|
203
|
-
if (re instanceof
|
|
200
|
+
if (re instanceof RecognitionException) {
|
|
204
201
|
_localctx.exception = re;
|
|
205
202
|
this._errHandler.reportError(this, re);
|
|
206
203
|
this._errHandler.recover(this, re);
|
|
@@ -245,7 +242,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
245
242
|
}
|
|
246
243
|
}
|
|
247
244
|
catch (re) {
|
|
248
|
-
if (re instanceof
|
|
245
|
+
if (re instanceof RecognitionException) {
|
|
249
246
|
_localctx.exception = re;
|
|
250
247
|
this._errHandler.reportError(this, re);
|
|
251
248
|
this._errHandler.recover(this, re);
|
|
@@ -325,7 +322,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
325
322
|
this._errHandler.recoverInline(this);
|
|
326
323
|
}
|
|
327
324
|
else {
|
|
328
|
-
if (this._input.LA(1) ===
|
|
325
|
+
if (this._input.LA(1) === Token.EOF) {
|
|
329
326
|
this.matchedEOF = true;
|
|
330
327
|
}
|
|
331
328
|
this._errHandler.reportMatch(this);
|
|
@@ -362,7 +359,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
362
359
|
this.state = 87;
|
|
363
360
|
this._errHandler.sync(this);
|
|
364
361
|
_alt = this.interpreter.adaptivePredict(this._input, 8, this._ctx);
|
|
365
|
-
while (_alt !== 2 && _alt !==
|
|
362
|
+
while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) {
|
|
366
363
|
if (_alt === 1) {
|
|
367
364
|
if (this._parseListeners != null) {
|
|
368
365
|
this.triggerExitRuleEvent();
|
|
@@ -410,7 +407,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
410
407
|
}
|
|
411
408
|
}
|
|
412
409
|
catch (re) {
|
|
413
|
-
if (re instanceof
|
|
410
|
+
if (re instanceof RecognitionException) {
|
|
414
411
|
_localctx.exception = re;
|
|
415
412
|
this._errHandler.reportError(this, re);
|
|
416
413
|
this._errHandler.recover(this, re);
|
|
@@ -459,11 +456,11 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
459
456
|
}
|
|
460
457
|
break;
|
|
461
458
|
default:
|
|
462
|
-
throw new
|
|
459
|
+
throw new NoViableAltException(this);
|
|
463
460
|
}
|
|
464
461
|
}
|
|
465
462
|
catch (re) {
|
|
466
|
-
if (re instanceof
|
|
463
|
+
if (re instanceof RecognitionException) {
|
|
467
464
|
_localctx.exception = re;
|
|
468
465
|
this._errHandler.reportError(this, re);
|
|
469
466
|
this._errHandler.recover(this, re);
|
|
@@ -507,11 +504,11 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
507
504
|
}
|
|
508
505
|
break;
|
|
509
506
|
default:
|
|
510
|
-
throw new
|
|
507
|
+
throw new NoViableAltException(this);
|
|
511
508
|
}
|
|
512
509
|
}
|
|
513
510
|
catch (re) {
|
|
514
|
-
if (re instanceof
|
|
511
|
+
if (re instanceof RecognitionException) {
|
|
515
512
|
_localctx.exception = re;
|
|
516
513
|
this._errHandler.reportError(this, re);
|
|
517
514
|
this._errHandler.recover(this, re);
|
|
@@ -539,7 +536,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
539
536
|
this._errHandler.recoverInline(this);
|
|
540
537
|
}
|
|
541
538
|
else {
|
|
542
|
-
if (this._input.LA(1) ===
|
|
539
|
+
if (this._input.LA(1) === Token.EOF) {
|
|
543
540
|
this.matchedEOF = true;
|
|
544
541
|
}
|
|
545
542
|
this._errHandler.reportMatch(this);
|
|
@@ -548,7 +545,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
548
545
|
}
|
|
549
546
|
}
|
|
550
547
|
catch (re) {
|
|
551
|
-
if (re instanceof
|
|
548
|
+
if (re instanceof RecognitionException) {
|
|
552
549
|
_localctx.exception = re;
|
|
553
550
|
this._errHandler.reportError(this, re);
|
|
554
551
|
this._errHandler.recover(this, re);
|
|
@@ -576,7 +573,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
576
573
|
this._errHandler.recoverInline(this);
|
|
577
574
|
}
|
|
578
575
|
else {
|
|
579
|
-
if (this._input.LA(1) ===
|
|
576
|
+
if (this._input.LA(1) === Token.EOF) {
|
|
580
577
|
this.matchedEOF = true;
|
|
581
578
|
}
|
|
582
579
|
this._errHandler.reportMatch(this);
|
|
@@ -585,7 +582,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
585
582
|
}
|
|
586
583
|
}
|
|
587
584
|
catch (re) {
|
|
588
|
-
if (re instanceof
|
|
585
|
+
if (re instanceof RecognitionException) {
|
|
589
586
|
_localctx.exception = re;
|
|
590
587
|
this._errHandler.reportError(this, re);
|
|
591
588
|
this._errHandler.recover(this, re);
|
|
@@ -613,7 +610,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
613
610
|
this._errHandler.recoverInline(this);
|
|
614
611
|
}
|
|
615
612
|
else {
|
|
616
|
-
if (this._input.LA(1) ===
|
|
613
|
+
if (this._input.LA(1) === Token.EOF) {
|
|
617
614
|
this.matchedEOF = true;
|
|
618
615
|
}
|
|
619
616
|
this._errHandler.reportMatch(this);
|
|
@@ -622,7 +619,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
622
619
|
}
|
|
623
620
|
}
|
|
624
621
|
catch (re) {
|
|
625
|
-
if (re instanceof
|
|
622
|
+
if (re instanceof RecognitionException) {
|
|
626
623
|
_localctx.exception = re;
|
|
627
624
|
this._errHandler.reportError(this, re);
|
|
628
625
|
this._errHandler.recover(this, re);
|
|
@@ -648,7 +645,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
648
645
|
}
|
|
649
646
|
}
|
|
650
647
|
catch (re) {
|
|
651
|
-
if (re instanceof
|
|
648
|
+
if (re instanceof RecognitionException) {
|
|
652
649
|
_localctx.exception = re;
|
|
653
650
|
this._errHandler.reportError(this, re);
|
|
654
651
|
this._errHandler.recover(this, re);
|
|
@@ -695,7 +692,7 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
695
692
|
}
|
|
696
693
|
}
|
|
697
694
|
catch (re) {
|
|
698
|
-
if (re instanceof
|
|
695
|
+
if (re instanceof RecognitionException) {
|
|
699
696
|
_localctx.exception = re;
|
|
700
697
|
this._errHandler.reportError(this, re);
|
|
701
698
|
this._errHandler.recover(this, re);
|
|
@@ -727,12 +724,11 @@ class WebdaQLParserParser extends Parser_1.Parser {
|
|
|
727
724
|
}
|
|
728
725
|
static get _ATN() {
|
|
729
726
|
if (!WebdaQLParserParser.__ATN) {
|
|
730
|
-
WebdaQLParserParser.__ATN = new
|
|
727
|
+
WebdaQLParserParser.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(WebdaQLParserParser._serializedATN));
|
|
731
728
|
}
|
|
732
729
|
return WebdaQLParserParser.__ATN;
|
|
733
730
|
}
|
|
734
731
|
}
|
|
735
|
-
exports.WebdaQLParserParser = WebdaQLParserParser;
|
|
736
732
|
WebdaQLParserParser.SPACE = 1;
|
|
737
733
|
WebdaQLParserParser.LR_BRACKET = 2;
|
|
738
734
|
WebdaQLParserParser.RR_BRACKET = 3;
|
|
@@ -855,7 +851,7 @@ WebdaQLParserParser._SYMBOLIC_NAMES = [
|
|
|
855
851
|
"IDENTIFIER_WITH_NUMBER",
|
|
856
852
|
"FUNCTION_IDENTIFIER_WITH_UNDERSCORE"
|
|
857
853
|
];
|
|
858
|
-
WebdaQLParserParser.VOCABULARY = new
|
|
854
|
+
WebdaQLParserParser.VOCABULARY = new VocabularyImpl(WebdaQLParserParser._LITERAL_NAMES, WebdaQLParserParser._SYMBOLIC_NAMES, []);
|
|
859
855
|
WebdaQLParserParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03!y\x04\x02\t\x02" +
|
|
860
856
|
"\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t\x07" +
|
|
861
857
|
"\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f\x04\r\t\r\x04\x0E\t" +
|
|
@@ -904,7 +900,7 @@ WebdaQLParserParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\u
|
|
|
904
900
|
"\x02qo\x03\x02\x02\x02ru\x03\x02\x02\x02sq\x03\x02\x02\x02st\x03\x02\x02" +
|
|
905
901
|
"\x02tv\x03\x02\x02\x02us\x03\x02\x02\x02vw\x07\n\x02\x02w\x1B\x03\x02" +
|
|
906
902
|
"\x02\x02\x0E\x1D #&2:OWY_cs";
|
|
907
|
-
class WebdaqlContext extends
|
|
903
|
+
export class WebdaqlContext extends ParserRuleContext {
|
|
908
904
|
EOF() {
|
|
909
905
|
return this.getToken(WebdaQLParserParser.EOF, 0);
|
|
910
906
|
}
|
|
@@ -949,8 +945,7 @@ class WebdaqlContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
949
945
|
}
|
|
950
946
|
}
|
|
951
947
|
}
|
|
952
|
-
|
|
953
|
-
class LimitExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
948
|
+
export class LimitExpressionContext extends ParserRuleContext {
|
|
954
949
|
LIMIT() {
|
|
955
950
|
return this.getToken(WebdaQLParserParser.LIMIT, 0);
|
|
956
951
|
}
|
|
@@ -986,8 +981,7 @@ class LimitExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
986
981
|
}
|
|
987
982
|
}
|
|
988
983
|
}
|
|
989
|
-
|
|
990
|
-
class OffsetExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
984
|
+
export class OffsetExpressionContext extends ParserRuleContext {
|
|
991
985
|
OFFSET() {
|
|
992
986
|
return this.getToken(WebdaQLParserParser.OFFSET, 0);
|
|
993
987
|
}
|
|
@@ -1023,8 +1017,7 @@ class OffsetExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1023
1017
|
}
|
|
1024
1018
|
}
|
|
1025
1019
|
}
|
|
1026
|
-
|
|
1027
|
-
class OrderFieldExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1020
|
+
export class OrderFieldExpressionContext extends ParserRuleContext {
|
|
1028
1021
|
identifier() {
|
|
1029
1022
|
return this.getRuleContext(0, IdentifierContext);
|
|
1030
1023
|
}
|
|
@@ -1063,8 +1056,7 @@ class OrderFieldExpressionContext extends ParserRuleContext_1.ParserRuleContext
|
|
|
1063
1056
|
}
|
|
1064
1057
|
}
|
|
1065
1058
|
}
|
|
1066
|
-
|
|
1067
|
-
class OrderExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1059
|
+
export class OrderExpressionContext extends ParserRuleContext {
|
|
1068
1060
|
ORDER_BY() {
|
|
1069
1061
|
return this.getToken(WebdaQLParserParser.ORDER_BY, 0);
|
|
1070
1062
|
}
|
|
@@ -1113,8 +1105,7 @@ class OrderExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1113
1105
|
}
|
|
1114
1106
|
}
|
|
1115
1107
|
}
|
|
1116
|
-
|
|
1117
|
-
class ExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1108
|
+
export class ExpressionContext extends ParserRuleContext {
|
|
1118
1109
|
constructor(parent, invokingState) {
|
|
1119
1110
|
super(parent, invokingState);
|
|
1120
1111
|
}
|
|
@@ -1126,8 +1117,7 @@ class ExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1126
1117
|
super.copyFrom(ctx);
|
|
1127
1118
|
}
|
|
1128
1119
|
}
|
|
1129
|
-
|
|
1130
|
-
class LikeExpressionContext extends ExpressionContext {
|
|
1120
|
+
export class LikeExpressionContext extends ExpressionContext {
|
|
1131
1121
|
identifier() {
|
|
1132
1122
|
return this.getRuleContext(0, IdentifierContext);
|
|
1133
1123
|
}
|
|
@@ -1163,8 +1153,7 @@ class LikeExpressionContext extends ExpressionContext {
|
|
|
1163
1153
|
}
|
|
1164
1154
|
}
|
|
1165
1155
|
}
|
|
1166
|
-
|
|
1167
|
-
class InExpressionContext extends ExpressionContext {
|
|
1156
|
+
export class InExpressionContext extends ExpressionContext {
|
|
1168
1157
|
identifier() {
|
|
1169
1158
|
return this.getRuleContext(0, IdentifierContext);
|
|
1170
1159
|
}
|
|
@@ -1200,8 +1189,7 @@ class InExpressionContext extends ExpressionContext {
|
|
|
1200
1189
|
}
|
|
1201
1190
|
}
|
|
1202
1191
|
}
|
|
1203
|
-
|
|
1204
|
-
class BinaryComparisonExpressionContext extends ExpressionContext {
|
|
1192
|
+
export class BinaryComparisonExpressionContext extends ExpressionContext {
|
|
1205
1193
|
identifier() {
|
|
1206
1194
|
return this.getRuleContext(0, IdentifierContext);
|
|
1207
1195
|
}
|
|
@@ -1252,8 +1240,7 @@ class BinaryComparisonExpressionContext extends ExpressionContext {
|
|
|
1252
1240
|
}
|
|
1253
1241
|
}
|
|
1254
1242
|
}
|
|
1255
|
-
|
|
1256
|
-
class AndLogicExpressionContext extends ExpressionContext {
|
|
1243
|
+
export class AndLogicExpressionContext extends ExpressionContext {
|
|
1257
1244
|
expression(i) {
|
|
1258
1245
|
if (i === undefined) {
|
|
1259
1246
|
return this.getRuleContexts(ExpressionContext);
|
|
@@ -1291,8 +1278,7 @@ class AndLogicExpressionContext extends ExpressionContext {
|
|
|
1291
1278
|
}
|
|
1292
1279
|
}
|
|
1293
1280
|
}
|
|
1294
|
-
|
|
1295
|
-
class OrLogicExpressionContext extends ExpressionContext {
|
|
1281
|
+
export class OrLogicExpressionContext extends ExpressionContext {
|
|
1296
1282
|
expression(i) {
|
|
1297
1283
|
if (i === undefined) {
|
|
1298
1284
|
return this.getRuleContexts(ExpressionContext);
|
|
@@ -1330,8 +1316,7 @@ class OrLogicExpressionContext extends ExpressionContext {
|
|
|
1330
1316
|
}
|
|
1331
1317
|
}
|
|
1332
1318
|
}
|
|
1333
|
-
|
|
1334
|
-
class SubExpressionContext extends ExpressionContext {
|
|
1319
|
+
export class SubExpressionContext extends ExpressionContext {
|
|
1335
1320
|
LR_BRACKET() {
|
|
1336
1321
|
return this.getToken(WebdaQLParserParser.LR_BRACKET, 0);
|
|
1337
1322
|
}
|
|
@@ -1367,8 +1352,7 @@ class SubExpressionContext extends ExpressionContext {
|
|
|
1367
1352
|
}
|
|
1368
1353
|
}
|
|
1369
1354
|
}
|
|
1370
|
-
|
|
1371
|
-
class AtomExpressionContext extends ExpressionContext {
|
|
1355
|
+
export class AtomExpressionContext extends ExpressionContext {
|
|
1372
1356
|
atom() {
|
|
1373
1357
|
return this.getRuleContext(0, AtomContext);
|
|
1374
1358
|
}
|
|
@@ -1398,8 +1382,7 @@ class AtomExpressionContext extends ExpressionContext {
|
|
|
1398
1382
|
}
|
|
1399
1383
|
}
|
|
1400
1384
|
}
|
|
1401
|
-
|
|
1402
|
-
class ValuesContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1385
|
+
export class ValuesContext extends ParserRuleContext {
|
|
1403
1386
|
constructor(parent, invokingState) {
|
|
1404
1387
|
super(parent, invokingState);
|
|
1405
1388
|
}
|
|
@@ -1411,8 +1394,7 @@ class ValuesContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1411
1394
|
super.copyFrom(ctx);
|
|
1412
1395
|
}
|
|
1413
1396
|
}
|
|
1414
|
-
|
|
1415
|
-
class BooleanAtomContext extends ValuesContext {
|
|
1397
|
+
export class BooleanAtomContext extends ValuesContext {
|
|
1416
1398
|
booleanLiteral() {
|
|
1417
1399
|
return this.getRuleContext(0, BooleanLiteralContext);
|
|
1418
1400
|
}
|
|
@@ -1442,8 +1424,7 @@ class BooleanAtomContext extends ValuesContext {
|
|
|
1442
1424
|
}
|
|
1443
1425
|
}
|
|
1444
1426
|
}
|
|
1445
|
-
|
|
1446
|
-
class IntegerAtomContext extends ValuesContext {
|
|
1427
|
+
export class IntegerAtomContext extends ValuesContext {
|
|
1447
1428
|
integerLiteral() {
|
|
1448
1429
|
return this.getRuleContext(0, IntegerLiteralContext);
|
|
1449
1430
|
}
|
|
@@ -1473,8 +1454,7 @@ class IntegerAtomContext extends ValuesContext {
|
|
|
1473
1454
|
}
|
|
1474
1455
|
}
|
|
1475
1456
|
}
|
|
1476
|
-
|
|
1477
|
-
class StringAtomContext extends ValuesContext {
|
|
1457
|
+
export class StringAtomContext extends ValuesContext {
|
|
1478
1458
|
stringLiteral() {
|
|
1479
1459
|
return this.getRuleContext(0, StringLiteralContext);
|
|
1480
1460
|
}
|
|
@@ -1504,8 +1484,7 @@ class StringAtomContext extends ValuesContext {
|
|
|
1504
1484
|
}
|
|
1505
1485
|
}
|
|
1506
1486
|
}
|
|
1507
|
-
|
|
1508
|
-
class AtomContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1487
|
+
export class AtomContext extends ParserRuleContext {
|
|
1509
1488
|
constructor(parent, invokingState) {
|
|
1510
1489
|
super(parent, invokingState);
|
|
1511
1490
|
}
|
|
@@ -1517,8 +1496,7 @@ class AtomContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1517
1496
|
super.copyFrom(ctx);
|
|
1518
1497
|
}
|
|
1519
1498
|
}
|
|
1520
|
-
|
|
1521
|
-
class ValuesAtomContext extends AtomContext {
|
|
1499
|
+
export class ValuesAtomContext extends AtomContext {
|
|
1522
1500
|
values() {
|
|
1523
1501
|
return this.getRuleContext(0, ValuesContext);
|
|
1524
1502
|
}
|
|
@@ -1548,8 +1526,7 @@ class ValuesAtomContext extends AtomContext {
|
|
|
1548
1526
|
}
|
|
1549
1527
|
}
|
|
1550
1528
|
}
|
|
1551
|
-
|
|
1552
|
-
class IdentifierAtomContext extends AtomContext {
|
|
1529
|
+
export class IdentifierAtomContext extends AtomContext {
|
|
1553
1530
|
identifier() {
|
|
1554
1531
|
return this.getRuleContext(0, IdentifierContext);
|
|
1555
1532
|
}
|
|
@@ -1579,8 +1556,7 @@ class IdentifierAtomContext extends AtomContext {
|
|
|
1579
1556
|
}
|
|
1580
1557
|
}
|
|
1581
1558
|
}
|
|
1582
|
-
|
|
1583
|
-
class IdentifierContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1559
|
+
export class IdentifierContext extends ParserRuleContext {
|
|
1584
1560
|
IDENTIFIER() {
|
|
1585
1561
|
return this.tryGetToken(WebdaQLParserParser.IDENTIFIER, 0);
|
|
1586
1562
|
}
|
|
@@ -1616,8 +1592,7 @@ class IdentifierContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1616
1592
|
}
|
|
1617
1593
|
}
|
|
1618
1594
|
}
|
|
1619
|
-
|
|
1620
|
-
class BooleanLiteralContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1595
|
+
export class BooleanLiteralContext extends ParserRuleContext {
|
|
1621
1596
|
TRUE() {
|
|
1622
1597
|
return this.tryGetToken(WebdaQLParserParser.TRUE, 0);
|
|
1623
1598
|
}
|
|
@@ -1653,8 +1628,7 @@ class BooleanLiteralContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1653
1628
|
}
|
|
1654
1629
|
}
|
|
1655
1630
|
}
|
|
1656
|
-
|
|
1657
|
-
class StringLiteralContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1631
|
+
export class StringLiteralContext extends ParserRuleContext {
|
|
1658
1632
|
DQUOTED_STRING_LITERAL() {
|
|
1659
1633
|
return this.tryGetToken(WebdaQLParserParser.DQUOTED_STRING_LITERAL, 0);
|
|
1660
1634
|
}
|
|
@@ -1690,8 +1664,7 @@ class StringLiteralContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1690
1664
|
}
|
|
1691
1665
|
}
|
|
1692
1666
|
}
|
|
1693
|
-
|
|
1694
|
-
class IntegerLiteralContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1667
|
+
export class IntegerLiteralContext extends ParserRuleContext {
|
|
1695
1668
|
INTEGER_LITERAL() {
|
|
1696
1669
|
return this.getToken(WebdaQLParserParser.INTEGER_LITERAL, 0);
|
|
1697
1670
|
}
|
|
@@ -1724,8 +1697,7 @@ class IntegerLiteralContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1724
1697
|
}
|
|
1725
1698
|
}
|
|
1726
1699
|
}
|
|
1727
|
-
|
|
1728
|
-
class SetExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1700
|
+
export class SetExpressionContext extends ParserRuleContext {
|
|
1729
1701
|
LR_SQ_BRACKET() {
|
|
1730
1702
|
return this.getToken(WebdaQLParserParser.LR_SQ_BRACKET, 0);
|
|
1731
1703
|
}
|
|
@@ -1777,5 +1749,4 @@ class SetExpressionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
1777
1749
|
}
|
|
1778
1750
|
}
|
|
1779
1751
|
}
|
|
1780
|
-
exports.SetExpressionContext = SetExpressionContext;
|
|
1781
1752
|
//# sourceMappingURL=WebdaQLParserParser.js.map
|