@cruglobal/godtools-shared 1.0.2-SNAPSHOT.1560 → 1.1.0-PR638-SNAPSHOT.1576
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/Kermit-kermit-core.js +65 -66
- package/Kermit-kermit-core.js.map +1 -1
- package/Kermit-kermit.js +17 -18
- package/Kermit-kermit.js.map +1 -1
- package/KustomExport-lib-coroutines.js +3 -3
- package/KustomExport-lib.js +3 -3
- package/android-gto-support-gto-support-androidx-annotation.js +3 -3
- package/android-gto-support-gto-support-fluidsonic-locale.js +3 -3
- package/antlr-kotlin-antlr-kotlin-runtime.js +4229 -4369
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +1365 -1097
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +239 -228
- package/fluid-locale.js.map +1 -1
- package/kotlin-js.js +44 -45
- package/kotlin-js.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +9063 -6922
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlinx-atomicfu-runtime.js +3 -3
- package/kotlin-mpp-godtools-tool-parser-module-common.js +32 -7
- package/kotlin-mpp-godtools-tool-parser-module-common.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +532 -585
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +3514 -4029
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-state.js +297 -271
- package/kotlin-mpp-godtools-tool-parser-module-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +143 -94
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +11 -7
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlinx-atomicfu.js +36 -37
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +3248 -3279
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
- package/seskar-core.js +3 -3
- package/seskar-react.js +3 -3
|
@@ -1,203 +1,198 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports', './antlr-kotlin-antlr-kotlin-runtime.js', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports, require('./antlr-kotlin-antlr-kotlin-runtime.js'), require('./kotlin-kotlin-stdlib.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof
|
|
7
|
+
if (typeof globalThis['antlr-kotlin-antlr-kotlin-runtime'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'. Its dependency 'antlr-kotlin-antlr-kotlin-runtime' was not found. Please, check whether 'antlr-kotlin-antlr-kotlin-runtime' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof
|
|
10
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-parser-expressions'.");
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
globalThis['kotlin-mpp-godtools-tool-parser-module-parser-expressions'] = factory(typeof globalThis['kotlin-mpp-godtools-tool-parser-module-parser-expressions'] === 'undefined' ? {} : globalThis['kotlin-mpp-godtools-tool-parser-module-parser-expressions'], globalThis['antlr-kotlin-antlr-kotlin-runtime'], globalThis['kotlin-kotlin-stdlib']);
|
|
14
14
|
}
|
|
15
|
-
}(
|
|
15
|
+
}(function (_, kotlin_com_strumenta_antlr_kotlin_runtime, kotlin_kotlin) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
|
-
var AbstractParseTreeVisitor = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var RuntimeMetaData_instance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
23
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
24
|
-
var ATNDeserializer = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
25
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
26
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
27
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
28
|
-
var DFA = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
29
|
-
var PredictionContextCache = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
30
|
-
var VocabularyImpl = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
31
|
-
var
|
|
32
|
-
var Lexer = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
33
|
-
var LexerATNSimulator = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
34
|
-
var
|
|
18
|
+
var AbstractParseTreeVisitor = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.k;
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.d7;
|
|
20
|
+
var initMetadataForClass = kotlin_kotlin.$_$.o6;
|
|
21
|
+
var VOID = kotlin_kotlin.$_$.d;
|
|
22
|
+
var RuntimeMetaData_instance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.d;
|
|
23
|
+
var Unit_instance = kotlin_kotlin.$_$.n2;
|
|
24
|
+
var ATNDeserializer = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.e;
|
|
25
|
+
var toCharArray = kotlin_kotlin.$_$.t8;
|
|
26
|
+
var fillArrayVal = kotlin_kotlin.$_$.i6;
|
|
27
|
+
var ensureNotNull = kotlin_kotlin.$_$.z9;
|
|
28
|
+
var DFA = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.i;
|
|
29
|
+
var PredictionContextCache = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.h;
|
|
30
|
+
var VocabularyImpl = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.u;
|
|
31
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.p6;
|
|
32
|
+
var Lexer = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.p;
|
|
33
|
+
var LexerATNSimulator = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.f;
|
|
34
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.r6;
|
|
35
35
|
var ParserRuleContext_init_$Init$ = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.b;
|
|
36
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
36
|
+
var objectCreate = kotlin_kotlin.$_$.c7;
|
|
37
37
|
var ParserRuleContext_init_$Init$_0 = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.a;
|
|
38
|
-
var ParserRuleContext = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
var THROW_CCE = kotlin_kotlin.$_$.i9;
|
|
49
|
-
var toString = kotlin_kotlin.$_$.x6;
|
|
38
|
+
var ParserRuleContext = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.r;
|
|
39
|
+
var isInterface = kotlin_kotlin.$_$.w6;
|
|
40
|
+
var Long = kotlin_kotlin.$_$.n9;
|
|
41
|
+
var FailedPredicateException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.o;
|
|
42
|
+
var RecognitionException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.t;
|
|
43
|
+
var Parser = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.s;
|
|
44
|
+
var ParserATNSimulator = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.g;
|
|
45
|
+
var NoViableAltException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.q;
|
|
46
|
+
var THROW_CCE = kotlin_kotlin.$_$.s9;
|
|
47
|
+
var toString = kotlin_kotlin.$_$.g7;
|
|
50
48
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
51
|
-
var toSet = kotlin_kotlin.$_$.
|
|
52
|
-
var emptySet = kotlin_kotlin.$_$.
|
|
53
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
54
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
55
|
-
var CharStreams_getInstance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
56
|
-
var CommonTokenStream = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
57
|
-
var BailErrorStrategy = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
58
|
-
var
|
|
59
|
-
var
|
|
60
|
-
var emptyList = kotlin_kotlin.$_$.n3;
|
|
49
|
+
var toSet = kotlin_kotlin.$_$.b5;
|
|
50
|
+
var emptySet = kotlin_kotlin.$_$.v3;
|
|
51
|
+
var getStringHashCode = kotlin_kotlin.$_$.m6;
|
|
52
|
+
var isBlank = kotlin_kotlin.$_$.g8;
|
|
53
|
+
var CharStreams_getInstance = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.c;
|
|
54
|
+
var CommonTokenStream = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.n;
|
|
55
|
+
var BailErrorStrategy = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.m;
|
|
56
|
+
var ParseCancellationException = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.j;
|
|
57
|
+
var emptyList = kotlin_kotlin.$_$.t3;
|
|
61
58
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
62
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
63
|
-
var TerminalNode = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.
|
|
64
|
-
var addAll = kotlin_kotlin.$_$.
|
|
65
|
-
var toInt = kotlin_kotlin.$_$.
|
|
59
|
+
var listOfNotNull = kotlin_kotlin.$_$.l4;
|
|
60
|
+
var TerminalNode = kotlin_com_strumenta_antlr_kotlin_runtime.$_$.l;
|
|
61
|
+
var addAll = kotlin_kotlin.$_$.d3;
|
|
62
|
+
var toInt = kotlin_kotlin.$_$.y8;
|
|
66
63
|
//endregion
|
|
67
64
|
//region block: pre-declaration
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
setMetadataFor(StateExpressionEvaluator, 'StateExpressionEvaluator', classMeta);
|
|
65
|
+
initMetadataForInterface(StateExpressionVisitor, 'StateExpressionVisitor');
|
|
66
|
+
initMetadataForClass(StateExpressionBaseVisitor, 'StateExpressionBaseVisitor', VOID, AbstractParseTreeVisitor, [AbstractParseTreeVisitor, StateExpressionVisitor]);
|
|
67
|
+
initMetadataForCompanion(Companion);
|
|
68
|
+
initMetadataForClass(StateExpressionLexer, 'StateExpressionLexer', VOID, Lexer);
|
|
69
|
+
initMetadataForInterface(StateExpressionListener, 'StateExpressionListener');
|
|
70
|
+
initMetadataForCompanion(Companion_0);
|
|
71
|
+
initMetadataForClass(BooleanExprContext, 'BooleanExprContext', BooleanExprContext_init_$Create$_0, ParserRuleContext);
|
|
72
|
+
initMetadataForClass(IntCmpExprContext, 'IntCmpExprContext', VOID, BooleanExprContext);
|
|
73
|
+
initMetadataForClass(ParExprContext, 'ParExprContext', VOID, BooleanExprContext);
|
|
74
|
+
initMetadataForClass(BooleanAtomContext, 'BooleanAtomContext', VOID, BooleanExprContext);
|
|
75
|
+
initMetadataForClass(EqExprContext, 'EqExprContext', VOID, BooleanExprContext);
|
|
76
|
+
initMetadataForClass(NotExprContext, 'NotExprContext', VOID, BooleanExprContext);
|
|
77
|
+
initMetadataForClass(IsSetFuncContext, 'IsSetFuncContext', VOID, BooleanExprContext);
|
|
78
|
+
initMetadataForClass(OrExprContext, 'OrExprContext', VOID, BooleanExprContext);
|
|
79
|
+
initMetadataForClass(AndExprContext, 'AndExprContext', VOID, BooleanExprContext);
|
|
80
|
+
initMetadataForClass(IntExprContext, 'IntExprContext', IntExprContext_init_$Create$_0, ParserRuleContext);
|
|
81
|
+
initMetadataForClass(IntAtomContext, 'IntAtomContext', VOID, IntExprContext);
|
|
82
|
+
initMetadataForClass(ParIntExprContext, 'ParIntExprContext', VOID, IntExprContext);
|
|
83
|
+
initMetadataForClass(ValuesFuncContext, 'ValuesFuncContext', VOID, IntExprContext);
|
|
84
|
+
initMetadataForClass(StateExpressionParser, 'StateExpressionParser', VOID, Parser);
|
|
85
|
+
initMetadataForClass(Expression, 'Expression');
|
|
86
|
+
initMetadataForClass(StateExpressionEvaluator$booleanExpr$1, VOID, VOID, StateExpressionBaseVisitor);
|
|
87
|
+
initMetadataForClass(StateExpressionEvaluator$intExpr$1, VOID, VOID, StateExpressionBaseVisitor);
|
|
88
|
+
initMetadataForClass(StateExpressionEvaluator, 'StateExpressionEvaluator');
|
|
93
89
|
//endregion
|
|
94
90
|
function StateExpressionBaseVisitor() {
|
|
95
91
|
AbstractParseTreeVisitor.call(this);
|
|
96
92
|
}
|
|
97
|
-
protoOf(StateExpressionBaseVisitor).
|
|
98
|
-
return this.
|
|
93
|
+
protoOf(StateExpressionBaseVisitor).g2v = function (ctx) {
|
|
94
|
+
return this.c28(ctx);
|
|
99
95
|
};
|
|
100
|
-
protoOf(StateExpressionBaseVisitor).
|
|
101
|
-
return this.
|
|
96
|
+
protoOf(StateExpressionBaseVisitor).h2v = function (ctx) {
|
|
97
|
+
return this.c28(ctx);
|
|
102
98
|
};
|
|
103
|
-
protoOf(StateExpressionBaseVisitor).
|
|
104
|
-
return this.
|
|
99
|
+
protoOf(StateExpressionBaseVisitor).i2v = function (ctx) {
|
|
100
|
+
return this.c28(ctx);
|
|
105
101
|
};
|
|
106
|
-
protoOf(StateExpressionBaseVisitor).
|
|
107
|
-
return this.
|
|
102
|
+
protoOf(StateExpressionBaseVisitor).j2v = function (ctx) {
|
|
103
|
+
return this.c28(ctx);
|
|
108
104
|
};
|
|
109
|
-
protoOf(StateExpressionBaseVisitor).
|
|
110
|
-
return this.
|
|
105
|
+
protoOf(StateExpressionBaseVisitor).k2v = function (ctx) {
|
|
106
|
+
return this.c28(ctx);
|
|
111
107
|
};
|
|
112
|
-
protoOf(StateExpressionBaseVisitor).
|
|
113
|
-
return this.
|
|
108
|
+
protoOf(StateExpressionBaseVisitor).l2v = function (ctx) {
|
|
109
|
+
return this.c28(ctx);
|
|
114
110
|
};
|
|
115
|
-
protoOf(StateExpressionBaseVisitor).
|
|
116
|
-
return this.
|
|
111
|
+
protoOf(StateExpressionBaseVisitor).m2v = function (ctx) {
|
|
112
|
+
return this.c28(ctx);
|
|
117
113
|
};
|
|
118
|
-
protoOf(StateExpressionBaseVisitor).
|
|
119
|
-
return this.
|
|
114
|
+
protoOf(StateExpressionBaseVisitor).n2v = function (ctx) {
|
|
115
|
+
return this.c28(ctx);
|
|
120
116
|
};
|
|
121
|
-
protoOf(StateExpressionBaseVisitor).
|
|
122
|
-
return this.
|
|
117
|
+
protoOf(StateExpressionBaseVisitor).o2v = function (ctx) {
|
|
118
|
+
return this.c28(ctx);
|
|
123
119
|
};
|
|
124
|
-
protoOf(StateExpressionBaseVisitor).
|
|
125
|
-
return this.
|
|
120
|
+
protoOf(StateExpressionBaseVisitor).p2v = function (ctx) {
|
|
121
|
+
return this.c28(ctx);
|
|
126
122
|
};
|
|
127
|
-
protoOf(StateExpressionBaseVisitor).
|
|
128
|
-
return this.
|
|
123
|
+
protoOf(StateExpressionBaseVisitor).q2v = function (ctx) {
|
|
124
|
+
return this.c28(ctx);
|
|
129
125
|
};
|
|
130
126
|
function Companion() {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
this.
|
|
135
|
-
|
|
136
|
-
var tmp_0 =
|
|
137
|
-
var tmp_1 =
|
|
138
|
-
var tmp_2 = this.x2t_1.g27();
|
|
127
|
+
Companion_instance = this;
|
|
128
|
+
RuntimeMetaData_instance.e28('4.13.1', '4.13.1');
|
|
129
|
+
this.r2v_1 = "\x04\x00\x12{\x06\uFFFF\uFFFF\x02\x00\x07\x00\x02\x01\x07\x01\x02\x02\x07\x02\x02\x03\x07\x03\x02\x04\x07\x04\x02\x05\x07\x05\x02\x06\x07\x06\x02\x07\x07\x07\x02\b\x07\b\x02\t\x07\t\x02\n\x07\n\x02\x0B\x07\x0B\x02\f\x07\f\x02\r\x07\r\x02\x0E\x07\x0E\x02\x0F\x07\x0F\x02\x10\x07\x10\x02\x11\x07\x11\x01\x00\x01\x00\x01\x00\x01\x01\x01\x01\x01\x01\x01\x02\x01\x02\x01\x02\x01\x03\x01\x03\x01\x03\x01\x04\x01\x04\x01\x05\x01\x05\x01\x05\x01\x06\x01\x06\x01\x07\x01\x07\x01\x07\x01\b\x01\b\x01\t\x01\t\x01\n\x01\n\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\f\x01\f\x01\f\x01\f\x01\f\x01\f\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0F\x04\x0F_\b\x0F\x0B\x0F\f\x0F`\x01\x10\x01\x10\x05\x10e\b\x10\n\x10\f\x10h\t\x10\x01\x10\x01\x10\x01\x10\x05\x10m\b\x10\n\x10\f\x10p\t\x10\x01\x10\x03\x10s\b\x10\x01\x11\x01\x11\x05\x11w\b\x11\n\x11\f\x11z\t\x11\x00\x00\x12\x01\x01\x03\x02\x05\x03\x07\x04\t\x05\x0B\x06\r\x07\x0F\b\x11\t\x13\n\x15\x0B\x17\f\x19\r\x1B\x0E\x1D\x0F\x1F\x10!\x11#\x12\x01\x00\x05\x01\x0009\x01\x00\"\"\x01\x00''\x02\x00AZaz\x04\x0009AZ__az\x7F\x00\x01\x01\x00\x00\x00\x00\x03\x01\x00\x00\x00\x00\x05\x01\x00\x00\x00\x00\x07\x01\x00\x00\x00\x00\t\x01\x00\x00\x00\x00\x0B\x01\x00\x00\x00\x00\r\x01\x00\x00\x00\x00\x0F\x01\x00\x00\x00\x00\x11\x01\x00\x00\x00\x00\x13\x01\x00\x00\x00\x00\x15\x01\x00\x00\x00\x00\x17\x01\x00\x00\x00\x00\x19\x01\x00\x00\x00\x00\x1B\x01\x00\x00\x00\x00\x1D\x01\x00\x00\x00\x00\x1F\x01\x00\x00\x00\x00!\x01\x00\x00\x00\x00#\x01\x00\x00\x00\x01%\x01\x00\x00\x00\x03(\x01\x00\x00\x00\x05+\x01\x00\x00\x00\x07.\x01\x00\x00\x00\t1\x01\x00\x00\x00\x0B3\x01\x00\x00\x00\r6\x01\x00\x00\x00\x0F8\x01\x00\x00\x00\x11;\x01\x00\x00\x00\x13=\x01\x00\x00\x00\x15?\x01\x00\x00\x00\x17A\x01\x00\x00\x00\x19F\x01\x00\x00\x00\x1BL\x01\x00\x00\x00\x1DT\x01\x00\x00\x00\x1F^\x01\x00\x00\x00!r\x01\x00\x00\x00#t\x01\x00\x00\x00%&\x05=\x00\x00&'\x05=\x00\x00'\x02\x01\x00\x00\x00()\x05!\x00\x00)*\x05=\x00\x00*\x04\x01\x00\x00\x00+,\x05&\x00\x00,-\x05&\x00\x00-\x06\x01\x00\x00\x00./\x05|\x00\x00/0\x05|\x00\x000\b\x01\x00\x00\x0012\x05!\x00\x002\n\x01\x00\x00\x0034\x05>\x00\x0045\x05=\x00\x005\f\x01\x00\x00\x0067\x05>\x00\x007\x0E\x01\x00\x00\x0089\x05<\x00\x009:\x05=\x00\x00:\x10\x01\x00\x00\x00;<\x05<\x00\x00<\x12\x01\x00\x00\x00=>\x05(\x00\x00>\x14\x01\x00\x00\x00?@\x05)\x00\x00@\x16\x01\x00\x00\x00AB\x05t\x00\x00BC\x05r\x00\x00CD\x05u\x00\x00DE\x05e\x00\x00E\x18\x01\x00\x00\x00FG\x05f\x00\x00GH\x05a\x00\x00HI\x05l\x00\x00IJ\x05s\x00\x00JK\x05e\x00\x00K\x1A\x01\x00\x00\x00LM\x05i\x00\x00MN\x05s\x00\x00NO\x05S\x00\x00OP\x05e\x00\x00PQ\x05t\x00\x00QR\x01\x00\x00\x00RS\x03\x13\t\x00S\x1C\x01\x00\x00\x00TU\x05v\x00\x00UV\x05a\x00\x00VW\x05l\x00\x00WX\x05u\x00\x00XY\x05e\x00\x00YZ\x05s\x00\x00Z[\x01\x00\x00\x00[\\\x03\x13\t\x00\\\x1E\x01\x00\x00\x00]_\x07\x00\x00\x00^]\x01\x00\x00\x00_`\x01\x00\x00\x00`^\x01\x00\x00\x00`a\x01\x00\x00\x00a \x01\x00\x00\x00bf\x05\"\x00\x00ce\b\x01\x00\x00dc\x01\x00\x00\x00eh\x01\x00\x00\x00fd\x01\x00\x00\x00fg\x01\x00\x00\x00gi\x01\x00\x00\x00hf\x01\x00\x00\x00is\x05\"\x00\x00jn\x05'\x00\x00km\b\x02\x00\x00lk\x01\x00\x00\x00mp\x01\x00\x00\x00nl\x01\x00\x00\x00no\x01\x00\x00\x00oq\x01\x00\x00\x00pn\x01\x00\x00\x00qs\x05'\x00\x00rb\x01\x00\x00\x00rj\x01\x00\x00\x00s\"\x01\x00\x00\x00tx\x07\x03\x00\x00uw\x07\x04\x00\x00vu\x01\x00\x00\x00wz\x01\x00\x00\x00xv\x01\x00\x00\x00xy\x01\x00\x00\x00y$\x01\x00\x00\x00zx\x01\x00\x00\x00\x06\x00`fnrx\x00";
|
|
130
|
+
this.s2v_1 = (new ATNDeserializer()).q2c(toCharArray("\x04\x00\x12{\x06\uFFFF\uFFFF\x02\x00\x07\x00\x02\x01\x07\x01\x02\x02\x07\x02\x02\x03\x07\x03\x02\x04\x07\x04\x02\x05\x07\x05\x02\x06\x07\x06\x02\x07\x07\x07\x02\b\x07\b\x02\t\x07\t\x02\n\x07\n\x02\x0B\x07\x0B\x02\f\x07\f\x02\r\x07\r\x02\x0E\x07\x0E\x02\x0F\x07\x0F\x02\x10\x07\x10\x02\x11\x07\x11\x01\x00\x01\x00\x01\x00\x01\x01\x01\x01\x01\x01\x01\x02\x01\x02\x01\x02\x01\x03\x01\x03\x01\x03\x01\x04\x01\x04\x01\x05\x01\x05\x01\x05\x01\x06\x01\x06\x01\x07\x01\x07\x01\x07\x01\b\x01\b\x01\t\x01\t\x01\n\x01\n\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\f\x01\f\x01\f\x01\f\x01\f\x01\f\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0F\x04\x0F_\b\x0F\x0B\x0F\f\x0F`\x01\x10\x01\x10\x05\x10e\b\x10\n\x10\f\x10h\t\x10\x01\x10\x01\x10\x01\x10\x05\x10m\b\x10\n\x10\f\x10p\t\x10\x01\x10\x03\x10s\b\x10\x01\x11\x01\x11\x05\x11w\b\x11\n\x11\f\x11z\t\x11\x00\x00\x12\x01\x01\x03\x02\x05\x03\x07\x04\t\x05\x0B\x06\r\x07\x0F\b\x11\t\x13\n\x15\x0B\x17\f\x19\r\x1B\x0E\x1D\x0F\x1F\x10!\x11#\x12\x01\x00\x05\x01\x0009\x01\x00\"\"\x01\x00''\x02\x00AZaz\x04\x0009AZ__az\x7F\x00\x01\x01\x00\x00\x00\x00\x03\x01\x00\x00\x00\x00\x05\x01\x00\x00\x00\x00\x07\x01\x00\x00\x00\x00\t\x01\x00\x00\x00\x00\x0B\x01\x00\x00\x00\x00\r\x01\x00\x00\x00\x00\x0F\x01\x00\x00\x00\x00\x11\x01\x00\x00\x00\x00\x13\x01\x00\x00\x00\x00\x15\x01\x00\x00\x00\x00\x17\x01\x00\x00\x00\x00\x19\x01\x00\x00\x00\x00\x1B\x01\x00\x00\x00\x00\x1D\x01\x00\x00\x00\x00\x1F\x01\x00\x00\x00\x00!\x01\x00\x00\x00\x00#\x01\x00\x00\x00\x01%\x01\x00\x00\x00\x03(\x01\x00\x00\x00\x05+\x01\x00\x00\x00\x07.\x01\x00\x00\x00\t1\x01\x00\x00\x00\x0B3\x01\x00\x00\x00\r6\x01\x00\x00\x00\x0F8\x01\x00\x00\x00\x11;\x01\x00\x00\x00\x13=\x01\x00\x00\x00\x15?\x01\x00\x00\x00\x17A\x01\x00\x00\x00\x19F\x01\x00\x00\x00\x1BL\x01\x00\x00\x00\x1DT\x01\x00\x00\x00\x1F^\x01\x00\x00\x00!r\x01\x00\x00\x00#t\x01\x00\x00\x00%&\x05=\x00\x00&'\x05=\x00\x00'\x02\x01\x00\x00\x00()\x05!\x00\x00)*\x05=\x00\x00*\x04\x01\x00\x00\x00+,\x05&\x00\x00,-\x05&\x00\x00-\x06\x01\x00\x00\x00./\x05|\x00\x00/0\x05|\x00\x000\b\x01\x00\x00\x0012\x05!\x00\x002\n\x01\x00\x00\x0034\x05>\x00\x0045\x05=\x00\x005\f\x01\x00\x00\x0067\x05>\x00\x007\x0E\x01\x00\x00\x0089\x05<\x00\x009:\x05=\x00\x00:\x10\x01\x00\x00\x00;<\x05<\x00\x00<\x12\x01\x00\x00\x00=>\x05(\x00\x00>\x14\x01\x00\x00\x00?@\x05)\x00\x00@\x16\x01\x00\x00\x00AB\x05t\x00\x00BC\x05r\x00\x00CD\x05u\x00\x00DE\x05e\x00\x00E\x18\x01\x00\x00\x00FG\x05f\x00\x00GH\x05a\x00\x00HI\x05l\x00\x00IJ\x05s\x00\x00JK\x05e\x00\x00K\x1A\x01\x00\x00\x00LM\x05i\x00\x00MN\x05s\x00\x00NO\x05S\x00\x00OP\x05e\x00\x00PQ\x05t\x00\x00QR\x01\x00\x00\x00RS\x03\x13\t\x00S\x1C\x01\x00\x00\x00TU\x05v\x00\x00UV\x05a\x00\x00VW\x05l\x00\x00WX\x05u\x00\x00XY\x05e\x00\x00YZ\x05s\x00\x00Z[\x01\x00\x00\x00[\\\x03\x13\t\x00\\\x1E\x01\x00\x00\x00]_\x07\x00\x00\x00^]\x01\x00\x00\x00_`\x01\x00\x00\x00`^\x01\x00\x00\x00`a\x01\x00\x00\x00a \x01\x00\x00\x00bf\x05\"\x00\x00ce\b\x01\x00\x00dc\x01\x00\x00\x00eh\x01\x00\x00\x00fd\x01\x00\x00\x00fg\x01\x00\x00\x00gi\x01\x00\x00\x00hf\x01\x00\x00\x00is\x05\"\x00\x00jn\x05'\x00\x00km\b\x02\x00\x00lk\x01\x00\x00\x00mp\x01\x00\x00\x00nl\x01\x00\x00\x00no\x01\x00\x00\x00oq\x01\x00\x00\x00pn\x01\x00\x00\x00qs\x05'\x00\x00rb\x01\x00\x00\x00rj\x01\x00\x00\x00s\"\x01\x00\x00\x00tx\x07\x03\x00\x00uw\x07\x04\x00\x00vu\x01\x00\x00\x00wz\x01\x00\x00\x00xv\x01\x00\x00\x00xy\x01\x00\x00\x00y$\x01\x00\x00\x00zx\x01\x00\x00\x00\x06\x00`fnrx\x00"));
|
|
131
|
+
var tmp = this;
|
|
132
|
+
var tmp_0 = 0;
|
|
133
|
+
var tmp_1 = this.s2v_1.s28();
|
|
139
134
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
140
|
-
var
|
|
141
|
-
while (
|
|
142
|
-
var
|
|
143
|
-
tmp_3
|
|
144
|
-
|
|
135
|
+
var tmp_2 = fillArrayVal(Array(tmp_1), null);
|
|
136
|
+
while (tmp_0 < tmp_1) {
|
|
137
|
+
var tmp_3 = tmp_0;
|
|
138
|
+
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance().s2v_1.h29(tmp_3)), tmp_3);
|
|
139
|
+
tmp_0 = tmp_0 + 1 | 0;
|
|
145
140
|
}
|
|
146
|
-
|
|
147
|
-
this.
|
|
148
|
-
var
|
|
141
|
+
tmp.t2v_1 = tmp_2;
|
|
142
|
+
this.u2v_1 = new PredictionContextCache();
|
|
143
|
+
var tmp_4 = this;
|
|
149
144
|
// Inline function 'kotlin.arrayOf' call
|
|
150
145
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
151
146
|
// Inline function 'kotlin.js.asDynamic' call
|
|
152
|
-
|
|
153
|
-
var
|
|
147
|
+
tmp_4.v2v_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
148
|
+
var tmp_5 = this;
|
|
154
149
|
// Inline function 'kotlin.arrayOf' call
|
|
155
150
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
156
151
|
// Inline function 'kotlin.js.asDynamic' call
|
|
157
|
-
|
|
158
|
-
this.
|
|
152
|
+
tmp_5.w2v_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
153
|
+
this.x2v_1 = new VocabularyImpl(this.v2v_1, this.w2v_1);
|
|
159
154
|
}
|
|
160
|
-
var
|
|
155
|
+
var Companion_instance;
|
|
161
156
|
function Companion_getInstance() {
|
|
162
|
-
if (
|
|
157
|
+
if (Companion_instance == null)
|
|
163
158
|
new Companion();
|
|
164
|
-
return
|
|
159
|
+
return Companion_instance;
|
|
165
160
|
}
|
|
166
161
|
function StateExpressionLexer(input) {
|
|
167
162
|
Companion_getInstance();
|
|
168
163
|
Lexer.call(this, input);
|
|
169
|
-
this.
|
|
170
|
-
this.
|
|
171
|
-
this.
|
|
172
|
-
this.
|
|
173
|
-
this.
|
|
164
|
+
this.q2w_1 = new LexerATNSimulator(this, Companion_getInstance().s2v_1, Companion_getInstance().t2v_1, Companion_getInstance().u2v_1);
|
|
165
|
+
this.r2w_1 = 'StateExpression.g4';
|
|
166
|
+
this.s2w_1 = Companion_getInstance().s2v_1;
|
|
167
|
+
this.t2w_1 = Companion_getInstance().x2v_1;
|
|
168
|
+
this.u2w_1 = "\x04\x00\x12{\x06\uFFFF\uFFFF\x02\x00\x07\x00\x02\x01\x07\x01\x02\x02\x07\x02\x02\x03\x07\x03\x02\x04\x07\x04\x02\x05\x07\x05\x02\x06\x07\x06\x02\x07\x07\x07\x02\b\x07\b\x02\t\x07\t\x02\n\x07\n\x02\x0B\x07\x0B\x02\f\x07\f\x02\r\x07\r\x02\x0E\x07\x0E\x02\x0F\x07\x0F\x02\x10\x07\x10\x02\x11\x07\x11\x01\x00\x01\x00\x01\x00\x01\x01\x01\x01\x01\x01\x01\x02\x01\x02\x01\x02\x01\x03\x01\x03\x01\x03\x01\x04\x01\x04\x01\x05\x01\x05\x01\x05\x01\x06\x01\x06\x01\x07\x01\x07\x01\x07\x01\b\x01\b\x01\t\x01\t\x01\n\x01\n\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\x0B\x01\f\x01\f\x01\f\x01\f\x01\f\x01\f\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\r\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0E\x01\x0F\x04\x0F_\b\x0F\x0B\x0F\f\x0F`\x01\x10\x01\x10\x05\x10e\b\x10\n\x10\f\x10h\t\x10\x01\x10\x01\x10\x01\x10\x05\x10m\b\x10\n\x10\f\x10p\t\x10\x01\x10\x03\x10s\b\x10\x01\x11\x01\x11\x05\x11w\b\x11\n\x11\f\x11z\t\x11\x00\x00\x12\x01\x01\x03\x02\x05\x03\x07\x04\t\x05\x0B\x06\r\x07\x0F\b\x11\t\x13\n\x15\x0B\x17\f\x19\r\x1B\x0E\x1D\x0F\x1F\x10!\x11#\x12\x01\x00\x05\x01\x0009\x01\x00\"\"\x01\x00''\x02\x00AZaz\x04\x0009AZ__az\x7F\x00\x01\x01\x00\x00\x00\x00\x03\x01\x00\x00\x00\x00\x05\x01\x00\x00\x00\x00\x07\x01\x00\x00\x00\x00\t\x01\x00\x00\x00\x00\x0B\x01\x00\x00\x00\x00\r\x01\x00\x00\x00\x00\x0F\x01\x00\x00\x00\x00\x11\x01\x00\x00\x00\x00\x13\x01\x00\x00\x00\x00\x15\x01\x00\x00\x00\x00\x17\x01\x00\x00\x00\x00\x19\x01\x00\x00\x00\x00\x1B\x01\x00\x00\x00\x00\x1D\x01\x00\x00\x00\x00\x1F\x01\x00\x00\x00\x00!\x01\x00\x00\x00\x00#\x01\x00\x00\x00\x01%\x01\x00\x00\x00\x03(\x01\x00\x00\x00\x05+\x01\x00\x00\x00\x07.\x01\x00\x00\x00\t1\x01\x00\x00\x00\x0B3\x01\x00\x00\x00\r6\x01\x00\x00\x00\x0F8\x01\x00\x00\x00\x11;\x01\x00\x00\x00\x13=\x01\x00\x00\x00\x15?\x01\x00\x00\x00\x17A\x01\x00\x00\x00\x19F\x01\x00\x00\x00\x1BL\x01\x00\x00\x00\x1DT\x01\x00\x00\x00\x1F^\x01\x00\x00\x00!r\x01\x00\x00\x00#t\x01\x00\x00\x00%&\x05=\x00\x00&'\x05=\x00\x00'\x02\x01\x00\x00\x00()\x05!\x00\x00)*\x05=\x00\x00*\x04\x01\x00\x00\x00+,\x05&\x00\x00,-\x05&\x00\x00-\x06\x01\x00\x00\x00./\x05|\x00\x00/0\x05|\x00\x000\b\x01\x00\x00\x0012\x05!\x00\x002\n\x01\x00\x00\x0034\x05>\x00\x0045\x05=\x00\x005\f\x01\x00\x00\x0067\x05>\x00\x007\x0E\x01\x00\x00\x0089\x05<\x00\x009:\x05=\x00\x00:\x10\x01\x00\x00\x00;<\x05<\x00\x00<\x12\x01\x00\x00\x00=>\x05(\x00\x00>\x14\x01\x00\x00\x00?@\x05)\x00\x00@\x16\x01\x00\x00\x00AB\x05t\x00\x00BC\x05r\x00\x00CD\x05u\x00\x00DE\x05e\x00\x00E\x18\x01\x00\x00\x00FG\x05f\x00\x00GH\x05a\x00\x00HI\x05l\x00\x00IJ\x05s\x00\x00JK\x05e\x00\x00K\x1A\x01\x00\x00\x00LM\x05i\x00\x00MN\x05s\x00\x00NO\x05S\x00\x00OP\x05e\x00\x00PQ\x05t\x00\x00QR\x01\x00\x00\x00RS\x03\x13\t\x00S\x1C\x01\x00\x00\x00TU\x05v\x00\x00UV\x05a\x00\x00VW\x05l\x00\x00WX\x05u\x00\x00XY\x05e\x00\x00YZ\x05s\x00\x00Z[\x01\x00\x00\x00[\\\x03\x13\t\x00\\\x1E\x01\x00\x00\x00]_\x07\x00\x00\x00^]\x01\x00\x00\x00_`\x01\x00\x00\x00`^\x01\x00\x00\x00`a\x01\x00\x00\x00a \x01\x00\x00\x00bf\x05\"\x00\x00ce\b\x01\x00\x00dc\x01\x00\x00\x00eh\x01\x00\x00\x00fd\x01\x00\x00\x00fg\x01\x00\x00\x00gi\x01\x00\x00\x00hf\x01\x00\x00\x00is\x05\"\x00\x00jn\x05'\x00\x00km\b\x02\x00\x00lk\x01\x00\x00\x00mp\x01\x00\x00\x00nl\x01\x00\x00\x00no\x01\x00\x00\x00oq\x01\x00\x00\x00pn\x01\x00\x00\x00qs\x05'\x00\x00rb\x01\x00\x00\x00rj\x01\x00\x00\x00s\"\x01\x00\x00\x00tx\x07\x03\x00\x00uw\x07\x04\x00\x00vu\x01\x00\x00\x00wz\x01\x00\x00\x00xv\x01\x00\x00\x00xy\x01\x00\x00\x00y$\x01\x00\x00\x00zx\x01\x00\x00\x00\x06\x00`fnrx\x00";
|
|
174
169
|
var tmp = this;
|
|
175
170
|
// Inline function 'kotlin.arrayOf' call
|
|
176
171
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
177
172
|
// Inline function 'kotlin.js.asDynamic' call
|
|
178
|
-
tmp.
|
|
173
|
+
tmp.v2w_1 = ['EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
179
174
|
var tmp_0 = this;
|
|
180
175
|
// Inline function 'kotlin.arrayOf' call
|
|
181
176
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
182
177
|
// Inline function 'kotlin.js.asDynamic' call
|
|
183
|
-
tmp_0.
|
|
178
|
+
tmp_0.w2w_1 = ['DEFAULT_TOKEN_CHANNEL', 'HIDDEN'];
|
|
184
179
|
var tmp_1 = this;
|
|
185
180
|
// Inline function 'kotlin.arrayOf' call
|
|
186
181
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
187
182
|
// Inline function 'kotlin.js.asDynamic' call
|
|
188
|
-
tmp_1.
|
|
183
|
+
tmp_1.x2w_1 = ['DEFAULT_MODE'];
|
|
189
184
|
}
|
|
190
|
-
protoOf(StateExpressionLexer).
|
|
191
|
-
return this.
|
|
185
|
+
protoOf(StateExpressionLexer).w20 = function () {
|
|
186
|
+
return this.q2w_1;
|
|
192
187
|
};
|
|
193
|
-
protoOf(StateExpressionLexer).
|
|
194
|
-
return this.
|
|
188
|
+
protoOf(StateExpressionLexer).x20 = function () {
|
|
189
|
+
return this.s2w_1;
|
|
195
190
|
};
|
|
196
|
-
protoOf(StateExpressionLexer).
|
|
197
|
-
return this.
|
|
191
|
+
protoOf(StateExpressionLexer).o1z = function () {
|
|
192
|
+
return this.t2w_1;
|
|
198
193
|
};
|
|
199
|
-
protoOf(StateExpressionLexer).
|
|
200
|
-
return this.
|
|
194
|
+
protoOf(StateExpressionLexer).r21 = function () {
|
|
195
|
+
return this.v2w_1;
|
|
201
196
|
};
|
|
202
197
|
function StateExpressionListener() {
|
|
203
198
|
}
|
|
@@ -220,7 +215,7 @@
|
|
|
220
215
|
function IntCmpExprContext_init_$Init$(ctx, $this) {
|
|
221
216
|
BooleanExprContext_init_$Init$_0($this);
|
|
222
217
|
IntCmpExprContext.call($this);
|
|
223
|
-
$this.
|
|
218
|
+
$this.e2y(ctx);
|
|
224
219
|
return $this;
|
|
225
220
|
}
|
|
226
221
|
function IntCmpExprContext_init_$Create$(ctx) {
|
|
@@ -229,7 +224,7 @@
|
|
|
229
224
|
function ParExprContext_init_$Init$(ctx, $this) {
|
|
230
225
|
BooleanExprContext_init_$Init$_0($this);
|
|
231
226
|
ParExprContext.call($this);
|
|
232
|
-
$this.
|
|
227
|
+
$this.e2y(ctx);
|
|
233
228
|
return $this;
|
|
234
229
|
}
|
|
235
230
|
function ParExprContext_init_$Create$(ctx) {
|
|
@@ -238,7 +233,7 @@
|
|
|
238
233
|
function BooleanAtomContext_init_$Init$(ctx, $this) {
|
|
239
234
|
BooleanExprContext_init_$Init$_0($this);
|
|
240
235
|
BooleanAtomContext.call($this);
|
|
241
|
-
$this.
|
|
236
|
+
$this.e2y(ctx);
|
|
242
237
|
return $this;
|
|
243
238
|
}
|
|
244
239
|
function BooleanAtomContext_init_$Create$(ctx) {
|
|
@@ -247,7 +242,7 @@
|
|
|
247
242
|
function EqExprContext_init_$Init$(ctx, $this) {
|
|
248
243
|
BooleanExprContext_init_$Init$_0($this);
|
|
249
244
|
EqExprContext.call($this);
|
|
250
|
-
$this.
|
|
245
|
+
$this.e2y(ctx);
|
|
251
246
|
return $this;
|
|
252
247
|
}
|
|
253
248
|
function EqExprContext_init_$Create$(ctx) {
|
|
@@ -256,7 +251,7 @@
|
|
|
256
251
|
function NotExprContext_init_$Init$(ctx, $this) {
|
|
257
252
|
BooleanExprContext_init_$Init$_0($this);
|
|
258
253
|
NotExprContext.call($this);
|
|
259
|
-
$this.
|
|
254
|
+
$this.e2y(ctx);
|
|
260
255
|
return $this;
|
|
261
256
|
}
|
|
262
257
|
function NotExprContext_init_$Create$(ctx) {
|
|
@@ -265,7 +260,7 @@
|
|
|
265
260
|
function IsSetFuncContext_init_$Init$(ctx, $this) {
|
|
266
261
|
BooleanExprContext_init_$Init$_0($this);
|
|
267
262
|
IsSetFuncContext.call($this);
|
|
268
|
-
$this.
|
|
263
|
+
$this.e2y(ctx);
|
|
269
264
|
return $this;
|
|
270
265
|
}
|
|
271
266
|
function IsSetFuncContext_init_$Create$(ctx) {
|
|
@@ -274,7 +269,7 @@
|
|
|
274
269
|
function OrExprContext_init_$Init$(ctx, $this) {
|
|
275
270
|
BooleanExprContext_init_$Init$_0($this);
|
|
276
271
|
OrExprContext.call($this);
|
|
277
|
-
$this.
|
|
272
|
+
$this.e2y(ctx);
|
|
278
273
|
return $this;
|
|
279
274
|
}
|
|
280
275
|
function OrExprContext_init_$Create$(ctx) {
|
|
@@ -283,7 +278,7 @@
|
|
|
283
278
|
function AndExprContext_init_$Init$(ctx, $this) {
|
|
284
279
|
BooleanExprContext_init_$Init$_0($this);
|
|
285
280
|
AndExprContext.call($this);
|
|
286
|
-
$this.
|
|
281
|
+
$this.e2y(ctx);
|
|
287
282
|
return $this;
|
|
288
283
|
}
|
|
289
284
|
function AndExprContext_init_$Create$(ctx) {
|
|
@@ -308,7 +303,7 @@
|
|
|
308
303
|
function IntAtomContext_init_$Init$(ctx, $this) {
|
|
309
304
|
IntExprContext_init_$Init$_0($this);
|
|
310
305
|
IntAtomContext.call($this);
|
|
311
|
-
$this.
|
|
306
|
+
$this.p2y(ctx);
|
|
312
307
|
return $this;
|
|
313
308
|
}
|
|
314
309
|
function IntAtomContext_init_$Create$(ctx) {
|
|
@@ -317,7 +312,7 @@
|
|
|
317
312
|
function ParIntExprContext_init_$Init$(ctx, $this) {
|
|
318
313
|
IntExprContext_init_$Init$_0($this);
|
|
319
314
|
ParIntExprContext.call($this);
|
|
320
|
-
$this.
|
|
315
|
+
$this.p2y(ctx);
|
|
321
316
|
return $this;
|
|
322
317
|
}
|
|
323
318
|
function ParIntExprContext_init_$Create$(ctx) {
|
|
@@ -326,134 +321,108 @@
|
|
|
326
321
|
function ValuesFuncContext_init_$Init$(ctx, $this) {
|
|
327
322
|
IntExprContext_init_$Init$_0($this);
|
|
328
323
|
ValuesFuncContext.call($this);
|
|
329
|
-
$this.
|
|
324
|
+
$this.p2y(ctx);
|
|
330
325
|
return $this;
|
|
331
326
|
}
|
|
332
327
|
function ValuesFuncContext_init_$Create$(ctx) {
|
|
333
328
|
return ValuesFuncContext_init_$Init$(ctx, objectCreate(protoOf(ValuesFuncContext)));
|
|
334
329
|
}
|
|
335
330
|
function Companion_0() {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
this.
|
|
340
|
-
|
|
341
|
-
var tmp_0 =
|
|
342
|
-
var tmp_1 =
|
|
343
|
-
var tmp_2 = this.w2w_1.g27();
|
|
331
|
+
Companion_instance_0 = this;
|
|
332
|
+
RuntimeMetaData_instance.e28('4.13.1', '4.13.1');
|
|
333
|
+
this.q2y_1 = '\x04\x01\x12.\x02\x00\x07\x00\x02\x01\x07\x01\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x03\x00\x17\b\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x05\x00\x1F\b\x00\n\x00\f\x00"\t\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x03\x01,\b\x01\x01\x01\x00\x01\x00\x02\x00\x02\x00\x03\x01\x00\x01\x02\x02\x00\x01\x02\x06\t\x01\x00\f\r4\x00\x16\x01\x00\x00\x00\x02+\x01\x00\x00\x00\x04\x05\x06\x00\uFFFF\uFFFF\x00\x05\x06\x05\n\x00\x00\x06\x07\x03\x00\x00\x00\x07\b\x05\x0B\x00\x00\b\x17\x01\x00\x00\x00\t\n\x05\x05\x00\x00\n\x17\x03\x00\x00\x07\x0B\f\x05\x0E\x00\x00\f\r\x05\x12\x00\x00\r\x17\x05\x0B\x00\x00\x0E\x0F\x05\x12\x00\x00\x0F\x10\x07\x00\x00\x00\x10\x17\x05\x11\x00\x00\x11\x12\x03\x02\x01\x00\x12\x13\x07\x01\x00\x00\x13\x14\x03\x02\x01\x00\x14\x17\x01\x00\x00\x00\x15\x17\x07\x02\x00\x00\x16\x04\x01\x00\x00\x00\x16\t\x01\x00\x00\x00\x16\x0B\x01\x00\x00\x00\x16\x0E\x01\x00\x00\x00\x16\x11\x01\x00\x00\x00\x16\x15\x01\x00\x00\x00\x17 \x01\x00\x00\x00\x18\x19\n\x06\x00\x00\x19\x1A\x05\x03\x00\x00\x1A\x1F\x03\x00\x00\x07\x1B\x1C\n\x05\x00\x00\x1C\x1D\x05\x04\x00\x00\x1D\x1F\x03\x00\x00\x06\x1E\x18\x01\x00\x00\x00\x1E\x1B\x01\x00\x00\x00\x1F"\x01\x00\x00\x00 \x1E\x01\x00\x00\x00 !\x01\x00\x00\x00!\x01\x01\x00\x00\x00" \x01\x00\x00\x00#$\x05\n\x00\x00$%\x03\x02\x01\x00%&\x05\x0B\x00\x00&,\x01\x00\x00\x00\'(\x05\x0F\x00\x00()\x05\x12\x00\x00),\x05\x0B\x00\x00*,\x05\x10\x00\x00+#\x01\x00\x00\x00+\'\x01\x00\x00\x00+*\x01\x00\x00\x00,\x03\x01\x00\x00\x00\x04\x16\x1E +';
|
|
334
|
+
this.r2y_1 = (new ATNDeserializer()).q2c(toCharArray('\x04\x01\x12.\x02\x00\x07\x00\x02\x01\x07\x01\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x03\x00\x17\b\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x05\x00\x1F\b\x00\n\x00\f\x00"\t\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x03\x01,\b\x01\x01\x01\x00\x01\x00\x02\x00\x02\x00\x03\x01\x00\x01\x02\x02\x00\x01\x02\x06\t\x01\x00\f\r4\x00\x16\x01\x00\x00\x00\x02+\x01\x00\x00\x00\x04\x05\x06\x00\uFFFF\uFFFF\x00\x05\x06\x05\n\x00\x00\x06\x07\x03\x00\x00\x00\x07\b\x05\x0B\x00\x00\b\x17\x01\x00\x00\x00\t\n\x05\x05\x00\x00\n\x17\x03\x00\x00\x07\x0B\f\x05\x0E\x00\x00\f\r\x05\x12\x00\x00\r\x17\x05\x0B\x00\x00\x0E\x0F\x05\x12\x00\x00\x0F\x10\x07\x00\x00\x00\x10\x17\x05\x11\x00\x00\x11\x12\x03\x02\x01\x00\x12\x13\x07\x01\x00\x00\x13\x14\x03\x02\x01\x00\x14\x17\x01\x00\x00\x00\x15\x17\x07\x02\x00\x00\x16\x04\x01\x00\x00\x00\x16\t\x01\x00\x00\x00\x16\x0B\x01\x00\x00\x00\x16\x0E\x01\x00\x00\x00\x16\x11\x01\x00\x00\x00\x16\x15\x01\x00\x00\x00\x17 \x01\x00\x00\x00\x18\x19\n\x06\x00\x00\x19\x1A\x05\x03\x00\x00\x1A\x1F\x03\x00\x00\x07\x1B\x1C\n\x05\x00\x00\x1C\x1D\x05\x04\x00\x00\x1D\x1F\x03\x00\x00\x06\x1E\x18\x01\x00\x00\x00\x1E\x1B\x01\x00\x00\x00\x1F"\x01\x00\x00\x00 \x1E\x01\x00\x00\x00 !\x01\x00\x00\x00!\x01\x01\x00\x00\x00" \x01\x00\x00\x00#$\x05\n\x00\x00$%\x03\x02\x01\x00%&\x05\x0B\x00\x00&,\x01\x00\x00\x00\'(\x05\x0F\x00\x00()\x05\x12\x00\x00),\x05\x0B\x00\x00*,\x05\x10\x00\x00+#\x01\x00\x00\x00+\'\x01\x00\x00\x00+*\x01\x00\x00\x00,\x03\x01\x00\x00\x00\x04\x16\x1E +'));
|
|
335
|
+
var tmp = this;
|
|
336
|
+
var tmp_0 = 0;
|
|
337
|
+
var tmp_1 = this.r2y_1.s28();
|
|
344
338
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
345
|
-
var
|
|
346
|
-
while (
|
|
347
|
-
var
|
|
348
|
-
tmp_3
|
|
349
|
-
|
|
339
|
+
var tmp_2 = fillArrayVal(Array(tmp_1), null);
|
|
340
|
+
while (tmp_0 < tmp_1) {
|
|
341
|
+
var tmp_3 = tmp_0;
|
|
342
|
+
tmp_2[tmp_3] = new DFA(ensureNotNull(Companion_getInstance_0().r2y_1.h29(tmp_3)), tmp_3);
|
|
343
|
+
tmp_0 = tmp_0 + 1 | 0;
|
|
350
344
|
}
|
|
351
|
-
|
|
352
|
-
this.
|
|
353
|
-
var
|
|
345
|
+
tmp.s2y_1 = tmp_2;
|
|
346
|
+
this.t2y_1 = new PredictionContextCache();
|
|
347
|
+
var tmp_4 = this;
|
|
354
348
|
// Inline function 'kotlin.arrayOf' call
|
|
355
349
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
356
350
|
// Inline function 'kotlin.js.asDynamic' call
|
|
357
|
-
|
|
358
|
-
var
|
|
351
|
+
tmp_4.u2y_1 = ['booleanExpr', 'intExpr'];
|
|
352
|
+
var tmp_5 = this;
|
|
359
353
|
// Inline function 'kotlin.arrayOf' call
|
|
360
354
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
361
355
|
// Inline function 'kotlin.js.asDynamic' call
|
|
362
|
-
|
|
363
|
-
var
|
|
356
|
+
tmp_5.v2y_1 = [null, "'=='", "'!='", "'&&'", "'||'", "'!'", "'>='", "'>'", "'<='", "'<'", "'('", "')'", "'true'", "'false'"];
|
|
357
|
+
var tmp_6 = this;
|
|
364
358
|
// Inline function 'kotlin.arrayOf' call
|
|
365
359
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
366
360
|
// Inline function 'kotlin.js.asDynamic' call
|
|
367
|
-
|
|
368
|
-
this.
|
|
369
|
-
var
|
|
370
|
-
var
|
|
371
|
-
var
|
|
361
|
+
tmp_6.w2y_1 = [null, 'EQ', 'NEQ', 'AND', 'OR', 'NOT', 'GTE', 'GT', 'LTE', 'LT', 'OPAR', 'CPAR', 'TRUE', 'FALSE', 'FUNC_ISSET', 'FUNC_VALUES', 'INT', 'STRING', 'VAR'];
|
|
362
|
+
this.x2y_1 = new VocabularyImpl(this.v2y_1, this.w2y_1);
|
|
363
|
+
var tmp_7 = this;
|
|
364
|
+
var tmp_8 = 0;
|
|
365
|
+
var tmp_9 = this.w2y_1.length;
|
|
372
366
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
373
|
-
var
|
|
374
|
-
while (
|
|
375
|
-
var
|
|
376
|
-
var tmp0_elvis_lhs = Companion_getInstance_0().
|
|
377
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().
|
|
378
|
-
tmp_11
|
|
379
|
-
|
|
367
|
+
var tmp_10 = fillArrayVal(Array(tmp_9), null);
|
|
368
|
+
while (tmp_8 < tmp_9) {
|
|
369
|
+
var tmp_11 = tmp_8;
|
|
370
|
+
var tmp0_elvis_lhs = Companion_getInstance_0().x2y_1.p28(tmp_11);
|
|
371
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? Companion_getInstance_0().x2y_1.q28(tmp_11) : tmp0_elvis_lhs;
|
|
372
|
+
tmp_10[tmp_11] = tmp1_elvis_lhs == null ? '<INVALID>' : tmp1_elvis_lhs;
|
|
373
|
+
tmp_8 = tmp_8 + 1 | 0;
|
|
380
374
|
}
|
|
381
|
-
|
|
375
|
+
tmp_7.y2y_1 = tmp_10;
|
|
382
376
|
}
|
|
383
|
-
var
|
|
377
|
+
var Companion_instance_0;
|
|
384
378
|
function Companion_getInstance_0() {
|
|
385
|
-
if (
|
|
379
|
+
if (Companion_instance_0 == null)
|
|
386
380
|
new Companion_0();
|
|
387
|
-
return
|
|
388
|
-
}
|
|
389
|
-
function Tokens() {
|
|
390
|
-
this.e2x_1 = -1;
|
|
391
|
-
this.f2x_1 = 1;
|
|
392
|
-
this.g2x_1 = 2;
|
|
393
|
-
this.h2x_1 = 3;
|
|
394
|
-
this.i2x_1 = 4;
|
|
395
|
-
this.j2x_1 = 5;
|
|
396
|
-
this.k2x_1 = 6;
|
|
397
|
-
this.l2x_1 = 7;
|
|
398
|
-
this.m2x_1 = 8;
|
|
399
|
-
this.n2x_1 = 9;
|
|
400
|
-
this.o2x_1 = 10;
|
|
401
|
-
this.p2x_1 = 11;
|
|
402
|
-
this.q2x_1 = 12;
|
|
403
|
-
this.r2x_1 = 13;
|
|
404
|
-
this.s2x_1 = 14;
|
|
405
|
-
this.t2x_1 = 15;
|
|
406
|
-
this.u2x_1 = 16;
|
|
407
|
-
this.v2x_1 = 17;
|
|
408
|
-
this.w2x_1 = 18;
|
|
409
|
-
}
|
|
410
|
-
var Tokens_instance;
|
|
411
|
-
function Tokens_getInstance() {
|
|
412
|
-
return Tokens_instance;
|
|
381
|
+
return Companion_instance_0;
|
|
413
382
|
}
|
|
414
|
-
protoOf(BooleanExprContext).
|
|
415
|
-
return this.
|
|
383
|
+
protoOf(BooleanExprContext).x21 = function () {
|
|
384
|
+
return this.d2y_1;
|
|
416
385
|
};
|
|
417
|
-
protoOf(BooleanExprContext).
|
|
418
|
-
protoOf(ParserRuleContext).
|
|
386
|
+
protoOf(BooleanExprContext).e2y = function (ctx) {
|
|
387
|
+
protoOf(ParserRuleContext).q27.call(this, ctx);
|
|
419
388
|
};
|
|
420
389
|
function BooleanExprContext() {
|
|
421
|
-
this.
|
|
390
|
+
this.d2y_1 = 0;
|
|
422
391
|
}
|
|
423
|
-
protoOf(IntCmpExprContext).
|
|
392
|
+
protoOf(IntCmpExprContext).j2z = function (_set____db54di) {
|
|
424
393
|
this.left$ = _set____db54di;
|
|
425
394
|
};
|
|
426
|
-
protoOf(IntCmpExprContext).
|
|
395
|
+
protoOf(IntCmpExprContext).k2z = function () {
|
|
427
396
|
return this.left$;
|
|
428
397
|
};
|
|
429
|
-
protoOf(IntCmpExprContext).
|
|
398
|
+
protoOf(IntCmpExprContext).l2z = function (_set____db54di) {
|
|
430
399
|
this.op$ = _set____db54di;
|
|
431
400
|
};
|
|
432
|
-
protoOf(IntCmpExprContext).
|
|
401
|
+
protoOf(IntCmpExprContext).m2z = function () {
|
|
433
402
|
return this.op$;
|
|
434
403
|
};
|
|
435
|
-
protoOf(IntCmpExprContext).
|
|
404
|
+
protoOf(IntCmpExprContext).n2z = function (_set____db54di) {
|
|
436
405
|
this.right$ = _set____db54di;
|
|
437
406
|
};
|
|
438
|
-
protoOf(IntCmpExprContext).
|
|
407
|
+
protoOf(IntCmpExprContext).o2z = function () {
|
|
439
408
|
return this.right$;
|
|
440
409
|
};
|
|
441
|
-
protoOf(IntCmpExprContext).
|
|
410
|
+
protoOf(IntCmpExprContext).t26 = function (listener) {
|
|
442
411
|
if (isInterface(listener, StateExpressionListener)) {
|
|
443
|
-
listener.
|
|
412
|
+
listener.y2w(this);
|
|
444
413
|
}
|
|
445
414
|
};
|
|
446
|
-
protoOf(IntCmpExprContext).
|
|
415
|
+
protoOf(IntCmpExprContext).v26 = function (listener) {
|
|
447
416
|
if (isInterface(listener, StateExpressionListener)) {
|
|
448
|
-
listener.
|
|
417
|
+
listener.z2w(this);
|
|
449
418
|
}
|
|
450
419
|
};
|
|
451
|
-
protoOf(IntCmpExprContext).
|
|
420
|
+
protoOf(IntCmpExprContext).t27 = function (visitor) {
|
|
452
421
|
var tmp;
|
|
453
422
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
454
|
-
tmp = visitor.
|
|
423
|
+
tmp = visitor.g2v(this);
|
|
455
424
|
} else {
|
|
456
|
-
tmp = visitor.
|
|
425
|
+
tmp = visitor.c28(this);
|
|
457
426
|
}
|
|
458
427
|
return tmp;
|
|
459
428
|
};
|
|
@@ -462,96 +431,96 @@
|
|
|
462
431
|
this.op$ = null;
|
|
463
432
|
this.right$ = null;
|
|
464
433
|
}
|
|
465
|
-
protoOf(ParExprContext).
|
|
434
|
+
protoOf(ParExprContext).z2z = function (_set____db54di) {
|
|
466
435
|
this.expr$ = _set____db54di;
|
|
467
436
|
};
|
|
468
|
-
protoOf(ParExprContext).
|
|
437
|
+
protoOf(ParExprContext).a30 = function () {
|
|
469
438
|
return this.expr$;
|
|
470
439
|
};
|
|
471
|
-
protoOf(ParExprContext).
|
|
440
|
+
protoOf(ParExprContext).t26 = function (listener) {
|
|
472
441
|
if (isInterface(listener, StateExpressionListener)) {
|
|
473
|
-
listener.
|
|
442
|
+
listener.a2x(this);
|
|
474
443
|
}
|
|
475
444
|
};
|
|
476
|
-
protoOf(ParExprContext).
|
|
445
|
+
protoOf(ParExprContext).v26 = function (listener) {
|
|
477
446
|
if (isInterface(listener, StateExpressionListener)) {
|
|
478
|
-
listener.
|
|
447
|
+
listener.b2x(this);
|
|
479
448
|
}
|
|
480
449
|
};
|
|
481
|
-
protoOf(ParExprContext).
|
|
450
|
+
protoOf(ParExprContext).t27 = function (visitor) {
|
|
482
451
|
var tmp;
|
|
483
452
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
484
|
-
tmp = visitor.
|
|
453
|
+
tmp = visitor.h2v(this);
|
|
485
454
|
} else {
|
|
486
|
-
tmp = visitor.
|
|
455
|
+
tmp = visitor.c28(this);
|
|
487
456
|
}
|
|
488
457
|
return tmp;
|
|
489
458
|
};
|
|
490
459
|
function ParExprContext() {
|
|
491
460
|
this.expr$ = null;
|
|
492
461
|
}
|
|
493
|
-
protoOf(BooleanAtomContext).
|
|
462
|
+
protoOf(BooleanAtomContext).l30 = function (_set____db54di) {
|
|
494
463
|
this.atom$ = _set____db54di;
|
|
495
464
|
};
|
|
496
|
-
protoOf(BooleanAtomContext).
|
|
465
|
+
protoOf(BooleanAtomContext).m30 = function () {
|
|
497
466
|
return this.atom$;
|
|
498
467
|
};
|
|
499
|
-
protoOf(BooleanAtomContext).
|
|
468
|
+
protoOf(BooleanAtomContext).t26 = function (listener) {
|
|
500
469
|
if (isInterface(listener, StateExpressionListener)) {
|
|
501
|
-
listener.
|
|
470
|
+
listener.c2x(this);
|
|
502
471
|
}
|
|
503
472
|
};
|
|
504
|
-
protoOf(BooleanAtomContext).
|
|
473
|
+
protoOf(BooleanAtomContext).v26 = function (listener) {
|
|
505
474
|
if (isInterface(listener, StateExpressionListener)) {
|
|
506
|
-
listener.
|
|
475
|
+
listener.d2x(this);
|
|
507
476
|
}
|
|
508
477
|
};
|
|
509
|
-
protoOf(BooleanAtomContext).
|
|
478
|
+
protoOf(BooleanAtomContext).t27 = function (visitor) {
|
|
510
479
|
var tmp;
|
|
511
480
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
512
|
-
tmp = visitor.
|
|
481
|
+
tmp = visitor.i2v(this);
|
|
513
482
|
} else {
|
|
514
|
-
tmp = visitor.
|
|
483
|
+
tmp = visitor.c28(this);
|
|
515
484
|
}
|
|
516
485
|
return tmp;
|
|
517
486
|
};
|
|
518
487
|
function BooleanAtomContext() {
|
|
519
488
|
this.atom$ = null;
|
|
520
489
|
}
|
|
521
|
-
protoOf(EqExprContext).
|
|
490
|
+
protoOf(EqExprContext).x30 = function (_set____db54di) {
|
|
522
491
|
this.varName$ = _set____db54di;
|
|
523
492
|
};
|
|
524
|
-
protoOf(EqExprContext).
|
|
493
|
+
protoOf(EqExprContext).y30 = function () {
|
|
525
494
|
return this.varName$;
|
|
526
495
|
};
|
|
527
|
-
protoOf(EqExprContext).
|
|
496
|
+
protoOf(EqExprContext).l2z = function (_set____db54di) {
|
|
528
497
|
this.op$ = _set____db54di;
|
|
529
498
|
};
|
|
530
|
-
protoOf(EqExprContext).
|
|
499
|
+
protoOf(EqExprContext).m2z = function () {
|
|
531
500
|
return this.op$;
|
|
532
501
|
};
|
|
533
|
-
protoOf(EqExprContext).
|
|
502
|
+
protoOf(EqExprContext).z30 = function (_set____db54di) {
|
|
534
503
|
this.value$ = _set____db54di;
|
|
535
504
|
};
|
|
536
|
-
protoOf(EqExprContext).
|
|
505
|
+
protoOf(EqExprContext).a31 = function () {
|
|
537
506
|
return this.value$;
|
|
538
507
|
};
|
|
539
|
-
protoOf(EqExprContext).
|
|
508
|
+
protoOf(EqExprContext).t26 = function (listener) {
|
|
540
509
|
if (isInterface(listener, StateExpressionListener)) {
|
|
541
|
-
listener.
|
|
510
|
+
listener.e2x(this);
|
|
542
511
|
}
|
|
543
512
|
};
|
|
544
|
-
protoOf(EqExprContext).
|
|
513
|
+
protoOf(EqExprContext).v26 = function (listener) {
|
|
545
514
|
if (isInterface(listener, StateExpressionListener)) {
|
|
546
|
-
listener.
|
|
515
|
+
listener.f2x(this);
|
|
547
516
|
}
|
|
548
517
|
};
|
|
549
|
-
protoOf(EqExprContext).
|
|
518
|
+
protoOf(EqExprContext).t27 = function (visitor) {
|
|
550
519
|
var tmp;
|
|
551
520
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
552
|
-
tmp = visitor.
|
|
521
|
+
tmp = visitor.j2v(this);
|
|
553
522
|
} else {
|
|
554
|
-
tmp = visitor.
|
|
523
|
+
tmp = visitor.c28(this);
|
|
555
524
|
}
|
|
556
525
|
return tmp;
|
|
557
526
|
};
|
|
@@ -560,90 +529,90 @@
|
|
|
560
529
|
this.op$ = null;
|
|
561
530
|
this.value$ = null;
|
|
562
531
|
}
|
|
563
|
-
protoOf(NotExprContext).
|
|
532
|
+
protoOf(NotExprContext).z2z = function (_set____db54di) {
|
|
564
533
|
this.expr$ = _set____db54di;
|
|
565
534
|
};
|
|
566
|
-
protoOf(NotExprContext).
|
|
535
|
+
protoOf(NotExprContext).a30 = function () {
|
|
567
536
|
return this.expr$;
|
|
568
537
|
};
|
|
569
|
-
protoOf(NotExprContext).
|
|
538
|
+
protoOf(NotExprContext).t26 = function (listener) {
|
|
570
539
|
if (isInterface(listener, StateExpressionListener)) {
|
|
571
|
-
listener.
|
|
540
|
+
listener.g2x(this);
|
|
572
541
|
}
|
|
573
542
|
};
|
|
574
|
-
protoOf(NotExprContext).
|
|
543
|
+
protoOf(NotExprContext).v26 = function (listener) {
|
|
575
544
|
if (isInterface(listener, StateExpressionListener)) {
|
|
576
|
-
listener.
|
|
545
|
+
listener.h2x(this);
|
|
577
546
|
}
|
|
578
547
|
};
|
|
579
|
-
protoOf(NotExprContext).
|
|
548
|
+
protoOf(NotExprContext).t27 = function (visitor) {
|
|
580
549
|
var tmp;
|
|
581
550
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
582
|
-
tmp = visitor.
|
|
551
|
+
tmp = visitor.k2v(this);
|
|
583
552
|
} else {
|
|
584
|
-
tmp = visitor.
|
|
553
|
+
tmp = visitor.c28(this);
|
|
585
554
|
}
|
|
586
555
|
return tmp;
|
|
587
556
|
};
|
|
588
557
|
function NotExprContext() {
|
|
589
558
|
this.expr$ = null;
|
|
590
559
|
}
|
|
591
|
-
protoOf(IsSetFuncContext).
|
|
560
|
+
protoOf(IsSetFuncContext).x30 = function (_set____db54di) {
|
|
592
561
|
this.varName$ = _set____db54di;
|
|
593
562
|
};
|
|
594
|
-
protoOf(IsSetFuncContext).
|
|
563
|
+
protoOf(IsSetFuncContext).y30 = function () {
|
|
595
564
|
return this.varName$;
|
|
596
565
|
};
|
|
597
|
-
protoOf(IsSetFuncContext).
|
|
566
|
+
protoOf(IsSetFuncContext).t26 = function (listener) {
|
|
598
567
|
if (isInterface(listener, StateExpressionListener)) {
|
|
599
|
-
listener.
|
|
568
|
+
listener.i2x(this);
|
|
600
569
|
}
|
|
601
570
|
};
|
|
602
|
-
protoOf(IsSetFuncContext).
|
|
571
|
+
protoOf(IsSetFuncContext).v26 = function (listener) {
|
|
603
572
|
if (isInterface(listener, StateExpressionListener)) {
|
|
604
|
-
listener.
|
|
573
|
+
listener.j2x(this);
|
|
605
574
|
}
|
|
606
575
|
};
|
|
607
|
-
protoOf(IsSetFuncContext).
|
|
576
|
+
protoOf(IsSetFuncContext).t27 = function (visitor) {
|
|
608
577
|
var tmp;
|
|
609
578
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
610
|
-
tmp = visitor.
|
|
579
|
+
tmp = visitor.l2v(this);
|
|
611
580
|
} else {
|
|
612
|
-
tmp = visitor.
|
|
581
|
+
tmp = visitor.c28(this);
|
|
613
582
|
}
|
|
614
583
|
return tmp;
|
|
615
584
|
};
|
|
616
585
|
function IsSetFuncContext() {
|
|
617
586
|
this.varName$ = null;
|
|
618
587
|
}
|
|
619
|
-
protoOf(OrExprContext).
|
|
588
|
+
protoOf(OrExprContext).f32 = function (_set____db54di) {
|
|
620
589
|
this.left$ = _set____db54di;
|
|
621
590
|
};
|
|
622
|
-
protoOf(OrExprContext).
|
|
591
|
+
protoOf(OrExprContext).k2z = function () {
|
|
623
592
|
return this.left$;
|
|
624
593
|
};
|
|
625
|
-
protoOf(OrExprContext).
|
|
594
|
+
protoOf(OrExprContext).g32 = function (_set____db54di) {
|
|
626
595
|
this.right$ = _set____db54di;
|
|
627
596
|
};
|
|
628
|
-
protoOf(OrExprContext).
|
|
597
|
+
protoOf(OrExprContext).o2z = function () {
|
|
629
598
|
return this.right$;
|
|
630
599
|
};
|
|
631
|
-
protoOf(OrExprContext).
|
|
600
|
+
protoOf(OrExprContext).t26 = function (listener) {
|
|
632
601
|
if (isInterface(listener, StateExpressionListener)) {
|
|
633
|
-
listener.
|
|
602
|
+
listener.k2x(this);
|
|
634
603
|
}
|
|
635
604
|
};
|
|
636
|
-
protoOf(OrExprContext).
|
|
605
|
+
protoOf(OrExprContext).v26 = function (listener) {
|
|
637
606
|
if (isInterface(listener, StateExpressionListener)) {
|
|
638
|
-
listener.
|
|
607
|
+
listener.l2x(this);
|
|
639
608
|
}
|
|
640
609
|
};
|
|
641
|
-
protoOf(OrExprContext).
|
|
610
|
+
protoOf(OrExprContext).t27 = function (visitor) {
|
|
642
611
|
var tmp;
|
|
643
612
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
644
|
-
tmp = visitor.
|
|
613
|
+
tmp = visitor.m2v(this);
|
|
645
614
|
} else {
|
|
646
|
-
tmp = visitor.
|
|
615
|
+
tmp = visitor.c28(this);
|
|
647
616
|
}
|
|
648
617
|
return tmp;
|
|
649
618
|
};
|
|
@@ -651,34 +620,34 @@
|
|
|
651
620
|
this.left$ = null;
|
|
652
621
|
this.right$ = null;
|
|
653
622
|
}
|
|
654
|
-
protoOf(AndExprContext).
|
|
623
|
+
protoOf(AndExprContext).f32 = function (_set____db54di) {
|
|
655
624
|
this.left$ = _set____db54di;
|
|
656
625
|
};
|
|
657
|
-
protoOf(AndExprContext).
|
|
626
|
+
protoOf(AndExprContext).k2z = function () {
|
|
658
627
|
return this.left$;
|
|
659
628
|
};
|
|
660
|
-
protoOf(AndExprContext).
|
|
629
|
+
protoOf(AndExprContext).g32 = function (_set____db54di) {
|
|
661
630
|
this.right$ = _set____db54di;
|
|
662
631
|
};
|
|
663
|
-
protoOf(AndExprContext).
|
|
632
|
+
protoOf(AndExprContext).o2z = function () {
|
|
664
633
|
return this.right$;
|
|
665
634
|
};
|
|
666
|
-
protoOf(AndExprContext).
|
|
635
|
+
protoOf(AndExprContext).t26 = function (listener) {
|
|
667
636
|
if (isInterface(listener, StateExpressionListener)) {
|
|
668
|
-
listener.
|
|
637
|
+
listener.m2x(this);
|
|
669
638
|
}
|
|
670
639
|
};
|
|
671
|
-
protoOf(AndExprContext).
|
|
640
|
+
protoOf(AndExprContext).v26 = function (listener) {
|
|
672
641
|
if (isInterface(listener, StateExpressionListener)) {
|
|
673
|
-
listener.
|
|
642
|
+
listener.n2x(this);
|
|
674
643
|
}
|
|
675
644
|
};
|
|
676
|
-
protoOf(AndExprContext).
|
|
645
|
+
protoOf(AndExprContext).t27 = function (visitor) {
|
|
677
646
|
var tmp;
|
|
678
647
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
679
|
-
tmp = visitor.
|
|
648
|
+
tmp = visitor.n2v(this);
|
|
680
649
|
} else {
|
|
681
|
-
tmp = visitor.
|
|
650
|
+
tmp = visitor.c28(this);
|
|
682
651
|
}
|
|
683
652
|
return tmp;
|
|
684
653
|
};
|
|
@@ -687,286 +656,276 @@
|
|
|
687
656
|
this.right$ = null;
|
|
688
657
|
}
|
|
689
658
|
function booleanExpr($this, _p) {
|
|
690
|
-
var _parentctx = $this.
|
|
691
|
-
var _parentState = $this.
|
|
692
|
-
var _localctx = BooleanExprContext_init_$Create$($this.
|
|
659
|
+
var _parentctx = $this.l1v_1;
|
|
660
|
+
var _parentState = $this.n1z_1;
|
|
661
|
+
var _localctx = BooleanExprContext_init_$Create$($this.l1v_1, _parentState);
|
|
693
662
|
var _prevctx = _localctx;
|
|
694
663
|
var _startState = 0;
|
|
695
664
|
var _token;
|
|
696
665
|
var _ctx;
|
|
697
|
-
$this.
|
|
666
|
+
$this.i27(_localctx, 0, 0, _p);
|
|
698
667
|
var _la;
|
|
699
668
|
try {
|
|
700
669
|
var _alt;
|
|
701
|
-
$this.
|
|
702
|
-
$this.
|
|
703
|
-
$this.
|
|
704
|
-
switch ($this.
|
|
670
|
+
$this.f27(_localctx, 1);
|
|
671
|
+
$this.n1z_1 = 22;
|
|
672
|
+
$this.i1v_1.c1w($this);
|
|
673
|
+
switch ($this.w20().s2m($this.j1v_1, 0, $this.l1v_1)) {
|
|
705
674
|
case 1:
|
|
706
675
|
_localctx = ParExprContext_init_$Create$(_localctx);
|
|
707
|
-
$this.
|
|
676
|
+
$this.l1v_1 = _localctx;
|
|
708
677
|
_prevctx = _localctx;
|
|
709
|
-
$this.
|
|
710
|
-
$this.
|
|
711
|
-
$this.
|
|
678
|
+
$this.n1z_1 = 5;
|
|
679
|
+
$this.o26(10);
|
|
680
|
+
$this.n1z_1 = 6;
|
|
712
681
|
_ctx = booleanExpr($this, 0);
|
|
713
682
|
_localctx.expr$ = _ctx;
|
|
714
|
-
$this.
|
|
715
|
-
$this.
|
|
683
|
+
$this.n1z_1 = 7;
|
|
684
|
+
$this.o26(11);
|
|
716
685
|
break;
|
|
717
686
|
case 2:
|
|
718
687
|
_localctx = NotExprContext_init_$Create$(_localctx);
|
|
719
|
-
$this.
|
|
688
|
+
$this.l1v_1 = _localctx;
|
|
720
689
|
_prevctx = _localctx;
|
|
721
|
-
$this.
|
|
722
|
-
$this.
|
|
723
|
-
$this.
|
|
690
|
+
$this.n1z_1 = 9;
|
|
691
|
+
$this.o26(5);
|
|
692
|
+
$this.n1z_1 = 10;
|
|
724
693
|
_ctx = booleanExpr($this, 7);
|
|
725
694
|
_localctx.expr$ = _ctx;
|
|
726
695
|
break;
|
|
727
696
|
case 3:
|
|
728
697
|
_localctx = IsSetFuncContext_init_$Create$(_localctx);
|
|
729
|
-
$this.
|
|
698
|
+
$this.l1v_1 = _localctx;
|
|
730
699
|
_prevctx = _localctx;
|
|
731
|
-
$this.
|
|
732
|
-
$this.
|
|
733
|
-
$this.
|
|
734
|
-
_token = $this.
|
|
700
|
+
$this.n1z_1 = 11;
|
|
701
|
+
$this.o26(14);
|
|
702
|
+
$this.n1z_1 = 12;
|
|
703
|
+
_token = $this.o26(18);
|
|
735
704
|
_localctx.varName$ = _token;
|
|
736
|
-
$this.
|
|
737
|
-
$this.
|
|
705
|
+
$this.n1z_1 = 13;
|
|
706
|
+
$this.o26(11);
|
|
738
707
|
break;
|
|
739
708
|
case 4:
|
|
740
709
|
_localctx = EqExprContext_init_$Create$(_localctx);
|
|
741
|
-
$this.
|
|
710
|
+
$this.l1v_1 = _localctx;
|
|
742
711
|
_prevctx = _localctx;
|
|
743
|
-
$this.
|
|
744
|
-
_token = $this.
|
|
712
|
+
$this.n1z_1 = 14;
|
|
713
|
+
_token = $this.o26(18);
|
|
745
714
|
_localctx.varName$ = _token;
|
|
746
|
-
$this.
|
|
747
|
-
_token = $this.
|
|
715
|
+
$this.n1z_1 = 15;
|
|
716
|
+
_token = $this.j1v_1.a1y(1);
|
|
748
717
|
_localctx.op$ = _token;
|
|
749
|
-
_la = $this.
|
|
750
|
-
if (!(_la === 1
|
|
751
|
-
_token = $this.
|
|
718
|
+
_la = $this.j1v_1.u1x(1);
|
|
719
|
+
if (!(_la === 1 || _la === 2)) {
|
|
720
|
+
_token = $this.i1v_1.b1w($this);
|
|
752
721
|
_localctx.op$ = _token;
|
|
753
722
|
} else {
|
|
754
|
-
if ($this.
|
|
755
|
-
$this.
|
|
723
|
+
if ($this.j1v_1.u1x(1) === -1) {
|
|
724
|
+
$this.q1v_1 = true;
|
|
756
725
|
}
|
|
757
|
-
$this.
|
|
758
|
-
$this.
|
|
726
|
+
$this.i1v_1.m1w($this);
|
|
727
|
+
$this.f20();
|
|
759
728
|
}
|
|
760
729
|
|
|
761
|
-
$this.
|
|
762
|
-
_token = $this.
|
|
730
|
+
$this.n1z_1 = 16;
|
|
731
|
+
_token = $this.o26(17);
|
|
763
732
|
_localctx.value$ = _token;
|
|
764
733
|
break;
|
|
765
734
|
case 5:
|
|
766
735
|
_localctx = IntCmpExprContext_init_$Create$(_localctx);
|
|
767
|
-
$this.
|
|
736
|
+
$this.l1v_1 = _localctx;
|
|
768
737
|
_prevctx = _localctx;
|
|
769
|
-
$this.
|
|
770
|
-
_ctx = $this.
|
|
738
|
+
$this.n1z_1 = 17;
|
|
739
|
+
_ctx = $this.k33();
|
|
771
740
|
_localctx.left$ = _ctx;
|
|
772
|
-
$this.
|
|
773
|
-
_token = $this.
|
|
741
|
+
$this.n1z_1 = 18;
|
|
742
|
+
_token = $this.j1v_1.a1y(1);
|
|
774
743
|
_localctx.op$ = _token;
|
|
775
|
-
_la = $this.
|
|
776
|
-
if (!((_la & -64) === 0
|
|
777
|
-
_token = $this.
|
|
744
|
+
_la = $this.j1v_1.u1x(1);
|
|
745
|
+
if (!((_la & -64) === 0 && !(new Long(1, 0)).g3(_la).j3(new Long(966, 0)).equals(new Long(0, 0)))) {
|
|
746
|
+
_token = $this.i1v_1.b1w($this);
|
|
778
747
|
_localctx.op$ = _token;
|
|
779
748
|
} else {
|
|
780
|
-
if ($this.
|
|
781
|
-
$this.
|
|
749
|
+
if ($this.j1v_1.u1x(1) === -1) {
|
|
750
|
+
$this.q1v_1 = true;
|
|
782
751
|
}
|
|
783
|
-
$this.
|
|
784
|
-
$this.
|
|
752
|
+
$this.i1v_1.m1w($this);
|
|
753
|
+
$this.f20();
|
|
785
754
|
}
|
|
786
755
|
|
|
787
|
-
$this.
|
|
788
|
-
_ctx = $this.
|
|
756
|
+
$this.n1z_1 = 19;
|
|
757
|
+
_ctx = $this.k33();
|
|
789
758
|
_localctx.right$ = _ctx;
|
|
790
759
|
break;
|
|
791
760
|
case 6:
|
|
792
761
|
_localctx = BooleanAtomContext_init_$Create$(_localctx);
|
|
793
|
-
$this.
|
|
762
|
+
$this.l1v_1 = _localctx;
|
|
794
763
|
_prevctx = _localctx;
|
|
795
|
-
$this.
|
|
796
|
-
_token = $this.
|
|
764
|
+
$this.n1z_1 = 21;
|
|
765
|
+
_token = $this.j1v_1.a1y(1);
|
|
797
766
|
_localctx.atom$ = _token;
|
|
798
|
-
_la = $this.
|
|
799
|
-
if (!(_la === 12
|
|
800
|
-
_token = $this.
|
|
767
|
+
_la = $this.j1v_1.u1x(1);
|
|
768
|
+
if (!(_la === 12 || _la === 13)) {
|
|
769
|
+
_token = $this.i1v_1.b1w($this);
|
|
801
770
|
_localctx.atom$ = _token;
|
|
802
771
|
} else {
|
|
803
|
-
if ($this.
|
|
804
|
-
$this.
|
|
772
|
+
if ($this.j1v_1.u1x(1) === -1) {
|
|
773
|
+
$this.q1v_1 = true;
|
|
805
774
|
}
|
|
806
|
-
$this.
|
|
807
|
-
$this.
|
|
775
|
+
$this.i1v_1.m1w($this);
|
|
776
|
+
$this.f20();
|
|
808
777
|
}
|
|
809
778
|
|
|
810
779
|
break;
|
|
811
780
|
}
|
|
812
|
-
ensureNotNull($this.
|
|
813
|
-
$this.
|
|
814
|
-
$this.
|
|
815
|
-
_alt = $this.
|
|
816
|
-
|
|
817
|
-
var tmp;
|
|
818
|
-
if (!(_alt === 2)) {
|
|
819
|
-
var tmp_0 = _alt;
|
|
820
|
-
tmp = !(tmp_0 === 0);
|
|
821
|
-
} else {
|
|
822
|
-
tmp = false;
|
|
823
|
-
}
|
|
824
|
-
if (!tmp) {
|
|
825
|
-
break $l$loop;
|
|
826
|
-
}
|
|
781
|
+
ensureNotNull($this.l1v_1).y1v_1 = $this.j1v_1.a1y(-1);
|
|
782
|
+
$this.n1z_1 = 32;
|
|
783
|
+
$this.i1v_1.c1w($this);
|
|
784
|
+
_alt = $this.w20().s2m($this.j1v_1, 2, $this.l1v_1);
|
|
785
|
+
while (!(_alt === 2) && !(_alt === 0)) {
|
|
827
786
|
if (_alt === 1) {
|
|
828
787
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
829
|
-
if (!$this.
|
|
830
|
-
$this.
|
|
788
|
+
if (!$this.o1v_1.p()) {
|
|
789
|
+
$this.u26();
|
|
831
790
|
}
|
|
832
791
|
_prevctx = _localctx;
|
|
833
|
-
$this.
|
|
834
|
-
$this.
|
|
835
|
-
var tmp1_subject = $this.
|
|
792
|
+
$this.n1z_1 = 30;
|
|
793
|
+
$this.i1v_1.c1w($this);
|
|
794
|
+
var tmp1_subject = $this.w20().s2m($this.j1v_1, 1, $this.l1v_1);
|
|
836
795
|
if (tmp1_subject === 1) {
|
|
837
796
|
_localctx = AndExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
838
797
|
_localctx.left$ = _prevctx;
|
|
839
|
-
$this.
|
|
840
|
-
$this.
|
|
841
|
-
if (!$this.
|
|
798
|
+
$this.j27(_localctx, _startState, 0);
|
|
799
|
+
$this.n1z_1 = 24;
|
|
800
|
+
if (!$this.p25(ensureNotNull($this.l1v_1), 6)) {
|
|
842
801
|
throw new FailedPredicateException($this, 'precpred(context!!, 6)');
|
|
843
802
|
}
|
|
844
|
-
$this.
|
|
845
|
-
$this.
|
|
846
|
-
$this.
|
|
803
|
+
$this.n1z_1 = 25;
|
|
804
|
+
$this.o26(3);
|
|
805
|
+
$this.n1z_1 = 26;
|
|
847
806
|
_ctx = booleanExpr($this, 7);
|
|
848
807
|
_localctx.right$ = _ctx;
|
|
849
808
|
} else if (tmp1_subject === 2) {
|
|
850
809
|
_localctx = OrExprContext_init_$Create$(BooleanExprContext_init_$Create$(_parentctx, _parentState));
|
|
851
810
|
_localctx.left$ = _prevctx;
|
|
852
|
-
$this.
|
|
853
|
-
$this.
|
|
854
|
-
if (!$this.
|
|
811
|
+
$this.j27(_localctx, _startState, 0);
|
|
812
|
+
$this.n1z_1 = 27;
|
|
813
|
+
if (!$this.p25(ensureNotNull($this.l1v_1), 5)) {
|
|
855
814
|
throw new FailedPredicateException($this, 'precpred(context!!, 5)');
|
|
856
815
|
}
|
|
857
|
-
$this.
|
|
858
|
-
$this.
|
|
859
|
-
$this.
|
|
816
|
+
$this.n1z_1 = 28;
|
|
817
|
+
$this.o26(4);
|
|
818
|
+
$this.n1z_1 = 29;
|
|
860
819
|
_ctx = booleanExpr($this, 6);
|
|
861
820
|
_localctx.right$ = _ctx;
|
|
862
821
|
}
|
|
863
822
|
}
|
|
864
|
-
$this.
|
|
865
|
-
$this.
|
|
866
|
-
_alt = $this.
|
|
823
|
+
$this.n1z_1 = 34;
|
|
824
|
+
$this.i1v_1.c1w($this);
|
|
825
|
+
_alt = $this.w20().s2m($this.j1v_1, 2, $this.l1v_1);
|
|
867
826
|
}
|
|
868
827
|
} catch ($p) {
|
|
869
828
|
if ($p instanceof RecognitionException) {
|
|
870
829
|
var re = $p;
|
|
871
|
-
_localctx.
|
|
872
|
-
$this.
|
|
873
|
-
$this.
|
|
830
|
+
_localctx.z1v_1 = re;
|
|
831
|
+
$this.i1v_1.n1w($this, re);
|
|
832
|
+
$this.i1v_1.e1v($this, re);
|
|
874
833
|
} else {
|
|
875
834
|
throw $p;
|
|
876
835
|
}
|
|
877
836
|
}
|
|
878
837
|
finally {
|
|
879
|
-
$this.
|
|
838
|
+
$this.l27(_parentctx);
|
|
880
839
|
}
|
|
881
840
|
return _localctx;
|
|
882
841
|
}
|
|
883
|
-
protoOf(IntExprContext).
|
|
884
|
-
return this.
|
|
842
|
+
protoOf(IntExprContext).x21 = function () {
|
|
843
|
+
return this.o2y_1;
|
|
885
844
|
};
|
|
886
|
-
protoOf(IntExprContext).
|
|
887
|
-
protoOf(ParserRuleContext).
|
|
845
|
+
protoOf(IntExprContext).p2y = function (ctx) {
|
|
846
|
+
protoOf(ParserRuleContext).q27.call(this, ctx);
|
|
888
847
|
};
|
|
889
848
|
function IntExprContext() {
|
|
890
|
-
this.
|
|
849
|
+
this.o2y_1 = 1;
|
|
891
850
|
}
|
|
892
|
-
protoOf(IntAtomContext).
|
|
851
|
+
protoOf(IntAtomContext).z30 = function (_set____db54di) {
|
|
893
852
|
this.value$ = _set____db54di;
|
|
894
853
|
};
|
|
895
|
-
protoOf(IntAtomContext).
|
|
854
|
+
protoOf(IntAtomContext).a31 = function () {
|
|
896
855
|
return this.value$;
|
|
897
856
|
};
|
|
898
|
-
protoOf(IntAtomContext).
|
|
857
|
+
protoOf(IntAtomContext).t26 = function (listener) {
|
|
899
858
|
if (isInterface(listener, StateExpressionListener)) {
|
|
900
|
-
listener.
|
|
859
|
+
listener.s2x(this);
|
|
901
860
|
}
|
|
902
861
|
};
|
|
903
|
-
protoOf(IntAtomContext).
|
|
862
|
+
protoOf(IntAtomContext).v26 = function (listener) {
|
|
904
863
|
if (isInterface(listener, StateExpressionListener)) {
|
|
905
|
-
listener.
|
|
864
|
+
listener.t2x(this);
|
|
906
865
|
}
|
|
907
866
|
};
|
|
908
|
-
protoOf(IntAtomContext).
|
|
867
|
+
protoOf(IntAtomContext).t27 = function (visitor) {
|
|
909
868
|
var tmp;
|
|
910
869
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
911
|
-
tmp = visitor.
|
|
870
|
+
tmp = visitor.q2v(this);
|
|
912
871
|
} else {
|
|
913
|
-
tmp = visitor.
|
|
872
|
+
tmp = visitor.c28(this);
|
|
914
873
|
}
|
|
915
874
|
return tmp;
|
|
916
875
|
};
|
|
917
876
|
function IntAtomContext() {
|
|
918
877
|
this.value$ = null;
|
|
919
878
|
}
|
|
920
|
-
protoOf(ParIntExprContext).
|
|
879
|
+
protoOf(ParIntExprContext).f34 = function (_set____db54di) {
|
|
921
880
|
this.expr$ = _set____db54di;
|
|
922
881
|
};
|
|
923
|
-
protoOf(ParIntExprContext).
|
|
882
|
+
protoOf(ParIntExprContext).a30 = function () {
|
|
924
883
|
return this.expr$;
|
|
925
884
|
};
|
|
926
|
-
protoOf(ParIntExprContext).
|
|
885
|
+
protoOf(ParIntExprContext).t26 = function (listener) {
|
|
927
886
|
if (isInterface(listener, StateExpressionListener)) {
|
|
928
|
-
listener.
|
|
887
|
+
listener.o2x(this);
|
|
929
888
|
}
|
|
930
889
|
};
|
|
931
|
-
protoOf(ParIntExprContext).
|
|
890
|
+
protoOf(ParIntExprContext).v26 = function (listener) {
|
|
932
891
|
if (isInterface(listener, StateExpressionListener)) {
|
|
933
|
-
listener.
|
|
892
|
+
listener.p2x(this);
|
|
934
893
|
}
|
|
935
894
|
};
|
|
936
|
-
protoOf(ParIntExprContext).
|
|
895
|
+
protoOf(ParIntExprContext).t27 = function (visitor) {
|
|
937
896
|
var tmp;
|
|
938
897
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
939
|
-
tmp = visitor.
|
|
898
|
+
tmp = visitor.o2v(this);
|
|
940
899
|
} else {
|
|
941
|
-
tmp = visitor.
|
|
900
|
+
tmp = visitor.c28(this);
|
|
942
901
|
}
|
|
943
902
|
return tmp;
|
|
944
903
|
};
|
|
945
904
|
function ParIntExprContext() {
|
|
946
905
|
this.expr$ = null;
|
|
947
906
|
}
|
|
948
|
-
protoOf(ValuesFuncContext).
|
|
907
|
+
protoOf(ValuesFuncContext).x30 = function (_set____db54di) {
|
|
949
908
|
this.varName$ = _set____db54di;
|
|
950
909
|
};
|
|
951
|
-
protoOf(ValuesFuncContext).
|
|
910
|
+
protoOf(ValuesFuncContext).y30 = function () {
|
|
952
911
|
return this.varName$;
|
|
953
912
|
};
|
|
954
|
-
protoOf(ValuesFuncContext).
|
|
913
|
+
protoOf(ValuesFuncContext).t26 = function (listener) {
|
|
955
914
|
if (isInterface(listener, StateExpressionListener)) {
|
|
956
|
-
listener.
|
|
915
|
+
listener.q2x(this);
|
|
957
916
|
}
|
|
958
917
|
};
|
|
959
|
-
protoOf(ValuesFuncContext).
|
|
918
|
+
protoOf(ValuesFuncContext).v26 = function (listener) {
|
|
960
919
|
if (isInterface(listener, StateExpressionListener)) {
|
|
961
|
-
listener.
|
|
920
|
+
listener.r2x(this);
|
|
962
921
|
}
|
|
963
922
|
};
|
|
964
|
-
protoOf(ValuesFuncContext).
|
|
923
|
+
protoOf(ValuesFuncContext).t27 = function (visitor) {
|
|
965
924
|
var tmp;
|
|
966
925
|
if (isInterface(visitor, StateExpressionVisitor)) {
|
|
967
|
-
tmp = visitor.
|
|
926
|
+
tmp = visitor.p2v(this);
|
|
968
927
|
} else {
|
|
969
|
-
tmp = visitor.
|
|
928
|
+
tmp = visitor.c28(this);
|
|
970
929
|
}
|
|
971
930
|
return tmp;
|
|
972
931
|
};
|
|
@@ -975,76 +934,76 @@
|
|
|
975
934
|
}
|
|
976
935
|
function booleanExpr_sempred($this, _localctx, predIndex) {
|
|
977
936
|
if (predIndex === 0)
|
|
978
|
-
return $this.
|
|
937
|
+
return $this.p25(ensureNotNull($this.l1v_1), 6);
|
|
979
938
|
else if (predIndex === 1)
|
|
980
|
-
return $this.
|
|
939
|
+
return $this.p25(ensureNotNull($this.l1v_1), 5);
|
|
981
940
|
return true;
|
|
982
941
|
}
|
|
983
942
|
function StateExpressionParser(input) {
|
|
984
943
|
Companion_getInstance_0();
|
|
985
944
|
Parser.call(this, input);
|
|
986
|
-
this.
|
|
987
|
-
this.
|
|
988
|
-
this.
|
|
989
|
-
this.
|
|
990
|
-
this.
|
|
991
|
-
this.
|
|
992
|
-
this.
|
|
945
|
+
this.d33_1 = new ParserATNSimulator(this, Companion_getInstance_0().r2y_1, Companion_getInstance_0().s2y_1, Companion_getInstance_0().t2y_1);
|
|
946
|
+
this.e33_1 = 'StateExpression.g4';
|
|
947
|
+
this.f33_1 = Companion_getInstance_0().y2y_1;
|
|
948
|
+
this.g33_1 = Companion_getInstance_0().u2y_1;
|
|
949
|
+
this.h33_1 = Companion_getInstance_0().r2y_1;
|
|
950
|
+
this.i33_1 = Companion_getInstance_0().x2y_1;
|
|
951
|
+
this.j33_1 = '\x04\x01\x12.\x02\x00\x07\x00\x02\x01\x07\x01\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x03\x00\x17\b\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x05\x00\x1F\b\x00\n\x00\f\x00"\t\x00\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x03\x01,\b\x01\x01\x01\x00\x01\x00\x02\x00\x02\x00\x03\x01\x00\x01\x02\x02\x00\x01\x02\x06\t\x01\x00\f\r4\x00\x16\x01\x00\x00\x00\x02+\x01\x00\x00\x00\x04\x05\x06\x00\uFFFF\uFFFF\x00\x05\x06\x05\n\x00\x00\x06\x07\x03\x00\x00\x00\x07\b\x05\x0B\x00\x00\b\x17\x01\x00\x00\x00\t\n\x05\x05\x00\x00\n\x17\x03\x00\x00\x07\x0B\f\x05\x0E\x00\x00\f\r\x05\x12\x00\x00\r\x17\x05\x0B\x00\x00\x0E\x0F\x05\x12\x00\x00\x0F\x10\x07\x00\x00\x00\x10\x17\x05\x11\x00\x00\x11\x12\x03\x02\x01\x00\x12\x13\x07\x01\x00\x00\x13\x14\x03\x02\x01\x00\x14\x17\x01\x00\x00\x00\x15\x17\x07\x02\x00\x00\x16\x04\x01\x00\x00\x00\x16\t\x01\x00\x00\x00\x16\x0B\x01\x00\x00\x00\x16\x0E\x01\x00\x00\x00\x16\x11\x01\x00\x00\x00\x16\x15\x01\x00\x00\x00\x17 \x01\x00\x00\x00\x18\x19\n\x06\x00\x00\x19\x1A\x05\x03\x00\x00\x1A\x1F\x03\x00\x00\x07\x1B\x1C\n\x05\x00\x00\x1C\x1D\x05\x04\x00\x00\x1D\x1F\x03\x00\x00\x06\x1E\x18\x01\x00\x00\x00\x1E\x1B\x01\x00\x00\x00\x1F"\x01\x00\x00\x00 \x1E\x01\x00\x00\x00 !\x01\x00\x00\x00!\x01\x01\x00\x00\x00" \x01\x00\x00\x00#$\x05\n\x00\x00$%\x03\x02\x01\x00%&\x05\x0B\x00\x00&,\x01\x00\x00\x00\'(\x05\x0F\x00\x00()\x05\x12\x00\x00),\x05\x0B\x00\x00*,\x05\x10\x00\x00+#\x01\x00\x00\x00+\'\x01\x00\x00\x00+*\x01\x00\x00\x00,\x03\x01\x00\x00\x00\x04\x16\x1E +';
|
|
993
952
|
}
|
|
994
|
-
protoOf(StateExpressionParser).
|
|
995
|
-
return this.
|
|
953
|
+
protoOf(StateExpressionParser).w20 = function () {
|
|
954
|
+
return this.d33_1;
|
|
996
955
|
};
|
|
997
|
-
protoOf(StateExpressionParser).
|
|
998
|
-
return this.
|
|
956
|
+
protoOf(StateExpressionParser).p24 = function () {
|
|
957
|
+
return this.f33_1;
|
|
999
958
|
};
|
|
1000
|
-
protoOf(StateExpressionParser).
|
|
1001
|
-
return this.
|
|
959
|
+
protoOf(StateExpressionParser).r21 = function () {
|
|
960
|
+
return this.g33_1;
|
|
1002
961
|
};
|
|
1003
|
-
protoOf(StateExpressionParser).
|
|
1004
|
-
return this.
|
|
962
|
+
protoOf(StateExpressionParser).x20 = function () {
|
|
963
|
+
return this.h33_1;
|
|
1005
964
|
};
|
|
1006
|
-
protoOf(StateExpressionParser).
|
|
1007
|
-
return this.
|
|
965
|
+
protoOf(StateExpressionParser).o1z = function () {
|
|
966
|
+
return this.i33_1;
|
|
1008
967
|
};
|
|
1009
|
-
protoOf(StateExpressionParser).
|
|
968
|
+
protoOf(StateExpressionParser).q34 = function () {
|
|
1010
969
|
return booleanExpr(this, 0);
|
|
1011
970
|
};
|
|
1012
|
-
protoOf(StateExpressionParser).
|
|
1013
|
-
var _localctx = IntExprContext_init_$Create$(this.
|
|
971
|
+
protoOf(StateExpressionParser).k33 = function () {
|
|
972
|
+
var _localctx = IntExprContext_init_$Create$(this.l1v_1, this.n1z_1);
|
|
1014
973
|
var _token;
|
|
1015
974
|
var _ctx;
|
|
1016
|
-
this.
|
|
975
|
+
this.d27(_localctx, 2, 1);
|
|
1017
976
|
try {
|
|
1018
|
-
this.
|
|
1019
|
-
this.
|
|
1020
|
-
switch (this.
|
|
977
|
+
this.n1z_1 = 43;
|
|
978
|
+
this.i1v_1.c1w(this);
|
|
979
|
+
switch (this.j1v_1.u1x(1)) {
|
|
1021
980
|
case 10:
|
|
1022
981
|
_localctx = ParIntExprContext_init_$Create$(_localctx);
|
|
1023
|
-
this.
|
|
1024
|
-
this.
|
|
1025
|
-
this.
|
|
1026
|
-
this.
|
|
1027
|
-
_ctx = this.
|
|
982
|
+
this.f27(_localctx, 1);
|
|
983
|
+
this.n1z_1 = 35;
|
|
984
|
+
this.o26(10);
|
|
985
|
+
this.n1z_1 = 36;
|
|
986
|
+
_ctx = this.k33();
|
|
1028
987
|
_localctx.expr$ = _ctx;
|
|
1029
|
-
this.
|
|
1030
|
-
this.
|
|
988
|
+
this.n1z_1 = 37;
|
|
989
|
+
this.o26(11);
|
|
1031
990
|
break;
|
|
1032
991
|
case 15:
|
|
1033
992
|
_localctx = ValuesFuncContext_init_$Create$(_localctx);
|
|
1034
|
-
this.
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1037
|
-
this.
|
|
1038
|
-
_token = this.
|
|
993
|
+
this.f27(_localctx, 2);
|
|
994
|
+
this.n1z_1 = 39;
|
|
995
|
+
this.o26(15);
|
|
996
|
+
this.n1z_1 = 40;
|
|
997
|
+
_token = this.o26(18);
|
|
1039
998
|
_localctx.varName$ = _token;
|
|
1040
|
-
this.
|
|
1041
|
-
this.
|
|
999
|
+
this.n1z_1 = 41;
|
|
1000
|
+
this.o26(11);
|
|
1042
1001
|
break;
|
|
1043
1002
|
case 16:
|
|
1044
1003
|
_localctx = IntAtomContext_init_$Create$(_localctx);
|
|
1045
|
-
this.
|
|
1046
|
-
this.
|
|
1047
|
-
_token = this.
|
|
1004
|
+
this.f27(_localctx, 3);
|
|
1005
|
+
this.n1z_1 = 42;
|
|
1006
|
+
_token = this.o26(16);
|
|
1048
1007
|
_localctx.value$ = _token;
|
|
1049
1008
|
break;
|
|
1050
1009
|
default:
|
|
@@ -1053,19 +1012,19 @@
|
|
|
1053
1012
|
} catch ($p) {
|
|
1054
1013
|
if ($p instanceof RecognitionException) {
|
|
1055
1014
|
var re = $p;
|
|
1056
|
-
_localctx.
|
|
1057
|
-
this.
|
|
1058
|
-
this.
|
|
1015
|
+
_localctx.z1v_1 = re;
|
|
1016
|
+
this.i1v_1.n1w(this, re);
|
|
1017
|
+
this.i1v_1.e1v(this, re);
|
|
1059
1018
|
} else {
|
|
1060
1019
|
throw $p;
|
|
1061
1020
|
}
|
|
1062
1021
|
}
|
|
1063
1022
|
finally {
|
|
1064
|
-
this.
|
|
1023
|
+
this.e27();
|
|
1065
1024
|
}
|
|
1066
1025
|
return _localctx;
|
|
1067
1026
|
};
|
|
1068
|
-
protoOf(StateExpressionParser).
|
|
1027
|
+
protoOf(StateExpressionParser).o25 = function (_localctx, ruleIndex, predIndex) {
|
|
1069
1028
|
if (ruleIndex === 0) {
|
|
1070
1029
|
return booleanExpr_sempred(this, (_localctx == null ? true : _localctx instanceof BooleanExprContext) ? _localctx : THROW_CCE(), predIndex);
|
|
1071
1030
|
}
|
|
@@ -1074,15 +1033,15 @@
|
|
|
1074
1033
|
function StateExpressionVisitor() {
|
|
1075
1034
|
}
|
|
1076
1035
|
function Expression(expr, raw) {
|
|
1077
|
-
this.
|
|
1078
|
-
this.
|
|
1036
|
+
this.r34_1 = expr;
|
|
1037
|
+
this.s34_1 = raw;
|
|
1079
1038
|
}
|
|
1080
|
-
protoOf(Expression).
|
|
1081
|
-
return !(this.
|
|
1039
|
+
protoOf(Expression).t34 = function () {
|
|
1040
|
+
return !(this.r34_1 == null);
|
|
1082
1041
|
};
|
|
1083
|
-
protoOf(Expression).
|
|
1042
|
+
protoOf(Expression).u34 = function (state) {
|
|
1084
1043
|
// Inline function 'kotlin.checkNotNull' call
|
|
1085
|
-
var value = this.
|
|
1044
|
+
var value = this.r34_1;
|
|
1086
1045
|
// Inline function 'kotlin.contracts.contract' call
|
|
1087
1046
|
var tmp$ret$1;
|
|
1088
1047
|
$l$block: {
|
|
@@ -1097,11 +1056,11 @@
|
|
|
1097
1056
|
break $l$block;
|
|
1098
1057
|
}
|
|
1099
1058
|
}
|
|
1100
|
-
return tmp$ret$1.
|
|
1059
|
+
return tmp$ret$1.t27((new StateExpressionEvaluator(state)).w34_1);
|
|
1101
1060
|
};
|
|
1102
|
-
protoOf(Expression).
|
|
1061
|
+
protoOf(Expression).y34 = function () {
|
|
1103
1062
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1104
|
-
var tmp0_safe_receiver = this.
|
|
1063
|
+
var tmp0_safe_receiver = this.r34_1;
|
|
1105
1064
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : vars(tmp0_safe_receiver);
|
|
1106
1065
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : toSet(tmp1_safe_receiver);
|
|
1107
1066
|
return tmp0_elvis_lhs == null ? emptySet() : tmp0_elvis_lhs;
|
|
@@ -1117,7 +1076,7 @@
|
|
|
1117
1076
|
if (!(other instanceof Expression)) {
|
|
1118
1077
|
tmp = false;
|
|
1119
1078
|
} else {
|
|
1120
|
-
if (!(this.
|
|
1079
|
+
if (!(this.s34_1 === other.s34_1)) {
|
|
1121
1080
|
tmp = false;
|
|
1122
1081
|
} else {
|
|
1123
1082
|
tmp = true;
|
|
@@ -1128,36 +1087,29 @@
|
|
|
1128
1087
|
return tmp;
|
|
1129
1088
|
};
|
|
1130
1089
|
protoOf(Expression).hashCode = function () {
|
|
1131
|
-
return getStringHashCode(this.
|
|
1090
|
+
return getStringHashCode(this.s34_1);
|
|
1132
1091
|
};
|
|
1133
1092
|
function toExpressionOrNull(_this__u8e3s4) {
|
|
1134
1093
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
1135
1094
|
// Inline function 'kotlin.contracts.contract' call
|
|
1136
|
-
if (_this__u8e3s4 == null
|
|
1095
|
+
if (_this__u8e3s4 == null || isBlank(_this__u8e3s4))
|
|
1137
1096
|
return null;
|
|
1138
1097
|
var tmp;
|
|
1139
1098
|
try {
|
|
1140
|
-
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().
|
|
1099
|
+
var tokens = new CommonTokenStream(new StateExpressionLexer(CharStreams_getInstance().y1u(_this__u8e3s4)));
|
|
1141
1100
|
var parser = new StateExpressionParser(tokens);
|
|
1142
|
-
parser.
|
|
1143
|
-
var expr = parser.
|
|
1144
|
-
|
|
1145
|
-
var tmp_1 = tokens.b1(tokens.p1v()).c1w();
|
|
1146
|
-
if (tmp_1 === -1) {
|
|
1147
|
-
tmp_0 = expr;
|
|
1148
|
-
} else {
|
|
1149
|
-
tmp_0 = null;
|
|
1150
|
-
}
|
|
1151
|
-
tmp = tmp_0;
|
|
1101
|
+
parser.i1v_1 = new BailErrorStrategy();
|
|
1102
|
+
var expr = parser.q34();
|
|
1103
|
+
tmp = tokens.o(tokens.m1x()).z1x() === -1 ? expr : null;
|
|
1152
1104
|
} catch ($p) {
|
|
1153
|
-
var
|
|
1105
|
+
var tmp_0;
|
|
1154
1106
|
if ($p instanceof ParseCancellationException) {
|
|
1155
1107
|
var e = $p;
|
|
1156
|
-
|
|
1108
|
+
tmp_0 = null;
|
|
1157
1109
|
} else {
|
|
1158
1110
|
throw $p;
|
|
1159
1111
|
}
|
|
1160
|
-
tmp =
|
|
1112
|
+
tmp = tmp_0;
|
|
1161
1113
|
}
|
|
1162
1114
|
var tmp0_expr = tmp;
|
|
1163
1115
|
return new Expression(tmp0_expr, _this__u8e3s4);
|
|
@@ -1165,29 +1117,28 @@
|
|
|
1165
1117
|
function vars(_this__u8e3s4) {
|
|
1166
1118
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1167
1119
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
1168
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
1120
|
+
var tmp0_elvis_lhs = _this__u8e3s4.w1v_1;
|
|
1169
1121
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1170
1122
|
var this_0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
1171
1123
|
var destination = ArrayList_init_$Create$();
|
|
1172
|
-
var tmp0_iterator = this_0.
|
|
1173
|
-
while (tmp0_iterator.
|
|
1174
|
-
var element = tmp0_iterator.
|
|
1124
|
+
var tmp0_iterator = this_0.j();
|
|
1125
|
+
while (tmp0_iterator.k()) {
|
|
1126
|
+
var element = tmp0_iterator.l();
|
|
1175
1127
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>' call
|
|
1176
1128
|
var tmp;
|
|
1177
1129
|
if (isInterface(element, TerminalNode)) {
|
|
1178
1130
|
// Inline function 'kotlin.takeIf' call
|
|
1179
|
-
var this_1 = element.
|
|
1131
|
+
var this_1 = element.h2u();
|
|
1180
1132
|
// Inline function 'kotlin.contracts.contract' call
|
|
1181
1133
|
var tmp_0;
|
|
1182
1134
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.vars.<anonymous>.<anonymous>' call
|
|
1183
|
-
|
|
1184
|
-
if (tmp_1 === 18) {
|
|
1135
|
+
if (this_1.z1x() === 18) {
|
|
1185
1136
|
tmp_0 = this_1;
|
|
1186
1137
|
} else {
|
|
1187
1138
|
tmp_0 = null;
|
|
1188
1139
|
}
|
|
1189
1140
|
var tmp1_safe_receiver = tmp_0;
|
|
1190
|
-
tmp = listOfNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1141
|
+
tmp = listOfNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.i1y());
|
|
1191
1142
|
} else {
|
|
1192
1143
|
if (element instanceof ParserRuleContext) {
|
|
1193
1144
|
tmp = vars(element);
|
|
@@ -1201,124 +1152,120 @@
|
|
|
1201
1152
|
return destination;
|
|
1202
1153
|
}
|
|
1203
1154
|
function unexpectedToken($this, token) {
|
|
1204
|
-
var message = 'Unexpected token: ' + token.
|
|
1155
|
+
var message = 'Unexpected token: ' + token.i1y();
|
|
1205
1156
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1206
1157
|
}
|
|
1207
1158
|
function StateExpressionEvaluator$booleanExpr$1(this$0) {
|
|
1208
|
-
this.
|
|
1159
|
+
this.z34_1 = this$0;
|
|
1209
1160
|
StateExpressionBaseVisitor.call(this);
|
|
1210
1161
|
}
|
|
1211
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1212
|
-
return ensureNotNull(ctx.expr$).
|
|
1162
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).h2v = function (ctx) {
|
|
1163
|
+
return ensureNotNull(ctx.expr$).t27(this);
|
|
1213
1164
|
};
|
|
1214
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1215
|
-
return !ensureNotNull(ctx.expr$).
|
|
1165
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).k2v = function (ctx) {
|
|
1166
|
+
return !ensureNotNull(ctx.expr$).t27(this);
|
|
1216
1167
|
};
|
|
1217
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1218
|
-
return ensureNotNull(ctx.left$).
|
|
1168
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).m2v = function (ctx) {
|
|
1169
|
+
return ensureNotNull(ctx.left$).t27(this) || ensureNotNull(ctx.right$).t27(this);
|
|
1219
1170
|
};
|
|
1220
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1221
|
-
return ensureNotNull(ctx.left$).
|
|
1171
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).n2v = function (ctx) {
|
|
1172
|
+
return ensureNotNull(ctx.left$).t27(this) && ensureNotNull(ctx.right$).t27(this);
|
|
1222
1173
|
};
|
|
1223
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1224
|
-
var tmp0_subject = ensureNotNull(ctx.atom$).c1w();
|
|
1174
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).i2v = function (ctx) {
|
|
1225
1175
|
var tmp;
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1176
|
+
switch (ensureNotNull(ctx.atom$).z1x()) {
|
|
1177
|
+
case 12:
|
|
1178
|
+
tmp = true;
|
|
1179
|
+
break;
|
|
1180
|
+
case 13:
|
|
1230
1181
|
tmp = false;
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1182
|
+
break;
|
|
1183
|
+
default:
|
|
1184
|
+
unexpectedToken(this.z34_1, ensureNotNull(ctx.atom$));
|
|
1185
|
+
break;
|
|
1234
1186
|
}
|
|
1235
1187
|
return tmp;
|
|
1236
1188
|
};
|
|
1237
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1238
|
-
var varName = ensureNotNull(ensureNotNull(ctx.varName$).
|
|
1189
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).j2v = function (ctx) {
|
|
1190
|
+
var varName = ensureNotNull(ensureNotNull(ctx.varName$).i1y());
|
|
1239
1191
|
// Inline function 'kotlin.run' call
|
|
1240
1192
|
// Inline function 'kotlin.contracts.contract' call
|
|
1241
1193
|
// Inline function 'org.cru.godtools.shared.tool.parser.expressions.grammar.<no name provided>.visitEqExpr.<anonymous>' call
|
|
1242
|
-
var $this$run = ensureNotNull(ensureNotNull(ctx.value$).
|
|
1194
|
+
var $this$run = ensureNotNull(ensureNotNull(ctx.value$).i1y());
|
|
1243
1195
|
// Inline function 'kotlin.text.substring' call
|
|
1244
1196
|
var endIndex = $this$run.length - 1 | 0;
|
|
1245
1197
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1246
1198
|
var value = $this$run.substring(1, endIndex);
|
|
1247
|
-
var tmp0_subject = ensureNotNull(ctx.op$).c1w();
|
|
1248
1199
|
var tmp;
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1200
|
+
switch (ensureNotNull(ctx.op$).z1x()) {
|
|
1201
|
+
case 1:
|
|
1202
|
+
tmp = this.z34_1.v34_1.c1m(varName).q(value);
|
|
1203
|
+
break;
|
|
1204
|
+
case 2:
|
|
1205
|
+
tmp = !this.z34_1.v34_1.c1m(varName).q(value);
|
|
1206
|
+
break;
|
|
1207
|
+
default:
|
|
1208
|
+
unexpectedToken(this.z34_1, ensureNotNull(ctx.op$));
|
|
1209
|
+
break;
|
|
1257
1210
|
}
|
|
1258
1211
|
return tmp;
|
|
1259
1212
|
};
|
|
1260
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1261
|
-
var left = ensureNotNull(ctx.left$).
|
|
1262
|
-
var right = ensureNotNull(ctx.right$).
|
|
1263
|
-
var tmp0_subject = ensureNotNull(ctx.op$).c1w();
|
|
1213
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).g2v = function (ctx) {
|
|
1214
|
+
var left = ensureNotNull(ctx.left$).t27(this.z34_1.x34_1);
|
|
1215
|
+
var right = ensureNotNull(ctx.right$).t27(this.z34_1.x34_1);
|
|
1264
1216
|
var tmp;
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1217
|
+
switch (ensureNotNull(ctx.op$).z1x()) {
|
|
1218
|
+
case 1:
|
|
1219
|
+
tmp = left === right;
|
|
1220
|
+
break;
|
|
1221
|
+
case 2:
|
|
1269
1222
|
tmp = !(left === right);
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
}
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1223
|
+
break;
|
|
1224
|
+
case 7:
|
|
1225
|
+
tmp = left > right;
|
|
1226
|
+
break;
|
|
1227
|
+
case 6:
|
|
1228
|
+
tmp = left >= right;
|
|
1229
|
+
break;
|
|
1230
|
+
case 9:
|
|
1231
|
+
tmp = left < right;
|
|
1232
|
+
break;
|
|
1233
|
+
case 8:
|
|
1234
|
+
tmp = left <= right;
|
|
1235
|
+
break;
|
|
1236
|
+
default:
|
|
1237
|
+
unexpectedToken(this.z34_1, ensureNotNull(ctx.op$));
|
|
1238
|
+
break;
|
|
1289
1239
|
}
|
|
1290
1240
|
return tmp;
|
|
1291
1241
|
};
|
|
1292
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1242
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).l2v = function (ctx) {
|
|
1293
1243
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1294
|
-
return !this.
|
|
1244
|
+
return !this.z34_1.v34_1.c1m(ensureNotNull(ensureNotNull(ctx.varName$).i1y())).p();
|
|
1295
1245
|
};
|
|
1296
|
-
protoOf(StateExpressionEvaluator$booleanExpr$1).
|
|
1246
|
+
protoOf(StateExpressionEvaluator$booleanExpr$1).c2u = function () {
|
|
1297
1247
|
return false;
|
|
1298
1248
|
};
|
|
1299
1249
|
function StateExpressionEvaluator$intExpr$1(this$0) {
|
|
1300
|
-
this.
|
|
1250
|
+
this.a35_1 = this$0;
|
|
1301
1251
|
StateExpressionBaseVisitor.call(this);
|
|
1302
1252
|
}
|
|
1303
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1304
|
-
return toInt(ensureNotNull(ensureNotNull(ctx.value$).
|
|
1253
|
+
protoOf(StateExpressionEvaluator$intExpr$1).q2v = function (ctx) {
|
|
1254
|
+
return toInt(ensureNotNull(ensureNotNull(ctx.value$).i1y()));
|
|
1305
1255
|
};
|
|
1306
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1307
|
-
return this.
|
|
1256
|
+
protoOf(StateExpressionEvaluator$intExpr$1).p2v = function (ctx) {
|
|
1257
|
+
return this.a35_1.v34_1.c1m(ensureNotNull(ensureNotNull(ctx.varName$).i1y())).m();
|
|
1308
1258
|
};
|
|
1309
|
-
protoOf(StateExpressionEvaluator$intExpr$1).
|
|
1259
|
+
protoOf(StateExpressionEvaluator$intExpr$1).c2u = function () {
|
|
1310
1260
|
return 0;
|
|
1311
1261
|
};
|
|
1312
1262
|
function StateExpressionEvaluator(state) {
|
|
1313
|
-
this.
|
|
1263
|
+
this.v34_1 = state;
|
|
1314
1264
|
var tmp = this;
|
|
1315
|
-
tmp.
|
|
1265
|
+
tmp.w34_1 = new StateExpressionEvaluator$booleanExpr$1(this);
|
|
1316
1266
|
var tmp_0 = this;
|
|
1317
|
-
tmp_0.
|
|
1267
|
+
tmp_0.x34_1 = new StateExpressionEvaluator$intExpr$1(this);
|
|
1318
1268
|
}
|
|
1319
|
-
//region block: init
|
|
1320
|
-
Tokens_instance = new Tokens();
|
|
1321
|
-
//endregion
|
|
1322
1269
|
//region block: exports
|
|
1323
1270
|
_.$_$ = _.$_$ || {};
|
|
1324
1271
|
_.$_$.a = toExpressionOrNull;
|