@kontur.candy/generator 5.63.0-check-debug-tools.0 → 5.63.0-check-debug-tools.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/dist/index.js +1787 -826
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49567,6 +49567,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
49567
49567
|
/* harmony import */ var antlr4ts_misc__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(antlr4ts_misc__WEBPACK_IMPORTED_MODULE_0__);
|
|
49568
49568
|
/* harmony import */ var _Common_Errors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../Common/Errors */ "./Common/Errors.ts");
|
|
49569
49569
|
/* harmony import */ var _KCLangAntlrFunctions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./KCLangAntlrFunctions */ "./Generator/src/common/KCLang/Antlr/KCLangAntlrFunctions.ts");
|
|
49570
|
+
/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */
|
|
49571
|
+
|
|
49570
49572
|
|
|
49571
49573
|
|
|
49572
49574
|
|
|
@@ -49652,7 +49654,7 @@ class KCLangAntlrVisitor {
|
|
|
49652
49654
|
}
|
|
49653
49655
|
visitWithBlock(ctx) {
|
|
49654
49656
|
var _ctx$withBlockValue, _ctx$withBlockValue2;
|
|
49655
|
-
const hasInterpolation = ((_ctx$withBlockValue = ctx.withBlockValue()) === null || _ctx$withBlockValue === void 0 ? void 0 : _ctx$withBlockValue.
|
|
49657
|
+
const hasInterpolation = ((_ctx$withBlockValue = ctx.withBlockValue()) === null || _ctx$withBlockValue === void 0 ? void 0 : _ctx$withBlockValue.interpolatedStringExpression()) != undefined;
|
|
49656
49658
|
const value = (_ctx$withBlockValue2 = ctx.withBlockValue()) === null || _ctx$withBlockValue2 === void 0 ? void 0 : _ctx$withBlockValue2.text;
|
|
49657
49659
|
if (value == undefined) {
|
|
49658
49660
|
throw Error("visitWithBlock syntax incorrect");
|
|
@@ -49699,7 +49701,10 @@ class KCLangAntlrVisitor {
|
|
|
49699
49701
|
visitExpression(ctx) {
|
|
49700
49702
|
throw Error("visitExpression not used");
|
|
49701
49703
|
}
|
|
49702
|
-
|
|
49704
|
+
visitArray(ctx) {
|
|
49705
|
+
return ctx.arrayExpression().accept(this);
|
|
49706
|
+
}
|
|
49707
|
+
visitArrayExpression(ctx) {
|
|
49703
49708
|
return {
|
|
49704
49709
|
type: "array",
|
|
49705
49710
|
items: ctx.expression().map(i => i.accept(this))
|
|
@@ -49811,8 +49816,8 @@ class KCLangAntlrVisitor {
|
|
|
49811
49816
|
visitOneOf(ctx) {
|
|
49812
49817
|
return {
|
|
49813
49818
|
type: "oneof",
|
|
49814
|
-
testExpression: ctx.expression().accept(this),
|
|
49815
|
-
expressions: ctx.
|
|
49819
|
+
testExpression: ctx.expression(0).accept(this),
|
|
49820
|
+
expressions: ctx.expression(1).accept(this)
|
|
49816
49821
|
};
|
|
49817
49822
|
}
|
|
49818
49823
|
visitUnary(ctx) {
|
|
@@ -49855,9 +49860,6 @@ class KCLangAntlrVisitor {
|
|
|
49855
49860
|
}
|
|
49856
49861
|
|
|
49857
49862
|
// Type
|
|
49858
|
-
visitTypeD(ctx) {
|
|
49859
|
-
return ctx.type().accept(this);
|
|
49860
|
-
}
|
|
49861
49863
|
visitType(ctx) {
|
|
49862
49864
|
let dataType;
|
|
49863
49865
|
const contextName = ctx.NAME().text;
|
|
@@ -49888,19 +49890,7 @@ class KCLangAntlrVisitor {
|
|
|
49888
49890
|
return ctx.pathExpression().accept(this);
|
|
49889
49891
|
}
|
|
49890
49892
|
visitPathExpression(ctx) {
|
|
49891
|
-
|
|
49892
|
-
const cast = (_ctx$typeD = ctx.typeD()) === null || _ctx$typeD === void 0 ? void 0 : _ctx$typeD.accept(this);
|
|
49893
|
-
const expression = ctx.path().accept(this);
|
|
49894
|
-
const expressionWithoutArray = expression instanceof Array ? expression[0] : expression;
|
|
49895
|
-
if (cast) {
|
|
49896
|
-
return {
|
|
49897
|
-
type: "cast",
|
|
49898
|
-
targetType: cast.dataType,
|
|
49899
|
-
expression: expressionWithoutArray
|
|
49900
|
-
};
|
|
49901
|
-
} else {
|
|
49902
|
-
return expressionWithoutArray;
|
|
49903
|
-
}
|
|
49893
|
+
return ctx.path().accept(this);
|
|
49904
49894
|
}
|
|
49905
49895
|
visitPath(ctx) {
|
|
49906
49896
|
var _ref3, _ref4, _ctx$absolutePath;
|
|
@@ -49920,18 +49910,17 @@ class KCLangAntlrVisitor {
|
|
|
49920
49910
|
};
|
|
49921
49911
|
}
|
|
49922
49912
|
visitInterpolate(ctx) {
|
|
49923
|
-
return ctx.
|
|
49913
|
+
return ctx.interpolatedStringExpression().accept(this);
|
|
49924
49914
|
}
|
|
49925
|
-
|
|
49915
|
+
visitInterpolatedStringExpression(ctx) {
|
|
49926
49916
|
return {
|
|
49927
49917
|
type: "interpolationExpression",
|
|
49928
|
-
context: ctx.
|
|
49918
|
+
context: ctx.interpolatedStringContent().interpolatedStringToken().map(token => token.accept(this))
|
|
49929
49919
|
};
|
|
49930
49920
|
}
|
|
49931
|
-
|
|
49921
|
+
visitInterpolatedStringToken(ctx) {
|
|
49932
49922
|
const interpolationResult = ctx.interpolation();
|
|
49933
49923
|
if (interpolationResult) {
|
|
49934
|
-
// значение внутри - { }
|
|
49935
49924
|
return interpolationResult.interpolationContent().accept(this);
|
|
49936
49925
|
}
|
|
49937
49926
|
|
|
@@ -49967,30 +49956,30 @@ class KCLangAntlrVisitor {
|
|
|
49967
49956
|
text: node.text
|
|
49968
49957
|
};
|
|
49969
49958
|
}
|
|
49959
|
+
visitValueType(ctx) {
|
|
49960
|
+
return ctx.type().accept(this);
|
|
49961
|
+
}
|
|
49962
|
+
visitCast(ctx) {
|
|
49963
|
+
var _ctx$valueType;
|
|
49964
|
+
const cast = (_ctx$valueType = ctx.valueType()) === null || _ctx$valueType === void 0 ? void 0 : _ctx$valueType.accept(this);
|
|
49965
|
+
return {
|
|
49966
|
+
type: "cast",
|
|
49967
|
+
targetType: cast.dataType,
|
|
49968
|
+
expression: ctx.unaryExpression().accept(this)
|
|
49969
|
+
};
|
|
49970
|
+
}
|
|
49970
49971
|
|
|
49971
49972
|
// Const
|
|
49972
49973
|
visitConstExpression(ctx) {
|
|
49973
|
-
var _ctx$constDecimal
|
|
49974
|
+
var _ctx$constDecimal;
|
|
49974
49975
|
const node = (_ctx$constDecimal = ctx.constDecimal()) !== null && _ctx$constDecimal !== void 0 ? _ctx$constDecimal : ctx.constString();
|
|
49975
49976
|
if (node == undefined) {
|
|
49976
49977
|
throw Error("visitConstExpression syntax incorrect");
|
|
49977
49978
|
}
|
|
49978
|
-
|
|
49979
|
-
|
|
49980
|
-
|
|
49981
|
-
|
|
49982
|
-
targetType: cast.dataType,
|
|
49983
|
-
expression: {
|
|
49984
|
-
type: "const",
|
|
49985
|
-
value: node.accept(this)
|
|
49986
|
-
}
|
|
49987
|
-
};
|
|
49988
|
-
} else {
|
|
49989
|
-
return {
|
|
49990
|
-
type: "const",
|
|
49991
|
-
value: node.accept(this)
|
|
49992
|
-
};
|
|
49993
|
-
}
|
|
49979
|
+
return {
|
|
49980
|
+
type: "const",
|
|
49981
|
+
value: node.accept(this)
|
|
49982
|
+
};
|
|
49994
49983
|
}
|
|
49995
49984
|
visitConstString(ctx) {
|
|
49996
49985
|
return {
|
|
@@ -50106,7 +50095,7 @@ class KCLangAntlrVisitor {
|
|
|
50106
50095
|
visitChildren(node) {
|
|
50107
50096
|
// ДА, мы никогда не должны зайти в этот метод, он является fallback(default)
|
|
50108
50097
|
// если другой визитер не найден. Должны быть реализованы все визитеры
|
|
50109
|
-
throw Error(
|
|
50098
|
+
throw Error(`visitChildren MUST not be called! Type node name: ${node.constructor.name}`);
|
|
50110
50099
|
}
|
|
50111
50100
|
|
|
50112
50101
|
// NOTE: @A - некорректный токен, при разборке на токены через ctx.elementToken() он проигнорируется
|
|
@@ -50134,15 +50123,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50134
50123
|
/* harmony export */ AggregatorAttributeContext: () => (/* binding */ AggregatorAttributeContext),
|
|
50135
50124
|
/* harmony export */ AndContext: () => (/* binding */ AndContext),
|
|
50136
50125
|
/* harmony export */ ArgumentContext: () => (/* binding */ ArgumentContext),
|
|
50126
|
+
/* harmony export */ ArrayContext: () => (/* binding */ ArrayContext),
|
|
50127
|
+
/* harmony export */ ArrayExpressionContext: () => (/* binding */ ArrayExpressionContext),
|
|
50137
50128
|
/* harmony export */ AttributeContext: () => (/* binding */ AttributeContext),
|
|
50138
50129
|
/* harmony export */ BodyContext: () => (/* binding */ BodyContext),
|
|
50139
50130
|
/* harmony export */ BracketsContext: () => (/* binding */ BracketsContext),
|
|
50131
|
+
/* harmony export */ CastContext: () => (/* binding */ CastContext),
|
|
50140
50132
|
/* harmony export */ CheckContext: () => (/* binding */ CheckContext),
|
|
50141
50133
|
/* harmony export */ CoalesceContext: () => (/* binding */ CoalesceContext),
|
|
50142
50134
|
/* harmony export */ CoalesceOperationContext: () => (/* binding */ CoalesceOperationContext),
|
|
50143
50135
|
/* harmony export */ CollationAliasContext: () => (/* binding */ CollationAliasContext),
|
|
50144
50136
|
/* harmony export */ CollationContext: () => (/* binding */ CollationContext),
|
|
50137
|
+
/* harmony export */ CollationExpressionPartContext: () => (/* binding */ CollationExpressionPartContext),
|
|
50145
50138
|
/* harmony export */ CollationPartContext: () => (/* binding */ CollationPartContext),
|
|
50139
|
+
/* harmony export */ CollationPathPartContext: () => (/* binding */ CollationPathPartContext),
|
|
50146
50140
|
/* harmony export */ CollationSequenceContext: () => (/* binding */ CollationSequenceContext),
|
|
50147
50141
|
/* harmony export */ ComparisonContext: () => (/* binding */ ComparisonContext),
|
|
50148
50142
|
/* harmony export */ CompositionContext: () => (/* binding */ CompositionContext),
|
|
@@ -50152,12 +50146,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50152
50146
|
/* harmony export */ ConstDecimalContext: () => (/* binding */ ConstDecimalContext),
|
|
50153
50147
|
/* harmony export */ ConstExpressionContext: () => (/* binding */ ConstExpressionContext),
|
|
50154
50148
|
/* harmony export */ ConstStringContext: () => (/* binding */ ConstStringContext),
|
|
50155
|
-
/* harmony export */ DescriptionTokenContext: () => (/* binding */ DescriptionTokenContext),
|
|
50156
50149
|
/* harmony export */ ElementContext: () => (/* binding */ ElementContext),
|
|
50157
50150
|
/* harmony export */ ElementTokenContext: () => (/* binding */ ElementTokenContext),
|
|
50158
50151
|
/* harmony export */ ElsePartContext: () => (/* binding */ ElsePartContext),
|
|
50159
50152
|
/* harmony export */ ExpressionContext: () => (/* binding */ ExpressionContext),
|
|
50160
|
-
/* harmony export */ ExpressionSequenceContext: () => (/* binding */ ExpressionSequenceContext),
|
|
50161
50153
|
/* harmony export */ FilterAndContext: () => (/* binding */ FilterAndContext),
|
|
50162
50154
|
/* harmony export */ FilterAttributeExistsContext: () => (/* binding */ FilterAttributeExistsContext),
|
|
50163
50155
|
/* harmony export */ FilterComparisionOperatorContext: () => (/* binding */ FilterComparisionOperatorContext),
|
|
@@ -50173,17 +50165,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50173
50165
|
/* harmony export */ FormulaContext: () => (/* binding */ FormulaContext),
|
|
50174
50166
|
/* harmony export */ FuncContext: () => (/* binding */ FuncContext),
|
|
50175
50167
|
/* harmony export */ FuncExpressionContext: () => (/* binding */ FuncExpressionContext),
|
|
50168
|
+
/* harmony export */ FunctionArgumentsContext: () => (/* binding */ FunctionArgumentsContext),
|
|
50169
|
+
/* harmony export */ FunctionDefinitionContext: () => (/* binding */ FunctionDefinitionContext),
|
|
50176
50170
|
/* harmony export */ GlobalDefinitionContext: () => (/* binding */ GlobalDefinitionContext),
|
|
50177
50171
|
/* harmony export */ GlobalVariableContext: () => (/* binding */ GlobalVariableContext),
|
|
50172
|
+
/* harmony export */ HowToFixDescriptionBlockContext: () => (/* binding */ HowToFixDescriptionBlockContext),
|
|
50178
50173
|
/* harmony export */ IfPartContext: () => (/* binding */ IfPartContext),
|
|
50179
50174
|
/* harmony export */ IfStatementContext: () => (/* binding */ IfStatementContext),
|
|
50180
50175
|
/* harmony export */ InBlockContext: () => (/* binding */ InBlockContext),
|
|
50181
50176
|
/* harmony export */ InBlockItemContext: () => (/* binding */ InBlockItemContext),
|
|
50182
50177
|
/* harmony export */ IncompletePathContext: () => (/* binding */ IncompletePathContext),
|
|
50183
50178
|
/* harmony export */ InterpolateContext: () => (/* binding */ InterpolateContext),
|
|
50179
|
+
/* harmony export */ InterpolatedStringContentContext: () => (/* binding */ InterpolatedStringContentContext),
|
|
50180
|
+
/* harmony export */ InterpolatedStringExpressionContext: () => (/* binding */ InterpolatedStringExpressionContext),
|
|
50181
|
+
/* harmony export */ InterpolatedStringTokenContext: () => (/* binding */ InterpolatedStringTokenContext),
|
|
50184
50182
|
/* harmony export */ InterpolationContentContext: () => (/* binding */ InterpolationContentContext),
|
|
50185
50183
|
/* harmony export */ InterpolationContext: () => (/* binding */ InterpolationContext),
|
|
50186
|
-
/* harmony export */ InterpolationExpressionContext: () => (/* binding */ InterpolationExpressionContext),
|
|
50187
50184
|
/* harmony export */ InterpolationTargetContext: () => (/* binding */ InterpolationTargetContext),
|
|
50188
50185
|
/* harmony export */ InterpolationWithFormatContext: () => (/* binding */ InterpolationWithFormatContext),
|
|
50189
50186
|
/* harmony export */ KcLang: () => (/* binding */ KcLang),
|
|
@@ -50203,19 +50200,24 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50203
50200
|
/* harmony export */ PropertyExpressionContext: () => (/* binding */ PropertyExpressionContext),
|
|
50204
50201
|
/* harmony export */ PropertyVariableContext: () => (/* binding */ PropertyVariableContext),
|
|
50205
50202
|
/* harmony export */ RelativePathContext: () => (/* binding */ RelativePathContext),
|
|
50203
|
+
/* harmony export */ ReturnStatementContext: () => (/* binding */ ReturnStatementContext),
|
|
50206
50204
|
/* harmony export */ ServiceAttributeContext: () => (/* binding */ ServiceAttributeContext),
|
|
50207
50205
|
/* harmony export */ SingleExpressionContext: () => (/* binding */ SingleExpressionContext),
|
|
50206
|
+
/* harmony export */ SingleInterpolatedStringContext: () => (/* binding */ SingleInterpolatedStringContext),
|
|
50208
50207
|
/* harmony export */ SingleInterpolationContentContext: () => (/* binding */ SingleInterpolationContentContext),
|
|
50209
50208
|
/* harmony export */ SinglePathContext: () => (/* binding */ SinglePathContext),
|
|
50210
50209
|
/* harmony export */ StatementContext: () => (/* binding */ StatementContext),
|
|
50210
|
+
/* harmony export */ StrongDescriptionTokenContext: () => (/* binding */ StrongDescriptionTokenContext),
|
|
50211
|
+
/* harmony export */ StrongLinkNameContext: () => (/* binding */ StrongLinkNameContext),
|
|
50211
50212
|
/* harmony export */ SummationContext: () => (/* binding */ SummationContext),
|
|
50212
50213
|
/* harmony export */ SummationOperationContext: () => (/* binding */ SummationOperationContext),
|
|
50213
50214
|
/* harmony export */ TernaryContext: () => (/* binding */ TernaryContext),
|
|
50215
|
+
/* harmony export */ TypeArgumentContext: () => (/* binding */ TypeArgumentContext),
|
|
50214
50216
|
/* harmony export */ TypeContext: () => (/* binding */ TypeContext),
|
|
50215
|
-
/* harmony export */ TypeDContext: () => (/* binding */ TypeDContext),
|
|
50216
50217
|
/* harmony export */ UnaryContext: () => (/* binding */ UnaryContext),
|
|
50217
50218
|
/* harmony export */ UnaryExpressionContext: () => (/* binding */ UnaryExpressionContext),
|
|
50218
50219
|
/* harmony export */ UnaryMinusContext: () => (/* binding */ UnaryMinusContext),
|
|
50220
|
+
/* harmony export */ ValueTypeContext: () => (/* binding */ ValueTypeContext),
|
|
50219
50221
|
/* harmony export */ VarContext: () => (/* binding */ VarContext),
|
|
50220
50222
|
/* harmony export */ VarExpressionContext: () => (/* binding */ VarExpressionContext),
|
|
50221
50223
|
/* harmony export */ VarNameContext: () => (/* binding */ VarNameContext),
|
|
@@ -50244,7 +50246,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
50244
50246
|
/* harmony import */ var antlr4ts_misc_Utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antlr4ts/misc/Utils */ "./node_modules/antlr4ts/misc/Utils.js");
|
|
50245
50247
|
var _KcLang;
|
|
50246
50248
|
// Generated from ./Generator/src/common/KCLang/Antlr/KcLang.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
50247
|
-
//@ts-nocheck
|
|
50248
50249
|
|
|
50249
50250
|
|
|
50250
50251
|
|
|
@@ -50297,21 +50298,21 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50297
50298
|
try {
|
|
50298
50299
|
this.enterOuterAlt(_localctx, 1);
|
|
50299
50300
|
{
|
|
50300
|
-
this.state =
|
|
50301
|
+
this.state = 159;
|
|
50301
50302
|
this._errHandler.sync(this);
|
|
50302
50303
|
_la = this._input.LA(1);
|
|
50303
|
-
while (_la === KcLang.VAR
|
|
50304
|
+
while ((_la - 25 & ~0x1F) === 0 && (1 << _la - 25 & (1 << KcLang.VAR - 25 | 1 << KcLang.IN - 25 | 1 << KcLang.NAME - 25)) !== 0) {
|
|
50304
50305
|
{
|
|
50305
50306
|
{
|
|
50306
|
-
this.state =
|
|
50307
|
+
this.state = 156;
|
|
50307
50308
|
this.globalDefinition();
|
|
50308
50309
|
}
|
|
50309
50310
|
}
|
|
50310
|
-
this.state =
|
|
50311
|
+
this.state = 161;
|
|
50311
50312
|
this._errHandler.sync(this);
|
|
50312
50313
|
_la = this._input.LA(1);
|
|
50313
50314
|
}
|
|
50314
|
-
this.state =
|
|
50315
|
+
this.state = 162;
|
|
50315
50316
|
this.match(KcLang.EOF);
|
|
50316
50317
|
}
|
|
50317
50318
|
} catch (re) {
|
|
@@ -50334,9 +50335,9 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50334
50335
|
try {
|
|
50335
50336
|
this.enterOuterAlt(_localctx, 1);
|
|
50336
50337
|
{
|
|
50337
|
-
this.state =
|
|
50338
|
+
this.state = 164;
|
|
50338
50339
|
this.path();
|
|
50339
|
-
this.state =
|
|
50340
|
+
this.state = 165;
|
|
50340
50341
|
this.match(KcLang.EOF);
|
|
50341
50342
|
}
|
|
50342
50343
|
} catch (re) {
|
|
@@ -50359,9 +50360,34 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50359
50360
|
try {
|
|
50360
50361
|
this.enterOuterAlt(_localctx, 1);
|
|
50361
50362
|
{
|
|
50362
|
-
this.state =
|
|
50363
|
+
this.state = 167;
|
|
50363
50364
|
this.interpolationContent();
|
|
50364
|
-
this.state =
|
|
50365
|
+
this.state = 168;
|
|
50366
|
+
this.match(KcLang.EOF);
|
|
50367
|
+
}
|
|
50368
|
+
} catch (re) {
|
|
50369
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
50370
|
+
_localctx.exception = re;
|
|
50371
|
+
this._errHandler.reportError(this, re);
|
|
50372
|
+
this._errHandler.recover(this, re);
|
|
50373
|
+
} else {
|
|
50374
|
+
throw re;
|
|
50375
|
+
}
|
|
50376
|
+
} finally {
|
|
50377
|
+
this.exitRule();
|
|
50378
|
+
}
|
|
50379
|
+
return _localctx;
|
|
50380
|
+
}
|
|
50381
|
+
// @RuleVersion(0)
|
|
50382
|
+
singleInterpolatedString() {
|
|
50383
|
+
let _localctx = new SingleInterpolatedStringContext(this._ctx, this.state);
|
|
50384
|
+
this.enterRule(_localctx, 6, KcLang.RULE_singleInterpolatedString);
|
|
50385
|
+
try {
|
|
50386
|
+
this.enterOuterAlt(_localctx, 1);
|
|
50387
|
+
{
|
|
50388
|
+
this.state = 170;
|
|
50389
|
+
this.interpolatedStringContent();
|
|
50390
|
+
this.state = 171;
|
|
50365
50391
|
this.match(KcLang.EOF);
|
|
50366
50392
|
}
|
|
50367
50393
|
} catch (re) {
|
|
@@ -50380,13 +50406,13 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50380
50406
|
// @RuleVersion(0)
|
|
50381
50407
|
singleExpression() {
|
|
50382
50408
|
let _localctx = new SingleExpressionContext(this._ctx, this.state);
|
|
50383
|
-
this.enterRule(_localctx,
|
|
50409
|
+
this.enterRule(_localctx, 8, KcLang.RULE_singleExpression);
|
|
50384
50410
|
try {
|
|
50385
50411
|
this.enterOuterAlt(_localctx, 1);
|
|
50386
50412
|
{
|
|
50387
|
-
this.state =
|
|
50413
|
+
this.state = 173;
|
|
50388
50414
|
this.expression(0);
|
|
50389
|
-
this.state =
|
|
50415
|
+
this.state = 174;
|
|
50390
50416
|
this.match(KcLang.EOF);
|
|
50391
50417
|
}
|
|
50392
50418
|
} catch (re) {
|
|
@@ -50405,32 +50431,39 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50405
50431
|
// @RuleVersion(0)
|
|
50406
50432
|
globalDefinition() {
|
|
50407
50433
|
let _localctx = new GlobalDefinitionContext(this._ctx, this.state);
|
|
50408
|
-
this.enterRule(_localctx,
|
|
50434
|
+
this.enterRule(_localctx, 10, KcLang.RULE_globalDefinition);
|
|
50409
50435
|
try {
|
|
50410
|
-
this.state =
|
|
50436
|
+
this.state = 180;
|
|
50411
50437
|
this._errHandler.sync(this);
|
|
50412
50438
|
switch (this.interpreter.adaptivePredict(this._input, 1, this._ctx)) {
|
|
50413
50439
|
case 1:
|
|
50414
50440
|
this.enterOuterAlt(_localctx, 1);
|
|
50415
50441
|
{
|
|
50416
|
-
this.state =
|
|
50442
|
+
this.state = 176;
|
|
50417
50443
|
this.inBlock();
|
|
50418
50444
|
}
|
|
50419
50445
|
break;
|
|
50420
50446
|
case 2:
|
|
50421
50447
|
this.enterOuterAlt(_localctx, 2);
|
|
50422
50448
|
{
|
|
50423
|
-
this.state =
|
|
50449
|
+
this.state = 177;
|
|
50424
50450
|
this.globalVariable();
|
|
50425
50451
|
}
|
|
50426
50452
|
break;
|
|
50427
50453
|
case 3:
|
|
50428
50454
|
this.enterOuterAlt(_localctx, 3);
|
|
50429
50455
|
{
|
|
50430
|
-
this.state =
|
|
50456
|
+
this.state = 178;
|
|
50431
50457
|
this.propertyVariable();
|
|
50432
50458
|
}
|
|
50433
50459
|
break;
|
|
50460
|
+
case 4:
|
|
50461
|
+
this.enterOuterAlt(_localctx, 4);
|
|
50462
|
+
{
|
|
50463
|
+
this.state = 179;
|
|
50464
|
+
this.functionDefinition();
|
|
50465
|
+
}
|
|
50466
|
+
break;
|
|
50434
50467
|
}
|
|
50435
50468
|
} catch (re) {
|
|
50436
50469
|
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
@@ -50448,32 +50481,39 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50448
50481
|
// @RuleVersion(0)
|
|
50449
50482
|
statement() {
|
|
50450
50483
|
let _localctx = new StatementContext(this._ctx, this.state);
|
|
50451
|
-
this.enterRule(_localctx,
|
|
50484
|
+
this.enterRule(_localctx, 12, KcLang.RULE_statement);
|
|
50452
50485
|
try {
|
|
50453
|
-
this.state =
|
|
50486
|
+
this.state = 186;
|
|
50454
50487
|
this._errHandler.sync(this);
|
|
50455
50488
|
switch (this._input.LA(1)) {
|
|
50456
50489
|
case KcLang.CHECK:
|
|
50457
50490
|
this.enterOuterAlt(_localctx, 1);
|
|
50458
50491
|
{
|
|
50459
|
-
this.state =
|
|
50492
|
+
this.state = 182;
|
|
50460
50493
|
this.check();
|
|
50461
50494
|
}
|
|
50462
50495
|
break;
|
|
50463
50496
|
case KcLang.IF:
|
|
50464
50497
|
this.enterOuterAlt(_localctx, 2);
|
|
50465
50498
|
{
|
|
50466
|
-
this.state =
|
|
50499
|
+
this.state = 183;
|
|
50467
50500
|
this.ifStatement();
|
|
50468
50501
|
}
|
|
50469
50502
|
break;
|
|
50470
50503
|
case KcLang.VAR:
|
|
50471
50504
|
this.enterOuterAlt(_localctx, 3);
|
|
50472
50505
|
{
|
|
50473
|
-
this.state =
|
|
50506
|
+
this.state = 184;
|
|
50474
50507
|
this.localVariable();
|
|
50475
50508
|
}
|
|
50476
50509
|
break;
|
|
50510
|
+
case KcLang.RETURN:
|
|
50511
|
+
this.enterOuterAlt(_localctx, 4);
|
|
50512
|
+
{
|
|
50513
|
+
this.state = 185;
|
|
50514
|
+
this.returnStatement();
|
|
50515
|
+
}
|
|
50516
|
+
break;
|
|
50477
50517
|
default:
|
|
50478
50518
|
throw new antlr4ts_NoViableAltException__WEBPACK_IMPORTED_MODULE_3__.NoViableAltException(this);
|
|
50479
50519
|
}
|
|
@@ -50493,32 +50533,32 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50493
50533
|
// @RuleVersion(0)
|
|
50494
50534
|
inBlock() {
|
|
50495
50535
|
let _localctx = new InBlockContext(this._ctx, this.state);
|
|
50496
|
-
this.enterRule(_localctx,
|
|
50536
|
+
this.enterRule(_localctx, 14, KcLang.RULE_inBlock);
|
|
50497
50537
|
let _la;
|
|
50498
50538
|
try {
|
|
50499
50539
|
this.enterOuterAlt(_localctx, 1);
|
|
50500
50540
|
{
|
|
50501
|
-
this.state =
|
|
50541
|
+
this.state = 188;
|
|
50502
50542
|
this.match(KcLang.IN);
|
|
50503
|
-
this.state =
|
|
50543
|
+
this.state = 189;
|
|
50504
50544
|
this.path();
|
|
50505
|
-
this.state =
|
|
50545
|
+
this.state = 190;
|
|
50506
50546
|
this.match(KcLang.LBRACE);
|
|
50507
|
-
this.state =
|
|
50547
|
+
this.state = 194;
|
|
50508
50548
|
this._errHandler.sync(this);
|
|
50509
50549
|
_la = this._input.LA(1);
|
|
50510
|
-
while ((_la -
|
|
50550
|
+
while (_la === KcLang.VAR || _la === KcLang.IN || (_la - 42 & ~0x1F) === 0 && (1 << _la - 42 & (1 << KcLang.IF - 42 | 1 << KcLang.CHECK - 42 | 1 << KcLang.RETURN - 42)) !== 0) {
|
|
50511
50551
|
{
|
|
50512
50552
|
{
|
|
50513
|
-
this.state =
|
|
50553
|
+
this.state = 191;
|
|
50514
50554
|
this.inBlockItem();
|
|
50515
50555
|
}
|
|
50516
50556
|
}
|
|
50517
|
-
this.state =
|
|
50557
|
+
this.state = 196;
|
|
50518
50558
|
this._errHandler.sync(this);
|
|
50519
50559
|
_la = this._input.LA(1);
|
|
50520
50560
|
}
|
|
50521
|
-
this.state =
|
|
50561
|
+
this.state = 197;
|
|
50522
50562
|
this.match(KcLang.RBRACE);
|
|
50523
50563
|
}
|
|
50524
50564
|
} catch (re) {
|
|
@@ -50537,24 +50577,25 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50537
50577
|
// @RuleVersion(0)
|
|
50538
50578
|
inBlockItem() {
|
|
50539
50579
|
let _localctx = new InBlockItemContext(this._ctx, this.state);
|
|
50540
|
-
this.enterRule(_localctx,
|
|
50580
|
+
this.enterRule(_localctx, 16, KcLang.RULE_inBlockItem);
|
|
50541
50581
|
try {
|
|
50542
|
-
this.state =
|
|
50582
|
+
this.state = 201;
|
|
50543
50583
|
this._errHandler.sync(this);
|
|
50544
50584
|
switch (this._input.LA(1)) {
|
|
50545
50585
|
case KcLang.IN:
|
|
50546
50586
|
this.enterOuterAlt(_localctx, 1);
|
|
50547
50587
|
{
|
|
50548
|
-
this.state =
|
|
50588
|
+
this.state = 199;
|
|
50549
50589
|
this.inBlock();
|
|
50550
50590
|
}
|
|
50551
50591
|
break;
|
|
50552
50592
|
case KcLang.VAR:
|
|
50553
50593
|
case KcLang.IF:
|
|
50554
50594
|
case KcLang.CHECK:
|
|
50595
|
+
case KcLang.RETURN:
|
|
50555
50596
|
this.enterOuterAlt(_localctx, 2);
|
|
50556
50597
|
{
|
|
50557
|
-
this.state =
|
|
50598
|
+
this.state = 200;
|
|
50558
50599
|
this.statement();
|
|
50559
50600
|
}
|
|
50560
50601
|
break;
|
|
@@ -50577,29 +50618,29 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50577
50618
|
// @RuleVersion(0)
|
|
50578
50619
|
globalVariable() {
|
|
50579
50620
|
let _localctx = new GlobalVariableContext(this._ctx, this.state);
|
|
50580
|
-
this.enterRule(_localctx,
|
|
50621
|
+
this.enterRule(_localctx, 18, KcLang.RULE_globalVariable);
|
|
50581
50622
|
let _la;
|
|
50582
50623
|
try {
|
|
50583
50624
|
this.enterOuterAlt(_localctx, 1);
|
|
50584
50625
|
{
|
|
50585
|
-
this.state =
|
|
50626
|
+
this.state = 203;
|
|
50586
50627
|
this.match(KcLang.VAR);
|
|
50587
|
-
this.state =
|
|
50628
|
+
this.state = 204;
|
|
50588
50629
|
this.varName();
|
|
50589
|
-
this.state =
|
|
50630
|
+
this.state = 205;
|
|
50590
50631
|
this.match(KcLang.EQUAL);
|
|
50591
|
-
this.state =
|
|
50632
|
+
this.state = 206;
|
|
50592
50633
|
this.path();
|
|
50593
|
-
this.state =
|
|
50634
|
+
this.state = 208;
|
|
50594
50635
|
this._errHandler.sync(this);
|
|
50595
50636
|
_la = this._input.LA(1);
|
|
50596
50637
|
if (_la === KcLang.AS) {
|
|
50597
50638
|
{
|
|
50598
|
-
this.state =
|
|
50599
|
-
this.
|
|
50639
|
+
this.state = 207;
|
|
50640
|
+
this.valueType();
|
|
50600
50641
|
}
|
|
50601
50642
|
}
|
|
50602
|
-
this.state =
|
|
50643
|
+
this.state = 210;
|
|
50603
50644
|
this.match(KcLang.SEMICOLON);
|
|
50604
50645
|
}
|
|
50605
50646
|
} catch (re) {
|
|
@@ -50618,19 +50659,156 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50618
50659
|
// @RuleVersion(0)
|
|
50619
50660
|
propertyVariable() {
|
|
50620
50661
|
let _localctx = new PropertyVariableContext(this._ctx, this.state);
|
|
50621
|
-
this.enterRule(_localctx,
|
|
50662
|
+
this.enterRule(_localctx, 20, KcLang.RULE_propertyVariable);
|
|
50622
50663
|
try {
|
|
50623
50664
|
this.enterOuterAlt(_localctx, 1);
|
|
50624
50665
|
{
|
|
50625
|
-
this.state =
|
|
50666
|
+
this.state = 212;
|
|
50626
50667
|
this.match(KcLang.VAR);
|
|
50627
|
-
this.state =
|
|
50668
|
+
this.state = 213;
|
|
50628
50669
|
this.varName();
|
|
50629
|
-
this.state =
|
|
50670
|
+
this.state = 214;
|
|
50630
50671
|
this.match(KcLang.EQUAL);
|
|
50631
|
-
this.state =
|
|
50672
|
+
this.state = 215;
|
|
50632
50673
|
this.propertyExpression();
|
|
50633
|
-
this.state =
|
|
50674
|
+
this.state = 216;
|
|
50675
|
+
this.match(KcLang.SEMICOLON);
|
|
50676
|
+
}
|
|
50677
|
+
} catch (re) {
|
|
50678
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
50679
|
+
_localctx.exception = re;
|
|
50680
|
+
this._errHandler.reportError(this, re);
|
|
50681
|
+
this._errHandler.recover(this, re);
|
|
50682
|
+
} else {
|
|
50683
|
+
throw re;
|
|
50684
|
+
}
|
|
50685
|
+
} finally {
|
|
50686
|
+
this.exitRule();
|
|
50687
|
+
}
|
|
50688
|
+
return _localctx;
|
|
50689
|
+
}
|
|
50690
|
+
// @RuleVersion(0)
|
|
50691
|
+
functionDefinition() {
|
|
50692
|
+
let _localctx = new FunctionDefinitionContext(this._ctx, this.state);
|
|
50693
|
+
this.enterRule(_localctx, 22, KcLang.RULE_functionDefinition);
|
|
50694
|
+
let _la;
|
|
50695
|
+
try {
|
|
50696
|
+
this.enterOuterAlt(_localctx, 1);
|
|
50697
|
+
{
|
|
50698
|
+
this.state = 218;
|
|
50699
|
+
this.type();
|
|
50700
|
+
this.state = 219;
|
|
50701
|
+
this.match(KcLang.NAME);
|
|
50702
|
+
this.state = 220;
|
|
50703
|
+
this.match(KcLang.LPAREN);
|
|
50704
|
+
this.state = 222;
|
|
50705
|
+
this._errHandler.sync(this);
|
|
50706
|
+
_la = this._input.LA(1);
|
|
50707
|
+
if (_la === KcLang.NAME) {
|
|
50708
|
+
{
|
|
50709
|
+
this.state = 221;
|
|
50710
|
+
this.functionArguments();
|
|
50711
|
+
}
|
|
50712
|
+
}
|
|
50713
|
+
this.state = 224;
|
|
50714
|
+
this.match(KcLang.RPAREN);
|
|
50715
|
+
this.state = 225;
|
|
50716
|
+
this.match(KcLang.LBRACE);
|
|
50717
|
+
this.state = 226;
|
|
50718
|
+
this.returnStatement();
|
|
50719
|
+
this.state = 227;
|
|
50720
|
+
this.match(KcLang.RBRACE);
|
|
50721
|
+
}
|
|
50722
|
+
} catch (re) {
|
|
50723
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
50724
|
+
_localctx.exception = re;
|
|
50725
|
+
this._errHandler.reportError(this, re);
|
|
50726
|
+
this._errHandler.recover(this, re);
|
|
50727
|
+
} else {
|
|
50728
|
+
throw re;
|
|
50729
|
+
}
|
|
50730
|
+
} finally {
|
|
50731
|
+
this.exitRule();
|
|
50732
|
+
}
|
|
50733
|
+
return _localctx;
|
|
50734
|
+
}
|
|
50735
|
+
// @RuleVersion(0)
|
|
50736
|
+
functionArguments() {
|
|
50737
|
+
let _localctx = new FunctionArgumentsContext(this._ctx, this.state);
|
|
50738
|
+
this.enterRule(_localctx, 24, KcLang.RULE_functionArguments);
|
|
50739
|
+
let _la;
|
|
50740
|
+
try {
|
|
50741
|
+
this.enterOuterAlt(_localctx, 1);
|
|
50742
|
+
{
|
|
50743
|
+
this.state = 229;
|
|
50744
|
+
this.typeArgument();
|
|
50745
|
+
this.state = 234;
|
|
50746
|
+
this._errHandler.sync(this);
|
|
50747
|
+
_la = this._input.LA(1);
|
|
50748
|
+
while (_la === KcLang.COMMA) {
|
|
50749
|
+
{
|
|
50750
|
+
{
|
|
50751
|
+
this.state = 230;
|
|
50752
|
+
this.match(KcLang.COMMA);
|
|
50753
|
+
this.state = 231;
|
|
50754
|
+
this.typeArgument();
|
|
50755
|
+
}
|
|
50756
|
+
}
|
|
50757
|
+
this.state = 236;
|
|
50758
|
+
this._errHandler.sync(this);
|
|
50759
|
+
_la = this._input.LA(1);
|
|
50760
|
+
}
|
|
50761
|
+
}
|
|
50762
|
+
} catch (re) {
|
|
50763
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
50764
|
+
_localctx.exception = re;
|
|
50765
|
+
this._errHandler.reportError(this, re);
|
|
50766
|
+
this._errHandler.recover(this, re);
|
|
50767
|
+
} else {
|
|
50768
|
+
throw re;
|
|
50769
|
+
}
|
|
50770
|
+
} finally {
|
|
50771
|
+
this.exitRule();
|
|
50772
|
+
}
|
|
50773
|
+
return _localctx;
|
|
50774
|
+
}
|
|
50775
|
+
// @RuleVersion(0)
|
|
50776
|
+
typeArgument() {
|
|
50777
|
+
let _localctx = new TypeArgumentContext(this._ctx, this.state);
|
|
50778
|
+
this.enterRule(_localctx, 26, KcLang.RULE_typeArgument);
|
|
50779
|
+
try {
|
|
50780
|
+
this.enterOuterAlt(_localctx, 1);
|
|
50781
|
+
{
|
|
50782
|
+
this.state = 237;
|
|
50783
|
+
this.type();
|
|
50784
|
+
this.state = 238;
|
|
50785
|
+
this.match(KcLang.NAME);
|
|
50786
|
+
}
|
|
50787
|
+
} catch (re) {
|
|
50788
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
50789
|
+
_localctx.exception = re;
|
|
50790
|
+
this._errHandler.reportError(this, re);
|
|
50791
|
+
this._errHandler.recover(this, re);
|
|
50792
|
+
} else {
|
|
50793
|
+
throw re;
|
|
50794
|
+
}
|
|
50795
|
+
} finally {
|
|
50796
|
+
this.exitRule();
|
|
50797
|
+
}
|
|
50798
|
+
return _localctx;
|
|
50799
|
+
}
|
|
50800
|
+
// @RuleVersion(0)
|
|
50801
|
+
returnStatement() {
|
|
50802
|
+
let _localctx = new ReturnStatementContext(this._ctx, this.state);
|
|
50803
|
+
this.enterRule(_localctx, 28, KcLang.RULE_returnStatement);
|
|
50804
|
+
try {
|
|
50805
|
+
this.enterOuterAlt(_localctx, 1);
|
|
50806
|
+
{
|
|
50807
|
+
this.state = 240;
|
|
50808
|
+
this.match(KcLang.RETURN);
|
|
50809
|
+
this.state = 241;
|
|
50810
|
+
this.expression(0);
|
|
50811
|
+
this.state = 242;
|
|
50634
50812
|
this.match(KcLang.SEMICOLON);
|
|
50635
50813
|
}
|
|
50636
50814
|
} catch (re) {
|
|
@@ -50649,26 +50827,26 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50649
50827
|
// @RuleVersion(0)
|
|
50650
50828
|
propertyExpression() {
|
|
50651
50829
|
let _localctx = new PropertyExpressionContext(this._ctx, this.state);
|
|
50652
|
-
this.enterRule(_localctx,
|
|
50830
|
+
this.enterRule(_localctx, 30, KcLang.RULE_propertyExpression);
|
|
50653
50831
|
let _la;
|
|
50654
50832
|
try {
|
|
50655
50833
|
this.enterOuterAlt(_localctx, 1);
|
|
50656
50834
|
{
|
|
50657
|
-
this.state =
|
|
50835
|
+
this.state = 244;
|
|
50658
50836
|
this.match(KcLang.PROPERTIES);
|
|
50659
|
-
this.state =
|
|
50837
|
+
this.state = 245;
|
|
50660
50838
|
this.match(KcLang.LPAREN);
|
|
50661
|
-
this.state =
|
|
50839
|
+
this.state = 246;
|
|
50662
50840
|
this.constString();
|
|
50663
|
-
this.state =
|
|
50841
|
+
this.state = 247;
|
|
50664
50842
|
this.match(KcLang.RPAREN);
|
|
50665
|
-
this.state =
|
|
50843
|
+
this.state = 249;
|
|
50666
50844
|
this._errHandler.sync(this);
|
|
50667
50845
|
_la = this._input.LA(1);
|
|
50668
50846
|
if (_la === KcLang.AS) {
|
|
50669
50847
|
{
|
|
50670
|
-
this.state =
|
|
50671
|
-
this.
|
|
50848
|
+
this.state = 248;
|
|
50849
|
+
this.valueType();
|
|
50672
50850
|
}
|
|
50673
50851
|
}
|
|
50674
50852
|
}
|
|
@@ -50688,19 +50866,19 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50688
50866
|
// @RuleVersion(0)
|
|
50689
50867
|
localVariable() {
|
|
50690
50868
|
let _localctx = new LocalVariableContext(this._ctx, this.state);
|
|
50691
|
-
this.enterRule(_localctx,
|
|
50869
|
+
this.enterRule(_localctx, 32, KcLang.RULE_localVariable);
|
|
50692
50870
|
try {
|
|
50693
50871
|
this.enterOuterAlt(_localctx, 1);
|
|
50694
50872
|
{
|
|
50695
|
-
this.state =
|
|
50873
|
+
this.state = 251;
|
|
50696
50874
|
this.match(KcLang.VAR);
|
|
50697
|
-
this.state =
|
|
50875
|
+
this.state = 252;
|
|
50698
50876
|
this.varName();
|
|
50699
|
-
this.state =
|
|
50877
|
+
this.state = 253;
|
|
50700
50878
|
this.match(KcLang.EQUAL);
|
|
50701
|
-
this.state =
|
|
50879
|
+
this.state = 254;
|
|
50702
50880
|
this.expression(0);
|
|
50703
|
-
this.state =
|
|
50881
|
+
this.state = 255;
|
|
50704
50882
|
this.match(KcLang.SEMICOLON);
|
|
50705
50883
|
}
|
|
50706
50884
|
} catch (re) {
|
|
@@ -50719,18 +50897,18 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50719
50897
|
// @RuleVersion(0)
|
|
50720
50898
|
ifStatement() {
|
|
50721
50899
|
let _localctx = new IfStatementContext(this._ctx, this.state);
|
|
50722
|
-
this.enterRule(_localctx,
|
|
50900
|
+
this.enterRule(_localctx, 34, KcLang.RULE_ifStatement);
|
|
50723
50901
|
try {
|
|
50724
50902
|
this.enterOuterAlt(_localctx, 1);
|
|
50725
50903
|
{
|
|
50726
|
-
this.state =
|
|
50904
|
+
this.state = 257;
|
|
50727
50905
|
this.ifPart();
|
|
50728
|
-
this.state =
|
|
50906
|
+
this.state = 259;
|
|
50729
50907
|
this._errHandler.sync(this);
|
|
50730
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
50908
|
+
switch (this.interpreter.adaptivePredict(this._input, 9, this._ctx)) {
|
|
50731
50909
|
case 1:
|
|
50732
50910
|
{
|
|
50733
|
-
this.state =
|
|
50911
|
+
this.state = 258;
|
|
50734
50912
|
this.elsePart();
|
|
50735
50913
|
}
|
|
50736
50914
|
break;
|
|
@@ -50752,19 +50930,19 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50752
50930
|
// @RuleVersion(0)
|
|
50753
50931
|
ifPart() {
|
|
50754
50932
|
let _localctx = new IfPartContext(this._ctx, this.state);
|
|
50755
|
-
this.enterRule(_localctx,
|
|
50933
|
+
this.enterRule(_localctx, 36, KcLang.RULE_ifPart);
|
|
50756
50934
|
try {
|
|
50757
50935
|
this.enterOuterAlt(_localctx, 1);
|
|
50758
50936
|
{
|
|
50759
|
-
this.state =
|
|
50937
|
+
this.state = 261;
|
|
50760
50938
|
this.match(KcLang.IF);
|
|
50761
|
-
this.state =
|
|
50939
|
+
this.state = 262;
|
|
50762
50940
|
this.match(KcLang.LPAREN);
|
|
50763
|
-
this.state =
|
|
50941
|
+
this.state = 263;
|
|
50764
50942
|
this.expression(0);
|
|
50765
|
-
this.state =
|
|
50943
|
+
this.state = 264;
|
|
50766
50944
|
this.match(KcLang.RPAREN);
|
|
50767
|
-
this.state =
|
|
50945
|
+
this.state = 265;
|
|
50768
50946
|
this.body();
|
|
50769
50947
|
}
|
|
50770
50948
|
} catch (re) {
|
|
@@ -50783,13 +50961,13 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50783
50961
|
// @RuleVersion(0)
|
|
50784
50962
|
elsePart() {
|
|
50785
50963
|
let _localctx = new ElsePartContext(this._ctx, this.state);
|
|
50786
|
-
this.enterRule(_localctx,
|
|
50964
|
+
this.enterRule(_localctx, 38, KcLang.RULE_elsePart);
|
|
50787
50965
|
try {
|
|
50788
50966
|
this.enterOuterAlt(_localctx, 1);
|
|
50789
50967
|
{
|
|
50790
|
-
this.state =
|
|
50968
|
+
this.state = 267;
|
|
50791
50969
|
this.match(KcLang.ELSE);
|
|
50792
|
-
this.state =
|
|
50970
|
+
this.state = 268;
|
|
50793
50971
|
this.body();
|
|
50794
50972
|
}
|
|
50795
50973
|
} catch (re) {
|
|
@@ -50808,13 +50986,13 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50808
50986
|
// @RuleVersion(0)
|
|
50809
50987
|
label() {
|
|
50810
50988
|
let _localctx = new LabelContext(this._ctx, this.state);
|
|
50811
|
-
this.enterRule(_localctx,
|
|
50989
|
+
this.enterRule(_localctx, 40, KcLang.RULE_label);
|
|
50812
50990
|
try {
|
|
50813
50991
|
this.enterOuterAlt(_localctx, 1);
|
|
50814
50992
|
{
|
|
50815
|
-
this.state =
|
|
50993
|
+
this.state = 270;
|
|
50816
50994
|
this.match(KcLang.NAME);
|
|
50817
|
-
this.state =
|
|
50995
|
+
this.state = 271;
|
|
50818
50996
|
this.match(KcLang.HASH);
|
|
50819
50997
|
}
|
|
50820
50998
|
} catch (re) {
|
|
@@ -50833,34 +51011,34 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50833
51011
|
// @RuleVersion(0)
|
|
50834
51012
|
body() {
|
|
50835
51013
|
let _localctx = new BodyContext(this._ctx, this.state);
|
|
50836
|
-
this.enterRule(_localctx,
|
|
51014
|
+
this.enterRule(_localctx, 42, KcLang.RULE_body);
|
|
50837
51015
|
let _la;
|
|
50838
51016
|
try {
|
|
50839
51017
|
this.enterOuterAlt(_localctx, 1);
|
|
50840
51018
|
{
|
|
50841
|
-
this.state =
|
|
51019
|
+
this.state = 282;
|
|
50842
51020
|
this._errHandler.sync(this);
|
|
50843
51021
|
switch (this._input.LA(1)) {
|
|
50844
51022
|
case KcLang.LBRACE:
|
|
50845
51023
|
{
|
|
50846
51024
|
{
|
|
50847
|
-
this.state =
|
|
51025
|
+
this.state = 273;
|
|
50848
51026
|
this.match(KcLang.LBRACE);
|
|
50849
|
-
this.state =
|
|
51027
|
+
this.state = 277;
|
|
50850
51028
|
this._errHandler.sync(this);
|
|
50851
51029
|
_la = this._input.LA(1);
|
|
50852
|
-
while ((_la -
|
|
51030
|
+
while (_la === KcLang.VAR || (_la - 42 & ~0x1F) === 0 && (1 << _la - 42 & (1 << KcLang.IF - 42 | 1 << KcLang.CHECK - 42 | 1 << KcLang.RETURN - 42)) !== 0) {
|
|
50853
51031
|
{
|
|
50854
51032
|
{
|
|
50855
|
-
this.state =
|
|
51033
|
+
this.state = 274;
|
|
50856
51034
|
this.statement();
|
|
50857
51035
|
}
|
|
50858
51036
|
}
|
|
50859
|
-
this.state =
|
|
51037
|
+
this.state = 279;
|
|
50860
51038
|
this._errHandler.sync(this);
|
|
50861
51039
|
_la = this._input.LA(1);
|
|
50862
51040
|
}
|
|
50863
|
-
this.state =
|
|
51041
|
+
this.state = 280;
|
|
50864
51042
|
this.match(KcLang.RBRACE);
|
|
50865
51043
|
}
|
|
50866
51044
|
}
|
|
@@ -50868,8 +51046,9 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50868
51046
|
case KcLang.VAR:
|
|
50869
51047
|
case KcLang.IF:
|
|
50870
51048
|
case KcLang.CHECK:
|
|
51049
|
+
case KcLang.RETURN:
|
|
50871
51050
|
{
|
|
50872
|
-
this.state =
|
|
51051
|
+
this.state = 281;
|
|
50873
51052
|
this.statement();
|
|
50874
51053
|
}
|
|
50875
51054
|
break;
|
|
@@ -50893,11 +51072,11 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50893
51072
|
// @RuleVersion(0)
|
|
50894
51073
|
varName() {
|
|
50895
51074
|
let _localctx = new VarNameContext(this._ctx, this.state);
|
|
50896
|
-
this.enterRule(_localctx,
|
|
51075
|
+
this.enterRule(_localctx, 44, KcLang.RULE_varName);
|
|
50897
51076
|
try {
|
|
50898
51077
|
this.enterOuterAlt(_localctx, 1);
|
|
50899
51078
|
{
|
|
50900
|
-
this.state =
|
|
51079
|
+
this.state = 284;
|
|
50901
51080
|
this.match(KcLang.NAME);
|
|
50902
51081
|
}
|
|
50903
51082
|
} catch (re) {
|
|
@@ -50916,44 +51095,44 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50916
51095
|
// @RuleVersion(0)
|
|
50917
51096
|
check() {
|
|
50918
51097
|
let _localctx = new CheckContext(this._ctx, this.state);
|
|
50919
|
-
this.enterRule(_localctx,
|
|
51098
|
+
this.enterRule(_localctx, 46, KcLang.RULE_check);
|
|
50920
51099
|
let _la;
|
|
50921
51100
|
try {
|
|
50922
51101
|
this.enterOuterAlt(_localctx, 1);
|
|
50923
51102
|
{
|
|
50924
|
-
this.state =
|
|
51103
|
+
this.state = 286;
|
|
50925
51104
|
this.match(KcLang.CHECK);
|
|
50926
|
-
this.state =
|
|
51105
|
+
this.state = 289;
|
|
50927
51106
|
this._errHandler.sync(this);
|
|
50928
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
51107
|
+
switch (this.interpreter.adaptivePredict(this._input, 12, this._ctx)) {
|
|
50929
51108
|
case 1:
|
|
50930
51109
|
{
|
|
50931
|
-
this.state =
|
|
51110
|
+
this.state = 287;
|
|
50932
51111
|
this.formula();
|
|
50933
51112
|
}
|
|
50934
51113
|
break;
|
|
50935
51114
|
case 2:
|
|
50936
51115
|
{
|
|
50937
|
-
this.state =
|
|
51116
|
+
this.state = 288;
|
|
50938
51117
|
this.expression(0);
|
|
50939
51118
|
}
|
|
50940
51119
|
break;
|
|
50941
51120
|
}
|
|
50942
|
-
this.state =
|
|
51121
|
+
this.state = 294;
|
|
50943
51122
|
this._errHandler.sync(this);
|
|
50944
51123
|
_la = this._input.LA(1);
|
|
50945
51124
|
while (_la === KcLang.WITH) {
|
|
50946
51125
|
{
|
|
50947
51126
|
{
|
|
50948
|
-
this.state =
|
|
51127
|
+
this.state = 291;
|
|
50949
51128
|
this.withBlock();
|
|
50950
51129
|
}
|
|
50951
51130
|
}
|
|
50952
|
-
this.state =
|
|
51131
|
+
this.state = 296;
|
|
50953
51132
|
this._errHandler.sync(this);
|
|
50954
51133
|
_la = this._input.LA(1);
|
|
50955
51134
|
}
|
|
50956
|
-
this.state =
|
|
51135
|
+
this.state = 297;
|
|
50957
51136
|
this.match(KcLang.SEMICOLON);
|
|
50958
51137
|
}
|
|
50959
51138
|
} catch (re) {
|
|
@@ -50972,15 +51151,15 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50972
51151
|
// @RuleVersion(0)
|
|
50973
51152
|
withBlock() {
|
|
50974
51153
|
let _localctx = new WithBlockContext(this._ctx, this.state);
|
|
50975
|
-
this.enterRule(_localctx,
|
|
51154
|
+
this.enterRule(_localctx, 48, KcLang.RULE_withBlock);
|
|
50976
51155
|
try {
|
|
50977
51156
|
this.enterOuterAlt(_localctx, 1);
|
|
50978
51157
|
{
|
|
50979
|
-
this.state =
|
|
51158
|
+
this.state = 299;
|
|
50980
51159
|
this.match(KcLang.WITH);
|
|
50981
|
-
this.state =
|
|
51160
|
+
this.state = 300;
|
|
50982
51161
|
this.match(KcLang.NAME);
|
|
50983
|
-
this.state =
|
|
51162
|
+
this.state = 301;
|
|
50984
51163
|
this.withBlockValue();
|
|
50985
51164
|
}
|
|
50986
51165
|
} catch (re) {
|
|
@@ -50999,22 +51178,22 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
50999
51178
|
// @RuleVersion(0)
|
|
51000
51179
|
withBlockValue() {
|
|
51001
51180
|
let _localctx = new WithBlockValueContext(this._ctx, this.state);
|
|
51002
|
-
this.enterRule(_localctx,
|
|
51181
|
+
this.enterRule(_localctx, 50, KcLang.RULE_withBlockValue);
|
|
51003
51182
|
try {
|
|
51004
|
-
this.state =
|
|
51183
|
+
this.state = 305;
|
|
51005
51184
|
this._errHandler.sync(this);
|
|
51006
51185
|
switch (this._input.LA(1)) {
|
|
51007
51186
|
case KcLang.TRIPLE_QUOTES:
|
|
51008
51187
|
this.enterOuterAlt(_localctx, 1);
|
|
51009
51188
|
{
|
|
51010
|
-
this.state =
|
|
51011
|
-
this.
|
|
51189
|
+
this.state = 303;
|
|
51190
|
+
this.interpolatedStringExpression();
|
|
51012
51191
|
}
|
|
51013
51192
|
break;
|
|
51014
51193
|
case KcLang.STRING_LITERAL:
|
|
51015
51194
|
this.enterOuterAlt(_localctx, 2);
|
|
51016
51195
|
{
|
|
51017
|
-
this.state =
|
|
51196
|
+
this.state = 304;
|
|
51018
51197
|
this.match(KcLang.STRING_LITERAL);
|
|
51019
51198
|
}
|
|
51020
51199
|
break;
|
|
@@ -51035,31 +51214,104 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51035
51214
|
return _localctx;
|
|
51036
51215
|
}
|
|
51037
51216
|
// @RuleVersion(0)
|
|
51038
|
-
|
|
51039
|
-
let _localctx = new
|
|
51040
|
-
this.enterRule(_localctx,
|
|
51041
|
-
let _la;
|
|
51217
|
+
interpolatedStringExpression() {
|
|
51218
|
+
let _localctx = new InterpolatedStringExpressionContext(this._ctx, this.state);
|
|
51219
|
+
this.enterRule(_localctx, 52, KcLang.RULE_interpolatedStringExpression);
|
|
51042
51220
|
try {
|
|
51043
51221
|
this.enterOuterAlt(_localctx, 1);
|
|
51044
51222
|
{
|
|
51045
|
-
this.state =
|
|
51223
|
+
this.state = 307;
|
|
51046
51224
|
this.match(KcLang.TRIPLE_QUOTES);
|
|
51047
|
-
this.state =
|
|
51225
|
+
this.state = 308;
|
|
51226
|
+
this.interpolatedStringContent();
|
|
51227
|
+
this.state = 309;
|
|
51228
|
+
this.match(KcLang.TRIPLE_QUOTES);
|
|
51229
|
+
}
|
|
51230
|
+
} catch (re) {
|
|
51231
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
51232
|
+
_localctx.exception = re;
|
|
51233
|
+
this._errHandler.reportError(this, re);
|
|
51234
|
+
this._errHandler.recover(this, re);
|
|
51235
|
+
} else {
|
|
51236
|
+
throw re;
|
|
51237
|
+
}
|
|
51238
|
+
} finally {
|
|
51239
|
+
this.exitRule();
|
|
51240
|
+
}
|
|
51241
|
+
return _localctx;
|
|
51242
|
+
}
|
|
51243
|
+
// @RuleVersion(0)
|
|
51244
|
+
howToFixDescriptionBlock() {
|
|
51245
|
+
let _localctx = new HowToFixDescriptionBlockContext(this._ctx, this.state);
|
|
51246
|
+
this.enterRule(_localctx, 54, KcLang.RULE_howToFixDescriptionBlock);
|
|
51247
|
+
try {
|
|
51248
|
+
let _alt;
|
|
51249
|
+
this.enterOuterAlt(_localctx, 1);
|
|
51250
|
+
{
|
|
51251
|
+
this.state = 311;
|
|
51252
|
+
this.match(KcLang.L_HOW_FIX_BLOCK);
|
|
51253
|
+
this.state = 315;
|
|
51254
|
+
this._errHandler.sync(this);
|
|
51255
|
+
_alt = this.interpreter.adaptivePredict(this._input, 15, this._ctx);
|
|
51256
|
+
while (_alt !== 2 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
51257
|
+
if (_alt === 1) {
|
|
51258
|
+
{
|
|
51259
|
+
{
|
|
51260
|
+
this.state = 312;
|
|
51261
|
+
this.interpolatedStringToken();
|
|
51262
|
+
}
|
|
51263
|
+
}
|
|
51264
|
+
}
|
|
51265
|
+
this.state = 317;
|
|
51266
|
+
this._errHandler.sync(this);
|
|
51267
|
+
_alt = this.interpreter.adaptivePredict(this._input, 15, this._ctx);
|
|
51268
|
+
}
|
|
51269
|
+
this.state = 319;
|
|
51270
|
+
this._errHandler.sync(this);
|
|
51271
|
+
switch (this.interpreter.adaptivePredict(this._input, 16, this._ctx)) {
|
|
51272
|
+
case 1:
|
|
51273
|
+
{
|
|
51274
|
+
this.state = 318;
|
|
51275
|
+
this.match(KcLang.R_HOW_FIX_BLOCK);
|
|
51276
|
+
}
|
|
51277
|
+
break;
|
|
51278
|
+
}
|
|
51279
|
+
}
|
|
51280
|
+
} catch (re) {
|
|
51281
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
51282
|
+
_localctx.exception = re;
|
|
51283
|
+
this._errHandler.reportError(this, re);
|
|
51284
|
+
this._errHandler.recover(this, re);
|
|
51285
|
+
} else {
|
|
51286
|
+
throw re;
|
|
51287
|
+
}
|
|
51288
|
+
} finally {
|
|
51289
|
+
this.exitRule();
|
|
51290
|
+
}
|
|
51291
|
+
return _localctx;
|
|
51292
|
+
}
|
|
51293
|
+
// @RuleVersion(0)
|
|
51294
|
+
interpolatedStringContent() {
|
|
51295
|
+
let _localctx = new InterpolatedStringContentContext(this._ctx, this.state);
|
|
51296
|
+
this.enterRule(_localctx, 56, KcLang.RULE_interpolatedStringContent);
|
|
51297
|
+
let _la;
|
|
51298
|
+
try {
|
|
51299
|
+
this.enterOuterAlt(_localctx, 1);
|
|
51300
|
+
{
|
|
51301
|
+
this.state = 324;
|
|
51048
51302
|
this._errHandler.sync(this);
|
|
51049
51303
|
_la = this._input.LA(1);
|
|
51050
|
-
while ((_la - 37 & ~0x1F) === 0 && (1 << _la - 37 & (1 << KcLang.LBRACKET - 37 | 1 << KcLang.LBRACE - 37 | 1 << KcLang.TEXT - 37)) !== 0) {
|
|
51304
|
+
while ((_la - 37 & ~0x1F) === 0 && (1 << _la - 37 & (1 << KcLang.LBRACKET - 37 | 1 << KcLang.LBRACE - 37 | 1 << KcLang.TEXT - 37 | 1 << KcLang.L_HOW_FIX_BLOCK - 37 | 1 << KcLang.DOUBLE_MUL - 37)) !== 0) {
|
|
51051
51305
|
{
|
|
51052
51306
|
{
|
|
51053
|
-
this.state =
|
|
51054
|
-
this.
|
|
51307
|
+
this.state = 321;
|
|
51308
|
+
this.interpolatedStringToken();
|
|
51055
51309
|
}
|
|
51056
51310
|
}
|
|
51057
|
-
this.state =
|
|
51311
|
+
this.state = 326;
|
|
51058
51312
|
this._errHandler.sync(this);
|
|
51059
51313
|
_la = this._input.LA(1);
|
|
51060
51314
|
}
|
|
51061
|
-
this.state = 261;
|
|
51062
|
-
this.match(KcLang.TRIPLE_QUOTES);
|
|
51063
51315
|
}
|
|
51064
51316
|
} catch (re) {
|
|
51065
51317
|
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
@@ -51075,34 +51327,48 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51075
51327
|
return _localctx;
|
|
51076
51328
|
}
|
|
51077
51329
|
// @RuleVersion(0)
|
|
51078
|
-
|
|
51079
|
-
let _localctx = new
|
|
51080
|
-
this.enterRule(_localctx,
|
|
51330
|
+
interpolatedStringToken() {
|
|
51331
|
+
let _localctx = new InterpolatedStringTokenContext(this._ctx, this.state);
|
|
51332
|
+
this.enterRule(_localctx, 58, KcLang.RULE_interpolatedStringToken);
|
|
51081
51333
|
try {
|
|
51082
|
-
this.state =
|
|
51334
|
+
this.state = 332;
|
|
51083
51335
|
this._errHandler.sync(this);
|
|
51084
51336
|
switch (this._input.LA(1)) {
|
|
51085
51337
|
case KcLang.TEXT:
|
|
51086
51338
|
this.enterOuterAlt(_localctx, 1);
|
|
51087
51339
|
{
|
|
51088
|
-
this.state =
|
|
51340
|
+
this.state = 327;
|
|
51089
51341
|
this.match(KcLang.TEXT);
|
|
51090
51342
|
}
|
|
51091
51343
|
break;
|
|
51092
51344
|
case KcLang.LBRACE:
|
|
51093
51345
|
this.enterOuterAlt(_localctx, 2);
|
|
51094
51346
|
{
|
|
51095
|
-
this.state =
|
|
51347
|
+
this.state = 328;
|
|
51096
51348
|
this.interpolation();
|
|
51097
51349
|
}
|
|
51098
51350
|
break;
|
|
51099
51351
|
case KcLang.LBRACKET:
|
|
51100
51352
|
this.enterOuterAlt(_localctx, 3);
|
|
51101
51353
|
{
|
|
51102
|
-
this.state =
|
|
51354
|
+
this.state = 329;
|
|
51103
51355
|
this.link();
|
|
51104
51356
|
}
|
|
51105
51357
|
break;
|
|
51358
|
+
case KcLang.DOUBLE_MUL:
|
|
51359
|
+
this.enterOuterAlt(_localctx, 4);
|
|
51360
|
+
{
|
|
51361
|
+
this.state = 330;
|
|
51362
|
+
this.strongDescriptionToken();
|
|
51363
|
+
}
|
|
51364
|
+
break;
|
|
51365
|
+
case KcLang.L_HOW_FIX_BLOCK:
|
|
51366
|
+
this.enterOuterAlt(_localctx, 5);
|
|
51367
|
+
{
|
|
51368
|
+
this.state = 331;
|
|
51369
|
+
this.howToFixDescriptionBlock();
|
|
51370
|
+
}
|
|
51371
|
+
break;
|
|
51106
51372
|
default:
|
|
51107
51373
|
throw new antlr4ts_NoViableAltException__WEBPACK_IMPORTED_MODULE_3__.NoViableAltException(this);
|
|
51108
51374
|
}
|
|
@@ -51120,17 +51386,59 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51120
51386
|
return _localctx;
|
|
51121
51387
|
}
|
|
51122
51388
|
// @RuleVersion(0)
|
|
51389
|
+
strongDescriptionToken() {
|
|
51390
|
+
let _localctx = new StrongDescriptionTokenContext(this._ctx, this.state);
|
|
51391
|
+
this.enterRule(_localctx, 60, KcLang.RULE_strongDescriptionToken);
|
|
51392
|
+
try {
|
|
51393
|
+
let _alt;
|
|
51394
|
+
this.enterOuterAlt(_localctx, 1);
|
|
51395
|
+
{
|
|
51396
|
+
this.state = 334;
|
|
51397
|
+
this.match(KcLang.DOUBLE_MUL);
|
|
51398
|
+
this.state = 338;
|
|
51399
|
+
this._errHandler.sync(this);
|
|
51400
|
+
_alt = this.interpreter.adaptivePredict(this._input, 19, this._ctx);
|
|
51401
|
+
while (_alt !== 1 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
51402
|
+
if (_alt === 1 + 1) {
|
|
51403
|
+
{
|
|
51404
|
+
{
|
|
51405
|
+
this.state = 335;
|
|
51406
|
+
this.interpolatedStringToken();
|
|
51407
|
+
}
|
|
51408
|
+
}
|
|
51409
|
+
}
|
|
51410
|
+
this.state = 340;
|
|
51411
|
+
this._errHandler.sync(this);
|
|
51412
|
+
_alt = this.interpreter.adaptivePredict(this._input, 19, this._ctx);
|
|
51413
|
+
}
|
|
51414
|
+
this.state = 341;
|
|
51415
|
+
this.match(KcLang.DOUBLE_MUL);
|
|
51416
|
+
}
|
|
51417
|
+
} catch (re) {
|
|
51418
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
51419
|
+
_localctx.exception = re;
|
|
51420
|
+
this._errHandler.reportError(this, re);
|
|
51421
|
+
this._errHandler.recover(this, re);
|
|
51422
|
+
} else {
|
|
51423
|
+
throw re;
|
|
51424
|
+
}
|
|
51425
|
+
} finally {
|
|
51426
|
+
this.exitRule();
|
|
51427
|
+
}
|
|
51428
|
+
return _localctx;
|
|
51429
|
+
}
|
|
51430
|
+
// @RuleVersion(0)
|
|
51123
51431
|
interpolation() {
|
|
51124
51432
|
let _localctx = new InterpolationContext(this._ctx, this.state);
|
|
51125
|
-
this.enterRule(_localctx,
|
|
51433
|
+
this.enterRule(_localctx, 62, KcLang.RULE_interpolation);
|
|
51126
51434
|
try {
|
|
51127
51435
|
this.enterOuterAlt(_localctx, 1);
|
|
51128
51436
|
{
|
|
51129
|
-
this.state =
|
|
51437
|
+
this.state = 343;
|
|
51130
51438
|
this.match(KcLang.LBRACE);
|
|
51131
|
-
this.state =
|
|
51439
|
+
this.state = 344;
|
|
51132
51440
|
this.interpolationContent();
|
|
51133
|
-
this.state =
|
|
51441
|
+
this.state = 345;
|
|
51134
51442
|
this.match(KcLang.RBRACE);
|
|
51135
51443
|
}
|
|
51136
51444
|
} catch (re) {
|
|
@@ -51149,22 +51457,22 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51149
51457
|
// @RuleVersion(0)
|
|
51150
51458
|
interpolationContent() {
|
|
51151
51459
|
let _localctx = new InterpolationContentContext(this._ctx, this.state);
|
|
51152
|
-
this.enterRule(_localctx,
|
|
51460
|
+
this.enterRule(_localctx, 64, KcLang.RULE_interpolationContent);
|
|
51153
51461
|
try {
|
|
51154
|
-
this.state =
|
|
51462
|
+
this.state = 349;
|
|
51155
51463
|
this._errHandler.sync(this);
|
|
51156
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
51464
|
+
switch (this.interpreter.adaptivePredict(this._input, 20, this._ctx)) {
|
|
51157
51465
|
case 1:
|
|
51158
51466
|
this.enterOuterAlt(_localctx, 1);
|
|
51159
51467
|
{
|
|
51160
|
-
this.state =
|
|
51468
|
+
this.state = 347;
|
|
51161
51469
|
this.interpolationWithFormat();
|
|
51162
51470
|
}
|
|
51163
51471
|
break;
|
|
51164
51472
|
case 2:
|
|
51165
51473
|
this.enterOuterAlt(_localctx, 2);
|
|
51166
51474
|
{
|
|
51167
|
-
this.state =
|
|
51475
|
+
this.state = 348;
|
|
51168
51476
|
this.interpolationTarget();
|
|
51169
51477
|
}
|
|
51170
51478
|
break;
|
|
@@ -51185,21 +51493,21 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51185
51493
|
// @RuleVersion(0)
|
|
51186
51494
|
interpolationWithFormat() {
|
|
51187
51495
|
let _localctx = new InterpolationWithFormatContext(this._ctx, this.state);
|
|
51188
|
-
this.enterRule(_localctx,
|
|
51496
|
+
this.enterRule(_localctx, 66, KcLang.RULE_interpolationWithFormat);
|
|
51189
51497
|
try {
|
|
51190
51498
|
this.enterOuterAlt(_localctx, 1);
|
|
51191
51499
|
{
|
|
51192
|
-
this.state =
|
|
51500
|
+
this.state = 351;
|
|
51193
51501
|
this.match(KcLang.NAME);
|
|
51194
|
-
this.state =
|
|
51502
|
+
this.state = 352;
|
|
51195
51503
|
this.match(KcLang.LPAREN);
|
|
51196
|
-
this.state =
|
|
51504
|
+
this.state = 353;
|
|
51197
51505
|
this.interpolationTarget();
|
|
51198
|
-
this.state =
|
|
51506
|
+
this.state = 354;
|
|
51199
51507
|
this.match(KcLang.COMMA);
|
|
51200
|
-
this.state =
|
|
51508
|
+
this.state = 355;
|
|
51201
51509
|
this.match(KcLang.STRING_LITERAL);
|
|
51202
|
-
this.state =
|
|
51510
|
+
this.state = 356;
|
|
51203
51511
|
this.match(KcLang.RPAREN);
|
|
51204
51512
|
}
|
|
51205
51513
|
} catch (re) {
|
|
@@ -51218,10 +51526,10 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51218
51526
|
// @RuleVersion(0)
|
|
51219
51527
|
interpolationTarget() {
|
|
51220
51528
|
let _localctx = new InterpolationTargetContext(this._ctx, this.state);
|
|
51221
|
-
this.enterRule(_localctx,
|
|
51529
|
+
this.enterRule(_localctx, 68, KcLang.RULE_interpolationTarget);
|
|
51222
51530
|
let _la;
|
|
51223
51531
|
try {
|
|
51224
|
-
this.state =
|
|
51532
|
+
this.state = 370;
|
|
51225
51533
|
this._errHandler.sync(this);
|
|
51226
51534
|
switch (this._input.LA(1)) {
|
|
51227
51535
|
case KcLang.GOUP:
|
|
@@ -51232,15 +51540,15 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51232
51540
|
case KcLang.NAME:
|
|
51233
51541
|
this.enterOuterAlt(_localctx, 1);
|
|
51234
51542
|
{
|
|
51235
|
-
this.state =
|
|
51543
|
+
this.state = 358;
|
|
51236
51544
|
this.path();
|
|
51237
|
-
this.state =
|
|
51545
|
+
this.state = 360;
|
|
51238
51546
|
this._errHandler.sync(this);
|
|
51239
51547
|
_la = this._input.LA(1);
|
|
51240
51548
|
if (_la === KcLang.AS) {
|
|
51241
51549
|
{
|
|
51242
|
-
this.state =
|
|
51243
|
-
this.
|
|
51550
|
+
this.state = 359;
|
|
51551
|
+
this.valueType();
|
|
51244
51552
|
}
|
|
51245
51553
|
}
|
|
51246
51554
|
}
|
|
@@ -51248,15 +51556,15 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51248
51556
|
case KcLang.PERCENT:
|
|
51249
51557
|
this.enterOuterAlt(_localctx, 2);
|
|
51250
51558
|
{
|
|
51251
|
-
this.state =
|
|
51559
|
+
this.state = 362;
|
|
51252
51560
|
this.variableUsage();
|
|
51253
|
-
this.state =
|
|
51561
|
+
this.state = 364;
|
|
51254
51562
|
this._errHandler.sync(this);
|
|
51255
51563
|
_la = this._input.LA(1);
|
|
51256
51564
|
if (_la === KcLang.AS) {
|
|
51257
51565
|
{
|
|
51258
|
-
this.state =
|
|
51259
|
-
this.
|
|
51566
|
+
this.state = 363;
|
|
51567
|
+
this.valueType();
|
|
51260
51568
|
}
|
|
51261
51569
|
}
|
|
51262
51570
|
}
|
|
@@ -51264,15 +51572,15 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51264
51572
|
case KcLang.NUMBER_LITERAL:
|
|
51265
51573
|
this.enterOuterAlt(_localctx, 3);
|
|
51266
51574
|
{
|
|
51267
|
-
this.state =
|
|
51575
|
+
this.state = 366;
|
|
51268
51576
|
this.match(KcLang.NUMBER_LITERAL);
|
|
51269
|
-
this.state =
|
|
51577
|
+
this.state = 368;
|
|
51270
51578
|
this._errHandler.sync(this);
|
|
51271
51579
|
_la = this._input.LA(1);
|
|
51272
51580
|
if (_la === KcLang.AS) {
|
|
51273
51581
|
{
|
|
51274
|
-
this.state =
|
|
51275
|
-
this.
|
|
51582
|
+
this.state = 367;
|
|
51583
|
+
this.valueType();
|
|
51276
51584
|
}
|
|
51277
51585
|
}
|
|
51278
51586
|
}
|
|
@@ -51296,32 +51604,32 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51296
51604
|
// @RuleVersion(0)
|
|
51297
51605
|
link() {
|
|
51298
51606
|
let _localctx = new LinkContext(this._ctx, this.state);
|
|
51299
|
-
this.enterRule(_localctx,
|
|
51607
|
+
this.enterRule(_localctx, 70, KcLang.RULE_link);
|
|
51300
51608
|
let _la;
|
|
51301
51609
|
try {
|
|
51302
51610
|
this.enterOuterAlt(_localctx, 1);
|
|
51303
51611
|
{
|
|
51304
|
-
this.state =
|
|
51612
|
+
this.state = 372;
|
|
51305
51613
|
this.match(KcLang.LBRACKET);
|
|
51306
|
-
this.state =
|
|
51614
|
+
this.state = 376;
|
|
51307
51615
|
this._errHandler.sync(this);
|
|
51308
51616
|
_la = this._input.LA(1);
|
|
51309
|
-
while (_la === KcLang.LBRACE
|
|
51617
|
+
while ((_la - 39 & ~0x1F) === 0 && (1 << _la - 39 & (1 << KcLang.LBRACE - 39 | 1 << KcLang.TEXT - 39 | 1 << KcLang.DOUBLE_MUL - 39)) !== 0) {
|
|
51310
51618
|
{
|
|
51311
51619
|
{
|
|
51312
|
-
this.state =
|
|
51620
|
+
this.state = 373;
|
|
51313
51621
|
this.linkName();
|
|
51314
51622
|
}
|
|
51315
51623
|
}
|
|
51316
|
-
this.state =
|
|
51624
|
+
this.state = 378;
|
|
51317
51625
|
this._errHandler.sync(this);
|
|
51318
51626
|
_la = this._input.LA(1);
|
|
51319
51627
|
}
|
|
51320
|
-
this.state =
|
|
51628
|
+
this.state = 379;
|
|
51321
51629
|
this.match(KcLang.RBRACKET_LBRACE);
|
|
51322
|
-
this.state =
|
|
51630
|
+
this.state = 380;
|
|
51323
51631
|
this.linkContent();
|
|
51324
|
-
this.state =
|
|
51632
|
+
this.state = 381;
|
|
51325
51633
|
this.match(KcLang.RPAREN);
|
|
51326
51634
|
}
|
|
51327
51635
|
} catch (re) {
|
|
@@ -51338,27 +51646,76 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51338
51646
|
return _localctx;
|
|
51339
51647
|
}
|
|
51340
51648
|
// @RuleVersion(0)
|
|
51649
|
+
strongLinkName() {
|
|
51650
|
+
let _localctx = new StrongLinkNameContext(this._ctx, this.state);
|
|
51651
|
+
this.enterRule(_localctx, 72, KcLang.RULE_strongLinkName);
|
|
51652
|
+
try {
|
|
51653
|
+
let _alt;
|
|
51654
|
+
this.enterOuterAlt(_localctx, 1);
|
|
51655
|
+
{
|
|
51656
|
+
this.state = 383;
|
|
51657
|
+
this.match(KcLang.DOUBLE_MUL);
|
|
51658
|
+
this.state = 387;
|
|
51659
|
+
this._errHandler.sync(this);
|
|
51660
|
+
_alt = this.interpreter.adaptivePredict(this._input, 26, this._ctx);
|
|
51661
|
+
while (_alt !== 1 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
51662
|
+
if (_alt === 1 + 1) {
|
|
51663
|
+
{
|
|
51664
|
+
{
|
|
51665
|
+
this.state = 384;
|
|
51666
|
+
this.linkName();
|
|
51667
|
+
}
|
|
51668
|
+
}
|
|
51669
|
+
}
|
|
51670
|
+
this.state = 389;
|
|
51671
|
+
this._errHandler.sync(this);
|
|
51672
|
+
_alt = this.interpreter.adaptivePredict(this._input, 26, this._ctx);
|
|
51673
|
+
}
|
|
51674
|
+
this.state = 390;
|
|
51675
|
+
this.match(KcLang.DOUBLE_MUL);
|
|
51676
|
+
}
|
|
51677
|
+
} catch (re) {
|
|
51678
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
51679
|
+
_localctx.exception = re;
|
|
51680
|
+
this._errHandler.reportError(this, re);
|
|
51681
|
+
this._errHandler.recover(this, re);
|
|
51682
|
+
} else {
|
|
51683
|
+
throw re;
|
|
51684
|
+
}
|
|
51685
|
+
} finally {
|
|
51686
|
+
this.exitRule();
|
|
51687
|
+
}
|
|
51688
|
+
return _localctx;
|
|
51689
|
+
}
|
|
51690
|
+
// @RuleVersion(0)
|
|
51341
51691
|
linkName() {
|
|
51342
51692
|
let _localctx = new LinkNameContext(this._ctx, this.state);
|
|
51343
|
-
this.enterRule(_localctx,
|
|
51693
|
+
this.enterRule(_localctx, 74, KcLang.RULE_linkName);
|
|
51344
51694
|
try {
|
|
51345
|
-
this.state =
|
|
51695
|
+
this.state = 395;
|
|
51346
51696
|
this._errHandler.sync(this);
|
|
51347
51697
|
switch (this._input.LA(1)) {
|
|
51348
51698
|
case KcLang.TEXT:
|
|
51349
51699
|
this.enterOuterAlt(_localctx, 1);
|
|
51350
51700
|
{
|
|
51351
|
-
this.state =
|
|
51701
|
+
this.state = 392;
|
|
51352
51702
|
this.match(KcLang.TEXT);
|
|
51353
51703
|
}
|
|
51354
51704
|
break;
|
|
51355
51705
|
case KcLang.LBRACE:
|
|
51356
51706
|
this.enterOuterAlt(_localctx, 2);
|
|
51357
51707
|
{
|
|
51358
|
-
this.state =
|
|
51708
|
+
this.state = 393;
|
|
51359
51709
|
this.interpolation();
|
|
51360
51710
|
}
|
|
51361
51711
|
break;
|
|
51712
|
+
case KcLang.DOUBLE_MUL:
|
|
51713
|
+
this.enterOuterAlt(_localctx, 3);
|
|
51714
|
+
{
|
|
51715
|
+
this.state = 394;
|
|
51716
|
+
this.strongLinkName();
|
|
51717
|
+
}
|
|
51718
|
+
break;
|
|
51362
51719
|
default:
|
|
51363
51720
|
throw new antlr4ts_NoViableAltException__WEBPACK_IMPORTED_MODULE_3__.NoViableAltException(this);
|
|
51364
51721
|
}
|
|
@@ -51378,22 +51735,22 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51378
51735
|
// @RuleVersion(0)
|
|
51379
51736
|
linkContent() {
|
|
51380
51737
|
let _localctx = new LinkContentContext(this._ctx, this.state);
|
|
51381
|
-
this.enterRule(_localctx,
|
|
51738
|
+
this.enterRule(_localctx, 76, KcLang.RULE_linkContent);
|
|
51382
51739
|
try {
|
|
51383
|
-
this.state =
|
|
51740
|
+
this.state = 401;
|
|
51384
51741
|
this._errHandler.sync(this);
|
|
51385
51742
|
switch (this._input.LA(1)) {
|
|
51386
51743
|
case KcLang.MAPPED_REF:
|
|
51387
51744
|
this.enterOuterAlt(_localctx, 1);
|
|
51388
51745
|
{
|
|
51389
|
-
this.state =
|
|
51746
|
+
this.state = 397;
|
|
51390
51747
|
this.mappedRef();
|
|
51391
51748
|
}
|
|
51392
51749
|
break;
|
|
51393
51750
|
case KcLang.MATCH_LINK:
|
|
51394
51751
|
this.enterOuterAlt(_localctx, 2);
|
|
51395
51752
|
{
|
|
51396
|
-
this.state =
|
|
51753
|
+
this.state = 398;
|
|
51397
51754
|
this.match(KcLang.MATCH_LINK);
|
|
51398
51755
|
}
|
|
51399
51756
|
break;
|
|
@@ -51405,14 +51762,14 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51405
51762
|
case KcLang.NAME:
|
|
51406
51763
|
this.enterOuterAlt(_localctx, 3);
|
|
51407
51764
|
{
|
|
51408
|
-
this.state =
|
|
51765
|
+
this.state = 399;
|
|
51409
51766
|
this.path();
|
|
51410
51767
|
}
|
|
51411
51768
|
break;
|
|
51412
51769
|
case KcLang.PERCENT:
|
|
51413
51770
|
this.enterOuterAlt(_localctx, 4);
|
|
51414
51771
|
{
|
|
51415
|
-
this.state =
|
|
51772
|
+
this.state = 400;
|
|
51416
51773
|
this.variableUsage();
|
|
51417
51774
|
}
|
|
51418
51775
|
break;
|
|
@@ -51435,15 +51792,15 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51435
51792
|
// @RuleVersion(0)
|
|
51436
51793
|
mappedRef() {
|
|
51437
51794
|
let _localctx = new MappedRefContext(this._ctx, this.state);
|
|
51438
|
-
this.enterRule(_localctx,
|
|
51795
|
+
this.enterRule(_localctx, 78, KcLang.RULE_mappedRef);
|
|
51439
51796
|
try {
|
|
51440
51797
|
this.enterOuterAlt(_localctx, 1);
|
|
51441
51798
|
{
|
|
51442
|
-
this.state =
|
|
51799
|
+
this.state = 403;
|
|
51443
51800
|
this.match(KcLang.MAPPED_REF);
|
|
51444
|
-
this.state =
|
|
51801
|
+
this.state = 404;
|
|
51445
51802
|
this.match(KcLang.EQUAL);
|
|
51446
|
-
this.state =
|
|
51803
|
+
this.state = 405;
|
|
51447
51804
|
this.match(KcLang.MAPPED_PATH);
|
|
51448
51805
|
}
|
|
51449
51806
|
} catch (re) {
|
|
@@ -51462,15 +51819,15 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51462
51819
|
// @RuleVersion(0)
|
|
51463
51820
|
formula() {
|
|
51464
51821
|
let _localctx = new FormulaContext(this._ctx, this.state);
|
|
51465
|
-
this.enterRule(_localctx,
|
|
51822
|
+
this.enterRule(_localctx, 80, KcLang.RULE_formula);
|
|
51466
51823
|
try {
|
|
51467
51824
|
this.enterOuterAlt(_localctx, 1);
|
|
51468
51825
|
{
|
|
51469
|
-
this.state =
|
|
51826
|
+
this.state = 407;
|
|
51470
51827
|
this.path();
|
|
51471
|
-
this.state =
|
|
51828
|
+
this.state = 408;
|
|
51472
51829
|
this.match(KcLang.TEQ);
|
|
51473
|
-
this.state =
|
|
51830
|
+
this.state = 409;
|
|
51474
51831
|
this.expression(0);
|
|
51475
51832
|
}
|
|
51476
51833
|
} catch (re) {
|
|
@@ -51495,8 +51852,8 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51495
51852
|
let _parentState = this.state;
|
|
51496
51853
|
let _localctx = new ExpressionContext(this._ctx, _parentState);
|
|
51497
51854
|
let _prevctx = _localctx;
|
|
51498
|
-
let _startState =
|
|
51499
|
-
this.enterRecursionRule(_localctx,
|
|
51855
|
+
let _startState = 82;
|
|
51856
|
+
this.enterRecursionRule(_localctx, 82, KcLang.RULE_expression, _p);
|
|
51500
51857
|
try {
|
|
51501
51858
|
let _alt;
|
|
51502
51859
|
this.enterOuterAlt(_localctx, 1);
|
|
@@ -51505,23 +51862,23 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51505
51862
|
_localctx = new UnaryContext(_localctx);
|
|
51506
51863
|
this._ctx = _localctx;
|
|
51507
51864
|
_prevctx = _localctx;
|
|
51508
|
-
this.state =
|
|
51865
|
+
this.state = 413;
|
|
51509
51866
|
this._errHandler.sync(this);
|
|
51510
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
51867
|
+
switch (this.interpreter.adaptivePredict(this._input, 29, this._ctx)) {
|
|
51511
51868
|
case 1:
|
|
51512
51869
|
{
|
|
51513
|
-
this.state =
|
|
51870
|
+
this.state = 412;
|
|
51514
51871
|
this.label();
|
|
51515
51872
|
}
|
|
51516
51873
|
break;
|
|
51517
51874
|
}
|
|
51518
|
-
this.state =
|
|
51519
|
-
this.unaryExpression();
|
|
51875
|
+
this.state = 415;
|
|
51876
|
+
this.unaryExpression(0);
|
|
51520
51877
|
}
|
|
51521
51878
|
this._ctx._stop = this._input.tryLT(-1);
|
|
51522
|
-
this.state =
|
|
51879
|
+
this.state = 450;
|
|
51523
51880
|
this._errHandler.sync(this);
|
|
51524
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
51881
|
+
_alt = this.interpreter.adaptivePredict(this._input, 31, this._ctx);
|
|
51525
51882
|
while (_alt !== 2 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
51526
51883
|
if (_alt === 1) {
|
|
51527
51884
|
if (this._parseListeners != null) {
|
|
@@ -51529,131 +51886,131 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51529
51886
|
}
|
|
51530
51887
|
_prevctx = _localctx;
|
|
51531
51888
|
{
|
|
51532
|
-
this.state =
|
|
51889
|
+
this.state = 448;
|
|
51533
51890
|
this._errHandler.sync(this);
|
|
51534
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
51891
|
+
switch (this.interpreter.adaptivePredict(this._input, 30, this._ctx)) {
|
|
51535
51892
|
case 1:
|
|
51893
|
+
{
|
|
51894
|
+
_localctx = new OneOfContext(new ExpressionContext(_parentctx, _parentState));
|
|
51895
|
+
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_expression);
|
|
51896
|
+
this.state = 417;
|
|
51897
|
+
if (!this.precpred(this._ctx, 9)) {
|
|
51898
|
+
throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");
|
|
51899
|
+
}
|
|
51900
|
+
this.state = 418;
|
|
51901
|
+
this.match(KcLang.IN);
|
|
51902
|
+
this.state = 419;
|
|
51903
|
+
this.expression(10);
|
|
51904
|
+
}
|
|
51905
|
+
break;
|
|
51906
|
+
case 2:
|
|
51536
51907
|
{
|
|
51537
51908
|
_localctx = new CompositionContext(new ExpressionContext(_parentctx, _parentState));
|
|
51538
51909
|
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_expression);
|
|
51539
|
-
this.state =
|
|
51910
|
+
this.state = 420;
|
|
51540
51911
|
if (!this.precpred(this._ctx, 8)) {
|
|
51541
51912
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");
|
|
51542
51913
|
}
|
|
51543
|
-
this.state =
|
|
51914
|
+
this.state = 421;
|
|
51544
51915
|
this.compositionOperation();
|
|
51545
|
-
this.state =
|
|
51916
|
+
this.state = 422;
|
|
51546
51917
|
this.expression(9);
|
|
51547
51918
|
}
|
|
51548
51919
|
break;
|
|
51549
|
-
case
|
|
51920
|
+
case 3:
|
|
51550
51921
|
{
|
|
51551
51922
|
_localctx = new SummationContext(new ExpressionContext(_parentctx, _parentState));
|
|
51552
51923
|
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_expression);
|
|
51553
|
-
this.state =
|
|
51924
|
+
this.state = 424;
|
|
51554
51925
|
if (!this.precpred(this._ctx, 7)) {
|
|
51555
51926
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");
|
|
51556
51927
|
}
|
|
51557
|
-
this.state =
|
|
51928
|
+
this.state = 425;
|
|
51558
51929
|
this.summationOperation();
|
|
51559
|
-
this.state =
|
|
51930
|
+
this.state = 426;
|
|
51560
51931
|
this.expression(8);
|
|
51561
51932
|
}
|
|
51562
51933
|
break;
|
|
51563
|
-
case
|
|
51934
|
+
case 4:
|
|
51564
51935
|
{
|
|
51565
51936
|
_localctx = new ComparisonContext(new ExpressionContext(_parentctx, _parentState));
|
|
51566
51937
|
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_expression);
|
|
51567
|
-
this.state =
|
|
51938
|
+
this.state = 428;
|
|
51568
51939
|
if (!this.precpred(this._ctx, 6)) {
|
|
51569
51940
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");
|
|
51570
51941
|
}
|
|
51571
|
-
this.state =
|
|
51942
|
+
this.state = 429;
|
|
51572
51943
|
this.conditionalOperation();
|
|
51573
|
-
this.state =
|
|
51944
|
+
this.state = 430;
|
|
51574
51945
|
this.expression(7);
|
|
51575
51946
|
}
|
|
51576
51947
|
break;
|
|
51577
|
-
case
|
|
51948
|
+
case 5:
|
|
51578
51949
|
{
|
|
51579
51950
|
_localctx = new AndContext(new ExpressionContext(_parentctx, _parentState));
|
|
51580
51951
|
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_expression);
|
|
51581
|
-
this.state =
|
|
51952
|
+
this.state = 432;
|
|
51582
51953
|
if (!this.precpred(this._ctx, 5)) {
|
|
51583
51954
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");
|
|
51584
51955
|
}
|
|
51585
|
-
this.state =
|
|
51956
|
+
this.state = 433;
|
|
51586
51957
|
this.match(KcLang.AND);
|
|
51587
|
-
this.state =
|
|
51958
|
+
this.state = 434;
|
|
51588
51959
|
this.expression(6);
|
|
51589
51960
|
}
|
|
51590
51961
|
break;
|
|
51591
|
-
case
|
|
51962
|
+
case 6:
|
|
51592
51963
|
{
|
|
51593
51964
|
_localctx = new OrContext(new ExpressionContext(_parentctx, _parentState));
|
|
51594
51965
|
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_expression);
|
|
51595
|
-
this.state =
|
|
51966
|
+
this.state = 435;
|
|
51596
51967
|
if (!this.precpred(this._ctx, 4)) {
|
|
51597
51968
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");
|
|
51598
51969
|
}
|
|
51599
|
-
this.state =
|
|
51970
|
+
this.state = 436;
|
|
51600
51971
|
this.match(KcLang.OR);
|
|
51601
|
-
this.state =
|
|
51972
|
+
this.state = 437;
|
|
51602
51973
|
this.expression(5);
|
|
51603
51974
|
}
|
|
51604
51975
|
break;
|
|
51605
|
-
case
|
|
51976
|
+
case 7:
|
|
51606
51977
|
{
|
|
51607
51978
|
_localctx = new CoalesceContext(new ExpressionContext(_parentctx, _parentState));
|
|
51608
51979
|
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_expression);
|
|
51609
|
-
this.state =
|
|
51980
|
+
this.state = 438;
|
|
51610
51981
|
if (!this.precpred(this._ctx, 3)) {
|
|
51611
51982
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 3)");
|
|
51612
51983
|
}
|
|
51613
|
-
this.state =
|
|
51984
|
+
this.state = 439;
|
|
51614
51985
|
this.coalesceOperation();
|
|
51615
|
-
this.state =
|
|
51986
|
+
this.state = 440;
|
|
51616
51987
|
this.expression(4);
|
|
51617
51988
|
}
|
|
51618
51989
|
break;
|
|
51619
|
-
case
|
|
51990
|
+
case 8:
|
|
51620
51991
|
{
|
|
51621
51992
|
_localctx = new TernaryContext(new ExpressionContext(_parentctx, _parentState));
|
|
51622
51993
|
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_expression);
|
|
51623
|
-
this.state =
|
|
51994
|
+
this.state = 442;
|
|
51624
51995
|
if (!this.precpred(this._ctx, 2)) {
|
|
51625
51996
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 2)");
|
|
51626
51997
|
}
|
|
51627
|
-
this.state =
|
|
51998
|
+
this.state = 443;
|
|
51628
51999
|
this.match(KcLang.QUESTIONMARK);
|
|
51629
|
-
this.state =
|
|
52000
|
+
this.state = 444;
|
|
51630
52001
|
this.expression(0);
|
|
51631
|
-
this.state =
|
|
52002
|
+
this.state = 445;
|
|
51632
52003
|
this.match(KcLang.COLON);
|
|
51633
|
-
this.state =
|
|
52004
|
+
this.state = 446;
|
|
51634
52005
|
this.expression(2);
|
|
51635
52006
|
}
|
|
51636
52007
|
break;
|
|
51637
|
-
case 8:
|
|
51638
|
-
{
|
|
51639
|
-
_localctx = new OneOfContext(new ExpressionContext(_parentctx, _parentState));
|
|
51640
|
-
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_expression);
|
|
51641
|
-
this.state = 360;
|
|
51642
|
-
if (!this.precpred(this._ctx, 9)) {
|
|
51643
|
-
throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");
|
|
51644
|
-
}
|
|
51645
|
-
this.state = 361;
|
|
51646
|
-
this.match(KcLang.IN);
|
|
51647
|
-
this.state = 362;
|
|
51648
|
-
this.expressionSequence();
|
|
51649
|
-
}
|
|
51650
|
-
break;
|
|
51651
52008
|
}
|
|
51652
52009
|
}
|
|
51653
52010
|
}
|
|
51654
|
-
this.state =
|
|
52011
|
+
this.state = 452;
|
|
51655
52012
|
this._errHandler.sync(this);
|
|
51656
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
52013
|
+
_alt = this.interpreter.adaptivePredict(this._input, 31, this._ctx);
|
|
51657
52014
|
}
|
|
51658
52015
|
}
|
|
51659
52016
|
} catch (re) {
|
|
@@ -51670,85 +52027,140 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51670
52027
|
return _localctx;
|
|
51671
52028
|
}
|
|
51672
52029
|
// @RuleVersion(0)
|
|
51673
|
-
unaryExpression() {
|
|
51674
|
-
|
|
51675
|
-
|
|
52030
|
+
unaryExpression(_p) {
|
|
52031
|
+
if (_p === undefined) {
|
|
52032
|
+
_p = 0;
|
|
52033
|
+
}
|
|
52034
|
+
let _parentctx = this._ctx;
|
|
52035
|
+
let _parentState = this.state;
|
|
52036
|
+
let _localctx = new UnaryExpressionContext(this._ctx, _parentState);
|
|
52037
|
+
let _prevctx = _localctx;
|
|
52038
|
+
let _startState = 84;
|
|
52039
|
+
this.enterRecursionRule(_localctx, 84, KcLang.RULE_unaryExpression, _p);
|
|
51676
52040
|
try {
|
|
51677
|
-
|
|
51678
|
-
this.
|
|
51679
|
-
|
|
51680
|
-
|
|
51681
|
-
|
|
51682
|
-
|
|
51683
|
-
|
|
51684
|
-
|
|
51685
|
-
|
|
51686
|
-
|
|
51687
|
-
|
|
51688
|
-
|
|
51689
|
-
|
|
51690
|
-
|
|
51691
|
-
|
|
51692
|
-
|
|
51693
|
-
|
|
51694
|
-
|
|
51695
|
-
|
|
51696
|
-
|
|
51697
|
-
|
|
51698
|
-
|
|
51699
|
-
|
|
51700
|
-
|
|
51701
|
-
|
|
51702
|
-
|
|
51703
|
-
|
|
51704
|
-
|
|
51705
|
-
|
|
51706
|
-
|
|
51707
|
-
|
|
51708
|
-
|
|
51709
|
-
|
|
51710
|
-
|
|
51711
|
-
|
|
51712
|
-
|
|
51713
|
-
|
|
51714
|
-
|
|
51715
|
-
|
|
51716
|
-
|
|
51717
|
-
|
|
51718
|
-
|
|
51719
|
-
|
|
51720
|
-
|
|
51721
|
-
|
|
51722
|
-
|
|
51723
|
-
|
|
51724
|
-
|
|
51725
|
-
|
|
51726
|
-
|
|
51727
|
-
|
|
51728
|
-
|
|
51729
|
-
|
|
51730
|
-
|
|
51731
|
-
|
|
51732
|
-
|
|
51733
|
-
|
|
51734
|
-
|
|
51735
|
-
|
|
51736
|
-
|
|
51737
|
-
|
|
51738
|
-
|
|
51739
|
-
|
|
51740
|
-
|
|
51741
|
-
|
|
51742
|
-
|
|
51743
|
-
|
|
51744
|
-
|
|
51745
|
-
|
|
51746
|
-
|
|
51747
|
-
|
|
51748
|
-
|
|
51749
|
-
|
|
52041
|
+
let _alt;
|
|
52042
|
+
this.enterOuterAlt(_localctx, 1);
|
|
52043
|
+
{
|
|
52044
|
+
this.state = 468;
|
|
52045
|
+
this._errHandler.sync(this);
|
|
52046
|
+
switch (this.interpreter.adaptivePredict(this._input, 32, this._ctx)) {
|
|
52047
|
+
case 1:
|
|
52048
|
+
{
|
|
52049
|
+
_localctx = new InterpolateContext(_localctx);
|
|
52050
|
+
this._ctx = _localctx;
|
|
52051
|
+
_prevctx = _localctx;
|
|
52052
|
+
this.state = 454;
|
|
52053
|
+
this.interpolatedStringExpression();
|
|
52054
|
+
}
|
|
52055
|
+
break;
|
|
52056
|
+
case 2:
|
|
52057
|
+
{
|
|
52058
|
+
_localctx = new ConstContext(_localctx);
|
|
52059
|
+
this._ctx = _localctx;
|
|
52060
|
+
_prevctx = _localctx;
|
|
52061
|
+
this.state = 455;
|
|
52062
|
+
this.constExpression();
|
|
52063
|
+
}
|
|
52064
|
+
break;
|
|
52065
|
+
case 3:
|
|
52066
|
+
{
|
|
52067
|
+
_localctx = new PathWithTypeContext(_localctx);
|
|
52068
|
+
this._ctx = _localctx;
|
|
52069
|
+
_prevctx = _localctx;
|
|
52070
|
+
this.state = 456;
|
|
52071
|
+
this.pathExpression();
|
|
52072
|
+
}
|
|
52073
|
+
break;
|
|
52074
|
+
case 4:
|
|
52075
|
+
{
|
|
52076
|
+
_localctx = new VarContext(_localctx);
|
|
52077
|
+
this._ctx = _localctx;
|
|
52078
|
+
_prevctx = _localctx;
|
|
52079
|
+
this.state = 457;
|
|
52080
|
+
this.varExpression();
|
|
52081
|
+
}
|
|
52082
|
+
break;
|
|
52083
|
+
case 5:
|
|
52084
|
+
{
|
|
52085
|
+
_localctx = new BracketsContext(_localctx);
|
|
52086
|
+
this._ctx = _localctx;
|
|
52087
|
+
_prevctx = _localctx;
|
|
52088
|
+
this.state = 458;
|
|
52089
|
+
this.match(KcLang.LPAREN);
|
|
52090
|
+
this.state = 459;
|
|
52091
|
+
this.expression(0);
|
|
52092
|
+
this.state = 460;
|
|
52093
|
+
this.match(KcLang.RPAREN);
|
|
52094
|
+
}
|
|
52095
|
+
break;
|
|
52096
|
+
case 6:
|
|
52097
|
+
{
|
|
52098
|
+
_localctx = new NotContext(_localctx);
|
|
52099
|
+
this._ctx = _localctx;
|
|
52100
|
+
_prevctx = _localctx;
|
|
52101
|
+
this.state = 462;
|
|
52102
|
+
this.match(KcLang.NOT);
|
|
52103
|
+
this.state = 463;
|
|
52104
|
+
this.unaryExpression(4);
|
|
52105
|
+
}
|
|
52106
|
+
break;
|
|
52107
|
+
case 7:
|
|
52108
|
+
{
|
|
52109
|
+
_localctx = new FuncContext(_localctx);
|
|
52110
|
+
this._ctx = _localctx;
|
|
52111
|
+
_prevctx = _localctx;
|
|
52112
|
+
this.state = 464;
|
|
52113
|
+
this.funcExpression();
|
|
52114
|
+
}
|
|
52115
|
+
break;
|
|
52116
|
+
case 8:
|
|
52117
|
+
{
|
|
52118
|
+
_localctx = new UnaryMinusContext(_localctx);
|
|
52119
|
+
this._ctx = _localctx;
|
|
52120
|
+
_prevctx = _localctx;
|
|
52121
|
+
this.state = 465;
|
|
52122
|
+
this.match(KcLang.MIN);
|
|
52123
|
+
this.state = 466;
|
|
52124
|
+
this.unaryExpression(2);
|
|
52125
|
+
}
|
|
52126
|
+
break;
|
|
52127
|
+
case 9:
|
|
52128
|
+
{
|
|
52129
|
+
_localctx = new ArrayContext(_localctx);
|
|
52130
|
+
this._ctx = _localctx;
|
|
52131
|
+
_prevctx = _localctx;
|
|
52132
|
+
this.state = 467;
|
|
52133
|
+
this.arrayExpression();
|
|
52134
|
+
}
|
|
52135
|
+
break;
|
|
52136
|
+
}
|
|
52137
|
+
this._ctx._stop = this._input.tryLT(-1);
|
|
52138
|
+
this.state = 474;
|
|
52139
|
+
this._errHandler.sync(this);
|
|
52140
|
+
_alt = this.interpreter.adaptivePredict(this._input, 33, this._ctx);
|
|
52141
|
+
while (_alt !== 2 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
52142
|
+
if (_alt === 1) {
|
|
52143
|
+
if (this._parseListeners != null) {
|
|
52144
|
+
this.triggerExitRuleEvent();
|
|
52145
|
+
}
|
|
52146
|
+
_prevctx = _localctx;
|
|
52147
|
+
{
|
|
52148
|
+
{
|
|
52149
|
+
_localctx = new CastContext(new UnaryExpressionContext(_parentctx, _parentState));
|
|
52150
|
+
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_unaryExpression);
|
|
52151
|
+
this.state = 470;
|
|
52152
|
+
if (!this.precpred(this._ctx, 5)) {
|
|
52153
|
+
throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");
|
|
52154
|
+
}
|
|
52155
|
+
this.state = 471;
|
|
52156
|
+
this.valueType();
|
|
52157
|
+
}
|
|
52158
|
+
}
|
|
51750
52159
|
}
|
|
51751
|
-
|
|
52160
|
+
this.state = 476;
|
|
52161
|
+
this._errHandler.sync(this);
|
|
52162
|
+
_alt = this.interpreter.adaptivePredict(this._input, 33, this._ctx);
|
|
52163
|
+
}
|
|
51752
52164
|
}
|
|
51753
52165
|
} catch (re) {
|
|
51754
52166
|
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
@@ -51759,49 +52171,41 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51759
52171
|
throw re;
|
|
51760
52172
|
}
|
|
51761
52173
|
} finally {
|
|
51762
|
-
this.
|
|
52174
|
+
this.unrollRecursionContexts(_parentctx);
|
|
51763
52175
|
}
|
|
51764
52176
|
return _localctx;
|
|
51765
52177
|
}
|
|
51766
52178
|
// @RuleVersion(0)
|
|
51767
|
-
|
|
51768
|
-
let _localctx = new
|
|
51769
|
-
this.enterRule(_localctx,
|
|
51770
|
-
let _la;
|
|
52179
|
+
arrayExpression() {
|
|
52180
|
+
let _localctx = new ArrayExpressionContext(this._ctx, this.state);
|
|
52181
|
+
this.enterRule(_localctx, 86, KcLang.RULE_arrayExpression);
|
|
51771
52182
|
try {
|
|
51772
52183
|
let _alt;
|
|
51773
52184
|
this.enterOuterAlt(_localctx, 1);
|
|
51774
52185
|
{
|
|
51775
|
-
this.state =
|
|
52186
|
+
this.state = 477;
|
|
51776
52187
|
this.match(KcLang.LBRACKET);
|
|
51777
|
-
this.state =
|
|
52188
|
+
this.state = 483;
|
|
51778
52189
|
this._errHandler.sync(this);
|
|
51779
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
52190
|
+
_alt = this.interpreter.adaptivePredict(this._input, 34, this._ctx);
|
|
51780
52191
|
while (_alt !== 2 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
51781
52192
|
if (_alt === 1) {
|
|
51782
52193
|
{
|
|
51783
52194
|
{
|
|
51784
|
-
this.state =
|
|
52195
|
+
this.state = 478;
|
|
51785
52196
|
this.expression(0);
|
|
51786
|
-
this.state =
|
|
52197
|
+
this.state = 479;
|
|
51787
52198
|
this.match(KcLang.COMMA);
|
|
51788
52199
|
}
|
|
51789
52200
|
}
|
|
51790
52201
|
}
|
|
51791
|
-
this.state =
|
|
52202
|
+
this.state = 485;
|
|
51792
52203
|
this._errHandler.sync(this);
|
|
51793
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
52204
|
+
_alt = this.interpreter.adaptivePredict(this._input, 34, this._ctx);
|
|
51794
52205
|
}
|
|
51795
|
-
this.state =
|
|
51796
|
-
this.
|
|
51797
|
-
|
|
51798
|
-
if ((_la & ~0x1F) === 0 && (1 << _la & (1 << KcLang.GOUP | 1 << KcLang.PERCENT | 1 << KcLang.MIN | 1 << KcLang.DOT | 1 << KcLang.AT | 1 << KcLang.DOLLAR)) !== 0 || (_la - 34 & ~0x1F) === 0 && (1 << _la - 34 & (1 << KcLang.NOT - 34 | 1 << KcLang.LPAREN - 34 | 1 << KcLang.SLASH - 34 | 1 << KcLang.TRIPLE_QUOTES - 34 | 1 << KcLang.NAME - 34 | 1 << KcLang.NUMBER_LITERAL - 34 | 1 << KcLang.STRING_LITERAL - 34)) !== 0) {
|
|
51799
|
-
{
|
|
51800
|
-
this.state = 392;
|
|
51801
|
-
this.expression(0);
|
|
51802
|
-
}
|
|
51803
|
-
}
|
|
51804
|
-
this.state = 395;
|
|
52206
|
+
this.state = 486;
|
|
52207
|
+
this.expression(0);
|
|
52208
|
+
this.state = 487;
|
|
51805
52209
|
this.match(KcLang.RBRACKET);
|
|
51806
52210
|
}
|
|
51807
52211
|
} catch (re) {
|
|
@@ -51820,44 +52224,44 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51820
52224
|
// @RuleVersion(0)
|
|
51821
52225
|
funcExpression() {
|
|
51822
52226
|
let _localctx = new FuncExpressionContext(this._ctx, this.state);
|
|
51823
|
-
this.enterRule(_localctx,
|
|
52227
|
+
this.enterRule(_localctx, 88, KcLang.RULE_funcExpression);
|
|
51824
52228
|
let _la;
|
|
51825
52229
|
try {
|
|
51826
52230
|
let _alt;
|
|
51827
52231
|
this.enterOuterAlt(_localctx, 1);
|
|
51828
52232
|
{
|
|
51829
|
-
this.state =
|
|
52233
|
+
this.state = 489;
|
|
51830
52234
|
this.match(KcLang.NAME);
|
|
51831
|
-
this.state =
|
|
52235
|
+
this.state = 490;
|
|
51832
52236
|
this.match(KcLang.LPAREN);
|
|
51833
|
-
this.state =
|
|
52237
|
+
this.state = 496;
|
|
51834
52238
|
this._errHandler.sync(this);
|
|
51835
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
52239
|
+
_alt = this.interpreter.adaptivePredict(this._input, 35, this._ctx);
|
|
51836
52240
|
while (_alt !== 2 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
51837
52241
|
if (_alt === 1) {
|
|
51838
52242
|
{
|
|
51839
52243
|
{
|
|
51840
|
-
this.state =
|
|
52244
|
+
this.state = 491;
|
|
51841
52245
|
this.argument();
|
|
51842
|
-
this.state =
|
|
52246
|
+
this.state = 492;
|
|
51843
52247
|
this.match(KcLang.COMMA);
|
|
51844
52248
|
}
|
|
51845
52249
|
}
|
|
51846
52250
|
}
|
|
51847
|
-
this.state =
|
|
52251
|
+
this.state = 498;
|
|
51848
52252
|
this._errHandler.sync(this);
|
|
51849
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
52253
|
+
_alt = this.interpreter.adaptivePredict(this._input, 35, this._ctx);
|
|
51850
52254
|
}
|
|
51851
|
-
this.state =
|
|
52255
|
+
this.state = 500;
|
|
51852
52256
|
this._errHandler.sync(this);
|
|
51853
52257
|
_la = this._input.LA(1);
|
|
51854
|
-
if ((_la & ~0x1F) === 0 && (1 << _la & (1 << KcLang.GOUP | 1 << KcLang.PERCENT | 1 << KcLang.MIN | 1 << KcLang.DOT | 1 << KcLang.AT | 1 << KcLang.DOLLAR)) !== 0 || (_la - 34 & ~0x1F) === 0 && (1 << _la - 34 & (1 << KcLang.NOT - 34 | 1 << KcLang.LPAREN - 34 | 1 << KcLang.SLASH - 34 | 1 << KcLang.TRIPLE_QUOTES - 34 | 1 << KcLang.NAME - 34 | 1 << KcLang.NUMBER_LITERAL - 34 | 1 << KcLang.STRING_LITERAL - 34)) !== 0) {
|
|
52258
|
+
if ((_la & ~0x1F) === 0 && (1 << _la & (1 << KcLang.GOUP | 1 << KcLang.PERCENT | 1 << KcLang.MIN | 1 << KcLang.DOT | 1 << KcLang.AT | 1 << KcLang.DOLLAR)) !== 0 || (_la - 34 & ~0x1F) === 0 && (1 << _la - 34 & (1 << KcLang.NOT - 34 | 1 << KcLang.LPAREN - 34 | 1 << KcLang.LBRACKET - 34 | 1 << KcLang.SLASH - 34 | 1 << KcLang.TRIPLE_QUOTES - 34 | 1 << KcLang.NAME - 34 | 1 << KcLang.NUMBER_LITERAL - 34 | 1 << KcLang.STRING_LITERAL - 34)) !== 0) {
|
|
51855
52259
|
{
|
|
51856
|
-
this.state =
|
|
52260
|
+
this.state = 499;
|
|
51857
52261
|
this.argument();
|
|
51858
52262
|
}
|
|
51859
52263
|
}
|
|
51860
|
-
this.state =
|
|
52264
|
+
this.state = 502;
|
|
51861
52265
|
this.match(KcLang.RPAREN);
|
|
51862
52266
|
}
|
|
51863
52267
|
} catch (re) {
|
|
@@ -51876,26 +52280,26 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51876
52280
|
// @RuleVersion(0)
|
|
51877
52281
|
argument() {
|
|
51878
52282
|
let _localctx = new ArgumentContext(this._ctx, this.state);
|
|
51879
|
-
this.enterRule(_localctx,
|
|
52283
|
+
this.enterRule(_localctx, 90, KcLang.RULE_argument);
|
|
51880
52284
|
try {
|
|
51881
|
-
this.state =
|
|
52285
|
+
this.state = 508;
|
|
51882
52286
|
this._errHandler.sync(this);
|
|
51883
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52287
|
+
switch (this.interpreter.adaptivePredict(this._input, 37, this._ctx)) {
|
|
51884
52288
|
case 1:
|
|
51885
52289
|
this.enterOuterAlt(_localctx, 1);
|
|
51886
52290
|
{
|
|
51887
|
-
this.state =
|
|
52291
|
+
this.state = 504;
|
|
51888
52292
|
this.match(KcLang.NAME);
|
|
51889
|
-
this.state =
|
|
52293
|
+
this.state = 505;
|
|
51890
52294
|
this.match(KcLang.EQUAL);
|
|
51891
|
-
this.state =
|
|
52295
|
+
this.state = 506;
|
|
51892
52296
|
this.expression(0);
|
|
51893
52297
|
}
|
|
51894
52298
|
break;
|
|
51895
52299
|
case 2:
|
|
51896
52300
|
this.enterOuterAlt(_localctx, 2);
|
|
51897
52301
|
{
|
|
51898
|
-
this.state =
|
|
52302
|
+
this.state = 507;
|
|
51899
52303
|
this.expression(0);
|
|
51900
52304
|
}
|
|
51901
52305
|
break;
|
|
@@ -51916,22 +52320,12 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51916
52320
|
// @RuleVersion(0)
|
|
51917
52321
|
pathExpression() {
|
|
51918
52322
|
let _localctx = new PathExpressionContext(this._ctx, this.state);
|
|
51919
|
-
this.enterRule(_localctx,
|
|
52323
|
+
this.enterRule(_localctx, 92, KcLang.RULE_pathExpression);
|
|
51920
52324
|
try {
|
|
51921
52325
|
this.enterOuterAlt(_localctx, 1);
|
|
51922
52326
|
{
|
|
51923
|
-
this.state =
|
|
52327
|
+
this.state = 510;
|
|
51924
52328
|
this.path();
|
|
51925
|
-
this.state = 420;
|
|
51926
|
-
this._errHandler.sync(this);
|
|
51927
|
-
switch (this.interpreter.adaptivePredict(this._input, 32, this._ctx)) {
|
|
51928
|
-
case 1:
|
|
51929
|
-
{
|
|
51930
|
-
this.state = 419;
|
|
51931
|
-
this.typeD();
|
|
51932
|
-
}
|
|
51933
|
-
break;
|
|
51934
|
-
}
|
|
51935
52329
|
}
|
|
51936
52330
|
} catch (re) {
|
|
51937
52331
|
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
@@ -51949,22 +52343,12 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51949
52343
|
// @RuleVersion(0)
|
|
51950
52344
|
varExpression() {
|
|
51951
52345
|
let _localctx = new VarExpressionContext(this._ctx, this.state);
|
|
51952
|
-
this.enterRule(_localctx,
|
|
52346
|
+
this.enterRule(_localctx, 94, KcLang.RULE_varExpression);
|
|
51953
52347
|
try {
|
|
51954
52348
|
this.enterOuterAlt(_localctx, 1);
|
|
51955
52349
|
{
|
|
51956
|
-
this.state =
|
|
52350
|
+
this.state = 512;
|
|
51957
52351
|
this.variableUsage();
|
|
51958
|
-
this.state = 424;
|
|
51959
|
-
this._errHandler.sync(this);
|
|
51960
|
-
switch (this.interpreter.adaptivePredict(this._input, 33, this._ctx)) {
|
|
51961
|
-
case 1:
|
|
51962
|
-
{
|
|
51963
|
-
this.state = 423;
|
|
51964
|
-
this.typeD();
|
|
51965
|
-
}
|
|
51966
|
-
break;
|
|
51967
|
-
}
|
|
51968
52352
|
}
|
|
51969
52353
|
} catch (re) {
|
|
51970
52354
|
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
@@ -51982,13 +52366,13 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
51982
52366
|
// @RuleVersion(0)
|
|
51983
52367
|
variableUsage() {
|
|
51984
52368
|
let _localctx = new VariableUsageContext(this._ctx, this.state);
|
|
51985
|
-
this.enterRule(_localctx,
|
|
52369
|
+
this.enterRule(_localctx, 96, KcLang.RULE_variableUsage);
|
|
51986
52370
|
try {
|
|
51987
52371
|
this.enterOuterAlt(_localctx, 1);
|
|
51988
52372
|
{
|
|
51989
|
-
this.state =
|
|
52373
|
+
this.state = 514;
|
|
51990
52374
|
this.match(KcLang.PERCENT);
|
|
51991
|
-
this.state =
|
|
52375
|
+
this.state = 515;
|
|
51992
52376
|
this.match(KcLang.NAME);
|
|
51993
52377
|
}
|
|
51994
52378
|
} catch (re) {
|
|
@@ -52005,15 +52389,15 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52005
52389
|
return _localctx;
|
|
52006
52390
|
}
|
|
52007
52391
|
// @RuleVersion(0)
|
|
52008
|
-
|
|
52009
|
-
let _localctx = new
|
|
52010
|
-
this.enterRule(_localctx,
|
|
52392
|
+
valueType() {
|
|
52393
|
+
let _localctx = new ValueTypeContext(this._ctx, this.state);
|
|
52394
|
+
this.enterRule(_localctx, 98, KcLang.RULE_valueType);
|
|
52011
52395
|
try {
|
|
52012
52396
|
this.enterOuterAlt(_localctx, 1);
|
|
52013
52397
|
{
|
|
52014
|
-
this.state =
|
|
52398
|
+
this.state = 517;
|
|
52015
52399
|
this.match(KcLang.AS);
|
|
52016
|
-
this.state =
|
|
52400
|
+
this.state = 518;
|
|
52017
52401
|
this.type();
|
|
52018
52402
|
}
|
|
52019
52403
|
} catch (re) {
|
|
@@ -52032,11 +52416,11 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52032
52416
|
// @RuleVersion(0)
|
|
52033
52417
|
type() {
|
|
52034
52418
|
let _localctx = new TypeContext(this._ctx, this.state);
|
|
52035
|
-
this.enterRule(_localctx,
|
|
52419
|
+
this.enterRule(_localctx, 100, KcLang.RULE_type);
|
|
52036
52420
|
try {
|
|
52037
52421
|
this.enterOuterAlt(_localctx, 1);
|
|
52038
52422
|
{
|
|
52039
|
-
this.state =
|
|
52423
|
+
this.state = 520;
|
|
52040
52424
|
this.match(KcLang.NAME);
|
|
52041
52425
|
}
|
|
52042
52426
|
} catch (re) {
|
|
@@ -52055,33 +52439,23 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52055
52439
|
// @RuleVersion(0)
|
|
52056
52440
|
constExpression() {
|
|
52057
52441
|
let _localctx = new ConstExpressionContext(this._ctx, this.state);
|
|
52058
|
-
this.enterRule(_localctx,
|
|
52442
|
+
this.enterRule(_localctx, 102, KcLang.RULE_constExpression);
|
|
52059
52443
|
try {
|
|
52060
|
-
this.state =
|
|
52444
|
+
this.state = 524;
|
|
52061
52445
|
this._errHandler.sync(this);
|
|
52062
52446
|
switch (this._input.LA(1)) {
|
|
52063
52447
|
case KcLang.NUMBER_LITERAL:
|
|
52064
52448
|
this.enterOuterAlt(_localctx, 1);
|
|
52065
52449
|
{
|
|
52066
|
-
this.state =
|
|
52450
|
+
this.state = 522;
|
|
52067
52451
|
this.constDecimal();
|
|
52068
52452
|
}
|
|
52069
52453
|
break;
|
|
52070
52454
|
case KcLang.STRING_LITERAL:
|
|
52071
52455
|
this.enterOuterAlt(_localctx, 2);
|
|
52072
52456
|
{
|
|
52073
|
-
this.state =
|
|
52457
|
+
this.state = 523;
|
|
52074
52458
|
this.constString();
|
|
52075
|
-
this.state = 437;
|
|
52076
|
-
this._errHandler.sync(this);
|
|
52077
|
-
switch (this.interpreter.adaptivePredict(this._input, 34, this._ctx)) {
|
|
52078
|
-
case 1:
|
|
52079
|
-
{
|
|
52080
|
-
this.state = 436;
|
|
52081
|
-
this.typeD();
|
|
52082
|
-
}
|
|
52083
|
-
break;
|
|
52084
|
-
}
|
|
52085
52459
|
}
|
|
52086
52460
|
break;
|
|
52087
52461
|
default:
|
|
@@ -52103,11 +52477,11 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52103
52477
|
// @RuleVersion(0)
|
|
52104
52478
|
constString() {
|
|
52105
52479
|
let _localctx = new ConstStringContext(this._ctx, this.state);
|
|
52106
|
-
this.enterRule(_localctx,
|
|
52480
|
+
this.enterRule(_localctx, 104, KcLang.RULE_constString);
|
|
52107
52481
|
try {
|
|
52108
52482
|
this.enterOuterAlt(_localctx, 1);
|
|
52109
52483
|
{
|
|
52110
|
-
this.state =
|
|
52484
|
+
this.state = 526;
|
|
52111
52485
|
this.match(KcLang.STRING_LITERAL);
|
|
52112
52486
|
}
|
|
52113
52487
|
} catch (re) {
|
|
@@ -52126,11 +52500,11 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52126
52500
|
// @RuleVersion(0)
|
|
52127
52501
|
constDecimal() {
|
|
52128
52502
|
let _localctx = new ConstDecimalContext(this._ctx, this.state);
|
|
52129
|
-
this.enterRule(_localctx,
|
|
52503
|
+
this.enterRule(_localctx, 106, KcLang.RULE_constDecimal);
|
|
52130
52504
|
try {
|
|
52131
52505
|
this.enterOuterAlt(_localctx, 1);
|
|
52132
52506
|
{
|
|
52133
|
-
this.state =
|
|
52507
|
+
this.state = 528;
|
|
52134
52508
|
this.match(KcLang.NUMBER_LITERAL);
|
|
52135
52509
|
}
|
|
52136
52510
|
} catch (re) {
|
|
@@ -52149,12 +52523,12 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52149
52523
|
// @RuleVersion(0)
|
|
52150
52524
|
conditionalOperation() {
|
|
52151
52525
|
let _localctx = new ConditionalOperationContext(this._ctx, this.state);
|
|
52152
|
-
this.enterRule(_localctx,
|
|
52526
|
+
this.enterRule(_localctx, 108, KcLang.RULE_conditionalOperation);
|
|
52153
52527
|
let _la;
|
|
52154
52528
|
try {
|
|
52155
52529
|
this.enterOuterAlt(_localctx, 1);
|
|
52156
52530
|
{
|
|
52157
|
-
this.state =
|
|
52531
|
+
this.state = 530;
|
|
52158
52532
|
_la = this._input.LA(1);
|
|
52159
52533
|
if (!((_la & ~0x1F) === 0 && (1 << _la & (1 << KcLang.GT | 1 << KcLang.GE | 1 << KcLang.LT | 1 << KcLang.LE | 1 << KcLang.EQ | 1 << KcLang.NEQ)) !== 0)) {
|
|
52160
52534
|
this._errHandler.recoverInline(this);
|
|
@@ -52182,12 +52556,12 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52182
52556
|
// @RuleVersion(0)
|
|
52183
52557
|
summationOperation() {
|
|
52184
52558
|
let _localctx = new SummationOperationContext(this._ctx, this.state);
|
|
52185
|
-
this.enterRule(_localctx,
|
|
52559
|
+
this.enterRule(_localctx, 110, KcLang.RULE_summationOperation);
|
|
52186
52560
|
let _la;
|
|
52187
52561
|
try {
|
|
52188
52562
|
this.enterOuterAlt(_localctx, 1);
|
|
52189
52563
|
{
|
|
52190
|
-
this.state =
|
|
52564
|
+
this.state = 532;
|
|
52191
52565
|
_la = this._input.LA(1);
|
|
52192
52566
|
if (!(_la === KcLang.PLUS || _la === KcLang.MIN)) {
|
|
52193
52567
|
this._errHandler.recoverInline(this);
|
|
@@ -52215,12 +52589,12 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52215
52589
|
// @RuleVersion(0)
|
|
52216
52590
|
compositionOperation() {
|
|
52217
52591
|
let _localctx = new CompositionOperationContext(this._ctx, this.state);
|
|
52218
|
-
this.enterRule(_localctx,
|
|
52592
|
+
this.enterRule(_localctx, 112, KcLang.RULE_compositionOperation);
|
|
52219
52593
|
let _la;
|
|
52220
52594
|
try {
|
|
52221
52595
|
this.enterOuterAlt(_localctx, 1);
|
|
52222
52596
|
{
|
|
52223
|
-
this.state =
|
|
52597
|
+
this.state = 534;
|
|
52224
52598
|
_la = this._input.LA(1);
|
|
52225
52599
|
if (!(_la === KcLang.MUL || _la === KcLang.DIV)) {
|
|
52226
52600
|
this._errHandler.recoverInline(this);
|
|
@@ -52248,11 +52622,11 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52248
52622
|
// @RuleVersion(0)
|
|
52249
52623
|
coalesceOperation() {
|
|
52250
52624
|
let _localctx = new CoalesceOperationContext(this._ctx, this.state);
|
|
52251
|
-
this.enterRule(_localctx,
|
|
52625
|
+
this.enterRule(_localctx, 114, KcLang.RULE_coalesceOperation);
|
|
52252
52626
|
try {
|
|
52253
52627
|
this.enterOuterAlt(_localctx, 1);
|
|
52254
52628
|
{
|
|
52255
|
-
this.state =
|
|
52629
|
+
this.state = 536;
|
|
52256
52630
|
this.match(KcLang.COALESCE);
|
|
52257
52631
|
}
|
|
52258
52632
|
} catch (re) {
|
|
@@ -52271,29 +52645,29 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52271
52645
|
// @RuleVersion(0)
|
|
52272
52646
|
path() {
|
|
52273
52647
|
let _localctx = new PathContext(this._ctx, this.state);
|
|
52274
|
-
this.enterRule(_localctx,
|
|
52648
|
+
this.enterRule(_localctx, 116, KcLang.RULE_path);
|
|
52275
52649
|
try {
|
|
52276
|
-
this.state =
|
|
52650
|
+
this.state = 541;
|
|
52277
52651
|
this._errHandler.sync(this);
|
|
52278
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52652
|
+
switch (this.interpreter.adaptivePredict(this._input, 39, this._ctx)) {
|
|
52279
52653
|
case 1:
|
|
52280
52654
|
this.enterOuterAlt(_localctx, 1);
|
|
52281
52655
|
{
|
|
52282
|
-
this.state =
|
|
52656
|
+
this.state = 538;
|
|
52283
52657
|
this.relativePath();
|
|
52284
52658
|
}
|
|
52285
52659
|
break;
|
|
52286
52660
|
case 2:
|
|
52287
52661
|
this.enterOuterAlt(_localctx, 2);
|
|
52288
52662
|
{
|
|
52289
|
-
this.state =
|
|
52663
|
+
this.state = 539;
|
|
52290
52664
|
this.absolutePath();
|
|
52291
52665
|
}
|
|
52292
52666
|
break;
|
|
52293
52667
|
case 3:
|
|
52294
52668
|
this.enterOuterAlt(_localctx, 3);
|
|
52295
52669
|
{
|
|
52296
|
-
this.state =
|
|
52670
|
+
this.state = 540;
|
|
52297
52671
|
this.incompletePath();
|
|
52298
52672
|
}
|
|
52299
52673
|
break;
|
|
@@ -52314,10 +52688,10 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52314
52688
|
// @RuleVersion(0)
|
|
52315
52689
|
relativePath() {
|
|
52316
52690
|
let _localctx = new RelativePathContext(this._ctx, this.state);
|
|
52317
|
-
this.enterRule(_localctx,
|
|
52691
|
+
this.enterRule(_localctx, 118, KcLang.RULE_relativePath);
|
|
52318
52692
|
try {
|
|
52319
52693
|
let _alt;
|
|
52320
|
-
this.state =
|
|
52694
|
+
this.state = 569;
|
|
52321
52695
|
this._errHandler.sync(this);
|
|
52322
52696
|
switch (this._input.LA(1)) {
|
|
52323
52697
|
case KcLang.GOUP:
|
|
@@ -52325,58 +52699,58 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52325
52699
|
case KcLang.NAME:
|
|
52326
52700
|
this.enterOuterAlt(_localctx, 1);
|
|
52327
52701
|
{
|
|
52328
|
-
this.state =
|
|
52702
|
+
this.state = 543;
|
|
52329
52703
|
this.elementToken();
|
|
52330
|
-
this.state =
|
|
52704
|
+
this.state = 548;
|
|
52331
52705
|
this._errHandler.sync(this);
|
|
52332
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
52706
|
+
_alt = this.interpreter.adaptivePredict(this._input, 40, this._ctx);
|
|
52333
52707
|
while (_alt !== 2 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
52334
52708
|
if (_alt === 1) {
|
|
52335
52709
|
{
|
|
52336
52710
|
{
|
|
52337
|
-
this.state =
|
|
52711
|
+
this.state = 544;
|
|
52338
52712
|
this.match(KcLang.SLASH);
|
|
52339
|
-
this.state =
|
|
52713
|
+
this.state = 545;
|
|
52340
52714
|
this.elementToken();
|
|
52341
52715
|
}
|
|
52342
52716
|
}
|
|
52343
52717
|
}
|
|
52344
|
-
this.state =
|
|
52718
|
+
this.state = 550;
|
|
52345
52719
|
this._errHandler.sync(this);
|
|
52346
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
52720
|
+
_alt = this.interpreter.adaptivePredict(this._input, 40, this._ctx);
|
|
52347
52721
|
}
|
|
52348
|
-
this.state =
|
|
52722
|
+
this.state = 553;
|
|
52349
52723
|
this._errHandler.sync(this);
|
|
52350
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52724
|
+
switch (this.interpreter.adaptivePredict(this._input, 41, this._ctx)) {
|
|
52351
52725
|
case 1:
|
|
52352
52726
|
{
|
|
52353
|
-
this.state =
|
|
52727
|
+
this.state = 551;
|
|
52354
52728
|
this.match(KcLang.SLASH);
|
|
52355
|
-
this.state =
|
|
52729
|
+
this.state = 552;
|
|
52356
52730
|
this.attribute();
|
|
52357
52731
|
}
|
|
52358
52732
|
break;
|
|
52359
52733
|
}
|
|
52360
|
-
this.state =
|
|
52734
|
+
this.state = 557;
|
|
52361
52735
|
this._errHandler.sync(this);
|
|
52362
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52736
|
+
switch (this.interpreter.adaptivePredict(this._input, 42, this._ctx)) {
|
|
52363
52737
|
case 1:
|
|
52364
52738
|
{
|
|
52365
|
-
this.state =
|
|
52739
|
+
this.state = 555;
|
|
52366
52740
|
this.match(KcLang.SLASH);
|
|
52367
|
-
this.state =
|
|
52741
|
+
this.state = 556;
|
|
52368
52742
|
this.serviceAttribute();
|
|
52369
52743
|
}
|
|
52370
52744
|
break;
|
|
52371
52745
|
}
|
|
52372
|
-
this.state =
|
|
52746
|
+
this.state = 561;
|
|
52373
52747
|
this._errHandler.sync(this);
|
|
52374
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52748
|
+
switch (this.interpreter.adaptivePredict(this._input, 43, this._ctx)) {
|
|
52375
52749
|
case 1:
|
|
52376
52750
|
{
|
|
52377
|
-
this.state =
|
|
52751
|
+
this.state = 559;
|
|
52378
52752
|
this.match(KcLang.SLASH);
|
|
52379
|
-
this.state =
|
|
52753
|
+
this.state = 560;
|
|
52380
52754
|
this.aggregatorAttribute();
|
|
52381
52755
|
}
|
|
52382
52756
|
break;
|
|
@@ -52386,16 +52760,16 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52386
52760
|
case KcLang.AT:
|
|
52387
52761
|
this.enterOuterAlt(_localctx, 2);
|
|
52388
52762
|
{
|
|
52389
|
-
this.state =
|
|
52763
|
+
this.state = 563;
|
|
52390
52764
|
this.attribute();
|
|
52391
|
-
this.state =
|
|
52765
|
+
this.state = 566;
|
|
52392
52766
|
this._errHandler.sync(this);
|
|
52393
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52767
|
+
switch (this.interpreter.adaptivePredict(this._input, 44, this._ctx)) {
|
|
52394
52768
|
case 1:
|
|
52395
52769
|
{
|
|
52396
|
-
this.state =
|
|
52770
|
+
this.state = 564;
|
|
52397
52771
|
this.match(KcLang.SLASH);
|
|
52398
|
-
this.state =
|
|
52772
|
+
this.state = 565;
|
|
52399
52773
|
this.serviceAttribute();
|
|
52400
52774
|
}
|
|
52401
52775
|
break;
|
|
@@ -52405,7 +52779,7 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52405
52779
|
case KcLang.DOLLAR:
|
|
52406
52780
|
this.enterOuterAlt(_localctx, 3);
|
|
52407
52781
|
{
|
|
52408
|
-
this.state =
|
|
52782
|
+
this.state = 568;
|
|
52409
52783
|
this.serviceAttribute();
|
|
52410
52784
|
}
|
|
52411
52785
|
break;
|
|
@@ -52428,65 +52802,65 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52428
52802
|
// @RuleVersion(0)
|
|
52429
52803
|
absolutePath() {
|
|
52430
52804
|
let _localctx = new AbsolutePathContext(this._ctx, this.state);
|
|
52431
|
-
this.enterRule(_localctx,
|
|
52805
|
+
this.enterRule(_localctx, 120, KcLang.RULE_absolutePath);
|
|
52432
52806
|
try {
|
|
52433
52807
|
let _alt;
|
|
52434
52808
|
this.enterOuterAlt(_localctx, 1);
|
|
52435
52809
|
{
|
|
52436
|
-
this.state =
|
|
52810
|
+
this.state = 571;
|
|
52437
52811
|
this.match(KcLang.SLASH);
|
|
52438
|
-
this.state =
|
|
52812
|
+
this.state = 572;
|
|
52439
52813
|
this.elementToken();
|
|
52440
|
-
this.state =
|
|
52814
|
+
this.state = 577;
|
|
52441
52815
|
this._errHandler.sync(this);
|
|
52442
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
52816
|
+
_alt = this.interpreter.adaptivePredict(this._input, 46, this._ctx);
|
|
52443
52817
|
while (_alt !== 2 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
52444
52818
|
if (_alt === 1) {
|
|
52445
52819
|
{
|
|
52446
52820
|
{
|
|
52447
|
-
this.state =
|
|
52821
|
+
this.state = 573;
|
|
52448
52822
|
this.match(KcLang.SLASH);
|
|
52449
|
-
this.state =
|
|
52823
|
+
this.state = 574;
|
|
52450
52824
|
this.elementToken();
|
|
52451
52825
|
}
|
|
52452
52826
|
}
|
|
52453
52827
|
}
|
|
52454
|
-
this.state =
|
|
52828
|
+
this.state = 579;
|
|
52455
52829
|
this._errHandler.sync(this);
|
|
52456
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
52830
|
+
_alt = this.interpreter.adaptivePredict(this._input, 46, this._ctx);
|
|
52457
52831
|
}
|
|
52458
|
-
this.state =
|
|
52832
|
+
this.state = 582;
|
|
52459
52833
|
this._errHandler.sync(this);
|
|
52460
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52834
|
+
switch (this.interpreter.adaptivePredict(this._input, 47, this._ctx)) {
|
|
52461
52835
|
case 1:
|
|
52462
52836
|
{
|
|
52463
|
-
this.state =
|
|
52837
|
+
this.state = 580;
|
|
52464
52838
|
this.match(KcLang.SLASH);
|
|
52465
|
-
this.state =
|
|
52839
|
+
this.state = 581;
|
|
52466
52840
|
this.attribute();
|
|
52467
52841
|
}
|
|
52468
52842
|
break;
|
|
52469
52843
|
}
|
|
52470
|
-
this.state =
|
|
52844
|
+
this.state = 586;
|
|
52471
52845
|
this._errHandler.sync(this);
|
|
52472
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52846
|
+
switch (this.interpreter.adaptivePredict(this._input, 48, this._ctx)) {
|
|
52473
52847
|
case 1:
|
|
52474
52848
|
{
|
|
52475
|
-
this.state =
|
|
52849
|
+
this.state = 584;
|
|
52476
52850
|
this.match(KcLang.SLASH);
|
|
52477
|
-
this.state =
|
|
52851
|
+
this.state = 585;
|
|
52478
52852
|
this.serviceAttribute();
|
|
52479
52853
|
}
|
|
52480
52854
|
break;
|
|
52481
52855
|
}
|
|
52482
|
-
this.state =
|
|
52856
|
+
this.state = 590;
|
|
52483
52857
|
this._errHandler.sync(this);
|
|
52484
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52858
|
+
switch (this.interpreter.adaptivePredict(this._input, 49, this._ctx)) {
|
|
52485
52859
|
case 1:
|
|
52486
52860
|
{
|
|
52487
|
-
this.state =
|
|
52861
|
+
this.state = 588;
|
|
52488
52862
|
this.match(KcLang.SLASH);
|
|
52489
|
-
this.state =
|
|
52863
|
+
this.state = 589;
|
|
52490
52864
|
this.aggregatorAttribute();
|
|
52491
52865
|
}
|
|
52492
52866
|
break;
|
|
@@ -52508,23 +52882,23 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52508
52882
|
// @RuleVersion(0)
|
|
52509
52883
|
incompletePath() {
|
|
52510
52884
|
let _localctx = new IncompletePathContext(this._ctx, this.state);
|
|
52511
|
-
this.enterRule(_localctx,
|
|
52885
|
+
this.enterRule(_localctx, 122, KcLang.RULE_incompletePath);
|
|
52512
52886
|
let _la;
|
|
52513
52887
|
try {
|
|
52514
|
-
this.state =
|
|
52888
|
+
this.state = 599;
|
|
52515
52889
|
this._errHandler.sync(this);
|
|
52516
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52890
|
+
switch (this.interpreter.adaptivePredict(this._input, 51, this._ctx)) {
|
|
52517
52891
|
case 1:
|
|
52518
52892
|
this.enterOuterAlt(_localctx, 1);
|
|
52519
52893
|
{
|
|
52520
|
-
this.state =
|
|
52894
|
+
this.state = 592;
|
|
52521
52895
|
this.match(KcLang.AT);
|
|
52522
52896
|
}
|
|
52523
52897
|
break;
|
|
52524
52898
|
case 2:
|
|
52525
52899
|
this.enterOuterAlt(_localctx, 2);
|
|
52526
52900
|
{
|
|
52527
|
-
this.state =
|
|
52901
|
+
this.state = 593;
|
|
52528
52902
|
this.match(KcLang.DOLLAR);
|
|
52529
52903
|
}
|
|
52530
52904
|
break;
|
|
@@ -52532,17 +52906,17 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52532
52906
|
this.enterOuterAlt(_localctx, 3);
|
|
52533
52907
|
{
|
|
52534
52908
|
{
|
|
52535
|
-
this.state =
|
|
52909
|
+
this.state = 594;
|
|
52536
52910
|
this.relativePath();
|
|
52537
52911
|
{
|
|
52538
|
-
this.state =
|
|
52912
|
+
this.state = 595;
|
|
52539
52913
|
this.match(KcLang.SLASH);
|
|
52540
|
-
this.state =
|
|
52914
|
+
this.state = 597;
|
|
52541
52915
|
this._errHandler.sync(this);
|
|
52542
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
52916
|
+
switch (this.interpreter.adaptivePredict(this._input, 50, this._ctx)) {
|
|
52543
52917
|
case 1:
|
|
52544
52918
|
{
|
|
52545
|
-
this.state =
|
|
52919
|
+
this.state = 596;
|
|
52546
52920
|
_la = this._input.LA(1);
|
|
52547
52921
|
if (!(_la === KcLang.AT || _la === KcLang.DOLLAR)) {
|
|
52548
52922
|
this._errHandler.recoverInline(this);
|
|
@@ -52577,29 +52951,29 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52577
52951
|
// @RuleVersion(0)
|
|
52578
52952
|
elementToken() {
|
|
52579
52953
|
let _localctx = new ElementTokenContext(this._ctx, this.state);
|
|
52580
|
-
this.enterRule(_localctx,
|
|
52954
|
+
this.enterRule(_localctx, 124, KcLang.RULE_elementToken);
|
|
52581
52955
|
try {
|
|
52582
|
-
this.state =
|
|
52956
|
+
this.state = 604;
|
|
52583
52957
|
this._errHandler.sync(this);
|
|
52584
52958
|
switch (this._input.LA(1)) {
|
|
52585
52959
|
case KcLang.NAME:
|
|
52586
52960
|
this.enterOuterAlt(_localctx, 1);
|
|
52587
52961
|
{
|
|
52588
|
-
this.state =
|
|
52962
|
+
this.state = 601;
|
|
52589
52963
|
this.element();
|
|
52590
52964
|
}
|
|
52591
52965
|
break;
|
|
52592
52966
|
case KcLang.GOUP:
|
|
52593
52967
|
this.enterOuterAlt(_localctx, 2);
|
|
52594
52968
|
{
|
|
52595
|
-
this.state =
|
|
52969
|
+
this.state = 602;
|
|
52596
52970
|
this.match(KcLang.GOUP);
|
|
52597
52971
|
}
|
|
52598
52972
|
break;
|
|
52599
52973
|
case KcLang.DOT:
|
|
52600
52974
|
this.enterOuterAlt(_localctx, 3);
|
|
52601
52975
|
{
|
|
52602
|
-
this.state =
|
|
52976
|
+
this.state = 603;
|
|
52603
52977
|
this.match(KcLang.DOT);
|
|
52604
52978
|
}
|
|
52605
52979
|
break;
|
|
@@ -52622,25 +52996,25 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52622
52996
|
// @RuleVersion(0)
|
|
52623
52997
|
element() {
|
|
52624
52998
|
let _localctx = new ElementContext(this._ctx, this.state);
|
|
52625
|
-
this.enterRule(_localctx,
|
|
52999
|
+
this.enterRule(_localctx, 126, KcLang.RULE_element);
|
|
52626
53000
|
try {
|
|
52627
53001
|
this.enterOuterAlt(_localctx, 1);
|
|
52628
53002
|
{
|
|
52629
|
-
this.state =
|
|
53003
|
+
this.state = 606;
|
|
52630
53004
|
this.match(KcLang.NAME);
|
|
52631
|
-
this.state =
|
|
53005
|
+
this.state = 611;
|
|
52632
53006
|
this._errHandler.sync(this);
|
|
52633
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
53007
|
+
switch (this.interpreter.adaptivePredict(this._input, 54, this._ctx)) {
|
|
52634
53008
|
case 1:
|
|
52635
53009
|
{
|
|
52636
|
-
this.state =
|
|
53010
|
+
this.state = 607;
|
|
52637
53011
|
this.filter();
|
|
52638
|
-
this.state =
|
|
53012
|
+
this.state = 609;
|
|
52639
53013
|
this._errHandler.sync(this);
|
|
52640
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
53014
|
+
switch (this.interpreter.adaptivePredict(this._input, 53, this._ctx)) {
|
|
52641
53015
|
case 1:
|
|
52642
53016
|
{
|
|
52643
|
-
this.state =
|
|
53017
|
+
this.state = 608;
|
|
52644
53018
|
this.collation();
|
|
52645
53019
|
}
|
|
52646
53020
|
break;
|
|
@@ -52665,13 +53039,13 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52665
53039
|
// @RuleVersion(0)
|
|
52666
53040
|
attribute() {
|
|
52667
53041
|
let _localctx = new AttributeContext(this._ctx, this.state);
|
|
52668
|
-
this.enterRule(_localctx,
|
|
53042
|
+
this.enterRule(_localctx, 128, KcLang.RULE_attribute);
|
|
52669
53043
|
try {
|
|
52670
53044
|
this.enterOuterAlt(_localctx, 1);
|
|
52671
53045
|
{
|
|
52672
|
-
this.state =
|
|
53046
|
+
this.state = 613;
|
|
52673
53047
|
this.match(KcLang.AT);
|
|
52674
|
-
this.state =
|
|
53048
|
+
this.state = 614;
|
|
52675
53049
|
this.match(KcLang.NAME);
|
|
52676
53050
|
}
|
|
52677
53051
|
} catch (re) {
|
|
@@ -52690,13 +53064,13 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52690
53064
|
// @RuleVersion(0)
|
|
52691
53065
|
serviceAttribute() {
|
|
52692
53066
|
let _localctx = new ServiceAttributeContext(this._ctx, this.state);
|
|
52693
|
-
this.enterRule(_localctx,
|
|
53067
|
+
this.enterRule(_localctx, 130, KcLang.RULE_serviceAttribute);
|
|
52694
53068
|
try {
|
|
52695
53069
|
this.enterOuterAlt(_localctx, 1);
|
|
52696
53070
|
{
|
|
52697
|
-
this.state =
|
|
53071
|
+
this.state = 616;
|
|
52698
53072
|
this.match(KcLang.DOLLAR);
|
|
52699
|
-
this.state =
|
|
53073
|
+
this.state = 617;
|
|
52700
53074
|
this.match(KcLang.NAME);
|
|
52701
53075
|
}
|
|
52702
53076
|
} catch (re) {
|
|
@@ -52715,13 +53089,13 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52715
53089
|
// @RuleVersion(0)
|
|
52716
53090
|
aggregatorAttribute() {
|
|
52717
53091
|
let _localctx = new AggregatorAttributeContext(this._ctx, this.state);
|
|
52718
|
-
this.enterRule(_localctx,
|
|
53092
|
+
this.enterRule(_localctx, 132, KcLang.RULE_aggregatorAttribute);
|
|
52719
53093
|
try {
|
|
52720
53094
|
this.enterOuterAlt(_localctx, 1);
|
|
52721
53095
|
{
|
|
52722
|
-
this.state =
|
|
53096
|
+
this.state = 619;
|
|
52723
53097
|
this.match(KcLang.PERCENT);
|
|
52724
|
-
this.state =
|
|
53098
|
+
this.state = 620;
|
|
52725
53099
|
this.match(KcLang.NAME);
|
|
52726
53100
|
}
|
|
52727
53101
|
} catch (re) {
|
|
@@ -52740,23 +53114,23 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52740
53114
|
// @RuleVersion(0)
|
|
52741
53115
|
collation() {
|
|
52742
53116
|
let _localctx = new CollationContext(this._ctx, this.state);
|
|
52743
|
-
this.enterRule(_localctx,
|
|
53117
|
+
this.enterRule(_localctx, 134, KcLang.RULE_collation);
|
|
52744
53118
|
let _la;
|
|
52745
53119
|
try {
|
|
52746
53120
|
this.enterOuterAlt(_localctx, 1);
|
|
52747
53121
|
{
|
|
52748
|
-
this.state =
|
|
53122
|
+
this.state = 622;
|
|
52749
53123
|
this.match(KcLang.LBRACE);
|
|
52750
|
-
this.state =
|
|
53124
|
+
this.state = 624;
|
|
52751
53125
|
this._errHandler.sync(this);
|
|
52752
53126
|
_la = this._input.LA(1);
|
|
52753
53127
|
if ((_la & ~0x1F) === 0 && (1 << _la & (1 << KcLang.GOUP | 1 << KcLang.DOT | 1 << KcLang.AT | 1 << KcLang.DOLLAR)) !== 0 || _la === KcLang.SLASH || _la === KcLang.NAME) {
|
|
52754
53128
|
{
|
|
52755
|
-
this.state =
|
|
53129
|
+
this.state = 623;
|
|
52756
53130
|
this.collationSequence();
|
|
52757
53131
|
}
|
|
52758
53132
|
}
|
|
52759
|
-
this.state =
|
|
53133
|
+
this.state = 626;
|
|
52760
53134
|
this.match(KcLang.RBRACE);
|
|
52761
53135
|
}
|
|
52762
53136
|
} catch (re) {
|
|
@@ -52775,26 +53149,26 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52775
53149
|
// @RuleVersion(0)
|
|
52776
53150
|
collationSequence() {
|
|
52777
53151
|
let _localctx = new CollationSequenceContext(this._ctx, this.state);
|
|
52778
|
-
this.enterRule(_localctx,
|
|
53152
|
+
this.enterRule(_localctx, 136, KcLang.RULE_collationSequence);
|
|
52779
53153
|
let _la;
|
|
52780
53154
|
try {
|
|
52781
53155
|
this.enterOuterAlt(_localctx, 1);
|
|
52782
53156
|
{
|
|
52783
|
-
this.state =
|
|
53157
|
+
this.state = 628;
|
|
52784
53158
|
this.collationPart();
|
|
52785
|
-
this.state =
|
|
53159
|
+
this.state = 633;
|
|
52786
53160
|
this._errHandler.sync(this);
|
|
52787
53161
|
_la = this._input.LA(1);
|
|
52788
53162
|
while (_la === KcLang.SEMICOLON) {
|
|
52789
53163
|
{
|
|
52790
53164
|
{
|
|
52791
|
-
this.state =
|
|
53165
|
+
this.state = 629;
|
|
52792
53166
|
this.match(KcLang.SEMICOLON);
|
|
52793
|
-
this.state =
|
|
53167
|
+
this.state = 630;
|
|
52794
53168
|
this.collationPart();
|
|
52795
53169
|
}
|
|
52796
53170
|
}
|
|
52797
|
-
this.state =
|
|
53171
|
+
this.state = 635;
|
|
52798
53172
|
this._errHandler.sync(this);
|
|
52799
53173
|
_la = this._input.LA(1);
|
|
52800
53174
|
}
|
|
@@ -52815,28 +53189,64 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52815
53189
|
// @RuleVersion(0)
|
|
52816
53190
|
collationPart() {
|
|
52817
53191
|
let _localctx = new CollationPartContext(this._ctx, this.state);
|
|
52818
|
-
this.enterRule(_localctx,
|
|
53192
|
+
this.enterRule(_localctx, 138, KcLang.RULE_collationPart);
|
|
53193
|
+
try {
|
|
53194
|
+
this.state = 638;
|
|
53195
|
+
this._errHandler.sync(this);
|
|
53196
|
+
switch (this.interpreter.adaptivePredict(this._input, 57, this._ctx)) {
|
|
53197
|
+
case 1:
|
|
53198
|
+
this.enterOuterAlt(_localctx, 1);
|
|
53199
|
+
{
|
|
53200
|
+
this.state = 636;
|
|
53201
|
+
this.collationPathPart();
|
|
53202
|
+
}
|
|
53203
|
+
break;
|
|
53204
|
+
case 2:
|
|
53205
|
+
this.enterOuterAlt(_localctx, 2);
|
|
53206
|
+
{
|
|
53207
|
+
this.state = 637;
|
|
53208
|
+
this.collationExpressionPart();
|
|
53209
|
+
}
|
|
53210
|
+
break;
|
|
53211
|
+
}
|
|
53212
|
+
} catch (re) {
|
|
53213
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
53214
|
+
_localctx.exception = re;
|
|
53215
|
+
this._errHandler.reportError(this, re);
|
|
53216
|
+
this._errHandler.recover(this, re);
|
|
53217
|
+
} else {
|
|
53218
|
+
throw re;
|
|
53219
|
+
}
|
|
53220
|
+
} finally {
|
|
53221
|
+
this.exitRule();
|
|
53222
|
+
}
|
|
53223
|
+
return _localctx;
|
|
53224
|
+
}
|
|
53225
|
+
// @RuleVersion(0)
|
|
53226
|
+
collationPathPart() {
|
|
53227
|
+
let _localctx = new CollationPathPartContext(this._ctx, this.state);
|
|
53228
|
+
this.enterRule(_localctx, 140, KcLang.RULE_collationPathPart);
|
|
52819
53229
|
let _la;
|
|
52820
53230
|
try {
|
|
52821
53231
|
this.enterOuterAlt(_localctx, 1);
|
|
52822
53232
|
{
|
|
52823
|
-
this.state =
|
|
53233
|
+
this.state = 640;
|
|
52824
53234
|
this.path();
|
|
52825
|
-
this.state =
|
|
53235
|
+
this.state = 642;
|
|
52826
53236
|
this._errHandler.sync(this);
|
|
52827
53237
|
_la = this._input.LA(1);
|
|
52828
53238
|
if (_la === KcLang.AS) {
|
|
52829
53239
|
{
|
|
52830
|
-
this.state =
|
|
52831
|
-
this.
|
|
53240
|
+
this.state = 641;
|
|
53241
|
+
this.valueType();
|
|
52832
53242
|
}
|
|
52833
53243
|
}
|
|
52834
|
-
this.state =
|
|
53244
|
+
this.state = 645;
|
|
52835
53245
|
this._errHandler.sync(this);
|
|
52836
53246
|
_la = this._input.LA(1);
|
|
52837
53247
|
if (_la === KcLang.EQUAL) {
|
|
52838
53248
|
{
|
|
52839
|
-
this.state =
|
|
53249
|
+
this.state = 644;
|
|
52840
53250
|
this.collationAlias();
|
|
52841
53251
|
}
|
|
52842
53252
|
}
|
|
@@ -52855,15 +53265,40 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52855
53265
|
return _localctx;
|
|
52856
53266
|
}
|
|
52857
53267
|
// @RuleVersion(0)
|
|
53268
|
+
collationExpressionPart() {
|
|
53269
|
+
let _localctx = new CollationExpressionPartContext(this._ctx, this.state);
|
|
53270
|
+
this.enterRule(_localctx, 142, KcLang.RULE_collationExpressionPart);
|
|
53271
|
+
try {
|
|
53272
|
+
this.enterOuterAlt(_localctx, 1);
|
|
53273
|
+
{
|
|
53274
|
+
this.state = 647;
|
|
53275
|
+
this.funcExpression();
|
|
53276
|
+
this.state = 648;
|
|
53277
|
+
this.collationAlias();
|
|
53278
|
+
}
|
|
53279
|
+
} catch (re) {
|
|
53280
|
+
if (re instanceof antlr4ts_RecognitionException__WEBPACK_IMPORTED_MODULE_7__.RecognitionException) {
|
|
53281
|
+
_localctx.exception = re;
|
|
53282
|
+
this._errHandler.reportError(this, re);
|
|
53283
|
+
this._errHandler.recover(this, re);
|
|
53284
|
+
} else {
|
|
53285
|
+
throw re;
|
|
53286
|
+
}
|
|
53287
|
+
} finally {
|
|
53288
|
+
this.exitRule();
|
|
53289
|
+
}
|
|
53290
|
+
return _localctx;
|
|
53291
|
+
}
|
|
53292
|
+
// @RuleVersion(0)
|
|
52858
53293
|
collationAlias() {
|
|
52859
53294
|
let _localctx = new CollationAliasContext(this._ctx, this.state);
|
|
52860
|
-
this.enterRule(_localctx,
|
|
53295
|
+
this.enterRule(_localctx, 144, KcLang.RULE_collationAlias);
|
|
52861
53296
|
try {
|
|
52862
53297
|
this.enterOuterAlt(_localctx, 1);
|
|
52863
53298
|
{
|
|
52864
|
-
this.state =
|
|
53299
|
+
this.state = 650;
|
|
52865
53300
|
this.match(KcLang.EQUAL);
|
|
52866
|
-
this.state =
|
|
53301
|
+
this.state = 651;
|
|
52867
53302
|
this.match(KcLang.NAME);
|
|
52868
53303
|
}
|
|
52869
53304
|
} catch (re) {
|
|
@@ -52882,23 +53317,23 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52882
53317
|
// @RuleVersion(0)
|
|
52883
53318
|
filter() {
|
|
52884
53319
|
let _localctx = new FilterContext(this._ctx, this.state);
|
|
52885
|
-
this.enterRule(_localctx,
|
|
53320
|
+
this.enterRule(_localctx, 146, KcLang.RULE_filter);
|
|
52886
53321
|
try {
|
|
52887
53322
|
this.enterOuterAlt(_localctx, 1);
|
|
52888
53323
|
{
|
|
52889
|
-
this.state =
|
|
53324
|
+
this.state = 653;
|
|
52890
53325
|
this.match(KcLang.LBRACKET);
|
|
52891
|
-
this.state =
|
|
53326
|
+
this.state = 655;
|
|
52892
53327
|
this._errHandler.sync(this);
|
|
52893
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
53328
|
+
switch (this.interpreter.adaptivePredict(this._input, 60, this._ctx)) {
|
|
52894
53329
|
case 1:
|
|
52895
53330
|
{
|
|
52896
|
-
this.state =
|
|
53331
|
+
this.state = 654;
|
|
52897
53332
|
this.filterExpression(0);
|
|
52898
53333
|
}
|
|
52899
53334
|
break;
|
|
52900
53335
|
}
|
|
52901
|
-
this.state =
|
|
53336
|
+
this.state = 657;
|
|
52902
53337
|
this.match(KcLang.RBRACKET);
|
|
52903
53338
|
}
|
|
52904
53339
|
} catch (re) {
|
|
@@ -52923,25 +53358,25 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52923
53358
|
let _parentState = this.state;
|
|
52924
53359
|
let _localctx = new FilterExpressionContext(this._ctx, _parentState);
|
|
52925
53360
|
let _prevctx = _localctx;
|
|
52926
|
-
let _startState =
|
|
52927
|
-
this.enterRecursionRule(_localctx,
|
|
53361
|
+
let _startState = 148;
|
|
53362
|
+
this.enterRecursionRule(_localctx, 148, KcLang.RULE_filterExpression, _p);
|
|
52928
53363
|
try {
|
|
52929
53364
|
let _alt;
|
|
52930
53365
|
this.enterOuterAlt(_localctx, 1);
|
|
52931
53366
|
{
|
|
52932
|
-
this.state =
|
|
53367
|
+
this.state = 665;
|
|
52933
53368
|
this._errHandler.sync(this);
|
|
52934
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
53369
|
+
switch (this.interpreter.adaptivePredict(this._input, 61, this._ctx)) {
|
|
52935
53370
|
case 1:
|
|
52936
53371
|
{
|
|
52937
53372
|
_localctx = new FilterComparisonContext(_localctx);
|
|
52938
53373
|
this._ctx = _localctx;
|
|
52939
53374
|
_prevctx = _localctx;
|
|
52940
|
-
this.state =
|
|
53375
|
+
this.state = 660;
|
|
52941
53376
|
this.filterTerminal();
|
|
52942
|
-
this.state =
|
|
53377
|
+
this.state = 661;
|
|
52943
53378
|
this.filterComparisionOperator();
|
|
52944
|
-
this.state =
|
|
53379
|
+
this.state = 662;
|
|
52945
53380
|
this.filterTerminal();
|
|
52946
53381
|
}
|
|
52947
53382
|
break;
|
|
@@ -52950,15 +53385,15 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52950
53385
|
_localctx = new FilterUnaryContext(_localctx);
|
|
52951
53386
|
this._ctx = _localctx;
|
|
52952
53387
|
_prevctx = _localctx;
|
|
52953
|
-
this.state =
|
|
53388
|
+
this.state = 664;
|
|
52954
53389
|
this.filterUnaryExpression();
|
|
52955
53390
|
}
|
|
52956
53391
|
break;
|
|
52957
53392
|
}
|
|
52958
53393
|
this._ctx._stop = this._input.tryLT(-1);
|
|
52959
|
-
this.state =
|
|
53394
|
+
this.state = 675;
|
|
52960
53395
|
this._errHandler.sync(this);
|
|
52961
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
53396
|
+
_alt = this.interpreter.adaptivePredict(this._input, 63, this._ctx);
|
|
52962
53397
|
while (_alt !== 2 && _alt !== antlr4ts_atn_ATN__WEBPACK_IMPORTED_MODULE_0__.ATN.INVALID_ALT_NUMBER) {
|
|
52963
53398
|
if (_alt === 1) {
|
|
52964
53399
|
if (this._parseListeners != null) {
|
|
@@ -52966,20 +53401,20 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52966
53401
|
}
|
|
52967
53402
|
_prevctx = _localctx;
|
|
52968
53403
|
{
|
|
52969
|
-
this.state =
|
|
53404
|
+
this.state = 673;
|
|
52970
53405
|
this._errHandler.sync(this);
|
|
52971
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
53406
|
+
switch (this.interpreter.adaptivePredict(this._input, 62, this._ctx)) {
|
|
52972
53407
|
case 1:
|
|
52973
53408
|
{
|
|
52974
53409
|
_localctx = new FilterAndContext(new FilterExpressionContext(_parentctx, _parentState));
|
|
52975
53410
|
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_filterExpression);
|
|
52976
|
-
this.state =
|
|
53411
|
+
this.state = 667;
|
|
52977
53412
|
if (!this.precpred(this._ctx, 3)) {
|
|
52978
53413
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 3)");
|
|
52979
53414
|
}
|
|
52980
|
-
this.state =
|
|
53415
|
+
this.state = 668;
|
|
52981
53416
|
this.match(KcLang.AND);
|
|
52982
|
-
this.state =
|
|
53417
|
+
this.state = 669;
|
|
52983
53418
|
this.filterExpression(4);
|
|
52984
53419
|
}
|
|
52985
53420
|
break;
|
|
@@ -52987,22 +53422,22 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
52987
53422
|
{
|
|
52988
53423
|
_localctx = new FilterOrContext(new FilterExpressionContext(_parentctx, _parentState));
|
|
52989
53424
|
this.pushNewRecursionContext(_localctx, _startState, KcLang.RULE_filterExpression);
|
|
52990
|
-
this.state =
|
|
53425
|
+
this.state = 670;
|
|
52991
53426
|
if (!this.precpred(this._ctx, 2)) {
|
|
52992
53427
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 2)");
|
|
52993
53428
|
}
|
|
52994
|
-
this.state =
|
|
53429
|
+
this.state = 671;
|
|
52995
53430
|
this.match(KcLang.OR);
|
|
52996
|
-
this.state =
|
|
53431
|
+
this.state = 672;
|
|
52997
53432
|
this.filterExpression(3);
|
|
52998
53433
|
}
|
|
52999
53434
|
break;
|
|
53000
53435
|
}
|
|
53001
53436
|
}
|
|
53002
53437
|
}
|
|
53003
|
-
this.state =
|
|
53438
|
+
this.state = 677;
|
|
53004
53439
|
this._errHandler.sync(this);
|
|
53005
|
-
_alt = this.interpreter.adaptivePredict(this._input,
|
|
53440
|
+
_alt = this.interpreter.adaptivePredict(this._input, 63, this._ctx);
|
|
53006
53441
|
}
|
|
53007
53442
|
}
|
|
53008
53443
|
} catch (re) {
|
|
@@ -53021,18 +53456,18 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
53021
53456
|
// @RuleVersion(0)
|
|
53022
53457
|
filterUnaryExpression() {
|
|
53023
53458
|
let _localctx = new FilterUnaryExpressionContext(this._ctx, this.state);
|
|
53024
|
-
this.enterRule(_localctx,
|
|
53459
|
+
this.enterRule(_localctx, 150, KcLang.RULE_filterUnaryExpression);
|
|
53025
53460
|
try {
|
|
53026
|
-
this.state =
|
|
53461
|
+
this.state = 685;
|
|
53027
53462
|
this._errHandler.sync(this);
|
|
53028
53463
|
switch (this._input.LA(1)) {
|
|
53029
53464
|
case KcLang.NOT:
|
|
53030
53465
|
_localctx = new FilterNotContext(_localctx);
|
|
53031
53466
|
this.enterOuterAlt(_localctx, 1);
|
|
53032
53467
|
{
|
|
53033
|
-
this.state =
|
|
53468
|
+
this.state = 678;
|
|
53034
53469
|
this.match(KcLang.NOT);
|
|
53035
|
-
this.state =
|
|
53470
|
+
this.state = 679;
|
|
53036
53471
|
this.filterUnaryExpression();
|
|
53037
53472
|
}
|
|
53038
53473
|
break;
|
|
@@ -53040,11 +53475,11 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
53040
53475
|
_localctx = new FilterParenContext(_localctx);
|
|
53041
53476
|
this.enterOuterAlt(_localctx, 2);
|
|
53042
53477
|
{
|
|
53043
|
-
this.state =
|
|
53478
|
+
this.state = 680;
|
|
53044
53479
|
this.match(KcLang.LPAREN);
|
|
53045
|
-
this.state =
|
|
53480
|
+
this.state = 681;
|
|
53046
53481
|
this.filterExpression(0);
|
|
53047
|
-
this.state =
|
|
53482
|
+
this.state = 682;
|
|
53048
53483
|
this.match(KcLang.RPAREN);
|
|
53049
53484
|
}
|
|
53050
53485
|
break;
|
|
@@ -53052,7 +53487,7 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
53052
53487
|
_localctx = new FilterAttributeExistsContext(_localctx);
|
|
53053
53488
|
this.enterOuterAlt(_localctx, 3);
|
|
53054
53489
|
{
|
|
53055
|
-
this.state =
|
|
53490
|
+
this.state = 684;
|
|
53056
53491
|
this.attribute();
|
|
53057
53492
|
}
|
|
53058
53493
|
break;
|
|
@@ -53075,57 +53510,57 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
53075
53510
|
// @RuleVersion(0)
|
|
53076
53511
|
filterTerminal() {
|
|
53077
53512
|
let _localctx = new FilterTerminalContext(this._ctx, this.state);
|
|
53078
|
-
this.enterRule(_localctx,
|
|
53513
|
+
this.enterRule(_localctx, 152, KcLang.RULE_filterTerminal);
|
|
53079
53514
|
try {
|
|
53080
|
-
this.state =
|
|
53515
|
+
this.state = 695;
|
|
53081
53516
|
this._errHandler.sync(this);
|
|
53082
|
-
switch (this.interpreter.adaptivePredict(this._input,
|
|
53517
|
+
switch (this.interpreter.adaptivePredict(this._input, 65, this._ctx)) {
|
|
53083
53518
|
case 1:
|
|
53084
53519
|
this.enterOuterAlt(_localctx, 1);
|
|
53085
53520
|
{
|
|
53086
|
-
this.state =
|
|
53521
|
+
this.state = 687;
|
|
53087
53522
|
this.match(KcLang.NUMBER_LITERAL);
|
|
53088
53523
|
}
|
|
53089
53524
|
break;
|
|
53090
53525
|
case 2:
|
|
53091
53526
|
this.enterOuterAlt(_localctx, 2);
|
|
53092
53527
|
{
|
|
53093
|
-
this.state =
|
|
53528
|
+
this.state = 688;
|
|
53094
53529
|
this.match(KcLang.DOTTED_DECIMAL_LITERAL);
|
|
53095
53530
|
}
|
|
53096
53531
|
break;
|
|
53097
53532
|
case 3:
|
|
53098
53533
|
this.enterOuterAlt(_localctx, 3);
|
|
53099
53534
|
{
|
|
53100
|
-
this.state =
|
|
53535
|
+
this.state = 689;
|
|
53101
53536
|
this.match(KcLang.STRING_LITERAL);
|
|
53102
53537
|
}
|
|
53103
53538
|
break;
|
|
53104
53539
|
case 4:
|
|
53105
53540
|
this.enterOuterAlt(_localctx, 4);
|
|
53106
53541
|
{
|
|
53107
|
-
this.state =
|
|
53542
|
+
this.state = 690;
|
|
53108
53543
|
this.attribute();
|
|
53109
53544
|
}
|
|
53110
53545
|
break;
|
|
53111
53546
|
case 5:
|
|
53112
53547
|
this.enterOuterAlt(_localctx, 5);
|
|
53113
53548
|
{
|
|
53114
|
-
this.state =
|
|
53549
|
+
this.state = 691;
|
|
53115
53550
|
this.serviceAttribute();
|
|
53116
53551
|
}
|
|
53117
53552
|
break;
|
|
53118
53553
|
case 6:
|
|
53119
53554
|
this.enterOuterAlt(_localctx, 6);
|
|
53120
53555
|
{
|
|
53121
|
-
this.state =
|
|
53556
|
+
this.state = 692;
|
|
53122
53557
|
this.variableUsage();
|
|
53123
53558
|
}
|
|
53124
53559
|
break;
|
|
53125
53560
|
case 7:
|
|
53126
53561
|
this.enterOuterAlt(_localctx, 7);
|
|
53127
53562
|
{
|
|
53128
|
-
this.state =
|
|
53563
|
+
this.state = 693;
|
|
53129
53564
|
this.match(KcLang.NAME);
|
|
53130
53565
|
}
|
|
53131
53566
|
break;
|
|
@@ -53151,12 +53586,12 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
53151
53586
|
// @RuleVersion(0)
|
|
53152
53587
|
filterComparisionOperator() {
|
|
53153
53588
|
let _localctx = new FilterComparisionOperatorContext(this._ctx, this.state);
|
|
53154
|
-
this.enterRule(_localctx,
|
|
53589
|
+
this.enterRule(_localctx, 154, KcLang.RULE_filterComparisionOperator);
|
|
53155
53590
|
let _la;
|
|
53156
53591
|
try {
|
|
53157
53592
|
this.enterOuterAlt(_localctx, 1);
|
|
53158
53593
|
{
|
|
53159
|
-
this.state =
|
|
53594
|
+
this.state = 697;
|
|
53160
53595
|
_la = this._input.LA(1);
|
|
53161
53596
|
if (!((_la & ~0x1F) === 0 && (1 << _la & (1 << KcLang.GT | 1 << KcLang.GE | 1 << KcLang.LT | 1 << KcLang.LE | 1 << KcLang.NEQ | 1 << KcLang.DOTTED_GT | 1 << KcLang.DOTTED_GE | 1 << KcLang.DOTTED_LT | 1 << KcLang.DOTTED_LE | 1 << KcLang.DOTTED_EQ | 1 << KcLang.DOTTED_NEQ | 1 << KcLang.EQUAL)) !== 0)) {
|
|
53162
53597
|
this._errHandler.recoverInline(this);
|
|
@@ -53183,9 +53618,11 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
53183
53618
|
}
|
|
53184
53619
|
sempred(_localctx, ruleIndex, predIndex) {
|
|
53185
53620
|
switch (ruleIndex) {
|
|
53186
|
-
case
|
|
53621
|
+
case 41:
|
|
53187
53622
|
return this.expression_sempred(_localctx, predIndex);
|
|
53188
|
-
case
|
|
53623
|
+
case 42:
|
|
53624
|
+
return this.unaryExpression_sempred(_localctx, predIndex);
|
|
53625
|
+
case 74:
|
|
53189
53626
|
return this.filterExpression_sempred(_localctx, predIndex);
|
|
53190
53627
|
}
|
|
53191
53628
|
return true;
|
|
@@ -53193,29 +53630,36 @@ class KcLang extends antlr4ts_Parser__WEBPACK_IMPORTED_MODULE_4__.Parser {
|
|
|
53193
53630
|
expression_sempred(_localctx, predIndex) {
|
|
53194
53631
|
switch (predIndex) {
|
|
53195
53632
|
case 0:
|
|
53196
|
-
return this.precpred(this._ctx,
|
|
53633
|
+
return this.precpred(this._ctx, 9);
|
|
53197
53634
|
case 1:
|
|
53198
|
-
return this.precpred(this._ctx,
|
|
53635
|
+
return this.precpred(this._ctx, 8);
|
|
53199
53636
|
case 2:
|
|
53200
|
-
return this.precpred(this._ctx,
|
|
53637
|
+
return this.precpred(this._ctx, 7);
|
|
53201
53638
|
case 3:
|
|
53202
|
-
return this.precpred(this._ctx,
|
|
53639
|
+
return this.precpred(this._ctx, 6);
|
|
53203
53640
|
case 4:
|
|
53204
|
-
return this.precpred(this._ctx,
|
|
53641
|
+
return this.precpred(this._ctx, 5);
|
|
53205
53642
|
case 5:
|
|
53206
|
-
return this.precpred(this._ctx,
|
|
53643
|
+
return this.precpred(this._ctx, 4);
|
|
53207
53644
|
case 6:
|
|
53208
|
-
return this.precpred(this._ctx,
|
|
53645
|
+
return this.precpred(this._ctx, 3);
|
|
53209
53646
|
case 7:
|
|
53210
|
-
return this.precpred(this._ctx,
|
|
53647
|
+
return this.precpred(this._ctx, 2);
|
|
53211
53648
|
}
|
|
53212
53649
|
return true;
|
|
53213
53650
|
}
|
|
53214
|
-
|
|
53651
|
+
unaryExpression_sempred(_localctx, predIndex) {
|
|
53215
53652
|
switch (predIndex) {
|
|
53216
53653
|
case 8:
|
|
53217
|
-
return this.precpred(this._ctx,
|
|
53654
|
+
return this.precpred(this._ctx, 5);
|
|
53655
|
+
}
|
|
53656
|
+
return true;
|
|
53657
|
+
}
|
|
53658
|
+
filterExpression_sempred(_localctx, predIndex) {
|
|
53659
|
+
switch (predIndex) {
|
|
53218
53660
|
case 9:
|
|
53661
|
+
return this.precpred(this._ctx, 3);
|
|
53662
|
+
case 10:
|
|
53219
53663
|
return this.precpred(this._ctx, 2);
|
|
53220
53664
|
}
|
|
53221
53665
|
return true;
|
|
@@ -53291,81 +53735,96 @@ KcLang.MAPPED_PATH = 60;
|
|
|
53291
53735
|
KcLang.MR_SPACE = 61;
|
|
53292
53736
|
KcLang.TEXT = 62;
|
|
53293
53737
|
KcLang.RBRACKET_LBRACE = 63;
|
|
53738
|
+
KcLang.RETURN = 64;
|
|
53739
|
+
KcLang.L_HOW_FIX_BLOCK = 65;
|
|
53740
|
+
KcLang.R_HOW_FIX_BLOCK = 66;
|
|
53741
|
+
KcLang.DOUBLE_MUL = 67;
|
|
53294
53742
|
KcLang.RULE_kclang = 0;
|
|
53295
53743
|
KcLang.RULE_singlePath = 1;
|
|
53296
53744
|
KcLang.RULE_singleInterpolationContent = 2;
|
|
53297
|
-
KcLang.
|
|
53298
|
-
KcLang.
|
|
53299
|
-
KcLang.
|
|
53300
|
-
KcLang.
|
|
53301
|
-
KcLang.
|
|
53302
|
-
KcLang.
|
|
53303
|
-
KcLang.
|
|
53304
|
-
KcLang.
|
|
53305
|
-
KcLang.
|
|
53306
|
-
KcLang.
|
|
53307
|
-
KcLang.
|
|
53308
|
-
KcLang.
|
|
53309
|
-
KcLang.
|
|
53310
|
-
KcLang.
|
|
53311
|
-
KcLang.
|
|
53312
|
-
KcLang.
|
|
53313
|
-
KcLang.
|
|
53314
|
-
KcLang.
|
|
53315
|
-
KcLang.
|
|
53316
|
-
KcLang.
|
|
53317
|
-
KcLang.
|
|
53318
|
-
KcLang.
|
|
53319
|
-
KcLang.
|
|
53320
|
-
KcLang.
|
|
53321
|
-
KcLang.
|
|
53322
|
-
KcLang.
|
|
53323
|
-
KcLang.
|
|
53324
|
-
KcLang.
|
|
53325
|
-
KcLang.
|
|
53326
|
-
KcLang.
|
|
53327
|
-
KcLang.
|
|
53328
|
-
KcLang.
|
|
53329
|
-
KcLang.
|
|
53330
|
-
KcLang.
|
|
53331
|
-
KcLang.
|
|
53332
|
-
KcLang.
|
|
53333
|
-
KcLang.
|
|
53334
|
-
KcLang.
|
|
53335
|
-
KcLang.
|
|
53336
|
-
KcLang.
|
|
53337
|
-
KcLang.
|
|
53338
|
-
KcLang.
|
|
53339
|
-
KcLang.
|
|
53340
|
-
KcLang.
|
|
53341
|
-
KcLang.
|
|
53342
|
-
KcLang.
|
|
53343
|
-
KcLang.
|
|
53344
|
-
KcLang.
|
|
53345
|
-
KcLang.
|
|
53346
|
-
KcLang.
|
|
53347
|
-
KcLang.
|
|
53348
|
-
KcLang.
|
|
53349
|
-
KcLang.
|
|
53350
|
-
KcLang.
|
|
53351
|
-
KcLang.
|
|
53352
|
-
KcLang.
|
|
53353
|
-
KcLang.
|
|
53354
|
-
KcLang.
|
|
53355
|
-
KcLang.
|
|
53356
|
-
KcLang.
|
|
53357
|
-
KcLang.
|
|
53358
|
-
KcLang.
|
|
53359
|
-
KcLang.
|
|
53360
|
-
KcLang.
|
|
53745
|
+
KcLang.RULE_singleInterpolatedString = 3;
|
|
53746
|
+
KcLang.RULE_singleExpression = 4;
|
|
53747
|
+
KcLang.RULE_globalDefinition = 5;
|
|
53748
|
+
KcLang.RULE_statement = 6;
|
|
53749
|
+
KcLang.RULE_inBlock = 7;
|
|
53750
|
+
KcLang.RULE_inBlockItem = 8;
|
|
53751
|
+
KcLang.RULE_globalVariable = 9;
|
|
53752
|
+
KcLang.RULE_propertyVariable = 10;
|
|
53753
|
+
KcLang.RULE_functionDefinition = 11;
|
|
53754
|
+
KcLang.RULE_functionArguments = 12;
|
|
53755
|
+
KcLang.RULE_typeArgument = 13;
|
|
53756
|
+
KcLang.RULE_returnStatement = 14;
|
|
53757
|
+
KcLang.RULE_propertyExpression = 15;
|
|
53758
|
+
KcLang.RULE_localVariable = 16;
|
|
53759
|
+
KcLang.RULE_ifStatement = 17;
|
|
53760
|
+
KcLang.RULE_ifPart = 18;
|
|
53761
|
+
KcLang.RULE_elsePart = 19;
|
|
53762
|
+
KcLang.RULE_label = 20;
|
|
53763
|
+
KcLang.RULE_body = 21;
|
|
53764
|
+
KcLang.RULE_varName = 22;
|
|
53765
|
+
KcLang.RULE_check = 23;
|
|
53766
|
+
KcLang.RULE_withBlock = 24;
|
|
53767
|
+
KcLang.RULE_withBlockValue = 25;
|
|
53768
|
+
KcLang.RULE_interpolatedStringExpression = 26;
|
|
53769
|
+
KcLang.RULE_howToFixDescriptionBlock = 27;
|
|
53770
|
+
KcLang.RULE_interpolatedStringContent = 28;
|
|
53771
|
+
KcLang.RULE_interpolatedStringToken = 29;
|
|
53772
|
+
KcLang.RULE_strongDescriptionToken = 30;
|
|
53773
|
+
KcLang.RULE_interpolation = 31;
|
|
53774
|
+
KcLang.RULE_interpolationContent = 32;
|
|
53775
|
+
KcLang.RULE_interpolationWithFormat = 33;
|
|
53776
|
+
KcLang.RULE_interpolationTarget = 34;
|
|
53777
|
+
KcLang.RULE_link = 35;
|
|
53778
|
+
KcLang.RULE_strongLinkName = 36;
|
|
53779
|
+
KcLang.RULE_linkName = 37;
|
|
53780
|
+
KcLang.RULE_linkContent = 38;
|
|
53781
|
+
KcLang.RULE_mappedRef = 39;
|
|
53782
|
+
KcLang.RULE_formula = 40;
|
|
53783
|
+
KcLang.RULE_expression = 41;
|
|
53784
|
+
KcLang.RULE_unaryExpression = 42;
|
|
53785
|
+
KcLang.RULE_arrayExpression = 43;
|
|
53786
|
+
KcLang.RULE_funcExpression = 44;
|
|
53787
|
+
KcLang.RULE_argument = 45;
|
|
53788
|
+
KcLang.RULE_pathExpression = 46;
|
|
53789
|
+
KcLang.RULE_varExpression = 47;
|
|
53790
|
+
KcLang.RULE_variableUsage = 48;
|
|
53791
|
+
KcLang.RULE_valueType = 49;
|
|
53792
|
+
KcLang.RULE_type = 50;
|
|
53793
|
+
KcLang.RULE_constExpression = 51;
|
|
53794
|
+
KcLang.RULE_constString = 52;
|
|
53795
|
+
KcLang.RULE_constDecimal = 53;
|
|
53796
|
+
KcLang.RULE_conditionalOperation = 54;
|
|
53797
|
+
KcLang.RULE_summationOperation = 55;
|
|
53798
|
+
KcLang.RULE_compositionOperation = 56;
|
|
53799
|
+
KcLang.RULE_coalesceOperation = 57;
|
|
53800
|
+
KcLang.RULE_path = 58;
|
|
53801
|
+
KcLang.RULE_relativePath = 59;
|
|
53802
|
+
KcLang.RULE_absolutePath = 60;
|
|
53803
|
+
KcLang.RULE_incompletePath = 61;
|
|
53804
|
+
KcLang.RULE_elementToken = 62;
|
|
53805
|
+
KcLang.RULE_element = 63;
|
|
53806
|
+
KcLang.RULE_attribute = 64;
|
|
53807
|
+
KcLang.RULE_serviceAttribute = 65;
|
|
53808
|
+
KcLang.RULE_aggregatorAttribute = 66;
|
|
53809
|
+
KcLang.RULE_collation = 67;
|
|
53810
|
+
KcLang.RULE_collationSequence = 68;
|
|
53811
|
+
KcLang.RULE_collationPart = 69;
|
|
53812
|
+
KcLang.RULE_collationPathPart = 70;
|
|
53813
|
+
KcLang.RULE_collationExpressionPart = 71;
|
|
53814
|
+
KcLang.RULE_collationAlias = 72;
|
|
53815
|
+
KcLang.RULE_filter = 73;
|
|
53816
|
+
KcLang.RULE_filterExpression = 74;
|
|
53817
|
+
KcLang.RULE_filterUnaryExpression = 75;
|
|
53818
|
+
KcLang.RULE_filterTerminal = 76;
|
|
53819
|
+
KcLang.RULE_filterComparisionOperator = 77;
|
|
53361
53820
|
// tslint:disable:no-trailing-whitespace
|
|
53362
|
-
KcLang.ruleNames = ["kclang", "singlePath", "singleInterpolationContent", "singleExpression", "globalDefinition", "statement", "inBlock", "inBlockItem", "globalVariable", "propertyVariable", "propertyExpression", "localVariable", "ifStatement", "ifPart", "elsePart", "label", "body", "varName", "check", "withBlock", "withBlockValue", "
|
|
53821
|
+
KcLang.ruleNames = ["kclang", "singlePath", "singleInterpolationContent", "singleInterpolatedString", "singleExpression", "globalDefinition", "statement", "inBlock", "inBlockItem", "globalVariable", "propertyVariable", "functionDefinition", "functionArguments", "typeArgument", "returnStatement", "propertyExpression", "localVariable", "ifStatement", "ifPart", "elsePart", "label", "body", "varName", "check", "withBlock", "withBlockValue", "interpolatedStringExpression", "howToFixDescriptionBlock", "interpolatedStringContent", "interpolatedStringToken", "strongDescriptionToken", "interpolation", "interpolationContent", "interpolationWithFormat", "interpolationTarget", "link", "strongLinkName", "linkName", "linkContent", "mappedRef", "formula", "expression", "unaryExpression", "arrayExpression", "funcExpression", "argument", "pathExpression", "varExpression", "variableUsage", "valueType", "type", "constExpression", "constString", "constDecimal", "conditionalOperation", "summationOperation", "compositionOperation", "coalesceOperation", "path", "relativePath", "absolutePath", "incompletePath", "elementToken", "element", "attribute", "serviceAttribute", "aggregatorAttribute", "collation", "collationSequence", "collationPart", "collationPathPart", "collationExpressionPart", "collationAlias", "filter", "filterExpression", "filterUnaryExpression", "filterTerminal", "filterComparisionOperator"];
|
|
53363
53822
|
KcLang._LITERAL_NAMES = [undefined, undefined, "'getProperty'", "'%'", "'*'", "' / '", "'+'", "'-'", "'==='", "'>'", "'>='", "'<'", "'<='", "'=='", "'!='", "'|>|'", "'|>=|'", "'|<|'", "'|<=|'", "'|=|'", "'|!=|'", "'??'", undefined, "'as'", "'#'", "'var'", "'in'", "':'", "','", "'.'", "'@'", "'$'", "'and'", "'or'", "'not'", "'('", "')'", undefined, "']'", "'{'", "'}'", "'/'", "'if'", "'else'", "'Error'", "'Warning'", "'check'", "'with'", "';'", "'?'", undefined, "'mappedRef'", "'$match'", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "']('"];
|
|
53364
|
-
KcLang._SYMBOLIC_NAMES = [undefined, "GOUP", "PROPERTIES", "PERCENT", "MUL", "DIV", "PLUS", "MIN", "TEQ", "GT", "GE", "LT", "LE", "EQ", "NEQ", "DOTTED_GT", "DOTTED_GE", "DOTTED_LT", "DOTTED_LE", "DOTTED_EQ", "DOTTED_NEQ", "COALESCE", "EQUAL", "AS", "HASH", "VAR", "IN", "COLON", "COMMA", "DOT", "AT", "DOLLAR", "AND", "OR", "NOT", "LPAREN", "RPAREN", "LBRACKET", "RBRACKET", "LBRACE", "RBRACE", "SLASH", "IF", "ELSE", "ERROR", "WARNING", "CHECK", "WITH", "SEMICOLON", "QUESTIONMARK", "TRIPLE_QUOTES", "MAPPED_REF", "MATCH_LINK", "NAME", "NUMBER_LITERAL", "DOTTED_DECIMAL_LITERAL", "STRING_LITERAL", "SPACE", "BlockComment", "LineComment", "MAPPED_PATH", "MR_SPACE", "TEXT", "RBRACKET_LBRACE"];
|
|
53823
|
+
KcLang._SYMBOLIC_NAMES = [undefined, "GOUP", "PROPERTIES", "PERCENT", "MUL", "DIV", "PLUS", "MIN", "TEQ", "GT", "GE", "LT", "LE", "EQ", "NEQ", "DOTTED_GT", "DOTTED_GE", "DOTTED_LT", "DOTTED_LE", "DOTTED_EQ", "DOTTED_NEQ", "COALESCE", "EQUAL", "AS", "HASH", "VAR", "IN", "COLON", "COMMA", "DOT", "AT", "DOLLAR", "AND", "OR", "NOT", "LPAREN", "RPAREN", "LBRACKET", "RBRACKET", "LBRACE", "RBRACE", "SLASH", "IF", "ELSE", "ERROR", "WARNING", "CHECK", "WITH", "SEMICOLON", "QUESTIONMARK", "TRIPLE_QUOTES", "MAPPED_REF", "MATCH_LINK", "NAME", "NUMBER_LITERAL", "DOTTED_DECIMAL_LITERAL", "STRING_LITERAL", "SPACE", "BlockComment", "LineComment", "MAPPED_PATH", "MR_SPACE", "TEXT", "RBRACKET_LBRACE", "RETURN", "L_HOW_FIX_BLOCK", "R_HOW_FIX_BLOCK", "DOUBLE_MUL"];
|
|
53365
53824
|
KcLang.VOCABULARY = new antlr4ts_VocabularyImpl__WEBPACK_IMPORTED_MODULE_9__.VocabularyImpl(_KcLang._LITERAL_NAMES, _KcLang._SYMBOLIC_NAMES, []);
|
|
53366
53825
|
KcLang._serializedATNSegments = 2;
|
|
53367
|
-
KcLang._serializedATNSegment0 = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03A\u0262\x04\x02" + "\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07" + "\t\x07\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\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04" + "\x13\t\x13\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17\t\x17\x04" + "\x18\t\x18\x04\x19\t\x19\x04\x1A\t\x1A\x04\x1B\t\x1B\x04\x1C\t\x1C\x04" + "\x1D\t\x1D\x04\x1E\t\x1E\x04\x1F\t\x1F\x04 \t \x04!\t!\x04\"\t\"\x04#" + "\t#\x04$\t$\x04%\t%\x04&\t&\x04\'\t\'\x04(\t(\x04)\t)\x04*\t*\x04+\t+" + "\x04,\t,\x04-\t-\x04.\t.\x04/\t/\x040\t0\x041\t1\x042\t2\x043\t3\x044" + "\t4\x045\t5\x046\t6\x047\t7\x048\t8\x049\t9\x04:\t:\x04;\t;\x04<\t<\x04" + "=\t=\x04>\t>\x04?\t?\x04@\t@\x04A\tA\x04B\tB\x04C\tC\x04D\tD\x03\x02\x07" + "\x02\x8A\n\x02\f\x02\x0E\x02\x8D\v\x02\x03\x02\x03\x02\x03\x03\x03\x03" + "\x03\x03\x03\x04\x03\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03\x06\x03\x06" + "\x03\x06\x05\x06\x9D\n\x06\x03\x07\x03\x07\x03\x07\x05\x07\xA2\n\x07\x03" + "\b\x03\b\x03\b\x03\b\x07\b\xA8\n\b\f\b\x0E\b\xAB\v\b\x03\b\x03\b\x03\t" + "\x03\t\x05\t\xB1\n\t\x03\n\x03\n\x03\n\x03\n\x03\n\x05\n\xB8\n\n\x03\n" + "\x03\n\x03\v\x03\v\x03\v\x03\v\x03\v\x03\v\x03\f\x03\f\x03\f\x03\f\x03" + "\f\x05\f\xC7\n\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\x0E\x03\x0E\x05" + "\x0E\xD1\n\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x10" + "\x03\x10\x03\x10\x03\x11\x03\x11\x03\x11\x03\x12\x03\x12\x07\x12\xE1\n" + "\x12\f\x12\x0E\x12\xE4\v\x12\x03\x12\x03\x12\x05\x12\xE8\n\x12\x03\x13" + "\x03\x13\x03\x14\x03\x14\x03\x14\x05\x14\xEF\n\x14\x03\x14\x07\x14\xF2" + "\n\x14\f\x14\x0E\x14\xF5\v\x14\x03\x14\x03\x14\x03\x15\x03\x15\x03\x15" + "\x03\x15\x03\x16\x03\x16\x05\x16\xFF\n\x16\x03\x17\x03\x17\x07\x17\u0103" + "\n\x17\f\x17\x0E\x17\u0106\v\x17\x03\x17\x03\x17\x03\x18\x03\x18\x03\x18" + "\x05\x18\u010D\n\x18\x03\x19\x03\x19\x03\x19\x03\x19\x03\x1A\x03\x1A\x05" + "\x1A\u0115\n\x1A\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B" + "\x03\x1C\x03\x1C\x05\x1C\u0120\n\x1C\x03\x1C\x03\x1C\x05\x1C\u0124\n\x1C" + "\x03\x1C\x03\x1C\x05\x1C\u0128\n\x1C\x05\x1C\u012A\n\x1C\x03\x1D\x03\x1D" + "\x07\x1D\u012E\n\x1D\f\x1D\x0E\x1D\u0131\v\x1D\x03\x1D\x03\x1D\x03\x1D" + "\x03\x1D\x03\x1E\x03\x1E\x05\x1E\u0139\n\x1E\x03\x1F\x03\x1F\x03\x1F\x03" + "\x1F\x05\x1F\u013F\n\x1F\x03 \x03 \x03 \x03 \x03!\x03!\x03!\x03!\x03\"" + "\x03\"\x05\"\u014B\n\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"" + "\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03" + "\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03" + "\"\x03\"\x07\"\u016E\n\"\f\"\x0E\"\u0171\v\"\x03#\x03#\x03#\x03#\x03#" + "\x03#\x03#\x03#\x03#\x03#\x03#\x03#\x03#\x05#\u0180\n#\x03$\x03$\x03$" + "\x03$\x07$\u0186\n$\f$\x0E$\u0189\v$\x03$\x05$\u018C\n$\x03$\x03$\x03" + "%\x03%\x03%\x03%\x03%\x07%\u0195\n%\f%\x0E%\u0198\v%\x03%\x05%\u019B\n" + "%\x03%\x03%\x03&\x03&\x03&\x03&\x05&\u01A3\n&\x03\'\x03\'\x05\'\u01A7" + "\n\'\x03(\x03(\x05(\u01AB\n(\x03)\x03)\x03)\x03*\x03*\x03*\x03+\x03+\x03" + ",\x03,\x03,\x05,\u01B8\n,\x05,\u01BA\n,\x03-\x03-\x03.\x03.\x03/\x03/" + "\x030\x030\x031\x031\x032\x032\x033\x033\x033\x053\u01CB\n3\x034\x034" + "\x034\x074\u01D0\n4\f4\x0E4\u01D3\v4\x034\x034\x054\u01D7\n4\x034\x03" + "4\x054\u01DB\n4\x034\x034\x054\u01DF\n4\x034\x034\x034\x054\u01E4\n4\x03" + "4\x054\u01E7\n4\x035\x035\x035\x035\x075\u01ED\n5\f5\x0E5\u01F0\v5\x03" + "5\x035\x055\u01F4\n5\x035\x035\x055\u01F8\n5\x035\x035\x055\u01FC\n5\x03" + "6\x036\x036\x036\x036\x056\u0203\n6\x056\u0205\n6\x037\x037\x037\x057" + "\u020A\n7\x038\x038\x038\x058\u020F\n8\x058\u0211\n8\x039\x039\x039\x03" + ":\x03:\x03:\x03;\x03;\x03;\x03<\x03<\x05<\u021E\n<\x03<\x03<\x03=\x03" + "=\x03=\x07=\u0225\n=\f=\x0E=\u0228\v=\x03>\x03>\x05>\u022C\n>\x03>\x05" + ">\u022F\n>\x03?\x03?\x03?\x03@\x03@\x05@\u0236\n@\x03@\x03@\x03A\x03A" + "\x03A\x03A\x03A\x03A\x05A\u0240\nA\x03A\x03A\x03A\x03A\x03A\x03A\x07A" + "\u0248\nA\fA\x0EA\u024B\vA\x03B\x03B\x03B\x03B\x03B\x03B\x03B\x05B\u0254" + "\nB\x03C\x03C\x03C\x03C\x03C\x03C\x03C\x03C\x05C\u025E\nC\x03D\x03D\x03" + "D\x02\x02\x04B\x80E\x02\x02\x04\x02\x06\x02\b\x02\n\x02\f\x02\x0E\x02" + "\x10\x02\x12\x02\x14\x02\x16\x02\x18\x02\x1A\x02\x1C\x02\x1E\x02 \x02" + "\"\x02$\x02&\x02(\x02*\x02,\x02.\x020\x022\x024\x026\x028\x02:\x02<\x02" + ">\x02@\x02B\x02D\x02F\x02H\x02J\x02L\x02N\x02P\x02R\x02T\x02V\x02X\x02" + "Z\x02\\\x02^\x02`\x02b\x02d\x02f\x02h\x02j\x02l\x02n\x02p\x02r\x02t\x02" + "v\x02x\x02z\x02|\x02~\x02\x80\x02\x82\x02\x84\x02\x86\x02\x02\x07\x03" + "\x02\v\x10\x03\x02\b\t\x03\x02\x06\x07\x03\x02 !\x05\x02\v\x0E\x10\x16" + "\x18\x18\x02\u0279\x02\x8B\x03\x02\x02\x02\x04\x90\x03\x02\x02\x02\x06" + "\x93\x03\x02\x02\x02\b\x96\x03\x02\x02\x02\n\x9C\x03\x02\x02\x02\f\xA1" + "\x03\x02\x02\x02\x0E\xA3\x03\x02\x02\x02\x10\xB0\x03\x02\x02\x02\x12\xB2" + "\x03\x02\x02\x02\x14\xBB\x03\x02\x02\x02\x16\xC1\x03\x02\x02\x02\x18\xC8" + "\x03\x02\x02\x02\x1A\xCE\x03\x02\x02\x02\x1C\xD2\x03\x02\x02\x02\x1E\xD8" + "\x03\x02\x02\x02 \xDB\x03\x02\x02\x02\"\xE7\x03\x02\x02\x02$\xE9\x03\x02" + "\x02\x02&\xEB\x03\x02\x02\x02(\xF8\x03\x02\x02\x02*\xFE\x03\x02\x02\x02" + ",\u0100\x03\x02\x02\x02.\u010C\x03\x02\x02\x020\u010E\x03\x02\x02\x02" + "2\u0114\x03\x02\x02\x024\u0116\x03\x02\x02\x026\u0129\x03\x02\x02\x02" + "8\u012B\x03\x02\x02\x02:\u0138\x03\x02\x02\x02<\u013E\x03\x02\x02\x02" + ">\u0140\x03\x02\x02\x02@\u0144\x03\x02\x02\x02B\u0148\x03\x02\x02\x02" + "D\u017F\x03\x02\x02\x02F\u0181\x03\x02\x02\x02H\u018F\x03\x02\x02\x02" + "J\u01A2\x03\x02\x02\x02L\u01A4\x03\x02\x02\x02N\u01A8\x03\x02\x02\x02" + "P\u01AC\x03\x02\x02\x02R\u01AF\x03\x02\x02\x02T\u01B2\x03\x02\x02\x02" + "V\u01B9\x03\x02\x02\x02X\u01BB\x03\x02\x02\x02Z\u01BD\x03\x02\x02\x02" + "\\\u01BF\x03\x02\x02\x02^\u01C1\x03\x02\x02\x02`\u01C3\x03\x02\x02\x02" + "b\u01C5\x03\x02\x02\x02d\u01CA\x03\x02\x02\x02f\u01E6\x03\x02\x02\x02" + "h\u01E8\x03\x02\x02\x02j\u0204\x03\x02\x02\x02l\u0209\x03\x02\x02\x02" + "n\u020B\x03\x02\x02\x02p\u0212\x03\x02\x02\x02r\u0215\x03\x02\x02\x02" + "t\u0218\x03\x02\x02\x02v\u021B\x03\x02\x02\x02x\u0221\x03\x02\x02\x02" + "z\u0229\x03\x02\x02\x02|\u0230\x03\x02\x02\x02~\u0233\x03\x02\x02\x02" + "\x80\u023F\x03\x02\x02\x02\x82\u0253\x03\x02\x02\x02\x84\u025D\x03\x02" + "\x02\x02\x86\u025F\x03\x02\x02\x02\x88\x8A\x05\n\x06\x02\x89\x88\x03\x02" + "\x02\x02\x8A\x8D\x03\x02\x02\x02\x8B\x89\x03\x02\x02\x02\x8B\x8C\x03\x02" + "\x02\x02\x8C\x8E\x03\x02\x02\x02\x8D\x8B\x03\x02\x02\x02\x8E\x8F\x07\x02" + "\x02\x03\x8F\x03\x03\x02\x02\x02\x90\x91\x05d3\x02\x91\x92\x07\x02\x02" + "\x03\x92\x05\x03\x02\x02\x02\x93\x94\x052\x1A\x02\x94\x95\x07\x02\x02" + "\x03\x95\x07\x03\x02\x02\x02\x96\x97\x05B\"\x02\x97\x98\x07\x02\x02\x03" + "\x98\t\x03\x02\x02\x02\x99\x9D\x05\x0E\b\x02\x9A\x9D\x05\x12\n\x02\x9B" + "\x9D\x05\x14\v\x02\x9C\x99\x03\x02\x02\x02\x9C\x9A\x03\x02\x02\x02\x9C" + "\x9B\x03\x02\x02\x02\x9D\v\x03\x02\x02\x02\x9E\xA2\x05&\x14\x02\x9F\xA2" + "\x05\x1A\x0E\x02\xA0\xA2\x05\x18\r\x02\xA1\x9E\x03\x02\x02\x02\xA1\x9F" + "\x03\x02\x02\x02\xA1\xA0\x03\x02\x02\x02\xA2\r\x03\x02\x02\x02\xA3\xA4" + "\x07\x1C\x02\x02\xA4\xA5\x05d3\x02\xA5\xA9\x07)\x02\x02\xA6\xA8\x05\x10" + "\t\x02\xA7\xA6\x03\x02\x02\x02\xA8\xAB\x03\x02\x02\x02\xA9\xA7\x03\x02" + "\x02\x02\xA9\xAA\x03\x02\x02\x02\xAA\xAC\x03\x02\x02\x02\xAB\xA9\x03\x02" + "\x02\x02\xAC\xAD\x07*\x02\x02\xAD\x0F\x03\x02\x02\x02\xAE\xB1\x05\x0E" + "\b\x02\xAF\xB1\x05\f\x07\x02\xB0\xAE\x03\x02\x02\x02\xB0\xAF\x03\x02\x02" + "\x02\xB1\x11\x03\x02\x02\x02\xB2\xB3\x07\x1B\x02\x02\xB3\xB4\x05$\x13" + "\x02\xB4\xB5\x07\x18\x02\x02\xB5\xB7\x05d3\x02\xB6\xB8\x05R*\x02\xB7\xB6" + "\x03\x02\x02\x02\xB7\xB8\x03\x02\x02\x02\xB8\xB9\x03\x02\x02\x02\xB9\xBA" + "\x072\x02\x02\xBA\x13\x03\x02\x02\x02\xBB\xBC\x07\x1B\x02\x02\xBC\xBD" + "\x05$\x13\x02\xBD\xBE\x07\x18\x02\x02\xBE\xBF\x05\x16\f\x02\xBF\xC0\x07" + "2\x02\x02\xC0\x15\x03\x02\x02\x02\xC1\xC2\x07\x04\x02\x02\xC2\xC3\x07" + "%\x02\x02\xC3\xC4\x05X-\x02\xC4\xC6\x07&\x02\x02\xC5\xC7\x05R*\x02\xC6" + "\xC5\x03\x02\x02\x02\xC6\xC7\x03\x02\x02\x02\xC7\x17\x03\x02\x02\x02\xC8" + "\xC9\x07\x1B\x02\x02\xC9\xCA\x05$\x13\x02\xCA\xCB\x07\x18\x02\x02\xCB" + "\xCC\x05B\"\x02\xCC\xCD\x072\x02\x02\xCD\x19\x03\x02\x02\x02\xCE\xD0\x05" + "\x1C\x0F\x02\xCF\xD1\x05\x1E\x10\x02\xD0\xCF\x03\x02\x02\x02\xD0\xD1\x03" + "\x02\x02\x02\xD1\x1B\x03\x02\x02\x02\xD2\xD3\x07,\x02\x02\xD3\xD4\x07" + "%\x02\x02\xD4\xD5\x05B\"\x02\xD5\xD6\x07&\x02\x02\xD6\xD7\x05\"\x12\x02" + "\xD7\x1D\x03\x02\x02\x02\xD8\xD9\x07-\x02\x02\xD9\xDA\x05\"\x12\x02\xDA" + "\x1F\x03\x02\x02\x02\xDB\xDC\x077\x02\x02\xDC\xDD\x07\x1A\x02\x02\xDD" + "!\x03\x02\x02\x02\xDE\xE2\x07)\x02\x02\xDF\xE1\x05\f\x07\x02\xE0\xDF\x03" + "\x02\x02\x02\xE1\xE4\x03\x02\x02\x02\xE2\xE0\x03\x02\x02\x02\xE2\xE3\x03" + "\x02\x02\x02\xE3\xE5\x03\x02\x02\x02\xE4\xE2\x03\x02\x02\x02\xE5\xE8\x07" + "*\x02\x02\xE6\xE8\x05\f\x07\x02\xE7\xDE\x03\x02\x02\x02\xE7\xE6\x03\x02" + "\x02\x02\xE8#\x03\x02\x02\x02\xE9\xEA\x077\x02\x02\xEA%\x03\x02\x02\x02" + "\xEB\xEE\x070\x02\x02\xEC\xEF\x05@!\x02\xED\xEF\x05B\"\x02\xEE\xEC\x03" + "\x02\x02\x02\xEE\xED\x03\x02\x02\x02\xEF\xF3\x03\x02\x02\x02\xF0\xF2\x05" + "(\x15\x02\xF1\xF0\x03\x02\x02\x02\xF2\xF5\x03\x02\x02\x02\xF3\xF1\x03" + "\x02\x02\x02\xF3\xF4\x03\x02\x02\x02\xF4\xF6\x03\x02\x02\x02\xF5\xF3\x03" + "\x02\x02\x02\xF6\xF7\x072\x02\x02\xF7\'\x03\x02\x02\x02\xF8\xF9\x071\x02" + "\x02\xF9\xFA\x077\x02\x02\xFA\xFB\x05*\x16\x02\xFB)\x03\x02\x02\x02\xFC" + "\xFF\x05,\x17\x02\xFD\xFF\x07:\x02\x02\xFE\xFC\x03\x02\x02\x02\xFE\xFD" + "\x03\x02\x02\x02\xFF+\x03\x02\x02\x02\u0100\u0104\x074\x02\x02\u0101\u0103" + "\x05.\x18\x02\u0102\u0101\x03\x02\x02\x02\u0103\u0106\x03\x02\x02\x02" + "\u0104\u0102\x03\x02\x02\x02\u0104\u0105\x03\x02\x02\x02\u0105\u0107\x03" + "\x02\x02\x02\u0106\u0104\x03\x02\x02\x02\u0107\u0108\x074\x02\x02\u0108" + "-\x03\x02\x02\x02\u0109\u010D\x07@\x02\x02\u010A\u010D\x050\x19\x02\u010B" + "\u010D\x058\x1D\x02\u010C\u0109\x03\x02\x02\x02\u010C\u010A\x03\x02\x02" + "\x02\u010C\u010B\x03\x02\x02\x02\u010D/\x03\x02\x02\x02\u010E\u010F\x07" + ")\x02\x02\u010F\u0110\x052\x1A\x02\u0110\u0111\x07*\x02\x02\u01111\x03" + "\x02\x02\x02\u0112\u0115\x054\x1B\x02\u0113\u0115\x056\x1C\x02\u0114\u0112" + "\x03\x02\x02\x02\u0114\u0113\x03\x02\x02\x02\u01153\x03\x02\x02\x02\u0116" + "\u0117\x077\x02\x02\u0117\u0118\x07%\x02\x02\u0118\u0119\x056\x1C\x02" + "\u0119\u011A\x07\x1E\x02\x02\u011A\u011B\x07:\x02\x02\u011B\u011C\x07" + "&\x02\x02\u011C5\x03\x02\x02\x02\u011D\u011F\x05d3\x02\u011E\u0120\x05" + "R*\x02\u011F\u011E\x03\x02\x02\x02\u011F\u0120\x03\x02\x02\x02\u0120\u012A" + "\x03\x02\x02\x02\u0121\u0123\x05P)\x02\u0122\u0124\x05R*\x02\u0123\u0122" + "\x03\x02\x02\x02\u0123\u0124\x03\x02\x02\x02\u0124\u012A\x03\x02\x02\x02" + "\u0125\u0127\x078\x02\x02\u0126\u0128\x05R*\x02\u0127\u0126\x03\x02\x02" + "\x02\u0127\u0128\x03\x02\x02\x02\u0128\u012A\x03\x02\x02\x02\u0129\u011D" + "\x03\x02\x02\x02\u0129\u0121\x03\x02\x02\x02\u0129\u0125\x03\x02\x02\x02" + "\u012A7\x03\x02\x02\x02\u012B\u012F\x07\'\x02\x02\u012C\u012E\x05:\x1E" + "\x02\u012D\u012C\x03\x02\x02\x02\u012E\u0131\x03\x02\x02\x02\u012F\u012D" + "\x03\x02\x02\x02\u012F\u0130\x03\x02\x02\x02\u0130\u0132\x03\x02\x02\x02" + "\u0131\u012F\x03\x02\x02\x02\u0132\u0133\x07A\x02\x02\u0133\u0134\x05" + "<\x1F\x02\u0134\u0135\x07&\x02\x02\u01359\x03\x02\x02\x02\u0136\u0139" + "\x07@\x02\x02\u0137\u0139\x050\x19\x02\u0138\u0136\x03\x02\x02\x02\u0138" + "\u0137\x03\x02\x02\x02\u0139;\x03\x02\x02\x02\u013A\u013F\x05> \x02\u013B" + "\u013F\x076\x02\x02\u013C\u013F\x05d3\x02\u013D\u013F\x05P)\x02\u013E" + "\u013A\x03\x02\x02\x02\u013E\u013B\x03\x02\x02\x02\u013E\u013C\x03\x02" + "\x02\x02\u013E\u013D\x03\x02\x02\x02\u013F=\x03\x02\x02\x02\u0140\u0141" + "\x075\x02\x02\u0141\u0142\x07\x18\x02\x02\u0142\u0143\x07>\x02\x02\u0143" + "?\x03\x02\x02\x02\u0144\u0145\x05d3\x02\u0145\u0146\x07\n\x02\x02\u0146" + "\u0147\x05B\"\x02\u0147A\x03\x02\x02\x02\u0148\u014A\b\"\x01\x02\u0149" + "\u014B\x05 \x11\x02\u014A\u0149\x03\x02\x02\x02\u014A\u014B\x03\x02\x02" + "\x02\u014B\u014C\x03\x02\x02\x02\u014C\u014D\x05D#\x02\u014D\u016F\x03" + "\x02\x02\x02\u014E\u014F\f\n\x02\x02\u014F\u0150\x05`1\x02\u0150\u0151" + "\x05B\"\v\u0151\u016E\x03\x02\x02\x02\u0152\u0153\f\t\x02\x02\u0153\u0154" + "\x05^0\x02\u0154\u0155\x05B\"\n\u0155\u016E\x03\x02\x02\x02\u0156\u0157" + "\f\b\x02\x02\u0157\u0158\x05\\/\x02\u0158\u0159\x05B\"\t\u0159\u016E\x03" + "\x02\x02\x02\u015A\u015B\f\x07\x02\x02\u015B\u015C\x07\"\x02\x02\u015C" + "\u016E\x05B\"\b\u015D\u015E\f\x06\x02\x02\u015E\u015F\x07#\x02\x02\u015F" + "\u016E\x05B\"\x07\u0160\u0161\f\x05\x02\x02\u0161\u0162\x05b2\x02\u0162" + "\u0163\x05B\"\x06\u0163\u016E\x03\x02\x02\x02\u0164\u0165\f\x04\x02\x02" + "\u0165\u0166\x073\x02\x02\u0166\u0167\x05B\"\x02\u0167\u0168\x07\x1D\x02" + "\x02\u0168\u0169\x05B\"\x04\u0169\u016E\x03\x02\x02\x02\u016A\u016B\f" + "\v\x02\x02\u016B\u016C\x07\x1C\x02\x02\u016C\u016E\x05F$\x02\u016D\u014E" + "\x03\x02\x02\x02\u016D\u0152\x03\x02\x02\x02\u016D\u0156\x03\x02\x02\x02" + "\u016D\u015A\x03\x02\x02\x02\u016D\u015D\x03\x02\x02\x02\u016D\u0160\x03" + "\x02\x02\x02\u016D\u0164\x03\x02\x02\x02\u016D\u016A\x03\x02\x02\x02\u016E" + "\u0171\x03\x02\x02\x02\u016F\u016D\x03\x02\x02\x02\u016F\u0170\x03\x02" + "\x02\x02\u0170C\x03\x02\x02\x02\u0171\u016F\x03\x02\x02\x02\u0172\u0180" + "\x05,\x17\x02\u0173\u0180\x05V,\x02\u0174\u0180\x05L\'\x02\u0175\u0180" + "\x05N(\x02\u0176\u0177\x07%\x02\x02\u0177\u0178\x05B\"\x02\u0178\u0179" + "\x07&\x02\x02\u0179\u0180\x03\x02\x02\x02\u017A\u017B\x07$\x02\x02\u017B" + "\u0180\x05D#\x02\u017C\u0180\x05H%\x02\u017D\u017E\x07\t\x02\x02\u017E" + "\u0180\x05D#\x02\u017F\u0172\x03\x02\x02\x02\u017F\u0173\x03\x02\x02\x02" + "\u017F\u0174\x03\x02\x02\x02\u017F\u0175\x03\x02\x02\x02\u017F\u0176\x03" + "\x02\x02\x02\u017F\u017A\x03\x02\x02\x02\u017F\u017C\x03\x02\x02\x02\u017F" + "\u017D\x03\x02\x02\x02\u0180E\x03\x02\x02\x02\u0181\u0187\x07\'\x02\x02" + "\u0182\u0183\x05B\"\x02\u0183\u0184\x07\x1E\x02\x02\u0184\u0186\x03\x02" + "\x02\x02\u0185\u0182\x03\x02\x02\x02\u0186\u0189\x03\x02\x02\x02\u0187" + "\u0185\x03\x02\x02\x02\u0187\u0188\x03\x02\x02\x02\u0188\u018B\x03\x02" + "\x02\x02\u0189\u0187\x03\x02\x02\x02\u018A\u018C\x05B\"\x02\u018B\u018A" + "\x03\x02\x02\x02\u018B\u018C\x03\x02\x02\x02\u018C\u018D\x03\x02\x02\x02" + "\u018D\u018E\x07(\x02\x02\u018EG\x03\x02\x02\x02\u018F\u0190\x077\x02" + "\x02\u0190\u0196\x07%\x02\x02\u0191\u0192\x05J&\x02\u0192\u0193\x07\x1E" + "\x02\x02\u0193\u0195\x03\x02\x02\x02\u0194\u0191\x03\x02\x02\x02\u0195" + "\u0198\x03\x02\x02\x02\u0196\u0194\x03\x02\x02\x02\u0196\u0197\x03\x02" + "\x02\x02\u0197\u019A\x03\x02\x02\x02\u0198\u0196\x03\x02\x02\x02\u0199" + "\u019B\x05J&\x02\u019A\u0199\x03\x02\x02\x02\u019A\u019B\x03\x02\x02\x02" + "\u019B\u019C\x03\x02\x02\x02\u019C\u019D\x07&\x02\x02\u019DI\x03\x02\x02" + "\x02\u019E\u019F\x077\x02\x02\u019F\u01A0\x07\x18\x02\x02\u01A0\u01A3" + "\x05B\"\x02\u01A1\u01A3\x05B\"\x02\u01A2\u019E\x03\x02\x02\x02\u01A2\u01A1" + "\x03\x02\x02\x02\u01A3K\x03\x02\x02\x02\u01A4\u01A6\x05d3\x02\u01A5\u01A7" + "\x05R*\x02\u01A6\u01A5\x03\x02\x02\x02\u01A6\u01A7\x03\x02\x02\x02\u01A7" + "M\x03\x02\x02\x02\u01A8\u01AA\x05P)\x02\u01A9\u01AB\x05R*\x02\u01AA\u01A9" + "\x03\x02\x02\x02\u01AA\u01AB\x03\x02\x02\x02\u01ABO\x03\x02\x02\x02\u01AC" + "\u01AD\x07\x05\x02\x02\u01AD\u01AE\x077\x02\x02\u01AEQ\x03\x02\x02\x02" + "\u01AF\u01B0\x07\x19\x02\x02\u01B0\u01B1\x05T+\x02\u01B1S\x03\x02\x02" + "\x02\u01B2\u01B3\x077\x02\x02\u01B3U\x03\x02\x02\x02\u01B4\u01BA\x05Z" + ".\x02\u01B5\u01B7\x05X-\x02\u01B6\u01B8\x05R*\x02\u01B7\u01B6\x03\x02" + "\x02\x02\u01B7\u01B8\x03\x02\x02\x02\u01B8\u01BA\x03\x02\x02\x02\u01B9" + "\u01B4\x03\x02\x02\x02\u01B9\u01B5\x03\x02\x02\x02\u01BAW\x03\x02\x02" + "\x02\u01BB\u01BC\x07:\x02\x02\u01BCY\x03\x02\x02\x02\u01BD\u01BE\x078" + "\x02\x02\u01BE[\x03\x02\x02\x02\u01BF\u01C0\t\x02\x02\x02\u01C0]\x03\x02" + "\x02\x02\u01C1\u01C2\t\x03\x02\x02\u01C2_\x03\x02\x02\x02\u01C3\u01C4" + "\t\x04\x02\x02\u01C4a\x03\x02\x02\x02\u01C5\u01C6\x07\x17\x02\x02\u01C6" + "c\x03\x02\x02\x02\u01C7\u01CB\x05f4\x02\u01C8\u01CB\x05h5\x02\u01C9\u01CB" + "\x05j6\x02\u01CA\u01C7\x03\x02\x02\x02\u01CA\u01C8\x03\x02\x02\x02\u01CA" + "\u01C9\x03\x02\x02\x02\u01CBe\x03\x02\x02\x02\u01CC\u01D1\x05l7\x02\u01CD" + "\u01CE\x07+\x02\x02\u01CE\u01D0\x05l7\x02\u01CF\u01CD\x03\x02\x02\x02" + "\u01D0\u01D3\x03\x02\x02\x02\u01D1\u01CF\x03\x02\x02\x02\u01D1\u01D2\x03" + "\x02\x02\x02\u01D2\u01D6\x03\x02\x02\x02\u01D3\u01D1\x03\x02\x02\x02\u01D4" + "\u01D5\x07+\x02\x02\u01D5\u01D7\x05p9\x02\u01D6\u01D4\x03\x02\x02\x02" + "\u01D6\u01D7\x03\x02\x02\x02\u01D7\u01DA\x03\x02\x02\x02\u01D8\u01D9\x07" + "+\x02\x02\u01D9\u01DB\x05r:\x02\u01DA\u01D8\x03\x02\x02\x02\u01DA\u01DB" + "\x03\x02\x02\x02\u01DB\u01DE\x03\x02\x02\x02\u01DC\u01DD\x07+\x02\x02" + "\u01DD\u01DF\x05t;\x02\u01DE\u01DC\x03\x02\x02\x02\u01DE\u01DF\x03\x02" + "\x02\x02\u01DF\u01E7\x03\x02\x02\x02\u01E0\u01E3\x05p9\x02\u01E1\u01E2" + "\x07+\x02\x02\u01E2\u01E4\x05r:\x02\u01E3\u01E1\x03\x02\x02\x02\u01E3" + "\u01E4\x03\x02\x02\x02\u01E4\u01E7\x03\x02\x02\x02\u01E5\u01E7\x05r:\x02" + "\u01E6\u01CC\x03\x02\x02\x02\u01E6\u01E0\x03\x02\x02\x02\u01E6\u01E5\x03" + "\x02\x02\x02\u01E7g\x03\x02\x02\x02\u01E8\u01E9\x07+\x02\x02\u01E9\u01EE" + "\x05l7\x02\u01EA\u01EB\x07+\x02\x02\u01EB\u01ED\x05l7\x02\u01EC\u01EA" + "\x03\x02\x02\x02\u01ED\u01F0\x03\x02\x02\x02\u01EE\u01EC\x03\x02\x02\x02" + "\u01EE\u01EF\x03\x02\x02\x02\u01EF\u01F3\x03\x02\x02\x02\u01F0\u01EE\x03" + "\x02\x02\x02\u01F1\u01F2\x07+\x02\x02\u01F2\u01F4\x05p9\x02\u01F3\u01F1" + "\x03\x02\x02\x02\u01F3\u01F4\x03\x02\x02\x02\u01F4\u01F7\x03\x02\x02\x02" + "\u01F5\u01F6\x07+\x02\x02\u01F6\u01F8\x05r:\x02\u01F7\u01F5\x03\x02\x02" + "\x02\u01F7\u01F8\x03\x02\x02\x02\u01F8\u01FB\x03\x02\x02\x02\u01F9\u01FA" + "\x07+\x02\x02\u01FA\u01FC\x05t;\x02\u01FB\u01F9\x03\x02\x02\x02\u01FB" + "\u01FC\x03\x02\x02\x02\u01FCi\x03\x02\x02\x02\u01FD\u0205\x07 \x02\x02" + "\u01FE\u0205\x07!\x02\x02\u01FF\u0200\x05f4\x02\u0200\u0202\x07+\x02\x02" + "\u0201\u0203\t\x05\x02\x02\u0202\u0201\x03\x02\x02\x02\u0202\u0203\x03" + "\x02\x02\x02\u0203\u0205\x03\x02\x02\x02\u0204\u01FD\x03\x02\x02\x02\u0204" + "\u01FE\x03\x02\x02\x02\u0204\u01FF\x03\x02\x02\x02\u0205k\x03\x02\x02" + "\x02\u0206\u020A\x05n8\x02\u0207\u020A\x07\x03\x02\x02\u0208\u020A\x07" + "\x1F\x02\x02\u0209\u0206\x03\x02\x02\x02\u0209\u0207\x03\x02\x02\x02\u0209" + "\u0208\x03\x02\x02\x02\u020Am\x03\x02\x02\x02\u020B\u0210\x077\x02\x02" + "\u020C\u020E\x05~@\x02\u020D\u020F\x05v<\x02\u020E\u020D\x03\x02\x02\x02" + "\u020E\u020F\x03\x02\x02\x02\u020F\u0211\x03\x02\x02\x02\u0210\u020C\x03" + "\x02\x02\x02\u0210\u0211\x03\x02\x02\x02\u0211o\x03\x02\x02\x02\u0212" + "\u0213\x07 \x02\x02\u0213\u0214\x077\x02\x02\u0214q\x03\x02\x02\x02\u0215" + "\u0216\x07!\x02\x02\u0216\u0217\x077\x02\x02\u0217s\x03\x02\x02\x02\u0218" + "\u0219\x07\x05\x02\x02\u0219\u021A\x077\x02\x02\u021Au\x03\x02\x02\x02" + "\u021B\u021D\x07)\x02\x02\u021C\u021E\x05x=\x02\u021D\u021C\x03\x02\x02" + "\x02\u021D\u021E\x03\x02\x02\x02\u021E\u021F\x03\x02\x02\x02\u021F\u0220" + "\x07*\x02\x02\u0220w\x03\x02\x02\x02\u0221\u0226\x05z>\x02\u0222\u0223" + "\x072\x02\x02\u0223\u0225\x05z>\x02\u0224\u0222\x03\x02\x02\x02\u0225" + "\u0228\x03\x02\x02\x02\u0226\u0224\x03\x02\x02\x02\u0226\u0227\x03\x02" + "\x02\x02\u0227y\x03\x02\x02\x02\u0228\u0226\x03\x02\x02\x02\u0229\u022B" + "\x05d3\x02\u022A\u022C\x05R*\x02\u022B\u022A\x03\x02\x02\x02\u022B\u022C" + "\x03\x02\x02\x02\u022C\u022E\x03\x02\x02\x02\u022D\u022F\x05|?\x02\u022E" + "\u022D\x03\x02\x02\x02\u022E\u022F\x03\x02\x02\x02\u022F{\x03\x02\x02" + "\x02\u0230\u0231\x07\x18\x02\x02\u0231\u0232\x077\x02\x02\u0232}\x03\x02" + "\x02\x02\u0233\u0235\x07\'\x02\x02\u0234\u0236\x05\x80A\x02\u0235\u0234" + "\x03\x02\x02\x02\u0235\u0236\x03\x02\x02\x02\u0236\u0237\x03\x02\x02\x02" + "\u0237\u0238\x07(\x02\x02\u0238\x7F\x03\x02\x02\x02\u0239\u023A\bA\x01" + "\x02\u023A\u023B\x05\x84C\x02\u023B\u023C\x05\x86D\x02\u023C\u023D\x05" + "\x84C\x02\u023D\u0240\x03\x02\x02\x02\u023E\u0240\x05\x82B\x02\u023F\u0239" + "\x03\x02\x02\x02\u023F\u023E\x03\x02\x02\x02\u0240\u0249\x03\x02\x02\x02" + "\u0241\u0242\f";
|
|
53368
|
-
KcLang._serializedATNSegment1 = "\
|
|
53826
|
+
KcLang._serializedATNSegment0 = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03E\u02BE\x04\x02" + "\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07" + "\t\x07\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\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04" + "\x13\t\x13\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17\t\x17\x04" + "\x18\t\x18\x04\x19\t\x19\x04\x1A\t\x1A\x04\x1B\t\x1B\x04\x1C\t\x1C\x04" + "\x1D\t\x1D\x04\x1E\t\x1E\x04\x1F\t\x1F\x04 \t \x04!\t!\x04\"\t\"\x04#" + "\t#\x04$\t$\x04%\t%\x04&\t&\x04\'\t\'\x04(\t(\x04)\t)\x04*\t*\x04+\t+" + "\x04,\t,\x04-\t-\x04.\t.\x04/\t/\x040\t0\x041\t1\x042\t2\x043\t3\x044" + "\t4\x045\t5\x046\t6\x047\t7\x048\t8\x049\t9\x04:\t:\x04;\t;\x04<\t<\x04" + "=\t=\x04>\t>\x04?\t?\x04@\t@\x04A\tA\x04B\tB\x04C\tC\x04D\tD\x04E\tE\x04" + "F\tF\x04G\tG\x04H\tH\x04I\tI\x04J\tJ\x04K\tK\x04L\tL\x04M\tM\x04N\tN\x04" + "O\tO\x03\x02\x07\x02\xA0\n\x02\f\x02\x0E\x02\xA3\v\x02\x03\x02\x03\x02" + "\x03\x03\x03\x03\x03\x03\x03\x04\x03\x04\x03\x04\x03\x05\x03\x05\x03\x05" + "\x03\x06\x03\x06\x03\x06\x03\x07\x03\x07\x03\x07\x03\x07\x05\x07\xB7\n" + "\x07\x03\b\x03\b\x03\b\x03\b\x05\b\xBD\n\b\x03\t\x03\t\x03\t\x03\t\x07" + "\t\xC3\n\t\f\t\x0E\t\xC6\v\t\x03\t\x03\t\x03\n\x03\n\x05\n\xCC\n\n\x03" + "\v\x03\v\x03\v\x03\v\x03\v\x05\v\xD3\n\v\x03\v\x03\v\x03\f\x03\f\x03\f" + "\x03\f\x03\f\x03\f\x03\r\x03\r\x03\r\x03\r\x05\r\xE1\n\r\x03\r\x03\r\x03" + "\r\x03\r\x03\r\x03\x0E\x03\x0E\x03\x0E\x07\x0E\xEB\n\x0E\f\x0E\x0E\x0E" + "\xEE\v\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03" + "\x11\x03\x11\x03\x11\x03\x11\x03\x11\x05\x11\xFC\n\x11\x03\x12\x03\x12" + "\x03\x12\x03\x12\x03\x12\x03\x12\x03\x13\x03\x13\x05\x13\u0106\n\x13\x03" + "\x14\x03\x14\x03\x14\x03\x14\x03\x14\x03\x14\x03\x15\x03\x15\x03\x15\x03" + "\x16\x03\x16\x03\x16\x03\x17\x03\x17\x07\x17\u0116\n\x17\f\x17\x0E\x17" + "\u0119\v\x17\x03\x17\x03\x17\x05\x17\u011D\n\x17\x03\x18\x03\x18\x03\x19" + "\x03\x19\x03\x19\x05\x19\u0124\n\x19\x03\x19\x07\x19\u0127\n\x19\f\x19" + "\x0E\x19\u012A\v\x19\x03\x19\x03\x19\x03\x1A\x03\x1A\x03\x1A\x03\x1A\x03" + "\x1B\x03\x1B\x05\x1B\u0134\n\x1B\x03\x1C\x03\x1C\x03\x1C\x03\x1C\x03\x1D" + "\x03\x1D\x07\x1D\u013C\n\x1D\f\x1D\x0E\x1D\u013F\v\x1D\x03\x1D\x05\x1D" + "\u0142\n\x1D\x03\x1E\x07\x1E\u0145\n\x1E\f\x1E\x0E\x1E\u0148\v\x1E\x03" + "\x1F\x03\x1F\x03\x1F\x03\x1F\x03\x1F\x05\x1F\u014F\n\x1F\x03 \x03 \x07" + " \u0153\n \f \x0E \u0156\v \x03 \x03 \x03!\x03!\x03!\x03!\x03\"\x03\"" + "\x05\"\u0160\n\"\x03#\x03#\x03#\x03#\x03#\x03#\x03#\x03$\x03$\x05$\u016B" + "\n$\x03$\x03$\x05$\u016F\n$\x03$\x03$\x05$\u0173\n$\x05$\u0175\n$\x03" + "%\x03%\x07%\u0179\n%\f%\x0E%\u017C\v%\x03%\x03%\x03%\x03%\x03&\x03&\x07" + "&\u0184\n&\f&\x0E&\u0187\v&\x03&\x03&\x03\'\x03\'\x03\'\x05\'\u018E\n" + "\'\x03(\x03(\x03(\x03(\x05(\u0194\n(\x03)\x03)\x03)\x03)\x03*\x03*\x03" + "*\x03*\x03+\x03+\x05+\u01A0\n+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03" + "+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03" + "+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x07+\u01C3\n" + "+\f+\x0E+\u01C6\v+\x03,\x03,\x03,\x03,\x03,\x03,\x03,\x03,\x03,\x03,\x03" + ",\x03,\x03,\x03,\x03,\x05,\u01D7\n,\x03,\x03,\x07,\u01DB\n,\f,\x0E,\u01DE" + "\v,\x03-\x03-\x03-\x03-\x07-\u01E4\n-\f-\x0E-\u01E7\v-\x03-\x03-\x03-" + "\x03.\x03.\x03.\x03.\x03.\x07.\u01F1\n.\f.\x0E.\u01F4\v.\x03.\x05.\u01F7" + "\n.\x03.\x03.\x03/\x03/\x03/\x03/\x05/\u01FF\n/\x030\x030\x031\x031\x03" + "2\x032\x032\x033\x033\x033\x034\x034\x035\x035\x055\u020F\n5\x036\x03" + "6\x037\x037\x038\x038\x039\x039\x03:\x03:\x03;\x03;\x03<\x03<\x03<\x05" + "<\u0220\n<\x03=\x03=\x03=\x07=\u0225\n=\f=\x0E=\u0228\v=\x03=\x03=\x05" + "=\u022C\n=\x03=\x03=\x05=\u0230\n=\x03=\x03=\x05=\u0234\n=\x03=\x03=\x03" + "=\x05=\u0239\n=\x03=\x05=\u023C\n=\x03>\x03>\x03>\x03>\x07>\u0242\n>\f" + ">\x0E>\u0245\v>\x03>\x03>\x05>\u0249\n>\x03>\x03>\x05>\u024D\n>\x03>\x03" + ">\x05>\u0251\n>\x03?\x03?\x03?\x03?\x03?\x05?\u0258\n?\x05?\u025A\n?\x03" + "@\x03@\x03@\x05@\u025F\n@\x03A\x03A\x03A\x05A\u0264\nA\x05A\u0266\nA\x03" + "B\x03B\x03B\x03C\x03C\x03C\x03D\x03D\x03D\x03E\x03E\x05E\u0273\nE\x03" + "E\x03E\x03F\x03F\x03F\x07F\u027A\nF\fF\x0EF\u027D\vF\x03G\x03G\x05G\u0281" + "\nG\x03H\x03H\x05H\u0285\nH\x03H\x05H\u0288\nH\x03I\x03I\x03I\x03J\x03" + "J\x03J\x03K\x03K\x05K\u0292\nK\x03K\x03K\x03L\x03L\x03L\x03L\x03L\x03" + "L\x05L\u029C\nL\x03L\x03L\x03L\x03L\x03L\x03L\x07L\u02A4\nL\fL\x0EL\u02A7" + "\vL\x03M\x03M\x03M\x03M\x03M\x03M\x03M\x05M\u02B0\nM\x03N\x03N\x03N\x03" + "N\x03N\x03N\x03N\x03N\x05N\u02BA\nN\x03O\x03O\x03O\x04\u0154\u0185\x02" + "\x05TV\x96P\x02\x02\x04\x02\x06\x02\b\x02\n\x02\f\x02\x0E\x02\x10\x02" + "\x12\x02\x14\x02\x16\x02\x18\x02\x1A\x02\x1C\x02\x1E\x02 \x02\"\x02$\x02" + "&\x02(\x02*\x02,\x02.\x020\x022\x024\x026\x028\x02:\x02<\x02>\x02@\x02" + "B\x02D\x02F\x02H\x02J\x02L\x02N\x02P\x02R\x02T\x02V\x02X\x02Z\x02\\\x02" + "^\x02`\x02b\x02d\x02f\x02h\x02j\x02l\x02n\x02p\x02r\x02t\x02v\x02x\x02" + "z\x02|\x02~\x02\x80\x02\x82\x02\x84\x02\x86\x02\x88\x02\x8A\x02\x8C\x02" + "\x8E\x02\x90\x02\x92\x02\x94\x02\x96\x02\x98\x02\x9A\x02\x9C\x02\x02\x07" + "\x03\x02\v\x10\x03\x02\b\t\x03\x02\x06\x07\x03\x02 !\x05\x02\v\x0E\x10" + "\x16\x18\x18\x02\u02D4\x02\xA1\x03\x02\x02\x02\x04\xA6\x03\x02\x02\x02" + "\x06\xA9\x03\x02\x02\x02\b\xAC\x03\x02\x02\x02\n\xAF\x03\x02\x02\x02\f" + "\xB6\x03\x02\x02\x02\x0E\xBC\x03\x02\x02\x02\x10\xBE\x03\x02\x02\x02\x12" + "\xCB\x03\x02\x02\x02\x14\xCD\x03\x02\x02\x02\x16\xD6\x03\x02\x02\x02\x18" + "\xDC\x03\x02\x02\x02\x1A\xE7\x03\x02\x02\x02\x1C\xEF\x03\x02\x02\x02\x1E" + "\xF2\x03\x02\x02\x02 \xF6\x03\x02\x02\x02\"\xFD\x03\x02\x02\x02$\u0103" + "\x03\x02\x02\x02&\u0107\x03\x02\x02\x02(\u010D\x03\x02\x02\x02*\u0110" + "\x03\x02\x02\x02,\u011C\x03\x02\x02\x02.\u011E\x03\x02\x02\x020\u0120" + "\x03\x02\x02\x022\u012D\x03\x02\x02\x024\u0133\x03\x02\x02\x026\u0135" + "\x03\x02\x02\x028\u0139\x03\x02\x02\x02:\u0146\x03\x02\x02\x02<\u014E" + "\x03\x02\x02\x02>\u0150\x03\x02\x02\x02@\u0159\x03\x02\x02\x02B\u015F" + "\x03\x02\x02\x02D\u0161\x03\x02\x02\x02F\u0174\x03\x02\x02\x02H\u0176" + "\x03\x02\x02\x02J\u0181\x03\x02\x02\x02L\u018D\x03\x02\x02\x02N\u0193" + "\x03\x02\x02\x02P\u0195\x03\x02\x02\x02R\u0199\x03\x02\x02\x02T\u019D" + "\x03\x02\x02\x02V\u01D6\x03\x02\x02\x02X\u01DF\x03\x02\x02\x02Z\u01EB" + "\x03\x02\x02\x02\\\u01FE\x03\x02\x02\x02^\u0200\x03\x02\x02\x02`\u0202" + "\x03\x02\x02\x02b\u0204\x03\x02\x02\x02d\u0207\x03\x02\x02\x02f\u020A" + "\x03\x02\x02\x02h\u020E\x03\x02\x02\x02j\u0210\x03\x02\x02\x02l\u0212" + "\x03\x02\x02\x02n\u0214\x03\x02\x02\x02p\u0216\x03\x02\x02\x02r\u0218" + "\x03\x02\x02\x02t\u021A\x03\x02\x02\x02v\u021F\x03\x02\x02\x02x\u023B" + "\x03\x02\x02\x02z\u023D\x03\x02\x02\x02|\u0259\x03\x02\x02\x02~\u025E" + "\x03\x02\x02\x02\x80\u0260\x03\x02\x02\x02\x82\u0267\x03\x02\x02\x02\x84" + "\u026A\x03\x02\x02\x02\x86\u026D\x03\x02\x02\x02\x88\u0270\x03\x02\x02" + "\x02\x8A\u0276\x03\x02\x02\x02\x8C\u0280\x03\x02\x02\x02\x8E\u0282\x03" + "\x02\x02\x02\x90\u0289\x03\x02\x02\x02\x92\u028C\x03\x02\x02\x02\x94\u028F" + "\x03\x02\x02\x02\x96\u029B\x03\x02\x02\x02\x98\u02AF\x03\x02\x02\x02\x9A" + "\u02B9\x03\x02\x02\x02\x9C\u02BB\x03\x02\x02\x02\x9E\xA0\x05\f\x07\x02" + "\x9F\x9E\x03\x02\x02\x02\xA0\xA3\x03\x02\x02\x02\xA1\x9F\x03\x02\x02\x02" + "\xA1\xA2\x03\x02\x02\x02\xA2\xA4\x03\x02\x02\x02\xA3\xA1\x03\x02\x02\x02" + "\xA4\xA5\x07\x02\x02\x03\xA5\x03\x03\x02\x02\x02\xA6\xA7\x05v<\x02\xA7" + "\xA8\x07\x02\x02\x03\xA8\x05\x03\x02\x02\x02\xA9\xAA\x05B\"\x02\xAA\xAB" + "\x07\x02\x02\x03\xAB\x07\x03\x02\x02\x02\xAC\xAD\x05:\x1E\x02\xAD\xAE" + "\x07\x02\x02\x03\xAE\t\x03\x02\x02\x02\xAF\xB0\x05T+\x02\xB0\xB1\x07\x02" + "\x02\x03\xB1\v\x03\x02\x02\x02\xB2\xB7\x05\x10\t\x02\xB3\xB7\x05\x14\v" + "\x02\xB4\xB7\x05\x16\f\x02\xB5\xB7\x05\x18\r\x02\xB6\xB2\x03\x02\x02\x02" + "\xB6\xB3\x03\x02\x02\x02\xB6\xB4\x03\x02\x02\x02\xB6\xB5\x03\x02\x02\x02" + "\xB7\r\x03\x02\x02\x02\xB8\xBD\x050\x19\x02\xB9\xBD\x05$\x13\x02\xBA\xBD" + "\x05\"\x12\x02\xBB\xBD\x05\x1E\x10\x02\xBC\xB8\x03\x02\x02\x02\xBC\xB9" + "\x03\x02\x02\x02\xBC\xBA\x03\x02\x02\x02\xBC\xBB\x03\x02\x02\x02\xBD\x0F" + "\x03\x02\x02\x02\xBE\xBF\x07\x1C\x02\x02\xBF\xC0\x05v<\x02\xC0\xC4\x07" + ")\x02\x02\xC1\xC3\x05\x12\n\x02\xC2\xC1\x03\x02\x02\x02\xC3\xC6\x03\x02" + "\x02\x02\xC4\xC2\x03\x02\x02\x02\xC4\xC5\x03\x02\x02\x02\xC5\xC7\x03\x02" + "\x02\x02\xC6\xC4\x03\x02\x02\x02\xC7\xC8\x07*\x02\x02\xC8\x11\x03\x02" + "\x02\x02\xC9\xCC\x05\x10\t\x02\xCA\xCC\x05\x0E\b\x02\xCB\xC9\x03\x02\x02" + "\x02\xCB\xCA\x03\x02\x02\x02\xCC\x13\x03\x02\x02\x02\xCD\xCE\x07\x1B\x02" + "\x02\xCE\xCF\x05.\x18\x02\xCF\xD0\x07\x18\x02\x02\xD0\xD2\x05v<\x02\xD1" + "\xD3\x05d3\x02\xD2\xD1\x03\x02\x02\x02\xD2\xD3\x03\x02\x02\x02\xD3\xD4" + "\x03\x02\x02\x02\xD4\xD5\x072\x02\x02\xD5\x15\x03\x02\x02\x02\xD6\xD7" + "\x07\x1B\x02\x02\xD7\xD8\x05.\x18\x02\xD8\xD9\x07\x18\x02\x02\xD9\xDA" + "\x05 \x11\x02\xDA\xDB\x072\x02\x02\xDB\x17\x03\x02\x02\x02\xDC\xDD\x05" + "f4\x02\xDD\xDE\x077\x02\x02\xDE\xE0\x07%\x02\x02\xDF\xE1\x05\x1A\x0E\x02" + "\xE0\xDF\x03\x02\x02\x02\xE0\xE1\x03\x02\x02\x02\xE1\xE2\x03\x02\x02\x02" + "\xE2\xE3\x07&\x02\x02\xE3\xE4\x07)\x02\x02\xE4\xE5\x05\x1E\x10\x02\xE5" + "\xE6\x07*\x02\x02\xE6\x19\x03\x02\x02\x02\xE7\xEC\x05\x1C\x0F\x02\xE8" + "\xE9\x07\x1E\x02\x02\xE9\xEB\x05\x1C\x0F\x02\xEA\xE8\x03\x02\x02\x02\xEB" + "\xEE\x03\x02\x02\x02\xEC\xEA\x03\x02\x02\x02\xEC\xED\x03\x02\x02\x02\xED" + "\x1B\x03\x02\x02\x02\xEE\xEC\x03\x02\x02\x02\xEF\xF0\x05f4\x02\xF0\xF1" + "\x077\x02\x02\xF1\x1D\x03\x02\x02\x02\xF2\xF3\x07B\x02\x02\xF3\xF4\x05" + "T+\x02\xF4\xF5\x072\x02\x02\xF5\x1F\x03\x02\x02\x02\xF6\xF7\x07\x04\x02" + "\x02\xF7\xF8\x07%\x02\x02\xF8\xF9\x05j6\x02\xF9\xFB\x07&\x02\x02\xFA\xFC" + "\x05d3\x02\xFB\xFA\x03\x02\x02\x02\xFB\xFC\x03\x02\x02\x02\xFC!\x03\x02" + "\x02\x02\xFD\xFE\x07\x1B\x02\x02\xFE\xFF\x05.\x18\x02\xFF\u0100\x07\x18" + "\x02\x02\u0100\u0101\x05T+\x02\u0101\u0102\x072\x02\x02\u0102#\x03\x02" + "\x02\x02\u0103\u0105\x05&\x14\x02\u0104\u0106\x05(\x15\x02\u0105\u0104" + "\x03\x02\x02\x02\u0105\u0106\x03\x02\x02\x02\u0106%\x03\x02\x02\x02\u0107" + "\u0108\x07,\x02\x02\u0108\u0109\x07%\x02\x02\u0109\u010A\x05T+\x02\u010A" + "\u010B\x07&\x02\x02\u010B\u010C\x05,\x17\x02\u010C\'\x03\x02\x02\x02\u010D" + "\u010E\x07-\x02\x02\u010E\u010F\x05,\x17\x02\u010F)\x03\x02\x02\x02\u0110" + "\u0111\x077\x02\x02\u0111\u0112\x07\x1A\x02\x02\u0112+\x03\x02\x02\x02" + "\u0113\u0117\x07)\x02\x02\u0114\u0116\x05\x0E\b\x02\u0115\u0114\x03\x02" + "\x02\x02\u0116\u0119\x03\x02\x02\x02\u0117\u0115\x03\x02\x02\x02\u0117" + "\u0118\x03\x02\x02\x02\u0118\u011A\x03\x02\x02\x02\u0119\u0117\x03\x02" + "\x02\x02\u011A\u011D\x07*\x02\x02\u011B\u011D\x05\x0E\b\x02\u011C\u0113" + "\x03\x02\x02\x02\u011C\u011B\x03\x02\x02\x02\u011D-\x03\x02\x02\x02\u011E" + "\u011F\x077\x02\x02\u011F/\x03\x02\x02\x02\u0120\u0123\x070\x02\x02\u0121" + "\u0124\x05R*\x02\u0122\u0124\x05T+\x02\u0123\u0121\x03\x02\x02\x02\u0123" + "\u0122\x03\x02\x02\x02\u0124\u0128\x03\x02\x02\x02\u0125\u0127\x052\x1A" + "\x02\u0126\u0125\x03\x02\x02\x02\u0127\u012A\x03\x02\x02\x02\u0128\u0126" + "\x03\x02\x02\x02\u0128\u0129\x03\x02\x02\x02\u0129\u012B\x03\x02\x02\x02" + "\u012A\u0128\x03\x02\x02\x02\u012B\u012C\x072\x02\x02\u012C1\x03\x02\x02" + "\x02\u012D\u012E\x071\x02\x02\u012E\u012F\x077\x02\x02\u012F\u0130\x05" + "4\x1B\x02\u01303\x03\x02\x02\x02\u0131\u0134\x056\x1C\x02\u0132\u0134" + "\x07:\x02\x02\u0133\u0131\x03\x02\x02\x02\u0133\u0132\x03\x02\x02\x02" + "\u01345\x03\x02\x02\x02\u0135\u0136\x074\x02\x02\u0136\u0137\x05:\x1E" + "\x02\u0137\u0138\x074\x02\x02\u01387\x03\x02\x02\x02\u0139\u013D\x07C" + "\x02\x02\u013A\u013C\x05<\x1F\x02\u013B\u013A\x03\x02\x02\x02\u013C\u013F" + "\x03\x02\x02\x02\u013D\u013B\x03\x02\x02\x02\u013D\u013E\x03\x02\x02\x02" + "\u013E\u0141\x03\x02\x02\x02\u013F\u013D\x03\x02\x02\x02\u0140\u0142\x07" + "D\x02\x02\u0141\u0140\x03\x02\x02\x02\u0141\u0142\x03\x02\x02\x02\u0142" + "9\x03\x02\x02\x02\u0143\u0145\x05<\x1F\x02\u0144\u0143\x03\x02\x02\x02" + "\u0145\u0148\x03\x02\x02\x02\u0146\u0144\x03\x02\x02\x02\u0146\u0147\x03" + "\x02\x02\x02\u0147;\x03\x02\x02\x02\u0148\u0146\x03\x02\x02\x02\u0149" + "\u014F\x07@\x02\x02\u014A\u014F\x05@!\x02\u014B\u014F\x05H%\x02\u014C" + "\u014F\x05> \x02\u014D\u014F\x058\x1D\x02\u014E\u0149\x03\x02\x02\x02" + "\u014E\u014A\x03\x02\x02\x02\u014E\u014B\x03\x02\x02\x02\u014E\u014C\x03" + "\x02\x02\x02\u014E\u014D\x03\x02\x02\x02\u014F=\x03\x02\x02\x02\u0150" + "\u0154\x07E\x02\x02\u0151\u0153\x05<\x1F\x02\u0152\u0151\x03\x02\x02\x02" + "\u0153\u0156\x03\x02\x02\x02\u0154\u0155\x03\x02\x02\x02\u0154\u0152\x03" + "\x02\x02\x02\u0155\u0157\x03\x02\x02\x02\u0156\u0154\x03\x02\x02\x02\u0157" + "\u0158\x07E\x02\x02\u0158?\x03\x02\x02\x02\u0159\u015A\x07)\x02\x02\u015A" + "\u015B\x05B\"\x02\u015B\u015C\x07*\x02\x02\u015CA\x03\x02\x02\x02\u015D" + "\u0160\x05D#\x02\u015E\u0160\x05F$\x02\u015F\u015D\x03\x02\x02\x02\u015F" + "\u015E\x03\x02\x02\x02\u0160C\x03\x02\x02\x02\u0161\u0162\x077\x02\x02" + "\u0162\u0163\x07%\x02\x02\u0163\u0164\x05F$\x02\u0164\u0165\x07\x1E\x02" + "\x02\u0165\u0166\x07:\x02\x02\u0166\u0167\x07&\x02\x02\u0167E\x03\x02" + "\x02\x02\u0168\u016A\x05v<\x02\u0169\u016B\x05d3\x02\u016A\u0169\x03\x02" + "\x02\x02\u016A\u016B\x03\x02\x02\x02\u016B\u0175\x03\x02\x02\x02\u016C" + "\u016E\x05b2\x02\u016D\u016F\x05d3\x02\u016E\u016D\x03\x02\x02\x02\u016E" + "\u016F\x03\x02\x02\x02\u016F\u0175\x03\x02\x02\x02\u0170\u0172\x078\x02" + "\x02\u0171\u0173\x05d3\x02\u0172\u0171\x03\x02\x02\x02\u0172\u0173\x03" + "\x02\x02\x02\u0173\u0175\x03\x02\x02\x02\u0174\u0168\x03\x02\x02\x02\u0174" + "\u016C\x03\x02\x02\x02\u0174\u0170\x03\x02\x02\x02\u0175G\x03\x02\x02" + "\x02\u0176\u017A\x07\'\x02\x02\u0177\u0179\x05L\'\x02\u0178\u0177\x03" + "\x02\x02\x02\u0179\u017C\x03\x02\x02\x02\u017A\u0178\x03\x02\x02\x02\u017A" + "\u017B\x03\x02\x02\x02\u017B\u017D\x03\x02\x02\x02\u017C\u017A\x03\x02" + "\x02\x02\u017D\u017E\x07A\x02\x02\u017E\u017F\x05N(\x02\u017F\u0180\x07" + "&\x02\x02\u0180I\x03\x02\x02\x02\u0181\u0185\x07E\x02\x02\u0182\u0184" + "\x05L\'\x02\u0183\u0182\x03\x02\x02\x02\u0184\u0187\x03\x02\x02\x02\u0185" + "\u0186\x03\x02\x02\x02\u0185\u0183\x03\x02\x02\x02\u0186\u0188\x03\x02" + "\x02\x02\u0187\u0185\x03\x02\x02\x02\u0188\u0189\x07E\x02\x02\u0189K\x03" + "\x02\x02\x02\u018A\u018E\x07@\x02\x02\u018B\u018E\x05@!\x02\u018C\u018E" + "\x05J&\x02\u018D\u018A\x03\x02\x02\x02\u018D\u018B\x03\x02\x02\x02\u018D" + "\u018C\x03\x02\x02\x02\u018EM\x03\x02\x02\x02\u018F\u0194\x05P)\x02\u0190" + "\u0194\x076\x02\x02\u0191\u0194\x05v<\x02\u0192\u0194\x05b2\x02\u0193" + "\u018F\x03\x02\x02\x02\u0193\u0190\x03\x02\x02\x02\u0193\u0191\x03\x02" + "\x02\x02\u0193\u0192\x03\x02\x02\x02\u0194O\x03\x02\x02\x02\u0195\u0196" + "\x075\x02\x02\u0196\u0197\x07\x18\x02\x02\u0197\u0198\x07>\x02\x02\u0198" + "Q\x03\x02\x02\x02\u0199\u019A\x05v<\x02\u019A\u019B\x07\n\x02\x02\u019B" + "\u019C\x05T+\x02\u019CS\x03\x02\x02\x02\u019D\u019F\b+\x01\x02\u019E\u01A0" + "\x05*\x16\x02\u019F\u019E\x03\x02\x02\x02\u019F\u01A0\x03\x02\x02\x02" + "\u01A0\u01A1\x03\x02\x02\x02\u01A1\u01A2\x05V,\x02\u01A2\u01C4\x03\x02" + "\x02\x02\u01A3\u01A4\f\v\x02\x02\u01A4\u01A5\x07\x1C\x02\x02\u01A5\u01C3" + "\x05T+\f\u01A6\u01A7\f\n\x02\x02\u01A7\u01A8\x05r:\x02\u01A8\u01A9\x05" + "T+\v\u01A9\u01C3\x03\x02\x02\x02\u01AA\u01AB\f\t\x02\x02\u01AB\u01AC\x05" + "p9\x02\u01AC\u01AD\x05T+\n\u01AD\u01C3\x03\x02\x02\x02\u01AE\u01AF\f\b" + "\x02\x02\u01AF\u01B0\x05n8\x02\u01B0\u01B1\x05T+\t\u01B1\u01C3\x03\x02" + "\x02\x02\u01B2\u01B3\f\x07\x02\x02\u01B3\u01B4\x07\"\x02\x02\u01B4\u01C3" + "\x05T+\b\u01B5\u01B6\f\x06\x02\x02\u01B6\u01B7\x07#\x02\x02\u01B7\u01C3" + "\x05T+\x07\u01B8\u01B9\f\x05\x02\x02\u01B9\u01BA\x05t;\x02\u01BA\u01BB" + "\x05T+\x06\u01BB\u01C3\x03\x02\x02\x02\u01BC\u01BD\f\x04\x02\x02\u01BD" + "\u01BE\x073\x02\x02\u01BE\u01BF\x05T+\x02\u01BF\u01C0\x07\x1D\x02\x02" + "\u01C0\u01C1\x05T+\x04\u01C1\u01C3\x03\x02\x02\x02\u01C2\u01A3\x03\x02" + "\x02\x02\u01C2\u01A6\x03\x02\x02\x02\u01C2\u01AA\x03\x02\x02\x02\u01C2" + "\u01AE\x03\x02\x02\x02\u01C2\u01B2\x03\x02\x02\x02\u01C2\u01B5\x03\x02" + "\x02\x02\u01C2\u01B8\x03\x02\x02\x02\u01C2\u01BC\x03\x02\x02\x02\u01C3" + "\u01C6\x03\x02\x02\x02\u01C4\u01C2\x03\x02\x02\x02\u01C4\u01C5\x03\x02" + "\x02\x02\u01C5U\x03\x02\x02\x02\u01C6\u01C4\x03\x02\x02\x02\u01C7\u01C8" + "\b,\x01\x02\u01C8\u01D7\x056\x1C\x02\u01C9\u01D7\x05h5\x02\u01CA\u01D7" + "\x05^0\x02\u01CB\u01D7\x05`1\x02\u01CC\u01CD\x07%\x02\x02\u01CD\u01CE" + "\x05T+\x02\u01CE\u01CF\x07&\x02\x02\u01CF\u01D7\x03\x02\x02\x02\u01D0" + "\u01D1\x07$\x02\x02\u01D1\u01D7\x05V,\x06\u01D2\u01D7\x05Z.\x02\u01D3" + "\u01D4\x07\t\x02\x02\u01D4\u01D7\x05V,\x04\u01D5\u01D7\x05X-\x02\u01D6" + "\u01C7\x03\x02\x02\x02\u01D6\u01C9\x03\x02\x02\x02\u01D6\u01CA\x03\x02" + "\x02\x02\u01D6\u01CB\x03\x02\x02\x02\u01D6\u01CC\x03\x02\x02\x02\u01D6" + "\u01D0\x03\x02\x02\x02\u01D6\u01D2\x03\x02\x02\x02\u01D6\u01D3\x03\x02" + "\x02\x02\u01D6\u01D5\x03\x02\x02\x02\u01D7\u01DC\x03\x02\x02\x02\u01D8" + "\u01D9\f\x07\x02\x02\u01D9\u01DB\x05d3\x02\u01DA\u01D8\x03\x02\x02\x02" + "\u01DB\u01DE\x03\x02\x02\x02\u01DC\u01DA\x03\x02\x02\x02\u01DC\u01DD\x03" + "\x02\x02\x02\u01DDW\x03\x02\x02\x02\u01DE\u01DC\x03\x02\x02\x02\u01DF" + "\u01E5\x07\'\x02\x02\u01E0\u01E1\x05T+\x02\u01E1\u01E2\x07\x1E\x02\x02" + "\u01E2\u01E4\x03\x02\x02\x02\u01E3\u01E0\x03\x02\x02\x02\u01E4\u01E7\x03" + "\x02\x02\x02\u01E5\u01E3\x03\x02\x02\x02\u01E5\u01E6\x03\x02\x02\x02\u01E6" + "\u01E8\x03\x02\x02\x02\u01E7\u01E5\x03\x02\x02\x02\u01E8\u01E9\x05T+\x02" + "\u01E9\u01EA\x07(\x02\x02\u01EAY\x03\x02\x02\x02\u01EB\u01EC\x077\x02" + "\x02\u01EC\u01F2\x07%\x02\x02\u01ED\u01EE\x05\\/\x02\u01EE\u01EF\x07\x1E" + "\x02\x02\u01EF\u01F1\x03\x02\x02\x02\u01F0\u01ED\x03\x02\x02\x02\u01F1" + "\u01F4\x03\x02\x02\x02\u01F2\u01F0\x03\x02\x02\x02\u01F2\u01F3\x03\x02" + "\x02\x02\u01F3\u01F6\x03\x02\x02\x02\u01F4\u01F2\x03\x02\x02\x02\u01F5" + "\u01F7\x05\\/\x02\u01F6\u01F5\x03\x02\x02\x02\u01F6\u01F7\x03\x02\x02" + "\x02\u01F7\u01F8\x03\x02\x02\x02\u01F8\u01F9\x07&\x02\x02\u01F9[\x03\x02" + "\x02\x02\u01FA\u01FB\x077\x02\x02\u01FB\u01FC\x07\x18\x02\x02\u01FC\u01FF" + "\x05T+\x02\u01FD\u01FF\x05T+\x02\u01FE\u01FA\x03\x02\x02\x02\u01FE\u01FD" + "\x03\x02\x02\x02\u01FF]\x03\x02\x02\x02\u0200\u0201\x05v<\x02\u0201_\x03" + "\x02\x02\x02\u0202\u0203\x05b2\x02\u0203a\x03\x02\x02\x02\u0204\u0205" + "\x07\x05\x02\x02\u0205\u0206\x077\x02\x02\u0206c\x03\x02\x02\x02\u0207" + "\u0208\x07\x19\x02\x02\u0208\u0209\x05f4\x02\u0209e\x03\x02\x02\x02\u020A" + "\u020B\x077\x02\x02\u020Bg\x03\x02\x02\x02\u020C\u020F\x05l7\x02\u020D" + "\u020F\x05j6\x02\u020E\u020C\x03\x02\x02\x02\u020E\u020D\x03\x02\x02\x02" + "\u020Fi\x03\x02\x02\x02\u0210\u0211\x07:\x02\x02\u0211k\x03\x02\x02\x02" + "\u0212\u0213\x078\x02\x02\u0213m\x03\x02\x02\x02\u0214\u0215\t\x02\x02" + "\x02\u0215o\x03\x02\x02\x02\u0216\u0217\t\x03\x02\x02\u0217q\x03\x02\x02" + "\x02\u0218\u0219\t\x04\x02\x02\u0219s\x03\x02\x02\x02\u021A\u021B\x07" + "\x17\x02\x02\u021Bu\x03\x02\x02\x02\u021C\u0220\x05x=\x02\u021D\u0220" + "\x05z>\x02\u021E\u0220\x05|?\x02\u021F\u021C\x03\x02\x02\x02\u021F\u021D" + "\x03\x02\x02\x02\u021F\u021E\x03\x02\x02\x02\u0220w\x03\x02\x02\x02\u0221" + "\u0226\x05~@\x02\u0222\u0223\x07+\x02\x02\u0223\u0225\x05~@\x02\u0224" + "\u0222\x03\x02\x02\x02\u0225\u0228\x03\x02\x02\x02\u0226\u0224\x03\x02" + "\x02\x02\u0226\u0227\x03\x02\x02\x02\u0227\u022B\x03\x02\x02\x02\u0228" + "\u0226\x03\x02\x02\x02\u0229\u022A\x07+\x02\x02\u022A\u022C\x05\x82B\x02" + "\u022B\u0229\x03\x02\x02\x02\u022B\u022C\x03\x02\x02\x02\u022C\u022F\x03" + "\x02\x02\x02\u022D\u022E\x07+\x02\x02\u022E\u0230\x05\x84C\x02\u022F\u022D" + "\x03\x02\x02\x02\u022F\u0230\x03\x02\x02\x02\u0230\u0233\x03\x02\x02\x02" + "\u0231\u0232\x07+\x02\x02\u0232\u0234\x05\x86D\x02\u0233\u0231\x03\x02" + "\x02\x02\u0233";
|
|
53827
|
+
KcLang._serializedATNSegment1 = "\u0234\x03\x02\x02\x02\u0234\u023C\x03\x02\x02\x02\u0235\u0238\x05\x82" + "B\x02\u0236\u0237\x07+\x02\x02\u0237\u0239\x05\x84C\x02\u0238\u0236\x03" + "\x02\x02\x02\u0238\u0239\x03\x02\x02\x02\u0239\u023C\x03\x02\x02\x02\u023A" + "\u023C\x05\x84C\x02\u023B\u0221\x03\x02\x02\x02\u023B\u0235\x03\x02\x02" + "\x02\u023B\u023A\x03\x02\x02\x02\u023Cy\x03\x02\x02\x02\u023D\u023E\x07" + "+\x02\x02\u023E\u0243\x05~@\x02\u023F\u0240\x07+\x02\x02\u0240\u0242\x05" + "~@\x02\u0241\u023F\x03\x02\x02\x02\u0242\u0245\x03\x02\x02\x02\u0243\u0241" + "\x03\x02\x02\x02\u0243\u0244\x03\x02\x02\x02\u0244\u0248\x03\x02\x02\x02" + "\u0245\u0243\x03\x02\x02\x02\u0246\u0247\x07+\x02\x02\u0247\u0249\x05" + "\x82B\x02\u0248\u0246\x03\x02\x02\x02\u0248\u0249\x03\x02\x02\x02\u0249" + "\u024C\x03\x02\x02\x02\u024A\u024B\x07+\x02\x02\u024B\u024D\x05\x84C\x02" + "\u024C\u024A\x03\x02\x02\x02\u024C\u024D\x03\x02\x02\x02\u024D\u0250\x03" + "\x02\x02\x02\u024E\u024F\x07+\x02\x02\u024F\u0251\x05\x86D\x02\u0250\u024E" + "\x03\x02\x02\x02\u0250\u0251\x03\x02\x02\x02\u0251{\x03\x02\x02\x02\u0252" + "\u025A\x07 \x02\x02\u0253\u025A\x07!\x02\x02\u0254\u0255\x05x=\x02\u0255" + "\u0257\x07+\x02\x02\u0256\u0258\t\x05\x02\x02\u0257\u0256\x03\x02\x02" + "\x02\u0257\u0258\x03\x02\x02\x02\u0258\u025A\x03\x02\x02\x02\u0259\u0252" + "\x03\x02\x02\x02\u0259\u0253\x03\x02\x02\x02\u0259\u0254\x03\x02\x02\x02" + "\u025A}\x03\x02\x02\x02\u025B\u025F\x05\x80A\x02\u025C\u025F\x07\x03\x02" + "\x02\u025D\u025F\x07\x1F\x02\x02\u025E\u025B\x03\x02\x02\x02\u025E\u025C" + "\x03\x02\x02\x02\u025E\u025D\x03\x02\x02\x02\u025F\x7F\x03\x02\x02\x02" + "\u0260\u0265\x077\x02\x02\u0261\u0263\x05\x94K\x02\u0262\u0264\x05\x88" + "E\x02\u0263\u0262\x03\x02\x02\x02\u0263\u0264\x03\x02\x02\x02\u0264\u0266" + "\x03\x02\x02\x02\u0265\u0261\x03\x02\x02\x02\u0265\u0266\x03\x02\x02\x02" + "\u0266\x81\x03\x02\x02\x02\u0267\u0268\x07 \x02\x02\u0268\u0269\x077\x02" + "\x02\u0269\x83\x03\x02\x02\x02\u026A\u026B\x07!\x02\x02\u026B\u026C\x07" + "7\x02\x02\u026C\x85\x03\x02\x02\x02\u026D\u026E\x07\x05\x02\x02\u026E" + "\u026F\x077\x02\x02\u026F\x87\x03\x02\x02\x02\u0270\u0272\x07)\x02\x02" + "\u0271\u0273\x05\x8AF\x02\u0272\u0271\x03\x02\x02\x02\u0272\u0273\x03" + "\x02\x02\x02\u0273\u0274\x03\x02\x02\x02\u0274\u0275\x07*\x02\x02\u0275" + "\x89\x03\x02\x02\x02\u0276\u027B\x05\x8CG\x02\u0277\u0278\x072\x02\x02" + "\u0278\u027A\x05\x8CG\x02\u0279\u0277\x03\x02\x02\x02\u027A\u027D\x03" + "\x02\x02\x02\u027B\u0279\x03\x02\x02\x02\u027B\u027C\x03\x02\x02\x02\u027C" + "\x8B\x03\x02\x02\x02\u027D\u027B\x03\x02\x02\x02\u027E\u0281\x05\x8EH" + "\x02\u027F\u0281\x05\x90I\x02\u0280\u027E\x03\x02\x02\x02\u0280\u027F" + "\x03\x02\x02\x02\u0281\x8D\x03\x02\x02\x02\u0282\u0284\x05v<\x02\u0283" + "\u0285\x05d3\x02\u0284\u0283\x03\x02\x02\x02\u0284\u0285\x03\x02\x02\x02" + "\u0285\u0287\x03\x02\x02\x02\u0286\u0288\x05\x92J\x02\u0287\u0286\x03" + "\x02\x02\x02\u0287\u0288\x03\x02\x02\x02\u0288\x8F\x03\x02\x02\x02\u0289" + "\u028A\x05Z.\x02\u028A\u028B\x05\x92J\x02\u028B\x91\x03\x02\x02\x02\u028C" + "\u028D\x07\x18\x02\x02\u028D\u028E\x077\x02\x02\u028E\x93\x03\x02\x02" + "\x02\u028F\u0291\x07\'\x02\x02\u0290\u0292\x05\x96L\x02\u0291\u0290\x03" + "\x02\x02\x02\u0291\u0292\x03\x02\x02\x02\u0292\u0293\x03\x02\x02\x02\u0293" + "\u0294\x07(\x02\x02\u0294\x95\x03\x02\x02\x02\u0295\u0296\bL\x01\x02\u0296" + "\u0297\x05\x9AN\x02\u0297\u0298\x05\x9CO\x02\u0298\u0299\x05\x9AN\x02" + "\u0299\u029C\x03\x02\x02\x02\u029A\u029C\x05\x98M\x02\u029B\u0295\x03" + "\x02\x02\x02\u029B\u029A\x03\x02\x02\x02\u029C\u02A5\x03\x02\x02\x02\u029D" + "\u029E\f\x05\x02\x02\u029E\u029F\x07\"\x02\x02\u029F\u02A4\x05\x96L\x06" + "\u02A0\u02A1\f\x04\x02\x02\u02A1\u02A2\x07#\x02\x02\u02A2\u02A4\x05\x96" + "L\x05\u02A3\u029D\x03\x02\x02\x02\u02A3\u02A0\x03\x02\x02\x02\u02A4\u02A7" + "\x03\x02\x02\x02\u02A5\u02A3\x03\x02\x02\x02\u02A5\u02A6\x03\x02\x02\x02" + "\u02A6\x97\x03\x02\x02\x02\u02A7\u02A5\x03\x02\x02\x02\u02A8\u02A9\x07" + "$\x02\x02\u02A9\u02B0\x05\x98M\x02\u02AA\u02AB\x07%\x02\x02\u02AB\u02AC" + "\x05\x96L\x02\u02AC\u02AD\x07&\x02\x02\u02AD\u02B0\x03\x02\x02\x02\u02AE" + "\u02B0\x05\x82B\x02\u02AF\u02A8\x03\x02\x02\x02\u02AF\u02AA\x03\x02\x02" + "\x02\u02AF\u02AE\x03\x02\x02\x02\u02B0\x99\x03\x02\x02\x02\u02B1\u02BA" + "\x078\x02\x02\u02B2\u02BA\x079\x02\x02\u02B3\u02BA\x07:\x02\x02\u02B4" + "\u02BA\x05\x82B\x02\u02B5\u02BA\x05\x84C\x02\u02B6\u02BA\x05b2\x02\u02B7" + "\u02BA\x077\x02\x02\u02B8\u02BA\x03\x02\x02\x02\u02B9\u02B1\x03\x02\x02" + "\x02\u02B9\u02B2\x03\x02\x02\x02\u02B9\u02B3\x03\x02\x02\x02\u02B9\u02B4" + "\x03\x02\x02\x02\u02B9\u02B5\x03\x02\x02\x02\u02B9\u02B6\x03\x02\x02\x02" + "\u02B9\u02B7\x03\x02\x02\x02\u02B9\u02B8\x03\x02\x02\x02\u02BA\x9B\x03" + "\x02\x02\x02\u02BB\u02BC\t\x06\x02\x02\u02BC\x9D\x03\x02\x02\x02D\xA1" + "\xB6\xBC\xC4\xCB\xD2\xE0\xEC\xFB\u0105\u0117\u011C\u0123\u0128\u0133\u013D" + "\u0141\u0146\u014E\u0154\u015F\u016A\u016E\u0172\u0174\u017A\u0185\u018D" + "\u0193\u019F\u01C2\u01C4\u01D6\u01DC\u01E5\u01F2\u01F6\u01FE\u020E\u021F" + "\u0226\u022B\u022F\u0233\u0238\u023B\u0243\u0248\u024C\u0250\u0257\u0259" + "\u025E\u0263\u0265\u0272\u027B\u0280\u0284\u0287\u0291\u029B\u02A3\u02A5" + "\u02AF\u02B9";
|
|
53369
53828
|
KcLang._serializedATN = antlr4ts_misc_Utils__WEBPACK_IMPORTED_MODULE_10__.join([_KcLang._serializedATNSegment0, _KcLang._serializedATNSegment1], "");
|
|
53370
53829
|
KcLang.__ATN = void 0;
|
|
53371
53830
|
class KclangContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
@@ -53477,6 +53936,41 @@ class SingleInterpolationContentContext extends antlr4ts_ParserRuleContext__WEBP
|
|
|
53477
53936
|
}
|
|
53478
53937
|
}
|
|
53479
53938
|
}
|
|
53939
|
+
class SingleInterpolatedStringContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
53940
|
+
interpolatedStringContent() {
|
|
53941
|
+
return this.getRuleContext(0, InterpolatedStringContentContext);
|
|
53942
|
+
}
|
|
53943
|
+
EOF() {
|
|
53944
|
+
return this.getToken(KcLang.EOF, 0);
|
|
53945
|
+
}
|
|
53946
|
+
constructor(parent, invokingState) {
|
|
53947
|
+
super(parent, invokingState);
|
|
53948
|
+
}
|
|
53949
|
+
// @Override
|
|
53950
|
+
get ruleIndex() {
|
|
53951
|
+
return KcLang.RULE_singleInterpolatedString;
|
|
53952
|
+
}
|
|
53953
|
+
// @Override
|
|
53954
|
+
enterRule(listener) {
|
|
53955
|
+
if (listener.enterSingleInterpolatedString) {
|
|
53956
|
+
listener.enterSingleInterpolatedString(this);
|
|
53957
|
+
}
|
|
53958
|
+
}
|
|
53959
|
+
// @Override
|
|
53960
|
+
exitRule(listener) {
|
|
53961
|
+
if (listener.exitSingleInterpolatedString) {
|
|
53962
|
+
listener.exitSingleInterpolatedString(this);
|
|
53963
|
+
}
|
|
53964
|
+
}
|
|
53965
|
+
// @Override
|
|
53966
|
+
accept(visitor) {
|
|
53967
|
+
if (visitor.visitSingleInterpolatedString) {
|
|
53968
|
+
return visitor.visitSingleInterpolatedString(this);
|
|
53969
|
+
} else {
|
|
53970
|
+
return visitor.visitChildren(this);
|
|
53971
|
+
}
|
|
53972
|
+
}
|
|
53973
|
+
}
|
|
53480
53974
|
class SingleExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
53481
53975
|
expression() {
|
|
53482
53976
|
return this.getRuleContext(0, ExpressionContext);
|
|
@@ -53522,6 +54016,9 @@ class GlobalDefinitionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORT
|
|
|
53522
54016
|
propertyVariable() {
|
|
53523
54017
|
return this.tryGetRuleContext(0, PropertyVariableContext);
|
|
53524
54018
|
}
|
|
54019
|
+
functionDefinition() {
|
|
54020
|
+
return this.tryGetRuleContext(0, FunctionDefinitionContext);
|
|
54021
|
+
}
|
|
53525
54022
|
constructor(parent, invokingState) {
|
|
53526
54023
|
super(parent, invokingState);
|
|
53527
54024
|
}
|
|
@@ -53560,6 +54057,9 @@ class StatementContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODU
|
|
|
53560
54057
|
localVariable() {
|
|
53561
54058
|
return this.tryGetRuleContext(0, LocalVariableContext);
|
|
53562
54059
|
}
|
|
54060
|
+
returnStatement() {
|
|
54061
|
+
return this.tryGetRuleContext(0, ReturnStatementContext);
|
|
54062
|
+
}
|
|
53563
54063
|
constructor(parent, invokingState) {
|
|
53564
54064
|
super(parent, invokingState);
|
|
53565
54065
|
}
|
|
@@ -53687,8 +54187,8 @@ class GlobalVariableContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED
|
|
|
53687
54187
|
SEMICOLON() {
|
|
53688
54188
|
return this.getToken(KcLang.SEMICOLON, 0);
|
|
53689
54189
|
}
|
|
53690
|
-
|
|
53691
|
-
return this.tryGetRuleContext(0,
|
|
54190
|
+
valueType() {
|
|
54191
|
+
return this.tryGetRuleContext(0, ValueTypeContext);
|
|
53692
54192
|
}
|
|
53693
54193
|
constructor(parent, invokingState) {
|
|
53694
54194
|
super(parent, invokingState);
|
|
@@ -53762,6 +54262,175 @@ class PropertyVariableContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORT
|
|
|
53762
54262
|
}
|
|
53763
54263
|
}
|
|
53764
54264
|
}
|
|
54265
|
+
class FunctionDefinitionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54266
|
+
type() {
|
|
54267
|
+
return this.getRuleContext(0, TypeContext);
|
|
54268
|
+
}
|
|
54269
|
+
NAME() {
|
|
54270
|
+
return this.getToken(KcLang.NAME, 0);
|
|
54271
|
+
}
|
|
54272
|
+
LPAREN() {
|
|
54273
|
+
return this.getToken(KcLang.LPAREN, 0);
|
|
54274
|
+
}
|
|
54275
|
+
RPAREN() {
|
|
54276
|
+
return this.getToken(KcLang.RPAREN, 0);
|
|
54277
|
+
}
|
|
54278
|
+
LBRACE() {
|
|
54279
|
+
return this.getToken(KcLang.LBRACE, 0);
|
|
54280
|
+
}
|
|
54281
|
+
returnStatement() {
|
|
54282
|
+
return this.getRuleContext(0, ReturnStatementContext);
|
|
54283
|
+
}
|
|
54284
|
+
RBRACE() {
|
|
54285
|
+
return this.getToken(KcLang.RBRACE, 0);
|
|
54286
|
+
}
|
|
54287
|
+
functionArguments() {
|
|
54288
|
+
return this.tryGetRuleContext(0, FunctionArgumentsContext);
|
|
54289
|
+
}
|
|
54290
|
+
constructor(parent, invokingState) {
|
|
54291
|
+
super(parent, invokingState);
|
|
54292
|
+
}
|
|
54293
|
+
// @Override
|
|
54294
|
+
get ruleIndex() {
|
|
54295
|
+
return KcLang.RULE_functionDefinition;
|
|
54296
|
+
}
|
|
54297
|
+
// @Override
|
|
54298
|
+
enterRule(listener) {
|
|
54299
|
+
if (listener.enterFunctionDefinition) {
|
|
54300
|
+
listener.enterFunctionDefinition(this);
|
|
54301
|
+
}
|
|
54302
|
+
}
|
|
54303
|
+
// @Override
|
|
54304
|
+
exitRule(listener) {
|
|
54305
|
+
if (listener.exitFunctionDefinition) {
|
|
54306
|
+
listener.exitFunctionDefinition(this);
|
|
54307
|
+
}
|
|
54308
|
+
}
|
|
54309
|
+
// @Override
|
|
54310
|
+
accept(visitor) {
|
|
54311
|
+
if (visitor.visitFunctionDefinition) {
|
|
54312
|
+
return visitor.visitFunctionDefinition(this);
|
|
54313
|
+
} else {
|
|
54314
|
+
return visitor.visitChildren(this);
|
|
54315
|
+
}
|
|
54316
|
+
}
|
|
54317
|
+
}
|
|
54318
|
+
class FunctionArgumentsContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54319
|
+
typeArgument(i) {
|
|
54320
|
+
if (i === undefined) {
|
|
54321
|
+
return this.getRuleContexts(TypeArgumentContext);
|
|
54322
|
+
} else {
|
|
54323
|
+
return this.getRuleContext(i, TypeArgumentContext);
|
|
54324
|
+
}
|
|
54325
|
+
}
|
|
54326
|
+
COMMA(i) {
|
|
54327
|
+
if (i === undefined) {
|
|
54328
|
+
return this.getTokens(KcLang.COMMA);
|
|
54329
|
+
} else {
|
|
54330
|
+
return this.getToken(KcLang.COMMA, i);
|
|
54331
|
+
}
|
|
54332
|
+
}
|
|
54333
|
+
constructor(parent, invokingState) {
|
|
54334
|
+
super(parent, invokingState);
|
|
54335
|
+
}
|
|
54336
|
+
// @Override
|
|
54337
|
+
get ruleIndex() {
|
|
54338
|
+
return KcLang.RULE_functionArguments;
|
|
54339
|
+
}
|
|
54340
|
+
// @Override
|
|
54341
|
+
enterRule(listener) {
|
|
54342
|
+
if (listener.enterFunctionArguments) {
|
|
54343
|
+
listener.enterFunctionArguments(this);
|
|
54344
|
+
}
|
|
54345
|
+
}
|
|
54346
|
+
// @Override
|
|
54347
|
+
exitRule(listener) {
|
|
54348
|
+
if (listener.exitFunctionArguments) {
|
|
54349
|
+
listener.exitFunctionArguments(this);
|
|
54350
|
+
}
|
|
54351
|
+
}
|
|
54352
|
+
// @Override
|
|
54353
|
+
accept(visitor) {
|
|
54354
|
+
if (visitor.visitFunctionArguments) {
|
|
54355
|
+
return visitor.visitFunctionArguments(this);
|
|
54356
|
+
} else {
|
|
54357
|
+
return visitor.visitChildren(this);
|
|
54358
|
+
}
|
|
54359
|
+
}
|
|
54360
|
+
}
|
|
54361
|
+
class TypeArgumentContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54362
|
+
type() {
|
|
54363
|
+
return this.getRuleContext(0, TypeContext);
|
|
54364
|
+
}
|
|
54365
|
+
NAME() {
|
|
54366
|
+
return this.getToken(KcLang.NAME, 0);
|
|
54367
|
+
}
|
|
54368
|
+
constructor(parent, invokingState) {
|
|
54369
|
+
super(parent, invokingState);
|
|
54370
|
+
}
|
|
54371
|
+
// @Override
|
|
54372
|
+
get ruleIndex() {
|
|
54373
|
+
return KcLang.RULE_typeArgument;
|
|
54374
|
+
}
|
|
54375
|
+
// @Override
|
|
54376
|
+
enterRule(listener) {
|
|
54377
|
+
if (listener.enterTypeArgument) {
|
|
54378
|
+
listener.enterTypeArgument(this);
|
|
54379
|
+
}
|
|
54380
|
+
}
|
|
54381
|
+
// @Override
|
|
54382
|
+
exitRule(listener) {
|
|
54383
|
+
if (listener.exitTypeArgument) {
|
|
54384
|
+
listener.exitTypeArgument(this);
|
|
54385
|
+
}
|
|
54386
|
+
}
|
|
54387
|
+
// @Override
|
|
54388
|
+
accept(visitor) {
|
|
54389
|
+
if (visitor.visitTypeArgument) {
|
|
54390
|
+
return visitor.visitTypeArgument(this);
|
|
54391
|
+
} else {
|
|
54392
|
+
return visitor.visitChildren(this);
|
|
54393
|
+
}
|
|
54394
|
+
}
|
|
54395
|
+
}
|
|
54396
|
+
class ReturnStatementContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54397
|
+
RETURN() {
|
|
54398
|
+
return this.getToken(KcLang.RETURN, 0);
|
|
54399
|
+
}
|
|
54400
|
+
expression() {
|
|
54401
|
+
return this.getRuleContext(0, ExpressionContext);
|
|
54402
|
+
}
|
|
54403
|
+
SEMICOLON() {
|
|
54404
|
+
return this.getToken(KcLang.SEMICOLON, 0);
|
|
54405
|
+
}
|
|
54406
|
+
constructor(parent, invokingState) {
|
|
54407
|
+
super(parent, invokingState);
|
|
54408
|
+
}
|
|
54409
|
+
// @Override
|
|
54410
|
+
get ruleIndex() {
|
|
54411
|
+
return KcLang.RULE_returnStatement;
|
|
54412
|
+
}
|
|
54413
|
+
// @Override
|
|
54414
|
+
enterRule(listener) {
|
|
54415
|
+
if (listener.enterReturnStatement) {
|
|
54416
|
+
listener.enterReturnStatement(this);
|
|
54417
|
+
}
|
|
54418
|
+
}
|
|
54419
|
+
// @Override
|
|
54420
|
+
exitRule(listener) {
|
|
54421
|
+
if (listener.exitReturnStatement) {
|
|
54422
|
+
listener.exitReturnStatement(this);
|
|
54423
|
+
}
|
|
54424
|
+
}
|
|
54425
|
+
// @Override
|
|
54426
|
+
accept(visitor) {
|
|
54427
|
+
if (visitor.visitReturnStatement) {
|
|
54428
|
+
return visitor.visitReturnStatement(this);
|
|
54429
|
+
} else {
|
|
54430
|
+
return visitor.visitChildren(this);
|
|
54431
|
+
}
|
|
54432
|
+
}
|
|
54433
|
+
}
|
|
53765
54434
|
class PropertyExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
53766
54435
|
PROPERTIES() {
|
|
53767
54436
|
return this.getToken(KcLang.PROPERTIES, 0);
|
|
@@ -53775,8 +54444,8 @@ class PropertyExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPO
|
|
|
53775
54444
|
RPAREN() {
|
|
53776
54445
|
return this.getToken(KcLang.RPAREN, 0);
|
|
53777
54446
|
}
|
|
53778
|
-
|
|
53779
|
-
return this.tryGetRuleContext(0,
|
|
54447
|
+
valueType() {
|
|
54448
|
+
return this.tryGetRuleContext(0, ValueTypeContext);
|
|
53780
54449
|
}
|
|
53781
54450
|
constructor(parent, invokingState) {
|
|
53782
54451
|
super(parent, invokingState);
|
|
@@ -54160,8 +54829,8 @@ class WithBlockContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODU
|
|
|
54160
54829
|
}
|
|
54161
54830
|
}
|
|
54162
54831
|
class WithBlockValueContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54163
|
-
|
|
54164
|
-
return this.tryGetRuleContext(0,
|
|
54832
|
+
interpolatedStringExpression() {
|
|
54833
|
+
return this.tryGetRuleContext(0, InterpolatedStringExpressionContext);
|
|
54165
54834
|
}
|
|
54166
54835
|
STRING_LITERAL() {
|
|
54167
54836
|
return this.tryGetToken(KcLang.STRING_LITERAL, 0);
|
|
@@ -54194,7 +54863,7 @@ class WithBlockValueContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED
|
|
|
54194
54863
|
}
|
|
54195
54864
|
}
|
|
54196
54865
|
}
|
|
54197
|
-
class
|
|
54866
|
+
class InterpolatedStringExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54198
54867
|
TRIPLE_QUOTES(i) {
|
|
54199
54868
|
if (i === undefined) {
|
|
54200
54869
|
return this.getTokens(KcLang.TRIPLE_QUOTES);
|
|
@@ -54202,42 +54871,116 @@ class InterpolationExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK
|
|
|
54202
54871
|
return this.getToken(KcLang.TRIPLE_QUOTES, i);
|
|
54203
54872
|
}
|
|
54204
54873
|
}
|
|
54205
|
-
|
|
54874
|
+
interpolatedStringContent() {
|
|
54875
|
+
return this.getRuleContext(0, InterpolatedStringContentContext);
|
|
54876
|
+
}
|
|
54877
|
+
constructor(parent, invokingState) {
|
|
54878
|
+
super(parent, invokingState);
|
|
54879
|
+
}
|
|
54880
|
+
// @Override
|
|
54881
|
+
get ruleIndex() {
|
|
54882
|
+
return KcLang.RULE_interpolatedStringExpression;
|
|
54883
|
+
}
|
|
54884
|
+
// @Override
|
|
54885
|
+
enterRule(listener) {
|
|
54886
|
+
if (listener.enterInterpolatedStringExpression) {
|
|
54887
|
+
listener.enterInterpolatedStringExpression(this);
|
|
54888
|
+
}
|
|
54889
|
+
}
|
|
54890
|
+
// @Override
|
|
54891
|
+
exitRule(listener) {
|
|
54892
|
+
if (listener.exitInterpolatedStringExpression) {
|
|
54893
|
+
listener.exitInterpolatedStringExpression(this);
|
|
54894
|
+
}
|
|
54895
|
+
}
|
|
54896
|
+
// @Override
|
|
54897
|
+
accept(visitor) {
|
|
54898
|
+
if (visitor.visitInterpolatedStringExpression) {
|
|
54899
|
+
return visitor.visitInterpolatedStringExpression(this);
|
|
54900
|
+
} else {
|
|
54901
|
+
return visitor.visitChildren(this);
|
|
54902
|
+
}
|
|
54903
|
+
}
|
|
54904
|
+
}
|
|
54905
|
+
class HowToFixDescriptionBlockContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54906
|
+
L_HOW_FIX_BLOCK() {
|
|
54907
|
+
return this.getToken(KcLang.L_HOW_FIX_BLOCK, 0);
|
|
54908
|
+
}
|
|
54909
|
+
interpolatedStringToken(i) {
|
|
54206
54910
|
if (i === undefined) {
|
|
54207
|
-
return this.getRuleContexts(
|
|
54911
|
+
return this.getRuleContexts(InterpolatedStringTokenContext);
|
|
54208
54912
|
} else {
|
|
54209
|
-
return this.getRuleContext(i,
|
|
54913
|
+
return this.getRuleContext(i, InterpolatedStringTokenContext);
|
|
54210
54914
|
}
|
|
54211
54915
|
}
|
|
54916
|
+
R_HOW_FIX_BLOCK() {
|
|
54917
|
+
return this.tryGetToken(KcLang.R_HOW_FIX_BLOCK, 0);
|
|
54918
|
+
}
|
|
54212
54919
|
constructor(parent, invokingState) {
|
|
54213
54920
|
super(parent, invokingState);
|
|
54214
54921
|
}
|
|
54215
54922
|
// @Override
|
|
54216
54923
|
get ruleIndex() {
|
|
54217
|
-
return KcLang.
|
|
54924
|
+
return KcLang.RULE_howToFixDescriptionBlock;
|
|
54218
54925
|
}
|
|
54219
54926
|
// @Override
|
|
54220
54927
|
enterRule(listener) {
|
|
54221
|
-
if (listener.
|
|
54222
|
-
listener.
|
|
54928
|
+
if (listener.enterHowToFixDescriptionBlock) {
|
|
54929
|
+
listener.enterHowToFixDescriptionBlock(this);
|
|
54223
54930
|
}
|
|
54224
54931
|
}
|
|
54225
54932
|
// @Override
|
|
54226
54933
|
exitRule(listener) {
|
|
54227
|
-
if (listener.
|
|
54228
|
-
listener.
|
|
54934
|
+
if (listener.exitHowToFixDescriptionBlock) {
|
|
54935
|
+
listener.exitHowToFixDescriptionBlock(this);
|
|
54229
54936
|
}
|
|
54230
54937
|
}
|
|
54231
54938
|
// @Override
|
|
54232
54939
|
accept(visitor) {
|
|
54233
|
-
if (visitor.
|
|
54234
|
-
return visitor.
|
|
54940
|
+
if (visitor.visitHowToFixDescriptionBlock) {
|
|
54941
|
+
return visitor.visitHowToFixDescriptionBlock(this);
|
|
54235
54942
|
} else {
|
|
54236
54943
|
return visitor.visitChildren(this);
|
|
54237
54944
|
}
|
|
54238
54945
|
}
|
|
54239
54946
|
}
|
|
54240
|
-
class
|
|
54947
|
+
class InterpolatedStringContentContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54948
|
+
interpolatedStringToken(i) {
|
|
54949
|
+
if (i === undefined) {
|
|
54950
|
+
return this.getRuleContexts(InterpolatedStringTokenContext);
|
|
54951
|
+
} else {
|
|
54952
|
+
return this.getRuleContext(i, InterpolatedStringTokenContext);
|
|
54953
|
+
}
|
|
54954
|
+
}
|
|
54955
|
+
constructor(parent, invokingState) {
|
|
54956
|
+
super(parent, invokingState);
|
|
54957
|
+
}
|
|
54958
|
+
// @Override
|
|
54959
|
+
get ruleIndex() {
|
|
54960
|
+
return KcLang.RULE_interpolatedStringContent;
|
|
54961
|
+
}
|
|
54962
|
+
// @Override
|
|
54963
|
+
enterRule(listener) {
|
|
54964
|
+
if (listener.enterInterpolatedStringContent) {
|
|
54965
|
+
listener.enterInterpolatedStringContent(this);
|
|
54966
|
+
}
|
|
54967
|
+
}
|
|
54968
|
+
// @Override
|
|
54969
|
+
exitRule(listener) {
|
|
54970
|
+
if (listener.exitInterpolatedStringContent) {
|
|
54971
|
+
listener.exitInterpolatedStringContent(this);
|
|
54972
|
+
}
|
|
54973
|
+
}
|
|
54974
|
+
// @Override
|
|
54975
|
+
accept(visitor) {
|
|
54976
|
+
if (visitor.visitInterpolatedStringContent) {
|
|
54977
|
+
return visitor.visitInterpolatedStringContent(this);
|
|
54978
|
+
} else {
|
|
54979
|
+
return visitor.visitChildren(this);
|
|
54980
|
+
}
|
|
54981
|
+
}
|
|
54982
|
+
}
|
|
54983
|
+
class InterpolatedStringTokenContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54241
54984
|
TEXT() {
|
|
54242
54985
|
return this.tryGetToken(KcLang.TEXT, 0);
|
|
54243
54986
|
}
|
|
@@ -54247,29 +54990,78 @@ class DescriptionTokenContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORT
|
|
|
54247
54990
|
link() {
|
|
54248
54991
|
return this.tryGetRuleContext(0, LinkContext);
|
|
54249
54992
|
}
|
|
54993
|
+
strongDescriptionToken() {
|
|
54994
|
+
return this.tryGetRuleContext(0, StrongDescriptionTokenContext);
|
|
54995
|
+
}
|
|
54996
|
+
howToFixDescriptionBlock() {
|
|
54997
|
+
return this.tryGetRuleContext(0, HowToFixDescriptionBlockContext);
|
|
54998
|
+
}
|
|
54250
54999
|
constructor(parent, invokingState) {
|
|
54251
55000
|
super(parent, invokingState);
|
|
54252
55001
|
}
|
|
54253
55002
|
// @Override
|
|
54254
55003
|
get ruleIndex() {
|
|
54255
|
-
return KcLang.
|
|
55004
|
+
return KcLang.RULE_interpolatedStringToken;
|
|
54256
55005
|
}
|
|
54257
55006
|
// @Override
|
|
54258
55007
|
enterRule(listener) {
|
|
54259
|
-
if (listener.
|
|
54260
|
-
listener.
|
|
55008
|
+
if (listener.enterInterpolatedStringToken) {
|
|
55009
|
+
listener.enterInterpolatedStringToken(this);
|
|
54261
55010
|
}
|
|
54262
55011
|
}
|
|
54263
55012
|
// @Override
|
|
54264
55013
|
exitRule(listener) {
|
|
54265
|
-
if (listener.
|
|
54266
|
-
listener.
|
|
55014
|
+
if (listener.exitInterpolatedStringToken) {
|
|
55015
|
+
listener.exitInterpolatedStringToken(this);
|
|
54267
55016
|
}
|
|
54268
55017
|
}
|
|
54269
55018
|
// @Override
|
|
54270
55019
|
accept(visitor) {
|
|
54271
|
-
if (visitor.
|
|
54272
|
-
return visitor.
|
|
55020
|
+
if (visitor.visitInterpolatedStringToken) {
|
|
55021
|
+
return visitor.visitInterpolatedStringToken(this);
|
|
55022
|
+
} else {
|
|
55023
|
+
return visitor.visitChildren(this);
|
|
55024
|
+
}
|
|
55025
|
+
}
|
|
55026
|
+
}
|
|
55027
|
+
class StrongDescriptionTokenContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
55028
|
+
DOUBLE_MUL(i) {
|
|
55029
|
+
if (i === undefined) {
|
|
55030
|
+
return this.getTokens(KcLang.DOUBLE_MUL);
|
|
55031
|
+
} else {
|
|
55032
|
+
return this.getToken(KcLang.DOUBLE_MUL, i);
|
|
55033
|
+
}
|
|
55034
|
+
}
|
|
55035
|
+
interpolatedStringToken(i) {
|
|
55036
|
+
if (i === undefined) {
|
|
55037
|
+
return this.getRuleContexts(InterpolatedStringTokenContext);
|
|
55038
|
+
} else {
|
|
55039
|
+
return this.getRuleContext(i, InterpolatedStringTokenContext);
|
|
55040
|
+
}
|
|
55041
|
+
}
|
|
55042
|
+
constructor(parent, invokingState) {
|
|
55043
|
+
super(parent, invokingState);
|
|
55044
|
+
}
|
|
55045
|
+
// @Override
|
|
55046
|
+
get ruleIndex() {
|
|
55047
|
+
return KcLang.RULE_strongDescriptionToken;
|
|
55048
|
+
}
|
|
55049
|
+
// @Override
|
|
55050
|
+
enterRule(listener) {
|
|
55051
|
+
if (listener.enterStrongDescriptionToken) {
|
|
55052
|
+
listener.enterStrongDescriptionToken(this);
|
|
55053
|
+
}
|
|
55054
|
+
}
|
|
55055
|
+
// @Override
|
|
55056
|
+
exitRule(listener) {
|
|
55057
|
+
if (listener.exitStrongDescriptionToken) {
|
|
55058
|
+
listener.exitStrongDescriptionToken(this);
|
|
55059
|
+
}
|
|
55060
|
+
}
|
|
55061
|
+
// @Override
|
|
55062
|
+
accept(visitor) {
|
|
55063
|
+
if (visitor.visitStrongDescriptionToken) {
|
|
55064
|
+
return visitor.visitStrongDescriptionToken(this);
|
|
54273
55065
|
} else {
|
|
54274
55066
|
return visitor.visitChildren(this);
|
|
54275
55067
|
}
|
|
@@ -54399,8 +55191,8 @@ class InterpolationTargetContext extends antlr4ts_ParserRuleContext__WEBPACK_IMP
|
|
|
54399
55191
|
path() {
|
|
54400
55192
|
return this.tryGetRuleContext(0, PathContext);
|
|
54401
55193
|
}
|
|
54402
|
-
|
|
54403
|
-
return this.tryGetRuleContext(0,
|
|
55194
|
+
valueType() {
|
|
55195
|
+
return this.tryGetRuleContext(0, ValueTypeContext);
|
|
54404
55196
|
}
|
|
54405
55197
|
variableUsage() {
|
|
54406
55198
|
return this.tryGetRuleContext(0, VariableUsageContext);
|
|
@@ -54484,6 +55276,49 @@ class LinkContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5_
|
|
|
54484
55276
|
}
|
|
54485
55277
|
}
|
|
54486
55278
|
}
|
|
55279
|
+
class StrongLinkNameContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
55280
|
+
DOUBLE_MUL(i) {
|
|
55281
|
+
if (i === undefined) {
|
|
55282
|
+
return this.getTokens(KcLang.DOUBLE_MUL);
|
|
55283
|
+
} else {
|
|
55284
|
+
return this.getToken(KcLang.DOUBLE_MUL, i);
|
|
55285
|
+
}
|
|
55286
|
+
}
|
|
55287
|
+
linkName(i) {
|
|
55288
|
+
if (i === undefined) {
|
|
55289
|
+
return this.getRuleContexts(LinkNameContext);
|
|
55290
|
+
} else {
|
|
55291
|
+
return this.getRuleContext(i, LinkNameContext);
|
|
55292
|
+
}
|
|
55293
|
+
}
|
|
55294
|
+
constructor(parent, invokingState) {
|
|
55295
|
+
super(parent, invokingState);
|
|
55296
|
+
}
|
|
55297
|
+
// @Override
|
|
55298
|
+
get ruleIndex() {
|
|
55299
|
+
return KcLang.RULE_strongLinkName;
|
|
55300
|
+
}
|
|
55301
|
+
// @Override
|
|
55302
|
+
enterRule(listener) {
|
|
55303
|
+
if (listener.enterStrongLinkName) {
|
|
55304
|
+
listener.enterStrongLinkName(this);
|
|
55305
|
+
}
|
|
55306
|
+
}
|
|
55307
|
+
// @Override
|
|
55308
|
+
exitRule(listener) {
|
|
55309
|
+
if (listener.exitStrongLinkName) {
|
|
55310
|
+
listener.exitStrongLinkName(this);
|
|
55311
|
+
}
|
|
55312
|
+
}
|
|
55313
|
+
// @Override
|
|
55314
|
+
accept(visitor) {
|
|
55315
|
+
if (visitor.visitStrongLinkName) {
|
|
55316
|
+
return visitor.visitStrongLinkName(this);
|
|
55317
|
+
} else {
|
|
55318
|
+
return visitor.visitChildren(this);
|
|
55319
|
+
}
|
|
55320
|
+
}
|
|
55321
|
+
}
|
|
54487
55322
|
class LinkNameContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
54488
55323
|
TEXT() {
|
|
54489
55324
|
return this.tryGetToken(KcLang.TEXT, 0);
|
|
@@ -54491,6 +55326,9 @@ class LinkNameContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODUL
|
|
|
54491
55326
|
interpolation() {
|
|
54492
55327
|
return this.tryGetRuleContext(0, InterpolationContext);
|
|
54493
55328
|
}
|
|
55329
|
+
strongLinkName() {
|
|
55330
|
+
return this.tryGetRuleContext(0, StrongLinkNameContext);
|
|
55331
|
+
}
|
|
54494
55332
|
constructor(parent, invokingState) {
|
|
54495
55333
|
super(parent, invokingState);
|
|
54496
55334
|
}
|
|
@@ -54649,15 +55487,16 @@ class ExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MOD
|
|
|
54649
55487
|
}
|
|
54650
55488
|
}
|
|
54651
55489
|
class OneOfContext extends ExpressionContext {
|
|
54652
|
-
expression() {
|
|
54653
|
-
|
|
55490
|
+
expression(i) {
|
|
55491
|
+
if (i === undefined) {
|
|
55492
|
+
return this.getRuleContexts(ExpressionContext);
|
|
55493
|
+
} else {
|
|
55494
|
+
return this.getRuleContext(i, ExpressionContext);
|
|
55495
|
+
}
|
|
54654
55496
|
}
|
|
54655
55497
|
IN() {
|
|
54656
55498
|
return this.getToken(KcLang.IN, 0);
|
|
54657
55499
|
}
|
|
54658
|
-
expressionSequence() {
|
|
54659
|
-
return this.getRuleContext(0, ExpressionSequenceContext);
|
|
54660
|
-
}
|
|
54661
55500
|
constructor(ctx) {
|
|
54662
55501
|
super(ctx.parent, ctx.invokingState);
|
|
54663
55502
|
this.copyFrom(ctx);
|
|
@@ -54983,8 +55822,8 @@ class UnaryExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTE
|
|
|
54983
55822
|
}
|
|
54984
55823
|
}
|
|
54985
55824
|
class InterpolateContext extends UnaryExpressionContext {
|
|
54986
|
-
|
|
54987
|
-
return this.getRuleContext(0,
|
|
55825
|
+
interpolatedStringExpression() {
|
|
55826
|
+
return this.getRuleContext(0, InterpolatedStringExpressionContext);
|
|
54988
55827
|
}
|
|
54989
55828
|
constructor(ctx) {
|
|
54990
55829
|
super(ctx.parent, ctx.invokingState);
|
|
@@ -55133,6 +55972,38 @@ class BracketsContext extends UnaryExpressionContext {
|
|
|
55133
55972
|
}
|
|
55134
55973
|
}
|
|
55135
55974
|
}
|
|
55975
|
+
class CastContext extends UnaryExpressionContext {
|
|
55976
|
+
unaryExpression() {
|
|
55977
|
+
return this.getRuleContext(0, UnaryExpressionContext);
|
|
55978
|
+
}
|
|
55979
|
+
valueType() {
|
|
55980
|
+
return this.getRuleContext(0, ValueTypeContext);
|
|
55981
|
+
}
|
|
55982
|
+
constructor(ctx) {
|
|
55983
|
+
super(ctx.parent, ctx.invokingState);
|
|
55984
|
+
this.copyFrom(ctx);
|
|
55985
|
+
}
|
|
55986
|
+
// @Override
|
|
55987
|
+
enterRule(listener) {
|
|
55988
|
+
if (listener.enterCast) {
|
|
55989
|
+
listener.enterCast(this);
|
|
55990
|
+
}
|
|
55991
|
+
}
|
|
55992
|
+
// @Override
|
|
55993
|
+
exitRule(listener) {
|
|
55994
|
+
if (listener.exitCast) {
|
|
55995
|
+
listener.exitCast(this);
|
|
55996
|
+
}
|
|
55997
|
+
}
|
|
55998
|
+
// @Override
|
|
55999
|
+
accept(visitor) {
|
|
56000
|
+
if (visitor.visitCast) {
|
|
56001
|
+
return visitor.visitCast(this);
|
|
56002
|
+
} else {
|
|
56003
|
+
return visitor.visitChildren(this);
|
|
56004
|
+
}
|
|
56005
|
+
}
|
|
56006
|
+
}
|
|
55136
56007
|
class NotContext extends UnaryExpressionContext {
|
|
55137
56008
|
NOT() {
|
|
55138
56009
|
return this.getToken(KcLang.NOT, 0);
|
|
@@ -55226,13 +56097,39 @@ class UnaryMinusContext extends UnaryExpressionContext {
|
|
|
55226
56097
|
}
|
|
55227
56098
|
}
|
|
55228
56099
|
}
|
|
55229
|
-
class
|
|
56100
|
+
class ArrayContext extends UnaryExpressionContext {
|
|
56101
|
+
arrayExpression() {
|
|
56102
|
+
return this.getRuleContext(0, ArrayExpressionContext);
|
|
56103
|
+
}
|
|
56104
|
+
constructor(ctx) {
|
|
56105
|
+
super(ctx.parent, ctx.invokingState);
|
|
56106
|
+
this.copyFrom(ctx);
|
|
56107
|
+
}
|
|
56108
|
+
// @Override
|
|
56109
|
+
enterRule(listener) {
|
|
56110
|
+
if (listener.enterArray) {
|
|
56111
|
+
listener.enterArray(this);
|
|
56112
|
+
}
|
|
56113
|
+
}
|
|
56114
|
+
// @Override
|
|
56115
|
+
exitRule(listener) {
|
|
56116
|
+
if (listener.exitArray) {
|
|
56117
|
+
listener.exitArray(this);
|
|
56118
|
+
}
|
|
56119
|
+
}
|
|
56120
|
+
// @Override
|
|
56121
|
+
accept(visitor) {
|
|
56122
|
+
if (visitor.visitArray) {
|
|
56123
|
+
return visitor.visitArray(this);
|
|
56124
|
+
} else {
|
|
56125
|
+
return visitor.visitChildren(this);
|
|
56126
|
+
}
|
|
56127
|
+
}
|
|
56128
|
+
}
|
|
56129
|
+
class ArrayExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
55230
56130
|
LBRACKET() {
|
|
55231
56131
|
return this.getToken(KcLang.LBRACKET, 0);
|
|
55232
56132
|
}
|
|
55233
|
-
RBRACKET() {
|
|
55234
|
-
return this.getToken(KcLang.RBRACKET, 0);
|
|
55235
|
-
}
|
|
55236
56133
|
expression(i) {
|
|
55237
56134
|
if (i === undefined) {
|
|
55238
56135
|
return this.getRuleContexts(ExpressionContext);
|
|
@@ -55240,6 +56137,9 @@ class ExpressionSequenceContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPO
|
|
|
55240
56137
|
return this.getRuleContext(i, ExpressionContext);
|
|
55241
56138
|
}
|
|
55242
56139
|
}
|
|
56140
|
+
RBRACKET() {
|
|
56141
|
+
return this.getToken(KcLang.RBRACKET, 0);
|
|
56142
|
+
}
|
|
55243
56143
|
COMMA(i) {
|
|
55244
56144
|
if (i === undefined) {
|
|
55245
56145
|
return this.getTokens(KcLang.COMMA);
|
|
@@ -55252,24 +56152,24 @@ class ExpressionSequenceContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPO
|
|
|
55252
56152
|
}
|
|
55253
56153
|
// @Override
|
|
55254
56154
|
get ruleIndex() {
|
|
55255
|
-
return KcLang.
|
|
56155
|
+
return KcLang.RULE_arrayExpression;
|
|
55256
56156
|
}
|
|
55257
56157
|
// @Override
|
|
55258
56158
|
enterRule(listener) {
|
|
55259
|
-
if (listener.
|
|
55260
|
-
listener.
|
|
56159
|
+
if (listener.enterArrayExpression) {
|
|
56160
|
+
listener.enterArrayExpression(this);
|
|
55261
56161
|
}
|
|
55262
56162
|
}
|
|
55263
56163
|
// @Override
|
|
55264
56164
|
exitRule(listener) {
|
|
55265
|
-
if (listener.
|
|
55266
|
-
listener.
|
|
56165
|
+
if (listener.exitArrayExpression) {
|
|
56166
|
+
listener.exitArrayExpression(this);
|
|
55267
56167
|
}
|
|
55268
56168
|
}
|
|
55269
56169
|
// @Override
|
|
55270
56170
|
accept(visitor) {
|
|
55271
|
-
if (visitor.
|
|
55272
|
-
return visitor.
|
|
56171
|
+
if (visitor.visitArrayExpression) {
|
|
56172
|
+
return visitor.visitArrayExpression(this);
|
|
55273
56173
|
} else {
|
|
55274
56174
|
return visitor.visitChildren(this);
|
|
55275
56175
|
}
|
|
@@ -55369,9 +56269,6 @@ class PathExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED
|
|
|
55369
56269
|
path() {
|
|
55370
56270
|
return this.getRuleContext(0, PathContext);
|
|
55371
56271
|
}
|
|
55372
|
-
typeD() {
|
|
55373
|
-
return this.tryGetRuleContext(0, TypeDContext);
|
|
55374
|
-
}
|
|
55375
56272
|
constructor(parent, invokingState) {
|
|
55376
56273
|
super(parent, invokingState);
|
|
55377
56274
|
}
|
|
@@ -55404,9 +56301,6 @@ class VarExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_
|
|
|
55404
56301
|
variableUsage() {
|
|
55405
56302
|
return this.getRuleContext(0, VariableUsageContext);
|
|
55406
56303
|
}
|
|
55407
|
-
typeD() {
|
|
55408
|
-
return this.tryGetRuleContext(0, TypeDContext);
|
|
55409
|
-
}
|
|
55410
56304
|
constructor(parent, invokingState) {
|
|
55411
56305
|
super(parent, invokingState);
|
|
55412
56306
|
}
|
|
@@ -55470,7 +56364,7 @@ class VariableUsageContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_
|
|
|
55470
56364
|
}
|
|
55471
56365
|
}
|
|
55472
56366
|
}
|
|
55473
|
-
class
|
|
56367
|
+
class ValueTypeContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
55474
56368
|
AS() {
|
|
55475
56369
|
return this.getToken(KcLang.AS, 0);
|
|
55476
56370
|
}
|
|
@@ -55482,24 +56376,24 @@ class TypeDContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5
|
|
|
55482
56376
|
}
|
|
55483
56377
|
// @Override
|
|
55484
56378
|
get ruleIndex() {
|
|
55485
|
-
return KcLang.
|
|
56379
|
+
return KcLang.RULE_valueType;
|
|
55486
56380
|
}
|
|
55487
56381
|
// @Override
|
|
55488
56382
|
enterRule(listener) {
|
|
55489
|
-
if (listener.
|
|
55490
|
-
listener.
|
|
56383
|
+
if (listener.enterValueType) {
|
|
56384
|
+
listener.enterValueType(this);
|
|
55491
56385
|
}
|
|
55492
56386
|
}
|
|
55493
56387
|
// @Override
|
|
55494
56388
|
exitRule(listener) {
|
|
55495
|
-
if (listener.
|
|
55496
|
-
listener.
|
|
56389
|
+
if (listener.exitValueType) {
|
|
56390
|
+
listener.exitValueType(this);
|
|
55497
56391
|
}
|
|
55498
56392
|
}
|
|
55499
56393
|
// @Override
|
|
55500
56394
|
accept(visitor) {
|
|
55501
|
-
if (visitor.
|
|
55502
|
-
return visitor.
|
|
56395
|
+
if (visitor.visitValueType) {
|
|
56396
|
+
return visitor.visitValueType(this);
|
|
55503
56397
|
} else {
|
|
55504
56398
|
return visitor.visitChildren(this);
|
|
55505
56399
|
}
|
|
@@ -55544,9 +56438,6 @@ class ConstExpressionContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTE
|
|
|
55544
56438
|
constString() {
|
|
55545
56439
|
return this.tryGetRuleContext(0, ConstStringContext);
|
|
55546
56440
|
}
|
|
55547
|
-
typeD() {
|
|
55548
|
-
return this.tryGetRuleContext(0, TypeDContext);
|
|
55549
|
-
}
|
|
55550
56441
|
constructor(parent, invokingState) {
|
|
55551
56442
|
super(parent, invokingState);
|
|
55552
56443
|
}
|
|
@@ -56234,14 +57125,11 @@ class CollationSequenceContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPOR
|
|
|
56234
57125
|
}
|
|
56235
57126
|
}
|
|
56236
57127
|
class CollationPartContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
56237
|
-
|
|
56238
|
-
return this.
|
|
57128
|
+
collationPathPart() {
|
|
57129
|
+
return this.tryGetRuleContext(0, CollationPathPartContext);
|
|
56239
57130
|
}
|
|
56240
|
-
|
|
56241
|
-
return this.tryGetRuleContext(0,
|
|
56242
|
-
}
|
|
56243
|
-
collationAlias() {
|
|
56244
|
-
return this.tryGetRuleContext(0, CollationAliasContext);
|
|
57131
|
+
collationExpressionPart() {
|
|
57132
|
+
return this.tryGetRuleContext(0, CollationExpressionPartContext);
|
|
56245
57133
|
}
|
|
56246
57134
|
constructor(parent, invokingState) {
|
|
56247
57135
|
super(parent, invokingState);
|
|
@@ -56271,6 +57159,79 @@ class CollationPartContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_
|
|
|
56271
57159
|
}
|
|
56272
57160
|
}
|
|
56273
57161
|
}
|
|
57162
|
+
class CollationPathPartContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
57163
|
+
path() {
|
|
57164
|
+
return this.getRuleContext(0, PathContext);
|
|
57165
|
+
}
|
|
57166
|
+
valueType() {
|
|
57167
|
+
return this.tryGetRuleContext(0, ValueTypeContext);
|
|
57168
|
+
}
|
|
57169
|
+
collationAlias() {
|
|
57170
|
+
return this.tryGetRuleContext(0, CollationAliasContext);
|
|
57171
|
+
}
|
|
57172
|
+
constructor(parent, invokingState) {
|
|
57173
|
+
super(parent, invokingState);
|
|
57174
|
+
}
|
|
57175
|
+
// @Override
|
|
57176
|
+
get ruleIndex() {
|
|
57177
|
+
return KcLang.RULE_collationPathPart;
|
|
57178
|
+
}
|
|
57179
|
+
// @Override
|
|
57180
|
+
enterRule(listener) {
|
|
57181
|
+
if (listener.enterCollationPathPart) {
|
|
57182
|
+
listener.enterCollationPathPart(this);
|
|
57183
|
+
}
|
|
57184
|
+
}
|
|
57185
|
+
// @Override
|
|
57186
|
+
exitRule(listener) {
|
|
57187
|
+
if (listener.exitCollationPathPart) {
|
|
57188
|
+
listener.exitCollationPathPart(this);
|
|
57189
|
+
}
|
|
57190
|
+
}
|
|
57191
|
+
// @Override
|
|
57192
|
+
accept(visitor) {
|
|
57193
|
+
if (visitor.visitCollationPathPart) {
|
|
57194
|
+
return visitor.visitCollationPathPart(this);
|
|
57195
|
+
} else {
|
|
57196
|
+
return visitor.visitChildren(this);
|
|
57197
|
+
}
|
|
57198
|
+
}
|
|
57199
|
+
}
|
|
57200
|
+
class CollationExpressionPartContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
57201
|
+
funcExpression() {
|
|
57202
|
+
return this.getRuleContext(0, FuncExpressionContext);
|
|
57203
|
+
}
|
|
57204
|
+
collationAlias() {
|
|
57205
|
+
return this.getRuleContext(0, CollationAliasContext);
|
|
57206
|
+
}
|
|
57207
|
+
constructor(parent, invokingState) {
|
|
57208
|
+
super(parent, invokingState);
|
|
57209
|
+
}
|
|
57210
|
+
// @Override
|
|
57211
|
+
get ruleIndex() {
|
|
57212
|
+
return KcLang.RULE_collationExpressionPart;
|
|
57213
|
+
}
|
|
57214
|
+
// @Override
|
|
57215
|
+
enterRule(listener) {
|
|
57216
|
+
if (listener.enterCollationExpressionPart) {
|
|
57217
|
+
listener.enterCollationExpressionPart(this);
|
|
57218
|
+
}
|
|
57219
|
+
}
|
|
57220
|
+
// @Override
|
|
57221
|
+
exitRule(listener) {
|
|
57222
|
+
if (listener.exitCollationExpressionPart) {
|
|
57223
|
+
listener.exitCollationExpressionPart(this);
|
|
57224
|
+
}
|
|
57225
|
+
}
|
|
57226
|
+
// @Override
|
|
57227
|
+
accept(visitor) {
|
|
57228
|
+
if (visitor.visitCollationExpressionPart) {
|
|
57229
|
+
return visitor.visitCollationExpressionPart(this);
|
|
57230
|
+
} else {
|
|
57231
|
+
return visitor.visitChildren(this);
|
|
57232
|
+
}
|
|
57233
|
+
}
|
|
57234
|
+
}
|
|
56274
57235
|
class CollationAliasContext extends antlr4ts_ParserRuleContext__WEBPACK_IMPORTED_MODULE_5__.ParserRuleContext {
|
|
56275
57236
|
EQUAL() {
|
|
56276
57237
|
return this.getToken(KcLang.EQUAL, 0);
|
|
@@ -57549,9 +58510,13 @@ const getGenerateJsExpressionFunc = options => {
|
|
|
57549
58510
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
|
57550
58511
|
const oneofFnName = gn(x => x.oneof);
|
|
57551
58512
|
const testExpr = generateJsExpression(expression.testExpression);
|
|
57552
|
-
|
|
57553
|
-
|
|
57554
|
-
|
|
58513
|
+
if (expression.expressions.type === "array") {
|
|
58514
|
+
const oneOfItemsDelimiterByComma = expression.expressions.items.map(expr => `${generateJsExpression(expr)}`).join(", ");
|
|
58515
|
+
const finalExprAsCode = `${utilsName}.${oneofFnName}([${oneOfItemsDelimiterByComma}], ${testExpr})`;
|
|
58516
|
+
return finalExprAsCode;
|
|
58517
|
+
} else {
|
|
58518
|
+
throw new Error("One of supports only array literal on the right");
|
|
58519
|
+
}
|
|
57555
58520
|
}
|
|
57556
58521
|
case "choose":
|
|
57557
58522
|
{
|
|
@@ -57754,7 +58719,6 @@ function generateKCXmlExpression(expression) {
|
|
|
57754
58719
|
case "not":
|
|
57755
58720
|
return [`<m:${expression.type}>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:${expression.type}>`].join("\n");
|
|
57756
58721
|
break;
|
|
57757
|
-
break;
|
|
57758
58722
|
case "round":
|
|
57759
58723
|
return [expression.fractionalDigits != undefined ? `<m:round fractionalDigits="${expression.fractionalDigits}">` : `<m:round>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(generateKCXmlExpression(expression.expression), 1), `</m:round>`].join("\n");
|
|
57760
58724
|
case "floor":
|
|
@@ -57803,8 +58767,12 @@ function generateKCXmlExpression(expression) {
|
|
|
57803
58767
|
case "oneof":
|
|
57804
58768
|
{
|
|
57805
58769
|
const testExpr = generateKCXmlExpression(expression.testExpression);
|
|
57806
|
-
|
|
57807
|
-
|
|
58770
|
+
if (expression.expressions.type == "array") {
|
|
58771
|
+
const enumerationItems = expression.expressions.items.map(generateKCXmlExpression);
|
|
58772
|
+
return [`<m:oneof>`, (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(testExpr, 1), [`<m:oneofitems>`, enumerationItems.map(x => (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(x, 1)), `</m:oneofitems>`].flat().map(x => (0,_Common_IndentString__WEBPACK_IMPORTED_MODULE_2__.indent)(x, 1)).join("\n"), `</m:oneof>`].join("\n");
|
|
58773
|
+
} else {
|
|
58774
|
+
throw new Error(`One of supports only array literal on the right`);
|
|
58775
|
+
}
|
|
57808
58776
|
}
|
|
57809
58777
|
default:
|
|
57810
58778
|
// @ts-ignore
|
|
@@ -77485,7 +78453,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
77485
78453
|
|
|
77486
78454
|
|
|
77487
78455
|
|
|
77488
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _class3, _class4, _descriptor2, _descriptor3, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50,
|
|
78456
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _class3, _class4, _descriptor2, _descriptor3, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _dec45, _dec46, _dec47, _dec48, _dec49, _dec50, _class5, _class6, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47;
|
|
77489
78457
|
|
|
77490
78458
|
|
|
77491
78459
|
|
|
@@ -77527,8 +78495,8 @@ let ModalTitleNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
|
|
|
77527
78495
|
writable: true,
|
|
77528
78496
|
initializer: null
|
|
77529
78497
|
})), _class4)) || _class3);
|
|
77530
|
-
let FormNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [ModalTitleNode]), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_14__.PanelNode]), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("zeroreportoptions", [_ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__.ZeroReportOptionsNode]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode]), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("attachmentform", [_AttachmentForm_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode]), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Валидации из схемы. По умолчанию true. Отключены старым формам `), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isReadOnly", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отобразить форму в режиме чтения - все редактирование будет отключено (включая интерактивные элементы - валидации, фокус, подсветки тултипы и тд)"), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieDeprecationWarningEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать окно с предупреждением, что некоторые функции в ie не работают, с предложением скачать другие браузеры. Не блокирует взаимодействие"), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("compactActionPanel", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("enableCustomizationButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Включить кнопку настройки оформления"), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше определенного размера`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню)`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("
|
|
77531
|
-
После проверки фокус падает на невалидное поле, если это возможно. Например на input`),
|
|
78498
|
+
let FormNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.sugarNode)("form", `Корневой элемент формы.`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/FormParts/Form sync recursive .md$")), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_4__.DataBindingScopeMixinNode), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("userpicklist", [_UserPicklist_UserPicklistNode__WEBPACK_IMPORTED_MODULE_11__.UserPicklistNode]), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("tour", [_Tour_TourNode__WEBPACK_IMPORTED_MODULE_10__.TourNode]), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("fetchfunctions", [FetchFunctionsReferenceNode]), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("modalIE8", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("m", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec13 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("uf", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec14 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("forceNavigate", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec15 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hideUnitsAdder", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.InvalidUsage), _dec16 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("hasRegionalForms", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.UntypedUsage), _dec17 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("controls"), _dec18 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("modalheader", [ModalTitleNode]), _dec19 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("import", [_SugarNodes_Nodes_ImportNode__WEBPACK_IMPORTED_MODULE_7__.ImportNode]), _dec20 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("panel", [_Nodes_PanelNode__WEBPACK_IMPORTED_MODULE_14__.PanelNode]), _dec21 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.singleChild)("zeroreportoptions", [_ZeroReportOptions_ZeroReportOptionsNode__WEBPACK_IMPORTED_MODULE_13__.ZeroReportOptionsNode]), _dec22 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("page", [_Page_PageNode__WEBPACK_IMPORTED_MODULE_8__.PageNode]), _dec23 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("attachmentform", [_AttachmentForm_AttachmentFormNode__WEBPACK_IMPORTED_MODULE_9__.AttachmentFormNode]), _dec24 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("simple", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, ``), _dec25 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("schemaValidations", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Валидации из схемы. По умолчанию true. Отключены старым формам `), _dec26 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isReadOnly", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отобразить форму в режиме чтения - все редактирование будет отключено (включая интерактивные элементы - валидации, фокус, подсветки тултипы и тд)"), _dec27 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieDeprecationWarningEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Отображать окно с предупреждением, что некоторые функции в ie не работают, с предложением скачать другие браузеры. Не блокирует взаимодействие"), _dec28 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.deprecatedAttr)("compactActionPanel", _Serializer_DeprecationReason__WEBPACK_IMPORTED_MODULE_5__.DeprecationReason.Removed), _dec29 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("enableCustomizationButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, "Включить кнопку настройки оформления"), _dec30 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("ieSizeLimitation", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Это флаг включает отображение заглушки для IE, если фуф больше определенного размера`), _dec31 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("templates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Управляет влючение возможность создавать и применять шаблоны keweb-а (кнопка в меню)`), _dec32 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("plain", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Форма без боковой панели, которая будет содержать один раздел`), _dec33 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("requisite", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Есть подозрение что это свойство не используется`), _dec34 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("width", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec35 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("cssWidth", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Более преоритетный чем обычный width, задается как css`), _dec36 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("buttonSettingsType", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.enum(_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise, _Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant), `Разные настройки кнопок отправить и действий с формой. Сейчас есть только ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.Revise} / ${_Common_Enums_ButtonSettingsTypeEnum__WEBPACK_IMPORTED_MODULE_12__.ButtonSettingsTypeEnum.DigitalWarrant} который будет делать кнопки в плашке для simple form как у ИОН или Сверке ФСС`), _dec37 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("isEnableTemplates", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включить отображение кнопки шаблонов`), _dec38 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("validationBeforeSend", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Локальная проверка, которая не даст отправить форму, если есть невалидные поля.\n
|
|
78499
|
+
После проверки фокус падает на невалидное поле, если это возможно. Например на input`), _dec39 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("padding", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.lengthUnit, ``), _dec40 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("maxunitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `По дефолту 15. Если количество разделов превышает \`maxunitscount\`, начинает работать частичный рендеринг. Отрисовывается столько разделов вниз от текущего, сколько задано в настройке, а при скроллинге вниз рендерятся следующие. Используется для больших форм с множественными разделами (напр, ЕНВД, Прибыль), помогает облегчить загрузку редактора`), _dec41 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("onExternalInitSection", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.helperFunctionName, `Выполнение хелпер функции при вызове keweb-ого лайтбокса от внешних ребят. Когда редактор открывается из Контур Бухагалтерии или ТО. Чтобы вызвать - надо в query params передать initSectionLightbox="Path" где Path - путь до раздела`), _dec42 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("unitscount", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, ``), _dec43 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("transferText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.localizedString, `Текст в лайтбоксе, который появляется по кнопке "Перенести данные"`), _dec44 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("navigationLimit", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество множественных разделов при котором навигация сворачивается (в левой колонке отображаются не все экземпляры), как выглядит можешь посмотреть в ЕНВД при количестве разделов 2 больше 15`), _dec45 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufButtonEnabled", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Включает кнопку загрузить отчет в "Другие действия" в панели слева.`), _dec46 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.markupAttr)("fufSizeTooLargeErrorText", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.string, `Описание ошибки для большого размера файла`), _dec47 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("uploadFufLightboxHideDemandNameButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.boolean, `Отключает кнопку "Показать имя требования" внутри лайтбокса Загрузки файла.`), _dec48 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attr)("defaultUnitsCountForPaging", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.attrType.number, `Количество инстансов множественного раздела на котором включается паджинация раздела`), _dec49 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("type", [_validationGenerator_Nodes_TypeNode__WEBPACK_IMPORTED_MODULE_3__.TypeNode]), _dec50 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.children)("types", [_TypeListNode__WEBPACK_IMPORTED_MODULE_15__.TypeListNode]), _dec6(_class5 = (_class6 = class FormNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_6__.SugarNodeBase {
|
|
77532
78500
|
constructor(...args) {
|
|
77533
78501
|
super(...args);
|
|
77534
78502
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataScope", _descriptor4, this);
|
|
@@ -77556,26 +78524,25 @@ let FormNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
77556
78524
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "enableCustomizationButton", _descriptor26, this);
|
|
77557
78525
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "ieSizeLimitation", _descriptor27, this);
|
|
77558
78526
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "templates", _descriptor28, this);
|
|
77559
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77560
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77561
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77562
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77563
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77564
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77565
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77566
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77567
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77568
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77569
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77570
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77571
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77572
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77573
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77574
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77575
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77576
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77577
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
77578
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor48, this);
|
|
78527
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "plain", _descriptor29, this);
|
|
78528
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "requisite", _descriptor30, this);
|
|
78529
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "width", _descriptor31, this);
|
|
78530
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "cssWidth", _descriptor32, this);
|
|
78531
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "buttonSettingsType", _descriptor33, this);
|
|
78532
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "isEnableTemplates", _descriptor34, this);
|
|
78533
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationBeforeSend", _descriptor35, this);
|
|
78534
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "padding", _descriptor36, this);
|
|
78535
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "maxUnitsCount", _descriptor37, this);
|
|
78536
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onExternalInitSection", _descriptor38, this);
|
|
78537
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "unitsCount", _descriptor39, this);
|
|
78538
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "transferText", _descriptor40, this);
|
|
78539
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "navigationLimit", _descriptor41, this);
|
|
78540
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufButtonEnabled", _descriptor42, this);
|
|
78541
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "fufSizeTooLargeErrorText", _descriptor43, this);
|
|
78542
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "uploadFufLightboxHideDemandNameButton", _descriptor44, this);
|
|
78543
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "defaultUnitsCountForPaging", _descriptor45, this);
|
|
78544
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "types", _descriptor46, this);
|
|
78545
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "typeLists", _descriptor47, this);
|
|
77579
78546
|
}
|
|
77580
78547
|
getOwnPath() {
|
|
77581
78548
|
return this.dataScope.getOwnPath();
|
|
@@ -77711,102 +78678,97 @@ let FormNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_
|
|
|
77711
78678
|
enumerable: true,
|
|
77712
78679
|
writable: true,
|
|
77713
78680
|
initializer: null
|
|
77714
|
-
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "
|
|
77715
|
-
configurable: true,
|
|
77716
|
-
enumerable: true,
|
|
77717
|
-
writable: true,
|
|
77718
|
-
initializer: null
|
|
77719
|
-
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "plain", [_dec33], {
|
|
78681
|
+
}), _descriptor29 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "plain", [_dec32], {
|
|
77720
78682
|
configurable: true,
|
|
77721
78683
|
enumerable: true,
|
|
77722
78684
|
writable: true,
|
|
77723
78685
|
initializer: null
|
|
77724
|
-
}),
|
|
78686
|
+
}), _descriptor30 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "requisite", [_dec33], {
|
|
77725
78687
|
configurable: true,
|
|
77726
78688
|
enumerable: true,
|
|
77727
78689
|
writable: true,
|
|
77728
78690
|
initializer: null
|
|
77729
|
-
}),
|
|
78691
|
+
}), _descriptor31 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "width", [_dec34], {
|
|
77730
78692
|
configurable: true,
|
|
77731
78693
|
enumerable: true,
|
|
77732
78694
|
writable: true,
|
|
77733
78695
|
initializer: null
|
|
77734
|
-
}),
|
|
78696
|
+
}), _descriptor32 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "cssWidth", [_dec35], {
|
|
77735
78697
|
configurable: true,
|
|
77736
78698
|
enumerable: true,
|
|
77737
78699
|
writable: true,
|
|
77738
78700
|
initializer: null
|
|
77739
|
-
}),
|
|
78701
|
+
}), _descriptor33 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "buttonSettingsType", [_dec36], {
|
|
77740
78702
|
configurable: true,
|
|
77741
78703
|
enumerable: true,
|
|
77742
78704
|
writable: true,
|
|
77743
78705
|
initializer: null
|
|
77744
|
-
}),
|
|
78706
|
+
}), _descriptor34 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "isEnableTemplates", [_dec37], {
|
|
77745
78707
|
configurable: true,
|
|
77746
78708
|
enumerable: true,
|
|
77747
78709
|
writable: true,
|
|
77748
78710
|
initializer: null
|
|
77749
|
-
}),
|
|
78711
|
+
}), _descriptor35 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "validationBeforeSend", [_dec38], {
|
|
77750
78712
|
configurable: true,
|
|
77751
78713
|
enumerable: true,
|
|
77752
78714
|
writable: true,
|
|
77753
78715
|
initializer: null
|
|
77754
|
-
}),
|
|
78716
|
+
}), _descriptor36 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "padding", [_dec39], {
|
|
77755
78717
|
configurable: true,
|
|
77756
78718
|
enumerable: true,
|
|
77757
78719
|
writable: true,
|
|
77758
78720
|
initializer: null
|
|
77759
|
-
}),
|
|
78721
|
+
}), _descriptor37 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "maxUnitsCount", [_dec40], {
|
|
77760
78722
|
configurable: true,
|
|
77761
78723
|
enumerable: true,
|
|
77762
78724
|
writable: true,
|
|
77763
78725
|
initializer: null
|
|
77764
|
-
}),
|
|
78726
|
+
}), _descriptor38 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "onExternalInitSection", [_dec41], {
|
|
77765
78727
|
configurable: true,
|
|
77766
78728
|
enumerable: true,
|
|
77767
78729
|
writable: true,
|
|
77768
78730
|
initializer: null
|
|
77769
|
-
}),
|
|
78731
|
+
}), _descriptor39 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "unitsCount", [_dec42], {
|
|
77770
78732
|
configurable: true,
|
|
77771
78733
|
enumerable: true,
|
|
77772
78734
|
writable: true,
|
|
77773
78735
|
initializer: null
|
|
77774
|
-
}),
|
|
78736
|
+
}), _descriptor40 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "transferText", [_dec43], {
|
|
77775
78737
|
configurable: true,
|
|
77776
78738
|
enumerable: true,
|
|
77777
78739
|
writable: true,
|
|
77778
78740
|
initializer: null
|
|
77779
|
-
}),
|
|
78741
|
+
}), _descriptor41 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "navigationLimit", [_dec44], {
|
|
77780
78742
|
configurable: true,
|
|
77781
78743
|
enumerable: true,
|
|
77782
78744
|
writable: true,
|
|
77783
78745
|
initializer: null
|
|
77784
|
-
}),
|
|
78746
|
+
}), _descriptor42 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "uploadFufButtonEnabled", [_dec45], {
|
|
77785
78747
|
configurable: true,
|
|
77786
78748
|
enumerable: true,
|
|
77787
78749
|
writable: true,
|
|
77788
78750
|
initializer: null
|
|
77789
|
-
}),
|
|
78751
|
+
}), _descriptor43 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "fufSizeTooLargeErrorText", [_dec46], {
|
|
77790
78752
|
configurable: true,
|
|
77791
78753
|
enumerable: true,
|
|
77792
78754
|
writable: true,
|
|
77793
78755
|
initializer: null
|
|
77794
|
-
}),
|
|
78756
|
+
}), _descriptor44 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "uploadFufLightboxHideDemandNameButton", [_dec47], {
|
|
77795
78757
|
configurable: true,
|
|
77796
78758
|
enumerable: true,
|
|
77797
78759
|
writable: true,
|
|
77798
78760
|
initializer: null
|
|
77799
|
-
}),
|
|
78761
|
+
}), _descriptor45 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "defaultUnitsCountForPaging", [_dec48], {
|
|
77800
78762
|
configurable: true,
|
|
77801
78763
|
enumerable: true,
|
|
77802
78764
|
writable: true,
|
|
77803
78765
|
initializer: null
|
|
77804
|
-
}),
|
|
78766
|
+
}), _descriptor46 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "types", [_dec49], {
|
|
77805
78767
|
configurable: true,
|
|
77806
78768
|
enumerable: true,
|
|
77807
78769
|
writable: true,
|
|
77808
78770
|
initializer: null
|
|
77809
|
-
}),
|
|
78771
|
+
}), _descriptor47 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class6.prototype, "typeLists", [_dec50], {
|
|
77810
78772
|
configurable: true,
|
|
77811
78773
|
enumerable: true,
|
|
77812
78774
|
writable: true,
|
|
@@ -99608,7 +100570,6 @@ function getSettings(sugarRoot, gfv, additionalSettings, formJsonSettings) {
|
|
|
99608
100570
|
regions: [],
|
|
99609
100571
|
ieDeprecationWarningEnabled: sugarRoot.ieDeprecationWarningEnabled,
|
|
99610
100572
|
enableCustomizationButton: sugarRoot.enableCustomizationButton,
|
|
99611
|
-
__deleteMe__enableIndentToSingleUnit: sugarRoot.__deleteMe__enableIndentToSingleUnit,
|
|
99612
100573
|
isReadOnly: (_sugarRoot$isReadOnly = sugarRoot.isReadOnly) !== null && _sugarRoot$isReadOnly !== void 0 ? _sugarRoot$isReadOnly : false,
|
|
99613
100574
|
gfv: gfv,
|
|
99614
100575
|
...additionalSettings,
|