@zenuml/core 4.10.2 → 4.10.4
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/cli/zenuml.mjs +357 -284
- package/dist/parser/index.cjs +2 -2
- package/dist/parser/index.mjs +837 -752
- package/dist/zenuml.esm.mjs +9949 -9944
- package/dist/zenuml.js +541 -541
- package/package.json +1 -1
package/dist/parser/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
1
|
+
import h from "antlr4";
|
|
2
|
+
const g0 = [
|
|
3
3
|
4,
|
|
4
4
|
0,
|
|
5
5
|
80,
|
|
@@ -12070,8 +12070,8 @@ const B0 = [
|
|
|
12070
12070
|
4,
|
|
12071
12071
|
0,
|
|
12072
12072
|
0
|
|
12073
|
-
],
|
|
12074
|
-
class a extends
|
|
12073
|
+
], tt = new h.atn.ATNDeserializer().deserialize(g0), O0 = tt.decisionToState.map((r, t) => new h.dfa.DFA(r, t));
|
|
12074
|
+
class a extends h.Lexer {
|
|
12075
12075
|
static grammarFileName = "sequenceLexer.g4";
|
|
12076
12076
|
static channelNames = [
|
|
12077
12077
|
"DEFAULT_TOKEN_CHANNEL",
|
|
@@ -12318,24 +12318,24 @@ class a extends o.Lexer {
|
|
|
12318
12318
|
"TITLE_END"
|
|
12319
12319
|
];
|
|
12320
12320
|
constructor(t) {
|
|
12321
|
-
super(t), this._interp = new
|
|
12321
|
+
super(t), this._interp = new h.atn.LexerATNSimulator(this, tt, O0, new h.PredictionContextCache()), this.isTitle = function() {
|
|
12322
12322
|
const e = this._tokenStartCharIndex;
|
|
12323
12323
|
if (this._input.getText(0, e - 1).replace(/\/\/[^\n]*(?:\n|$)/g, "").trim().length) return !1;
|
|
12324
|
-
const n = 32, c = 9,
|
|
12325
|
-
let
|
|
12326
|
-
for (;
|
|
12327
|
-
++
|
|
12328
|
-
return
|
|
12324
|
+
const n = 32, c = 9, x = -1, d = 46, A = 61, m = 40;
|
|
12325
|
+
let _ = 1, C = this._input.LA(_);
|
|
12326
|
+
for (; C === n || C === c; )
|
|
12327
|
+
++_, C = this._input.LA(_);
|
|
12328
|
+
return C === x || C !== d && C !== A && C !== m;
|
|
12329
12329
|
}, this.isNameStartAhead = function() {
|
|
12330
12330
|
const e = this._input.LA(1);
|
|
12331
12331
|
return e !== -1 && /[\p{L}_]/u.test(String.fromCodePoint(e));
|
|
12332
12332
|
};
|
|
12333
12333
|
}
|
|
12334
12334
|
get atn() {
|
|
12335
|
-
return
|
|
12335
|
+
return tt;
|
|
12336
12336
|
}
|
|
12337
12337
|
}
|
|
12338
|
-
a.EOF =
|
|
12338
|
+
a.EOF = h.Token.EOF;
|
|
12339
12339
|
a.WS = 1;
|
|
12340
12340
|
a.CONSTANT = 2;
|
|
12341
12341
|
a.READONLY = 3;
|
|
@@ -12476,7 +12476,7 @@ a.prototype.DIVIDER_sempred = function(r, t) {
|
|
|
12476
12476
|
throw "No predicate with index:" + t;
|
|
12477
12477
|
}
|
|
12478
12478
|
};
|
|
12479
|
-
class
|
|
12479
|
+
class o extends h.tree.ParseTreeListener {
|
|
12480
12480
|
// Enter a parse tree produced by sequenceParser#prog.
|
|
12481
12481
|
enterProg(t) {
|
|
12482
12482
|
}
|
|
@@ -12964,7 +12964,7 @@ class h extends o.tree.ParseTreeListener {
|
|
|
12964
12964
|
exitTextExpr(t) {
|
|
12965
12965
|
}
|
|
12966
12966
|
}
|
|
12967
|
-
const
|
|
12967
|
+
const I0 = [
|
|
12968
12968
|
4,
|
|
12969
12969
|
1,
|
|
12970
12970
|
81,
|
|
@@ -19094,8 +19094,8 @@ const P0 = [
|
|
|
19094
19094
|
640,
|
|
19095
19095
|
647,
|
|
19096
19096
|
656
|
|
19097
|
-
],
|
|
19098
|
-
class i extends
|
|
19097
|
+
], et = new h.atn.ATNDeserializer().deserialize(I0), H0 = et.decisionToState.map((r, t) => new h.dfa.DFA(r, t)), U0 = new h.PredictionContextCache();
|
|
19098
|
+
class i extends h.Parser {
|
|
19099
19099
|
static grammarFileName = "java-escape";
|
|
19100
19100
|
static literalNames = [
|
|
19101
19101
|
null,
|
|
@@ -19309,10 +19309,10 @@ class i extends o.Parser {
|
|
|
19309
19309
|
"textExpr"
|
|
19310
19310
|
];
|
|
19311
19311
|
constructor(t) {
|
|
19312
|
-
super(t), this._interp = new
|
|
19312
|
+
super(t), this._interp = new h.atn.ParserATNSimulator(this, et, H0, U0), this.ruleNames = i.ruleNames, this.literalNames = i.literalNames, this.symbolicNames = i.symbolicNames;
|
|
19313
19313
|
}
|
|
19314
19314
|
get atn() {
|
|
19315
|
-
return
|
|
19315
|
+
return et;
|
|
19316
19316
|
}
|
|
19317
19317
|
sempred(t, e, s) {
|
|
19318
19318
|
switch (e) {
|
|
@@ -19363,7 +19363,7 @@ class i extends o.Parser {
|
|
|
19363
19363
|
break;
|
|
19364
19364
|
}
|
|
19365
19365
|
} catch (n) {
|
|
19366
|
-
if (n instanceof
|
|
19366
|
+
if (n instanceof h.error.RecognitionException)
|
|
19367
19367
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19368
19368
|
else
|
|
19369
19369
|
throw n;
|
|
@@ -19379,7 +19379,7 @@ class i extends o.Parser {
|
|
|
19379
19379
|
try {
|
|
19380
19380
|
this.enterOuterAlt(t, 1), this.state = 143, this.match(i.TITLE), this.state = 145, this._errHandler.sync(this), e = this._input.LA(1), e === 79 && (this.state = 144, this.match(i.TITLE_CONTENT)), this.state = 148, this._errHandler.sync(this), e = this._input.LA(1), e === 80 && (this.state = 147, this.match(i.TITLE_END));
|
|
19381
19381
|
} catch (s) {
|
|
19382
|
-
if (s instanceof
|
|
19382
|
+
if (s instanceof h.error.RecognitionException)
|
|
19383
19383
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
19384
19384
|
else
|
|
19385
19385
|
throw s;
|
|
@@ -19417,18 +19417,18 @@ class i extends o.Parser {
|
|
|
19417
19417
|
this.state = 151, this.participant();
|
|
19418
19418
|
break;
|
|
19419
19419
|
default:
|
|
19420
|
-
throw new
|
|
19420
|
+
throw new h.error.NoViableAltException(this);
|
|
19421
19421
|
}
|
|
19422
19422
|
break;
|
|
19423
19423
|
default:
|
|
19424
|
-
throw new
|
|
19424
|
+
throw new h.error.NoViableAltException(this);
|
|
19425
19425
|
}
|
|
19426
19426
|
this.state = 154, this._errHandler.sync(this), s = this._interp.adaptivePredict(this._input, 8, this._ctx);
|
|
19427
|
-
} while (s != 2 && s !=
|
|
19427
|
+
} while (s != 2 && s != h.atn.ATN.INVALID_ALT_NUMBER);
|
|
19428
19428
|
break;
|
|
19429
19429
|
case 2:
|
|
19430
19430
|
this.enterOuterAlt(t, 2), this.state = 160, this._errHandler.sync(this);
|
|
19431
|
-
for (var s = this._interp.adaptivePredict(this._input, 10, this._ctx); s != 2 && s !=
|
|
19431
|
+
for (var s = this._interp.adaptivePredict(this._input, 10, this._ctx); s != 2 && s != h.atn.ATN.INVALID_ALT_NUMBER; ) {
|
|
19432
19432
|
if (s === 1)
|
|
19433
19433
|
switch (this.state = 158, this._errHandler.sync(this), this._input.LA(1)) {
|
|
19434
19434
|
case 46:
|
|
@@ -19446,7 +19446,7 @@ class i extends o.Parser {
|
|
|
19446
19446
|
this.state = 157, this.participant();
|
|
19447
19447
|
break;
|
|
19448
19448
|
default:
|
|
19449
|
-
throw new
|
|
19449
|
+
throw new h.error.NoViableAltException(this);
|
|
19450
19450
|
}
|
|
19451
19451
|
this.state = 162, this._errHandler.sync(this), s = this._interp.adaptivePredict(this._input, 10, this._ctx);
|
|
19452
19452
|
}
|
|
@@ -19454,7 +19454,7 @@ class i extends o.Parser {
|
|
|
19454
19454
|
break;
|
|
19455
19455
|
}
|
|
19456
19456
|
} catch (n) {
|
|
19457
|
-
if (n instanceof
|
|
19457
|
+
if (n instanceof h.error.RecognitionException)
|
|
19458
19458
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19459
19459
|
else
|
|
19460
19460
|
throw n;
|
|
@@ -19474,12 +19474,12 @@ class i extends o.Parser {
|
|
|
19474
19474
|
var s = this._interp.adaptivePredict(this._input, 15, this._ctx);
|
|
19475
19475
|
if (s === 1) {
|
|
19476
19476
|
this.state = 170, this.match(i.OBRACE), this.state = 174, this._errHandler.sync(this);
|
|
19477
|
-
for (var n = this._interp.adaptivePredict(this._input, 13, this._ctx); n != 2 && n !=
|
|
19477
|
+
for (var n = this._interp.adaptivePredict(this._input, 13, this._ctx); n != 2 && n != h.atn.ATN.INVALID_ALT_NUMBER; )
|
|
19478
19478
|
n === 1 && (this.state = 171, this.participant()), this.state = 176, this._errHandler.sync(this), n = this._interp.adaptivePredict(this._input, 13, this._ctx);
|
|
19479
19479
|
this.state = 178, this._errHandler.sync(this), e = this._input.LA(1), e === 36 && (this.state = 177, this.match(i.CBRACE));
|
|
19480
19480
|
}
|
|
19481
19481
|
} catch (c) {
|
|
19482
|
-
if (c instanceof
|
|
19482
|
+
if (c instanceof h.error.RecognitionException)
|
|
19483
19483
|
t.exception = c, this._errHandler.reportError(this, c), this._errHandler.recover(this, c);
|
|
19484
19484
|
else
|
|
19485
19485
|
throw c;
|
|
@@ -19501,10 +19501,10 @@ class i extends o.Parser {
|
|
|
19501
19501
|
this.enterOuterAlt(t, 2), this.state = 190, this.match(i.ANNOTATION);
|
|
19502
19502
|
break;
|
|
19503
19503
|
default:
|
|
19504
|
-
throw new
|
|
19504
|
+
throw new h.error.NoViableAltException(this);
|
|
19505
19505
|
}
|
|
19506
19506
|
} catch (s) {
|
|
19507
|
-
if (s instanceof
|
|
19507
|
+
if (s instanceof h.error.RecognitionException)
|
|
19508
19508
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
19509
19509
|
else
|
|
19510
19510
|
throw s;
|
|
@@ -19519,7 +19519,7 @@ class i extends o.Parser {
|
|
|
19519
19519
|
try {
|
|
19520
19520
|
this.enterOuterAlt(t, 1), this.state = 193, this.name();
|
|
19521
19521
|
} catch (e) {
|
|
19522
|
-
if (e instanceof
|
|
19522
|
+
if (e instanceof h.error.RecognitionException)
|
|
19523
19523
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
19524
19524
|
else
|
|
19525
19525
|
throw e;
|
|
@@ -19529,7 +19529,7 @@ class i extends o.Parser {
|
|
|
19529
19529
|
return t;
|
|
19530
19530
|
}
|
|
19531
19531
|
participant() {
|
|
19532
|
-
let t = new
|
|
19532
|
+
let t = new g(this, this._ctx, this.state);
|
|
19533
19533
|
this.enterRule(t, 12, i.RULE_participant);
|
|
19534
19534
|
var e = 0;
|
|
19535
19535
|
try {
|
|
@@ -19549,7 +19549,7 @@ class i extends o.Parser {
|
|
|
19549
19549
|
break;
|
|
19550
19550
|
}
|
|
19551
19551
|
} catch (n) {
|
|
19552
|
-
if (n instanceof
|
|
19552
|
+
if (n instanceof h.error.RecognitionException)
|
|
19553
19553
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19554
19554
|
else
|
|
19555
19555
|
throw n;
|
|
@@ -19559,7 +19559,7 @@ class i extends o.Parser {
|
|
|
19559
19559
|
return t;
|
|
19560
19560
|
}
|
|
19561
19561
|
stereotype() {
|
|
19562
|
-
let t = new
|
|
19562
|
+
let t = new ht(this, this._ctx, this.state);
|
|
19563
19563
|
this.enterRule(t, 14, i.RULE_stereotype);
|
|
19564
19564
|
var e = 0;
|
|
19565
19565
|
try {
|
|
@@ -19577,7 +19577,7 @@ class i extends o.Parser {
|
|
|
19577
19577
|
break;
|
|
19578
19578
|
}
|
|
19579
19579
|
} catch (n) {
|
|
19580
|
-
if (n instanceof
|
|
19580
|
+
if (n instanceof h.error.RecognitionException)
|
|
19581
19581
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19582
19582
|
else
|
|
19583
19583
|
throw n;
|
|
@@ -19587,7 +19587,7 @@ class i extends o.Parser {
|
|
|
19587
19587
|
return t;
|
|
19588
19588
|
}
|
|
19589
19589
|
label() {
|
|
19590
|
-
let t = new
|
|
19590
|
+
let t = new ot(this, this._ctx, this.state);
|
|
19591
19591
|
this.enterRule(t, 16, i.RULE_label);
|
|
19592
19592
|
try {
|
|
19593
19593
|
this.state = 236, this._errHandler.sync(this);
|
|
@@ -19601,7 +19601,7 @@ class i extends o.Parser {
|
|
|
19601
19601
|
break;
|
|
19602
19602
|
}
|
|
19603
19603
|
} catch (s) {
|
|
19604
|
-
if (s instanceof
|
|
19604
|
+
if (s instanceof h.error.RecognitionException)
|
|
19605
19605
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
19606
19606
|
else
|
|
19607
19607
|
throw s;
|
|
@@ -19616,7 +19616,7 @@ class i extends o.Parser {
|
|
|
19616
19616
|
try {
|
|
19617
19617
|
this.enterOuterAlt(t, 1), this.state = 238, this.match(i.ANNOTATION);
|
|
19618
19618
|
} catch (e) {
|
|
19619
|
-
if (e instanceof
|
|
19619
|
+
if (e instanceof h.error.RecognitionException)
|
|
19620
19620
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
19621
19621
|
else
|
|
19622
19622
|
throw e;
|
|
@@ -19626,13 +19626,13 @@ class i extends o.Parser {
|
|
|
19626
19626
|
return t;
|
|
19627
19627
|
}
|
|
19628
19628
|
name() {
|
|
19629
|
-
let t = new
|
|
19629
|
+
let t = new f(this, this._ctx, this.state);
|
|
19630
19630
|
this.enterRule(t, 20, i.RULE_name);
|
|
19631
19631
|
var e = 0;
|
|
19632
19632
|
try {
|
|
19633
19633
|
this.enterOuterAlt(t, 1), this.state = 240, e = this._input.LA(1), (e - 62 & -32) == 0 && (1 << e - 62 & 225) !== 0 ? (this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this);
|
|
19634
19634
|
} catch (s) {
|
|
19635
|
-
if (s instanceof
|
|
19635
|
+
if (s instanceof h.error.RecognitionException)
|
|
19636
19636
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
19637
19637
|
else
|
|
19638
19638
|
throw s;
|
|
@@ -19647,7 +19647,7 @@ class i extends o.Parser {
|
|
|
19647
19647
|
try {
|
|
19648
19648
|
this.enterOuterAlt(t, 1), this.state = 242, this.match(i.INT);
|
|
19649
19649
|
} catch (e) {
|
|
19650
|
-
if (e instanceof
|
|
19650
|
+
if (e instanceof h.error.RecognitionException)
|
|
19651
19651
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
19652
19652
|
else
|
|
19653
19653
|
throw e;
|
|
@@ -19657,7 +19657,7 @@ class i extends o.Parser {
|
|
|
19657
19657
|
return t;
|
|
19658
19658
|
}
|
|
19659
19659
|
emoji() {
|
|
19660
|
-
let t = new
|
|
19660
|
+
let t = new N(this, this._ctx, this.state);
|
|
19661
19661
|
this.enterRule(t, 24, i.RULE_emoji);
|
|
19662
19662
|
try {
|
|
19663
19663
|
switch (this.state = 249, this._errHandler.sync(this), this._input.LA(1)) {
|
|
@@ -19668,10 +19668,10 @@ class i extends o.Parser {
|
|
|
19668
19668
|
this.enterOuterAlt(t, 2), this.state = 248, this.match(i.EMOJI_SHORTCODE);
|
|
19669
19669
|
break;
|
|
19670
19670
|
default:
|
|
19671
|
-
throw new
|
|
19671
|
+
throw new h.error.NoViableAltException(this);
|
|
19672
19672
|
}
|
|
19673
19673
|
} catch (e) {
|
|
19674
|
-
if (e instanceof
|
|
19674
|
+
if (e instanceof h.error.RecognitionException)
|
|
19675
19675
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
19676
19676
|
else
|
|
19677
19677
|
throw e;
|
|
@@ -19681,7 +19681,7 @@ class i extends o.Parser {
|
|
|
19681
19681
|
return t;
|
|
19682
19682
|
}
|
|
19683
19683
|
block() {
|
|
19684
|
-
let t = new
|
|
19684
|
+
let t = new G(this, this._ctx, this.state);
|
|
19685
19685
|
this.enterRule(t, 26, i.RULE_block);
|
|
19686
19686
|
var e = 0;
|
|
19687
19687
|
try {
|
|
@@ -19690,7 +19690,7 @@ class i extends o.Parser {
|
|
|
19690
19690
|
this.state = 251, this.stat(), this.state = 254, this._errHandler.sync(this), e = this._input.LA(1);
|
|
19691
19691
|
while (e === 13 || (e - 35 & -32) == 0 && (1 << e - 35 & 4169332669) !== 0 || (e - 67 & -32) == 0 && (1 << e - 67 & 16903) !== 0);
|
|
19692
19692
|
} catch (s) {
|
|
19693
|
-
if (s instanceof
|
|
19693
|
+
if (s instanceof h.error.RecognitionException)
|
|
19694
19694
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
19695
19695
|
else
|
|
19696
19696
|
throw s;
|
|
@@ -19722,10 +19722,10 @@ class i extends o.Parser {
|
|
|
19722
19722
|
this.enterOuterAlt(t, 3), this.state = 268, this.returnAsyncMessage(), this.state = 270, this._errHandler.sync(this), e = this._input.LA(1), e === 78 && (this.state = 269, this.match(i.EVENT_END));
|
|
19723
19723
|
break;
|
|
19724
19724
|
default:
|
|
19725
|
-
throw new
|
|
19725
|
+
throw new h.error.NoViableAltException(this);
|
|
19726
19726
|
}
|
|
19727
19727
|
} catch (n) {
|
|
19728
|
-
if (n instanceof
|
|
19728
|
+
if (n instanceof h.error.RecognitionException)
|
|
19729
19729
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19730
19730
|
else
|
|
19731
19731
|
throw n;
|
|
@@ -19752,7 +19752,7 @@ class i extends o.Parser {
|
|
|
19752
19752
|
break;
|
|
19753
19753
|
}
|
|
19754
19754
|
} catch (n) {
|
|
19755
|
-
if (n instanceof
|
|
19755
|
+
if (n instanceof h.error.RecognitionException)
|
|
19756
19756
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19757
19757
|
else
|
|
19758
19758
|
throw n;
|
|
@@ -19767,7 +19767,7 @@ class i extends o.Parser {
|
|
|
19767
19767
|
try {
|
|
19768
19768
|
this.enterOuterAlt(t, 1), this.state = 288, this.dividerNote();
|
|
19769
19769
|
} catch (e) {
|
|
19770
|
-
if (e instanceof
|
|
19770
|
+
if (e instanceof h.error.RecognitionException)
|
|
19771
19771
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
19772
19772
|
else
|
|
19773
19773
|
throw e;
|
|
@@ -19777,12 +19777,12 @@ class i extends o.Parser {
|
|
|
19777
19777
|
return t;
|
|
19778
19778
|
}
|
|
19779
19779
|
dividerNote() {
|
|
19780
|
-
let t = new
|
|
19780
|
+
let t = new dt(this, this._ctx, this.state);
|
|
19781
19781
|
this.enterRule(t, 34, i.RULE_dividerNote);
|
|
19782
19782
|
try {
|
|
19783
19783
|
this.enterOuterAlt(t, 1), this.state = 290, this.match(i.DIVIDER);
|
|
19784
19784
|
} catch (e) {
|
|
19785
|
-
if (e instanceof
|
|
19785
|
+
if (e instanceof h.error.RecognitionException)
|
|
19786
19786
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
19787
19787
|
else
|
|
19788
19788
|
throw e;
|
|
@@ -19840,7 +19840,7 @@ class i extends o.Parser {
|
|
|
19840
19840
|
break;
|
|
19841
19841
|
}
|
|
19842
19842
|
} catch (n) {
|
|
19843
|
-
if (n instanceof
|
|
19843
|
+
if (n instanceof h.error.RecognitionException)
|
|
19844
19844
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19845
19845
|
else
|
|
19846
19846
|
throw n;
|
|
@@ -19850,7 +19850,7 @@ class i extends o.Parser {
|
|
|
19850
19850
|
return t;
|
|
19851
19851
|
}
|
|
19852
19852
|
par() {
|
|
19853
|
-
let t = new
|
|
19853
|
+
let t = new pt(this, this._ctx, this.state);
|
|
19854
19854
|
this.enterRule(t, 38, i.RULE_par);
|
|
19855
19855
|
var e = 0;
|
|
19856
19856
|
try {
|
|
@@ -19865,7 +19865,7 @@ class i extends o.Parser {
|
|
|
19865
19865
|
break;
|
|
19866
19866
|
}
|
|
19867
19867
|
} catch (n) {
|
|
19868
|
-
if (n instanceof
|
|
19868
|
+
if (n instanceof h.error.RecognitionException)
|
|
19869
19869
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19870
19870
|
else
|
|
19871
19871
|
throw n;
|
|
@@ -19890,7 +19890,7 @@ class i extends o.Parser {
|
|
|
19890
19890
|
break;
|
|
19891
19891
|
}
|
|
19892
19892
|
} catch (n) {
|
|
19893
|
-
if (n instanceof
|
|
19893
|
+
if (n instanceof h.error.RecognitionException)
|
|
19894
19894
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19895
19895
|
else
|
|
19896
19896
|
throw n;
|
|
@@ -19915,7 +19915,7 @@ class i extends o.Parser {
|
|
|
19915
19915
|
break;
|
|
19916
19916
|
}
|
|
19917
19917
|
} catch (n) {
|
|
19918
|
-
if (n instanceof
|
|
19918
|
+
if (n instanceof h.error.RecognitionException)
|
|
19919
19919
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19920
19920
|
else
|
|
19921
19921
|
throw n;
|
|
@@ -19943,7 +19943,7 @@ class i extends o.Parser {
|
|
|
19943
19943
|
break;
|
|
19944
19944
|
}
|
|
19945
19945
|
} catch (n) {
|
|
19946
|
-
if (n instanceof
|
|
19946
|
+
if (n instanceof h.error.RecognitionException)
|
|
19947
19947
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
19948
19948
|
else
|
|
19949
19949
|
throw n;
|
|
@@ -19953,14 +19953,14 @@ class i extends o.Parser {
|
|
|
19953
19953
|
return t;
|
|
19954
19954
|
}
|
|
19955
19955
|
creation() {
|
|
19956
|
-
let t = new
|
|
19956
|
+
let t = new S(this, this._ctx, this.state);
|
|
19957
19957
|
this.enterRule(t, 46, i.RULE_creation);
|
|
19958
19958
|
try {
|
|
19959
19959
|
this.enterOuterAlt(t, 1), this.state = 347, this.creationBody(), this.state = 350, this._errHandler.sync(this);
|
|
19960
19960
|
var e = this._interp.adaptivePredict(this._input, 51, this._ctx);
|
|
19961
19961
|
e === 1 ? (this.state = 348, this.match(i.SCOL)) : e === 2 && (this.state = 349, this.braceBlock());
|
|
19962
19962
|
} catch (s) {
|
|
19963
|
-
if (s instanceof
|
|
19963
|
+
if (s instanceof h.error.RecognitionException)
|
|
19964
19964
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
19965
19965
|
else
|
|
19966
19966
|
throw s;
|
|
@@ -19981,7 +19981,7 @@ class i extends o.Parser {
|
|
|
19981
19981
|
}
|
|
19982
19982
|
this.state = 367, this.match(i.CPAR), this.state = 369, this._errHandler.sync(this), e = this._input.LA(1), e === 30 && (this.state = 368, this.match(i.SCOL));
|
|
19983
19983
|
} catch (s) {
|
|
19984
|
-
if (s instanceof
|
|
19984
|
+
if (s instanceof h.error.RecognitionException)
|
|
19985
19985
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
19986
19986
|
else
|
|
19987
19987
|
throw s;
|
|
@@ -20012,7 +20012,7 @@ class i extends o.Parser {
|
|
|
20012
20012
|
break;
|
|
20013
20013
|
}
|
|
20014
20014
|
} catch (n) {
|
|
20015
|
-
if (n instanceof
|
|
20015
|
+
if (n instanceof h.error.RecognitionException)
|
|
20016
20016
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
20017
20017
|
else
|
|
20018
20018
|
throw n;
|
|
@@ -20029,7 +20029,7 @@ class i extends o.Parser {
|
|
|
20029
20029
|
var e = this._interp.adaptivePredict(this._input, 60, this._ctx);
|
|
20030
20030
|
e === 1 ? (this.state = 390, this.match(i.SCOL)) : e === 2 && (this.state = 391, this.braceBlock());
|
|
20031
20031
|
} catch (s) {
|
|
20032
|
-
if (s instanceof
|
|
20032
|
+
if (s instanceof h.error.RecognitionException)
|
|
20033
20033
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20034
20034
|
else
|
|
20035
20035
|
throw s;
|
|
@@ -20064,7 +20064,7 @@ class i extends o.Parser {
|
|
|
20064
20064
|
break;
|
|
20065
20065
|
}
|
|
20066
20066
|
} catch (s) {
|
|
20067
|
-
if (s instanceof
|
|
20067
|
+
if (s instanceof h.error.RecognitionException)
|
|
20068
20068
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20069
20069
|
else
|
|
20070
20070
|
throw s;
|
|
@@ -20074,14 +20074,14 @@ class i extends o.Parser {
|
|
|
20074
20074
|
return t;
|
|
20075
20075
|
}
|
|
20076
20076
|
fromTo() {
|
|
20077
|
-
let t = new
|
|
20077
|
+
let t = new mt(this, this._ctx, this.state);
|
|
20078
20078
|
this.enterRule(t, 56, i.RULE_fromTo);
|
|
20079
20079
|
try {
|
|
20080
20080
|
this.enterOuterAlt(t, 1), this.state = 412, this._errHandler.sync(this);
|
|
20081
20081
|
var e = this._interp.adaptivePredict(this._input, 65, this._ctx);
|
|
20082
20082
|
e === 1 && (this.state = 409, this.from(), this.state = 410, this.match(i.ARROW)), this.state = 414, this.to(), this.state = 415, this.match(i.DOT);
|
|
20083
20083
|
} catch (s) {
|
|
20084
|
-
if (s instanceof
|
|
20084
|
+
if (s instanceof h.error.RecognitionException)
|
|
20085
20085
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20086
20086
|
else
|
|
20087
20087
|
throw s;
|
|
@@ -20091,14 +20091,14 @@ class i extends o.Parser {
|
|
|
20091
20091
|
return t;
|
|
20092
20092
|
}
|
|
20093
20093
|
func() {
|
|
20094
|
-
let t = new
|
|
20094
|
+
let t = new W(this, this._ctx, this.state);
|
|
20095
20095
|
this.enterRule(t, 58, i.RULE_func);
|
|
20096
20096
|
try {
|
|
20097
20097
|
this.enterOuterAlt(t, 1), this.state = 417, this.signature(), this.state = 422, this._errHandler.sync(this);
|
|
20098
|
-
for (var e = this._interp.adaptivePredict(this._input, 66, this._ctx); e != 2 && e !=
|
|
20098
|
+
for (var e = this._interp.adaptivePredict(this._input, 66, this._ctx); e != 2 && e != h.atn.ATN.INVALID_ALT_NUMBER; )
|
|
20099
20099
|
e === 1 && (this.state = 418, this.match(i.DOT), this.state = 419, this.signature()), this.state = 424, this._errHandler.sync(this), e = this._interp.adaptivePredict(this._input, 66, this._ctx);
|
|
20100
20100
|
} catch (s) {
|
|
20101
|
-
if (s instanceof
|
|
20101
|
+
if (s instanceof h.error.RecognitionException)
|
|
20102
20102
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20103
20103
|
else
|
|
20104
20104
|
throw s;
|
|
@@ -20108,13 +20108,13 @@ class i extends o.Parser {
|
|
|
20108
20108
|
return t;
|
|
20109
20109
|
}
|
|
20110
20110
|
from() {
|
|
20111
|
-
let t = new
|
|
20111
|
+
let t = new U(this, this._ctx, this.state);
|
|
20112
20112
|
this.enterRule(t, 60, i.RULE_from);
|
|
20113
20113
|
var e = 0;
|
|
20114
20114
|
try {
|
|
20115
20115
|
this.enterOuterAlt(t, 1), this.state = 426, this._errHandler.sync(this), e = this._input.LA(1), (e === 13 || e === 81) && (this.state = 425, this.emoji()), this.state = 428, this.name();
|
|
20116
20116
|
} catch (s) {
|
|
20117
|
-
if (s instanceof
|
|
20117
|
+
if (s instanceof h.error.RecognitionException)
|
|
20118
20118
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20119
20119
|
else
|
|
20120
20120
|
throw s;
|
|
@@ -20124,13 +20124,13 @@ class i extends o.Parser {
|
|
|
20124
20124
|
return t;
|
|
20125
20125
|
}
|
|
20126
20126
|
to() {
|
|
20127
|
-
let t = new
|
|
20127
|
+
let t = new O(this, this._ctx, this.state);
|
|
20128
20128
|
this.enterRule(t, 62, i.RULE_to);
|
|
20129
20129
|
var e = 0;
|
|
20130
20130
|
try {
|
|
20131
20131
|
this.enterOuterAlt(t, 1), this.state = 431, this._errHandler.sync(this), e = this._input.LA(1), (e === 13 || e === 81) && (this.state = 430, this.emoji()), this.state = 433, this.name();
|
|
20132
20132
|
} catch (s) {
|
|
20133
|
-
if (s instanceof
|
|
20133
|
+
if (s instanceof h.error.RecognitionException)
|
|
20134
20134
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20135
20135
|
else
|
|
20136
20136
|
throw s;
|
|
@@ -20147,7 +20147,7 @@ class i extends o.Parser {
|
|
|
20147
20147
|
var e = this._interp.adaptivePredict(this._input, 69, this._ctx);
|
|
20148
20148
|
e === 1 && (this.state = 436, this.invocation());
|
|
20149
20149
|
} catch (s) {
|
|
20150
|
-
if (s instanceof
|
|
20150
|
+
if (s instanceof h.error.RecognitionException)
|
|
20151
20151
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20152
20152
|
else
|
|
20153
20153
|
throw s;
|
|
@@ -20157,13 +20157,13 @@ class i extends o.Parser {
|
|
|
20157
20157
|
return t;
|
|
20158
20158
|
}
|
|
20159
20159
|
invocation() {
|
|
20160
|
-
let t = new
|
|
20160
|
+
let t = new V(this, this._ctx, this.state);
|
|
20161
20161
|
this.enterRule(t, 66, i.RULE_invocation);
|
|
20162
20162
|
var e = 0;
|
|
20163
20163
|
try {
|
|
20164
20164
|
this.enterOuterAlt(t, 1), this.state = 439, this.match(i.OPAR), this.state = 441, this._errHandler.sync(this), e = this._input.LA(1), ((e - 13 & -32) == 0 && (1 << e - 13 & 2266040321) !== 0 || (e - 62 & -32) == 0 && (1 << e - 62 & 524543) !== 0) && (this.state = 440, this.parameters()), this.state = 443, this.match(i.CPAR);
|
|
20165
20165
|
} catch (s) {
|
|
20166
|
-
if (s instanceof
|
|
20166
|
+
if (s instanceof h.error.RecognitionException)
|
|
20167
20167
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20168
20168
|
else
|
|
20169
20169
|
throw s;
|
|
@@ -20173,14 +20173,14 @@ class i extends o.Parser {
|
|
|
20173
20173
|
return t;
|
|
20174
20174
|
}
|
|
20175
20175
|
assignment() {
|
|
20176
|
-
let t = new
|
|
20176
|
+
let t = new w(this, this._ctx, this.state);
|
|
20177
20177
|
this.enterRule(t, 68, i.RULE_assignment);
|
|
20178
20178
|
try {
|
|
20179
20179
|
this.enterOuterAlt(t, 1), this.state = 446, this._errHandler.sync(this);
|
|
20180
20180
|
var e = this._interp.adaptivePredict(this._input, 71, this._ctx);
|
|
20181
20181
|
e === 1 && (this.state = 445, this.type()), this.state = 448, this.assignee(), this.state = 449, this.match(i.ASSIGN);
|
|
20182
20182
|
} catch (s) {
|
|
20183
|
-
if (s instanceof
|
|
20183
|
+
if (s instanceof h.error.RecognitionException)
|
|
20184
20184
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20185
20185
|
else
|
|
20186
20186
|
throw s;
|
|
@@ -20190,7 +20190,7 @@ class i extends o.Parser {
|
|
|
20190
20190
|
return t;
|
|
20191
20191
|
}
|
|
20192
20192
|
asyncMessage() {
|
|
20193
|
-
let t = new
|
|
20193
|
+
let t = new $(this, this._ctx, this.state);
|
|
20194
20194
|
this.enterRule(t, 70, i.RULE_asyncMessage);
|
|
20195
20195
|
var e = 0;
|
|
20196
20196
|
try {
|
|
@@ -20209,7 +20209,7 @@ class i extends o.Parser {
|
|
|
20209
20209
|
break;
|
|
20210
20210
|
}
|
|
20211
20211
|
} catch (n) {
|
|
20212
|
-
if (n instanceof
|
|
20212
|
+
if (n instanceof h.error.RecognitionException)
|
|
20213
20213
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
20214
20214
|
else
|
|
20215
20215
|
throw n;
|
|
@@ -20219,12 +20219,12 @@ class i extends o.Parser {
|
|
|
20219
20219
|
return t;
|
|
20220
20220
|
}
|
|
20221
20221
|
content() {
|
|
20222
|
-
let t = new
|
|
20222
|
+
let t = new Y(this, this._ctx, this.state);
|
|
20223
20223
|
this.enterRule(t, 72, i.RULE_content);
|
|
20224
20224
|
try {
|
|
20225
20225
|
this.enterOuterAlt(t, 1), this.state = 468, this.match(i.EVENT_PAYLOAD_LXR);
|
|
20226
20226
|
} catch (e) {
|
|
20227
|
-
if (e instanceof
|
|
20227
|
+
if (e instanceof h.error.RecognitionException)
|
|
20228
20228
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
20229
20229
|
else
|
|
20230
20230
|
throw e;
|
|
@@ -20234,12 +20234,12 @@ class i extends o.Parser {
|
|
|
20234
20234
|
return t;
|
|
20235
20235
|
}
|
|
20236
20236
|
construct() {
|
|
20237
|
-
let t = new
|
|
20237
|
+
let t = new yt(this, this._ctx, this.state);
|
|
20238
20238
|
this.enterRule(t, 74, i.RULE_construct);
|
|
20239
20239
|
try {
|
|
20240
20240
|
this.enterOuterAlt(t, 1), this.state = 470, this.name();
|
|
20241
20241
|
} catch (e) {
|
|
20242
|
-
if (e instanceof
|
|
20242
|
+
if (e instanceof h.error.RecognitionException)
|
|
20243
20243
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
20244
20244
|
else
|
|
20245
20245
|
throw e;
|
|
@@ -20249,12 +20249,12 @@ class i extends o.Parser {
|
|
|
20249
20249
|
return t;
|
|
20250
20250
|
}
|
|
20251
20251
|
type() {
|
|
20252
|
-
let t = new
|
|
20252
|
+
let t = new j(this, this._ctx, this.state);
|
|
20253
20253
|
this.enterRule(t, 76, i.RULE_type);
|
|
20254
20254
|
try {
|
|
20255
20255
|
this.enterOuterAlt(t, 1), this.state = 472, this.name();
|
|
20256
20256
|
} catch (e) {
|
|
20257
|
-
if (e instanceof
|
|
20257
|
+
if (e instanceof h.error.RecognitionException)
|
|
20258
20258
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
20259
20259
|
else
|
|
20260
20260
|
throw e;
|
|
@@ -20289,7 +20289,7 @@ class i extends o.Parser {
|
|
|
20289
20289
|
break;
|
|
20290
20290
|
}
|
|
20291
20291
|
} catch (n) {
|
|
20292
|
-
if (n instanceof
|
|
20292
|
+
if (n instanceof h.error.RecognitionException)
|
|
20293
20293
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
20294
20294
|
else
|
|
20295
20295
|
throw n;
|
|
@@ -20305,7 +20305,7 @@ class i extends o.Parser {
|
|
|
20305
20305
|
try {
|
|
20306
20306
|
this.enterOuterAlt(t, 1), this.state = 489, this._errHandler.sync(this), e = this._input.LA(1), (e === 13 || e === 81) && (this.state = 488, this.emoji()), this.state = 491, this.name();
|
|
20307
20307
|
} catch (s) {
|
|
20308
|
-
if (s instanceof
|
|
20308
|
+
if (s instanceof h.error.RecognitionException)
|
|
20309
20309
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20310
20310
|
else
|
|
20311
20311
|
throw s;
|
|
@@ -20320,11 +20320,11 @@ class i extends o.Parser {
|
|
|
20320
20320
|
var e = 0;
|
|
20321
20321
|
try {
|
|
20322
20322
|
this.enterOuterAlt(t, 1), this.state = 493, this.parameter(), this.state = 498, this._errHandler.sync(this);
|
|
20323
|
-
for (var s = this._interp.adaptivePredict(this._input, 79, this._ctx); s != 2 && s !=
|
|
20323
|
+
for (var s = this._interp.adaptivePredict(this._input, 79, this._ctx); s != 2 && s != h.atn.ATN.INVALID_ALT_NUMBER; )
|
|
20324
20324
|
s === 1 && (this.state = 494, this.match(i.COMMA), this.state = 495, this.parameter()), this.state = 500, this._errHandler.sync(this), s = this._interp.adaptivePredict(this._input, 79, this._ctx);
|
|
20325
20325
|
this.state = 502, this._errHandler.sync(this), e = this._input.LA(1), e === 31 && (this.state = 501, this.match(i.COMMA));
|
|
20326
20326
|
} catch (n) {
|
|
20327
|
-
if (n instanceof
|
|
20327
|
+
if (n instanceof h.error.RecognitionException)
|
|
20328
20328
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
20329
20329
|
else
|
|
20330
20330
|
throw n;
|
|
@@ -20351,7 +20351,7 @@ class i extends o.Parser {
|
|
|
20351
20351
|
break;
|
|
20352
20352
|
}
|
|
20353
20353
|
} catch (s) {
|
|
20354
|
-
if (s instanceof
|
|
20354
|
+
if (s instanceof h.error.RecognitionException)
|
|
20355
20355
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20356
20356
|
else
|
|
20357
20357
|
throw s;
|
|
@@ -20367,7 +20367,7 @@ class i extends o.Parser {
|
|
|
20367
20367
|
try {
|
|
20368
20368
|
this.enterOuterAlt(t, 1), this.state = 509, e = this._input.LA(1), e === 62 || e === 67 ? (this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this), this.state = 510, this.match(i.ASSIGN), this.state = 512, this._errHandler.sync(this), e = this._input.LA(1), ((e - 13 & -32) == 0 && (1 << e - 13 & 2266040321) !== 0 || (e - 62 & -32) == 0 && (1 << e - 62 & 524543) !== 0) && (this.state = 511, this.expr(0));
|
|
20369
20369
|
} catch (s) {
|
|
20370
|
-
if (s instanceof
|
|
20370
|
+
if (s instanceof h.error.RecognitionException)
|
|
20371
20371
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20372
20372
|
else
|
|
20373
20373
|
throw s;
|
|
@@ -20383,7 +20383,7 @@ class i extends o.Parser {
|
|
|
20383
20383
|
try {
|
|
20384
20384
|
this.enterOuterAlt(t, 1), this.state = 514, this.type(), this.state = 515, e = this._input.LA(1), e === 62 || e === 67 ? (this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this);
|
|
20385
20385
|
} catch (s) {
|
|
20386
|
-
if (s instanceof
|
|
20386
|
+
if (s instanceof h.error.RecognitionException)
|
|
20387
20387
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20388
20388
|
else
|
|
20389
20389
|
throw s;
|
|
@@ -20401,7 +20401,7 @@ class i extends o.Parser {
|
|
|
20401
20401
|
this.state = 518, this.catchBlock(), this.state = 523, this._errHandler.sync(this), e = this._input.LA(1);
|
|
20402
20402
|
this.state = 525, this._errHandler.sync(this), e = this._input.LA(1), e === 54 && (this.state = 524, this.finallyBlock());
|
|
20403
20403
|
} catch (s) {
|
|
20404
|
-
if (s instanceof
|
|
20404
|
+
if (s instanceof h.error.RecognitionException)
|
|
20405
20405
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20406
20406
|
else
|
|
20407
20407
|
throw s;
|
|
@@ -20416,7 +20416,7 @@ class i extends o.Parser {
|
|
|
20416
20416
|
try {
|
|
20417
20417
|
this.enterOuterAlt(t, 1), this.state = 527, this.match(i.TRY), this.state = 528, this.braceBlock();
|
|
20418
20418
|
} catch (e) {
|
|
20419
|
-
if (e instanceof
|
|
20419
|
+
if (e instanceof h.error.RecognitionException)
|
|
20420
20420
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
20421
20421
|
else
|
|
20422
20422
|
throw e;
|
|
@@ -20432,7 +20432,7 @@ class i extends o.Parser {
|
|
|
20432
20432
|
try {
|
|
20433
20433
|
this.enterOuterAlt(t, 1), this.state = 530, this.match(i.CATCH), this.state = 532, this._errHandler.sync(this), e = this._input.LA(1), e === 33 && (this.state = 531, this.invocation()), this.state = 534, this.braceBlock();
|
|
20434
20434
|
} catch (s) {
|
|
20435
|
-
if (s instanceof
|
|
20435
|
+
if (s instanceof h.error.RecognitionException)
|
|
20436
20436
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20437
20437
|
else
|
|
20438
20438
|
throw s;
|
|
@@ -20447,7 +20447,7 @@ class i extends o.Parser {
|
|
|
20447
20447
|
try {
|
|
20448
20448
|
this.enterOuterAlt(t, 1), this.state = 536, this.match(i.FINALLY), this.state = 537, this.braceBlock();
|
|
20449
20449
|
} catch (e) {
|
|
20450
|
-
if (e instanceof
|
|
20450
|
+
if (e instanceof h.error.RecognitionException)
|
|
20451
20451
|
t.exception = e, this._errHandler.reportError(this, e), this._errHandler.recover(this, e);
|
|
20452
20452
|
else
|
|
20453
20453
|
throw e;
|
|
@@ -20462,11 +20462,11 @@ class i extends o.Parser {
|
|
|
20462
20462
|
var e = 0;
|
|
20463
20463
|
try {
|
|
20464
20464
|
this.enterOuterAlt(t, 1), this.state = 539, this.ifBlock(), this.state = 543, this._errHandler.sync(this);
|
|
20465
|
-
for (var s = this._interp.adaptivePredict(this._input, 86, this._ctx); s != 2 && s !=
|
|
20465
|
+
for (var s = this._interp.adaptivePredict(this._input, 86, this._ctx); s != 2 && s != h.atn.ATN.INVALID_ALT_NUMBER; )
|
|
20466
20466
|
s === 1 && (this.state = 540, this.elseIfBlock()), this.state = 545, this._errHandler.sync(this), s = this._interp.adaptivePredict(this._input, 86, this._ctx);
|
|
20467
20467
|
this.state = 547, this._errHandler.sync(this), e = this._input.LA(1), e === 41 && (this.state = 546, this.elseBlock());
|
|
20468
20468
|
} catch (n) {
|
|
20469
|
-
if (n instanceof
|
|
20469
|
+
if (n instanceof h.error.RecognitionException)
|
|
20470
20470
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
20471
20471
|
else
|
|
20472
20472
|
throw n;
|
|
@@ -20483,7 +20483,7 @@ class i extends o.Parser {
|
|
|
20483
20483
|
var e = this._interp.adaptivePredict(this._input, 88, this._ctx);
|
|
20484
20484
|
e === 1 && (this.state = 551, this.braceBlock());
|
|
20485
20485
|
} catch (s) {
|
|
20486
|
-
if (s instanceof
|
|
20486
|
+
if (s instanceof h.error.RecognitionException)
|
|
20487
20487
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20488
20488
|
else
|
|
20489
20489
|
throw s;
|
|
@@ -20500,7 +20500,7 @@ class i extends o.Parser {
|
|
|
20500
20500
|
var e = this._interp.adaptivePredict(this._input, 89, this._ctx);
|
|
20501
20501
|
e === 1 && (this.state = 557, this.braceBlock());
|
|
20502
20502
|
} catch (s) {
|
|
20503
|
-
if (s instanceof
|
|
20503
|
+
if (s instanceof h.error.RecognitionException)
|
|
20504
20504
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20505
20505
|
else
|
|
20506
20506
|
throw s;
|
|
@@ -20517,7 +20517,7 @@ class i extends o.Parser {
|
|
|
20517
20517
|
var e = this._interp.adaptivePredict(this._input, 90, this._ctx);
|
|
20518
20518
|
e === 1 && (this.state = 561, this.braceBlock());
|
|
20519
20519
|
} catch (s) {
|
|
20520
|
-
if (s instanceof
|
|
20520
|
+
if (s instanceof h.error.RecognitionException)
|
|
20521
20521
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20522
20522
|
else
|
|
20523
20523
|
throw s;
|
|
@@ -20527,13 +20527,13 @@ class i extends o.Parser {
|
|
|
20527
20527
|
return t;
|
|
20528
20528
|
}
|
|
20529
20529
|
braceBlock() {
|
|
20530
|
-
let t = new
|
|
20530
|
+
let t = new R(this, this._ctx, this.state);
|
|
20531
20531
|
this.enterRule(t, 106, i.RULE_braceBlock);
|
|
20532
20532
|
var e = 0;
|
|
20533
20533
|
try {
|
|
20534
20534
|
this.enterOuterAlt(t, 1), this.state = 564, this.match(i.OBRACE), this.state = 566, this._errHandler.sync(this), e = this._input.LA(1), (e === 13 || (e - 35 & -32) == 0 && (1 << e - 35 & 4169332669) !== 0 || (e - 67 & -32) == 0 && (1 << e - 67 & 16903) !== 0) && (this.state = 565, this.block()), this.state = 568, this.match(i.CBRACE);
|
|
20535
20535
|
} catch (s) {
|
|
20536
|
-
if (s instanceof
|
|
20536
|
+
if (s instanceof h.error.RecognitionException)
|
|
20537
20537
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20538
20538
|
else
|
|
20539
20539
|
throw s;
|
|
@@ -20551,7 +20551,7 @@ class i extends o.Parser {
|
|
|
20551
20551
|
var s = this._interp.adaptivePredict(this._input, 93, this._ctx);
|
|
20552
20552
|
s === 1 && (this.state = 574, this.braceBlock());
|
|
20553
20553
|
} catch (n) {
|
|
20554
|
-
if (n instanceof
|
|
20554
|
+
if (n instanceof h.error.RecognitionException)
|
|
20555
20555
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
20556
20556
|
else
|
|
20557
20557
|
throw n;
|
|
@@ -20564,13 +20564,13 @@ class i extends o.Parser {
|
|
|
20564
20564
|
t === void 0 && (t = 0);
|
|
20565
20565
|
const e = this._ctx, s = this.state;
|
|
20566
20566
|
let n = new l(this, this._ctx, s), c = n;
|
|
20567
|
-
const
|
|
20567
|
+
const x = 110;
|
|
20568
20568
|
this.enterRecursionRule(n, 110, i.RULE_expr, t);
|
|
20569
|
-
var
|
|
20569
|
+
var d = 0;
|
|
20570
20570
|
try {
|
|
20571
20571
|
this.enterOuterAlt(n, 1), this.state = 597, this._errHandler.sync(this);
|
|
20572
|
-
var
|
|
20573
|
-
switch (
|
|
20572
|
+
var A = this._interp.adaptivePredict(this._input, 95, this._ctx);
|
|
20573
|
+
switch (A) {
|
|
20574
20574
|
case 1:
|
|
20575
20575
|
n = new Kt(this, n), this._ctx = n, c = n, this.state = 578, this.atom();
|
|
20576
20576
|
break;
|
|
@@ -20581,9 +20581,9 @@ class i extends o.Parser {
|
|
|
20581
20581
|
n = new qt(this, n), this._ctx = n, c = n, this.state = 581, this.match(i.NOT), this.state = 582, this.expr(12);
|
|
20582
20582
|
break;
|
|
20583
20583
|
case 4:
|
|
20584
|
-
n = new
|
|
20585
|
-
var
|
|
20586
|
-
|
|
20584
|
+
n = new Qt(this, n), this._ctx = n, c = n, this.state = 586, this._errHandler.sync(this);
|
|
20585
|
+
var A = this._interp.adaptivePredict(this._input, 94, this._ctx);
|
|
20586
|
+
A === 1 && (this.state = 583, this.to(), this.state = 584, this.match(i.DOT)), this.state = 588, this.func();
|
|
20587
20587
|
break;
|
|
20588
20588
|
case 5:
|
|
20589
20589
|
n = new e0(this, n), this._ctx = n, c = n, this.state = 589, this.creation();
|
|
@@ -20592,66 +20592,66 @@ class i extends o.Parser {
|
|
|
20592
20592
|
n = new i0(this, n), this._ctx = n, c = n, this.state = 590, this.match(i.OPAR), this.state = 591, this.expr(0), this.state = 592, this.match(i.CPAR);
|
|
20593
20593
|
break;
|
|
20594
20594
|
case 7:
|
|
20595
|
-
n = new
|
|
20595
|
+
n = new jt(this, n), this._ctx = n, c = n, this.state = 594, this.assignment(), this.state = 595, this.expr(1);
|
|
20596
20596
|
break;
|
|
20597
20597
|
}
|
|
20598
20598
|
this._ctx.stop = this._input.LT(-1), this.state = 622, this._errHandler.sync(this);
|
|
20599
|
-
for (var
|
|
20600
|
-
if (
|
|
20599
|
+
for (var m = this._interp.adaptivePredict(this._input, 97, this._ctx); m != 2 && m != h.atn.ATN.INVALID_ALT_NUMBER; ) {
|
|
20600
|
+
if (m === 1) {
|
|
20601
20601
|
this._parseListeners !== null && this.triggerExitRuleEvent(), c = n, this.state = 620, this._errHandler.sync(this);
|
|
20602
|
-
var
|
|
20603
|
-
switch (
|
|
20602
|
+
var A = this._interp.adaptivePredict(this._input, 96, this._ctx);
|
|
20603
|
+
switch (A) {
|
|
20604
20604
|
case 1:
|
|
20605
|
-
if (n = new s0(this, new l(this, e, s)), this.pushNewRecursionContext(n,
|
|
20606
|
-
throw new
|
|
20607
|
-
this.state = 600, n.op = this._input.LT(1),
|
|
20605
|
+
if (n = new s0(this, new l(this, e, s)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 599, !this.precpred(this._ctx, 11))
|
|
20606
|
+
throw new h.error.FailedPredicateException(this, "this.precpred(this._ctx, 11)");
|
|
20607
|
+
this.state = 600, n.op = this._input.LT(1), d = this._input.LA(1), (d & -32) == 0 && (1 << d & 234881024) !== 0 ? (this._errHandler.reportMatch(this), this.consume()) : n.op = this._errHandler.recoverInline(this), this.state = 601, this.expr(12);
|
|
20608
20608
|
break;
|
|
20609
20609
|
case 2:
|
|
20610
|
-
if (n = new Xt(this, new l(this, e, s)), this.pushNewRecursionContext(n,
|
|
20611
|
-
throw new
|
|
20612
|
-
this.state = 603, n.op = this._input.LT(1),
|
|
20610
|
+
if (n = new Xt(this, new l(this, e, s)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 602, !this.precpred(this._ctx, 10))
|
|
20611
|
+
throw new h.error.FailedPredicateException(this, "this.precpred(this._ctx, 10)");
|
|
20612
|
+
this.state = 603, n.op = this._input.LT(1), d = this._input.LA(1), d === 23 || d === 24 ? (this._errHandler.reportMatch(this), this.consume()) : n.op = this._errHandler.recoverInline(this), this.state = 604, this.expr(11);
|
|
20613
20613
|
break;
|
|
20614
20614
|
case 3:
|
|
20615
|
-
if (n = new Jt(this, new l(this, e, s)), this.pushNewRecursionContext(n,
|
|
20616
|
-
throw new
|
|
20617
|
-
this.state = 606, n.op = this._input.LT(1),
|
|
20615
|
+
if (n = new Jt(this, new l(this, e, s)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 605, !this.precpred(this._ctx, 9))
|
|
20616
|
+
throw new h.error.FailedPredicateException(this, "this.precpred(this._ctx, 9)");
|
|
20617
|
+
this.state = 606, n.op = this._input.LT(1), d = this._input.LA(1), (d & -32) == 0 && (1 << d & 7864320) !== 0 ? (this._errHandler.reportMatch(this), this.consume()) : n.op = this._errHandler.recoverInline(this), this.state = 607, this.expr(10);
|
|
20618
20618
|
break;
|
|
20619
20619
|
case 4:
|
|
20620
|
-
if (n = new r0(this, new l(this, e, s)), this.pushNewRecursionContext(n,
|
|
20621
|
-
throw new
|
|
20622
|
-
this.state = 609, n.op = this._input.LT(1),
|
|
20620
|
+
if (n = new r0(this, new l(this, e, s)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 608, !this.precpred(this._ctx, 8))
|
|
20621
|
+
throw new h.error.FailedPredicateException(this, "this.precpred(this._ctx, 8)");
|
|
20622
|
+
this.state = 609, n.op = this._input.LT(1), d = this._input.LA(1), d === 17 || d === 18 ? (this._errHandler.reportMatch(this), this.consume()) : n.op = this._errHandler.recoverInline(this), this.state = 610, this.expr(9);
|
|
20623
20623
|
break;
|
|
20624
20624
|
case 5:
|
|
20625
|
-
if (n = new n0(this, new l(this, e, s)), this.pushNewRecursionContext(n,
|
|
20626
|
-
throw new
|
|
20625
|
+
if (n = new n0(this, new l(this, e, s)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 611, !this.precpred(this._ctx, 7))
|
|
20626
|
+
throw new h.error.FailedPredicateException(this, "this.precpred(this._ctx, 7)");
|
|
20627
20627
|
this.state = 612, this.match(i.AND), this.state = 613, this.expr(8);
|
|
20628
20628
|
break;
|
|
20629
20629
|
case 6:
|
|
20630
|
-
if (n = new zt(this, new l(this, e, s)), this.pushNewRecursionContext(n,
|
|
20631
|
-
throw new
|
|
20630
|
+
if (n = new zt(this, new l(this, e, s)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 614, !this.precpred(this._ctx, 6))
|
|
20631
|
+
throw new h.error.FailedPredicateException(this, "this.precpred(this._ctx, 6)");
|
|
20632
20632
|
this.state = 615, this.match(i.OR), this.state = 616, this.expr(7);
|
|
20633
20633
|
break;
|
|
20634
20634
|
case 7:
|
|
20635
|
-
if (n = new Zt(this, new l(this, e, s)), this.pushNewRecursionContext(n,
|
|
20636
|
-
throw new
|
|
20635
|
+
if (n = new Zt(this, new l(this, e, s)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 617, !this.precpred(this._ctx, 5))
|
|
20636
|
+
throw new h.error.FailedPredicateException(this, "this.precpred(this._ctx, 5)");
|
|
20637
20637
|
this.state = 618, this.match(i.PLUS), this.state = 619, this.expr(6);
|
|
20638
20638
|
break;
|
|
20639
20639
|
}
|
|
20640
20640
|
}
|
|
20641
|
-
this.state = 624, this._errHandler.sync(this),
|
|
20641
|
+
this.state = 624, this._errHandler.sync(this), m = this._interp.adaptivePredict(this._input, 97, this._ctx);
|
|
20642
20642
|
}
|
|
20643
|
-
} catch (
|
|
20644
|
-
if (
|
|
20645
|
-
n.exception =
|
|
20643
|
+
} catch (_) {
|
|
20644
|
+
if (_ instanceof h.error.RecognitionException)
|
|
20645
|
+
n.exception = _, this._errHandler.reportError(this, _), this._errHandler.recover(this, _);
|
|
20646
20646
|
else
|
|
20647
|
-
throw
|
|
20647
|
+
throw _;
|
|
20648
20648
|
} finally {
|
|
20649
20649
|
this.unrollRecursionContexts(e);
|
|
20650
20650
|
}
|
|
20651
20651
|
return n;
|
|
20652
20652
|
}
|
|
20653
20653
|
atom() {
|
|
20654
|
-
let t = new
|
|
20654
|
+
let t = new E(this, this._ctx, this.state);
|
|
20655
20655
|
this.enterRule(t, 112, i.RULE_atom);
|
|
20656
20656
|
var e = 0;
|
|
20657
20657
|
try {
|
|
@@ -20668,13 +20668,13 @@ class i extends o.Parser {
|
|
|
20668
20668
|
break;
|
|
20669
20669
|
case 37:
|
|
20670
20670
|
case 38:
|
|
20671
|
-
t = new
|
|
20671
|
+
t = new h0(this, t), this.enterOuterAlt(t, 4), this.state = 628, e = this._input.LA(1), e === 37 || e === 38 ? (this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this);
|
|
20672
20672
|
break;
|
|
20673
20673
|
case 62:
|
|
20674
|
-
t = new
|
|
20674
|
+
t = new o0(this, t), this.enterOuterAlt(t, 5), this.state = 629, this.match(i.ID);
|
|
20675
20675
|
break;
|
|
20676
20676
|
case 67:
|
|
20677
|
-
t = new
|
|
20677
|
+
t = new d0(this, t), this.enterOuterAlt(t, 6), this.state = 630, this.match(i.DIGIT_LEADING_NAME);
|
|
20678
20678
|
break;
|
|
20679
20679
|
case 68:
|
|
20680
20680
|
case 69:
|
|
@@ -20684,10 +20684,10 @@ class i extends o.Parser {
|
|
|
20684
20684
|
t = new l0(this, t), this.enterOuterAlt(t, 8), this.state = 632, this.match(i.NIL);
|
|
20685
20685
|
break;
|
|
20686
20686
|
default:
|
|
20687
|
-
throw new
|
|
20687
|
+
throw new h.error.NoViableAltException(this);
|
|
20688
20688
|
}
|
|
20689
20689
|
} catch (s) {
|
|
20690
|
-
if (s instanceof
|
|
20690
|
+
if (s instanceof h.error.RecognitionException)
|
|
20691
20691
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20692
20692
|
else
|
|
20693
20693
|
throw s;
|
|
@@ -20705,7 +20705,7 @@ class i extends o.Parser {
|
|
|
20705
20705
|
var s = this._interp.adaptivePredict(this._input, 99, this._ctx);
|
|
20706
20706
|
s === 1 && (this.state = 636, this.condition()), this.state = 640, this._errHandler.sync(this), e = this._input.LA(1), e === 34 && (this.state = 639, this.match(i.CPAR));
|
|
20707
20707
|
} catch (n) {
|
|
20708
|
-
if (n instanceof
|
|
20708
|
+
if (n instanceof h.error.RecognitionException)
|
|
20709
20709
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
20710
20710
|
else
|
|
20711
20711
|
throw n;
|
|
@@ -20738,7 +20738,7 @@ class i extends o.Parser {
|
|
|
20738
20738
|
break;
|
|
20739
20739
|
}
|
|
20740
20740
|
} catch (s) {
|
|
20741
|
-
if (s instanceof
|
|
20741
|
+
if (s instanceof h.error.RecognitionException)
|
|
20742
20742
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20743
20743
|
else
|
|
20744
20744
|
throw s;
|
|
@@ -20754,7 +20754,7 @@ class i extends o.Parser {
|
|
|
20754
20754
|
try {
|
|
20755
20755
|
this.enterOuterAlt(t, 1), this.state = 649, e = this._input.LA(1), e === 62 || e === 67 ? (this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this), this.state = 650, this.match(i.IN), this.state = 651, e = this._input.LA(1), e === 62 || e === 67 ? (this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this);
|
|
20756
20756
|
} catch (s) {
|
|
20757
|
-
if (s instanceof
|
|
20757
|
+
if (s instanceof h.error.RecognitionException)
|
|
20758
20758
|
t.exception = s, this._errHandler.reportError(this, s), this._errHandler.recover(this, s);
|
|
20759
20759
|
else
|
|
20760
20760
|
throw s;
|
|
@@ -20776,12 +20776,12 @@ class i extends o.Parser {
|
|
|
20776
20776
|
this.state = 653, e = this._input.LA(1), (e - 62 & -32) == 0 && (1 << e - 62 & 55) !== 0 ? (this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this);
|
|
20777
20777
|
break;
|
|
20778
20778
|
default:
|
|
20779
|
-
throw new
|
|
20779
|
+
throw new h.error.NoViableAltException(this);
|
|
20780
20780
|
}
|
|
20781
20781
|
this.state = 656, this._errHandler.sync(this), s = this._interp.adaptivePredict(this._input, 102, this._ctx);
|
|
20782
|
-
} while (s != 2 && s !=
|
|
20782
|
+
} while (s != 2 && s != h.atn.ATN.INVALID_ALT_NUMBER);
|
|
20783
20783
|
} catch (n) {
|
|
20784
|
-
if (n instanceof
|
|
20784
|
+
if (n instanceof h.error.RecognitionException)
|
|
20785
20785
|
t.exception = n, this._errHandler.reportError(this, n), this._errHandler.recover(this, n);
|
|
20786
20786
|
else
|
|
20787
20787
|
throw n;
|
|
@@ -20791,7 +20791,7 @@ class i extends o.Parser {
|
|
|
20791
20791
|
return t;
|
|
20792
20792
|
}
|
|
20793
20793
|
}
|
|
20794
|
-
i.EOF =
|
|
20794
|
+
i.EOF = h.Token.EOF;
|
|
20795
20795
|
i.WS = 1;
|
|
20796
20796
|
i.CONSTANT = 2;
|
|
20797
20797
|
i.READONLY = 3;
|
|
@@ -20934,7 +20934,7 @@ i.RULE_parExpr = 57;
|
|
|
20934
20934
|
i.RULE_condition = 58;
|
|
20935
20935
|
i.RULE_inExpr = 59;
|
|
20936
20936
|
i.RULE_textExpr = 60;
|
|
20937
|
-
let Yt = class extends
|
|
20937
|
+
let Yt = class extends h.ParserRuleContext {
|
|
20938
20938
|
constructor(t, e, s) {
|
|
20939
20939
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_prog;
|
|
20940
20940
|
}
|
|
@@ -20948,15 +20948,16 @@ let Yt = class extends o.ParserRuleContext {
|
|
|
20948
20948
|
return this.getTypedRuleContext(st, 0);
|
|
20949
20949
|
}
|
|
20950
20950
|
block() {
|
|
20951
|
-
return this.getTypedRuleContext(
|
|
20951
|
+
return this.getTypedRuleContext(G, 0);
|
|
20952
20952
|
}
|
|
20953
20953
|
enterRule(t) {
|
|
20954
|
-
t instanceof
|
|
20954
|
+
t instanceof o && t.enterProg(this);
|
|
20955
20955
|
}
|
|
20956
20956
|
exitRule(t) {
|
|
20957
|
-
t instanceof
|
|
20957
|
+
t instanceof o && t.exitProg(this);
|
|
20958
20958
|
}
|
|
20959
|
-
}
|
|
20959
|
+
};
|
|
20960
|
+
class it extends h.ParserRuleContext {
|
|
20960
20961
|
constructor(t, e, s) {
|
|
20961
20962
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_title;
|
|
20962
20963
|
}
|
|
@@ -20970,13 +20971,13 @@ let Yt = class extends o.ParserRuleContext {
|
|
|
20970
20971
|
return this.getToken(i.TITLE_END, 0);
|
|
20971
20972
|
}
|
|
20972
20973
|
enterRule(t) {
|
|
20973
|
-
t instanceof
|
|
20974
|
+
t instanceof o && t.enterTitle(this);
|
|
20974
20975
|
}
|
|
20975
20976
|
exitRule(t) {
|
|
20976
|
-
t instanceof
|
|
20977
|
+
t instanceof o && t.exitTitle(this);
|
|
20977
20978
|
}
|
|
20978
|
-
}
|
|
20979
|
-
class st extends
|
|
20979
|
+
}
|
|
20980
|
+
class st extends h.ParserRuleContext {
|
|
20980
20981
|
constructor(t, e, s) {
|
|
20981
20982
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_head;
|
|
20982
20983
|
}
|
|
@@ -20984,19 +20985,19 @@ class st extends o.ParserRuleContext {
|
|
|
20984
20985
|
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(B) : this.getTypedRuleContext(B, t);
|
|
20985
20986
|
};
|
|
20986
20987
|
participant = function(t) {
|
|
20987
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
20988
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(g) : this.getTypedRuleContext(g, t);
|
|
20988
20989
|
};
|
|
20989
20990
|
starterExp() {
|
|
20990
20991
|
return this.getTypedRuleContext(rt, 0);
|
|
20991
20992
|
}
|
|
20992
20993
|
enterRule(t) {
|
|
20993
|
-
t instanceof
|
|
20994
|
+
t instanceof o && t.enterHead(this);
|
|
20994
20995
|
}
|
|
20995
20996
|
exitRule(t) {
|
|
20996
|
-
t instanceof
|
|
20997
|
+
t instanceof o && t.exitHead(this);
|
|
20997
20998
|
}
|
|
20998
20999
|
}
|
|
20999
|
-
class B extends
|
|
21000
|
+
class B extends h.ParserRuleContext {
|
|
21000
21001
|
constructor(t, e, s) {
|
|
21001
21002
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_group;
|
|
21002
21003
|
}
|
|
@@ -21004,25 +21005,25 @@ class B extends o.ParserRuleContext {
|
|
|
21004
21005
|
return this.getToken(i.GROUP, 0);
|
|
21005
21006
|
}
|
|
21006
21007
|
name() {
|
|
21007
|
-
return this.getTypedRuleContext(
|
|
21008
|
+
return this.getTypedRuleContext(f, 0);
|
|
21008
21009
|
}
|
|
21009
21010
|
OBRACE() {
|
|
21010
21011
|
return this.getToken(i.OBRACE, 0);
|
|
21011
21012
|
}
|
|
21012
21013
|
participant = function(t) {
|
|
21013
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
21014
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(g) : this.getTypedRuleContext(g, t);
|
|
21014
21015
|
};
|
|
21015
21016
|
CBRACE() {
|
|
21016
21017
|
return this.getToken(i.CBRACE, 0);
|
|
21017
21018
|
}
|
|
21018
21019
|
enterRule(t) {
|
|
21019
|
-
t instanceof
|
|
21020
|
+
t instanceof o && t.enterGroup(this);
|
|
21020
21021
|
}
|
|
21021
21022
|
exitRule(t) {
|
|
21022
|
-
t instanceof
|
|
21023
|
+
t instanceof o && t.exitGroup(this);
|
|
21023
21024
|
}
|
|
21024
21025
|
}
|
|
21025
|
-
class rt extends
|
|
21026
|
+
class rt extends h.ParserRuleContext {
|
|
21026
21027
|
constructor(t, e, s) {
|
|
21027
21028
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_starterExp;
|
|
21028
21029
|
}
|
|
@@ -21042,59 +21043,59 @@ class rt extends o.ParserRuleContext {
|
|
|
21042
21043
|
return this.getToken(i.ANNOTATION, 0);
|
|
21043
21044
|
}
|
|
21044
21045
|
enterRule(t) {
|
|
21045
|
-
t instanceof
|
|
21046
|
+
t instanceof o && t.enterStarterExp(this);
|
|
21046
21047
|
}
|
|
21047
21048
|
exitRule(t) {
|
|
21048
|
-
t instanceof
|
|
21049
|
+
t instanceof o && t.exitStarterExp(this);
|
|
21049
21050
|
}
|
|
21050
21051
|
}
|
|
21051
|
-
class nt extends
|
|
21052
|
+
class nt extends h.ParserRuleContext {
|
|
21052
21053
|
constructor(t, e, s) {
|
|
21053
21054
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_starter;
|
|
21054
21055
|
}
|
|
21055
21056
|
name() {
|
|
21056
|
-
return this.getTypedRuleContext(
|
|
21057
|
+
return this.getTypedRuleContext(f, 0);
|
|
21057
21058
|
}
|
|
21058
21059
|
enterRule(t) {
|
|
21059
|
-
t instanceof
|
|
21060
|
+
t instanceof o && t.enterStarter(this);
|
|
21060
21061
|
}
|
|
21061
21062
|
exitRule(t) {
|
|
21062
|
-
t instanceof
|
|
21063
|
+
t instanceof o && t.exitStarter(this);
|
|
21063
21064
|
}
|
|
21064
21065
|
}
|
|
21065
|
-
class
|
|
21066
|
+
class g extends h.ParserRuleContext {
|
|
21066
21067
|
constructor(t, e, s) {
|
|
21067
21068
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_participant;
|
|
21068
21069
|
}
|
|
21069
21070
|
name() {
|
|
21070
|
-
return this.getTypedRuleContext(
|
|
21071
|
+
return this.getTypedRuleContext(f, 0);
|
|
21071
21072
|
}
|
|
21072
21073
|
participantType() {
|
|
21073
21074
|
return this.getTypedRuleContext(at, 0);
|
|
21074
21075
|
}
|
|
21075
21076
|
stereotype() {
|
|
21076
|
-
return this.getTypedRuleContext(
|
|
21077
|
+
return this.getTypedRuleContext(ht, 0);
|
|
21077
21078
|
}
|
|
21078
21079
|
emoji() {
|
|
21079
|
-
return this.getTypedRuleContext(
|
|
21080
|
+
return this.getTypedRuleContext(N, 0);
|
|
21080
21081
|
}
|
|
21081
21082
|
width() {
|
|
21082
21083
|
return this.getTypedRuleContext(ct, 0);
|
|
21083
21084
|
}
|
|
21084
21085
|
label() {
|
|
21085
|
-
return this.getTypedRuleContext(
|
|
21086
|
+
return this.getTypedRuleContext(ot, 0);
|
|
21086
21087
|
}
|
|
21087
21088
|
COLOR() {
|
|
21088
21089
|
return this.getToken(i.COLOR, 0);
|
|
21089
21090
|
}
|
|
21090
21091
|
enterRule(t) {
|
|
21091
|
-
t instanceof
|
|
21092
|
+
t instanceof o && t.enterParticipant(this);
|
|
21092
21093
|
}
|
|
21093
21094
|
exitRule(t) {
|
|
21094
|
-
t instanceof
|
|
21095
|
+
t instanceof o && t.exitParticipant(this);
|
|
21095
21096
|
}
|
|
21096
21097
|
}
|
|
21097
|
-
class
|
|
21098
|
+
class ht extends h.ParserRuleContext {
|
|
21098
21099
|
constructor(t, e, s) {
|
|
21099
21100
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_stereotype;
|
|
21100
21101
|
}
|
|
@@ -21102,7 +21103,7 @@ class ot extends o.ParserRuleContext {
|
|
|
21102
21103
|
return this.getToken(i.SOPEN, 0);
|
|
21103
21104
|
}
|
|
21104
21105
|
name() {
|
|
21105
|
-
return this.getTypedRuleContext(
|
|
21106
|
+
return this.getTypedRuleContext(f, 0);
|
|
21106
21107
|
}
|
|
21107
21108
|
SCLOSE() {
|
|
21108
21109
|
return this.getToken(i.SCLOSE, 0);
|
|
@@ -21114,13 +21115,13 @@ class ot extends o.ParserRuleContext {
|
|
|
21114
21115
|
return this.getToken(i.LT, 0);
|
|
21115
21116
|
}
|
|
21116
21117
|
enterRule(t) {
|
|
21117
|
-
t instanceof
|
|
21118
|
+
t instanceof o && t.enterStereotype(this);
|
|
21118
21119
|
}
|
|
21119
21120
|
exitRule(t) {
|
|
21120
|
-
t instanceof
|
|
21121
|
+
t instanceof o && t.exitStereotype(this);
|
|
21121
21122
|
}
|
|
21122
21123
|
}
|
|
21123
|
-
class
|
|
21124
|
+
class ot extends h.ParserRuleContext {
|
|
21124
21125
|
constructor(t, e, s) {
|
|
21125
21126
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_label;
|
|
21126
21127
|
}
|
|
@@ -21128,16 +21129,16 @@ class ht extends o.ParserRuleContext {
|
|
|
21128
21129
|
return this.getToken(i.AS, 0);
|
|
21129
21130
|
}
|
|
21130
21131
|
name() {
|
|
21131
|
-
return this.getTypedRuleContext(
|
|
21132
|
+
return this.getTypedRuleContext(f, 0);
|
|
21132
21133
|
}
|
|
21133
21134
|
enterRule(t) {
|
|
21134
|
-
t instanceof
|
|
21135
|
+
t instanceof o && t.enterLabel(this);
|
|
21135
21136
|
}
|
|
21136
21137
|
exitRule(t) {
|
|
21137
|
-
t instanceof
|
|
21138
|
+
t instanceof o && t.exitLabel(this);
|
|
21138
21139
|
}
|
|
21139
21140
|
}
|
|
21140
|
-
class at extends
|
|
21141
|
+
class at extends h.ParserRuleContext {
|
|
21141
21142
|
constructor(t, e, s) {
|
|
21142
21143
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_participantType;
|
|
21143
21144
|
}
|
|
@@ -21145,13 +21146,13 @@ class at extends o.ParserRuleContext {
|
|
|
21145
21146
|
return this.getToken(i.ANNOTATION, 0);
|
|
21146
21147
|
}
|
|
21147
21148
|
enterRule(t) {
|
|
21148
|
-
t instanceof
|
|
21149
|
+
t instanceof o && t.enterParticipantType(this);
|
|
21149
21150
|
}
|
|
21150
21151
|
exitRule(t) {
|
|
21151
|
-
t instanceof
|
|
21152
|
+
t instanceof o && t.exitParticipantType(this);
|
|
21152
21153
|
}
|
|
21153
21154
|
}
|
|
21154
|
-
class
|
|
21155
|
+
class f extends h.ParserRuleContext {
|
|
21155
21156
|
constructor(t, e, s) {
|
|
21156
21157
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_name;
|
|
21157
21158
|
}
|
|
@@ -21168,13 +21169,13 @@ class d extends o.ParserRuleContext {
|
|
|
21168
21169
|
return this.getToken(i.USTRING, 0);
|
|
21169
21170
|
}
|
|
21170
21171
|
enterRule(t) {
|
|
21171
|
-
t instanceof
|
|
21172
|
+
t instanceof o && t.enterName(this);
|
|
21172
21173
|
}
|
|
21173
21174
|
exitRule(t) {
|
|
21174
|
-
t instanceof
|
|
21175
|
+
t instanceof o && t.exitName(this);
|
|
21175
21176
|
}
|
|
21176
21177
|
}
|
|
21177
|
-
class ct extends
|
|
21178
|
+
class ct extends h.ParserRuleContext {
|
|
21178
21179
|
constructor(t, e, s) {
|
|
21179
21180
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_width;
|
|
21180
21181
|
}
|
|
@@ -21182,13 +21183,13 @@ class ct extends o.ParserRuleContext {
|
|
|
21182
21183
|
return this.getToken(i.INT, 0);
|
|
21183
21184
|
}
|
|
21184
21185
|
enterRule(t) {
|
|
21185
|
-
t instanceof
|
|
21186
|
+
t instanceof o && t.enterWidth(this);
|
|
21186
21187
|
}
|
|
21187
21188
|
exitRule(t) {
|
|
21188
|
-
t instanceof
|
|
21189
|
+
t instanceof o && t.exitWidth(this);
|
|
21189
21190
|
}
|
|
21190
21191
|
}
|
|
21191
|
-
class
|
|
21192
|
+
class N extends h.ParserRuleContext {
|
|
21192
21193
|
constructor(t, e, s) {
|
|
21193
21194
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_emoji;
|
|
21194
21195
|
}
|
|
@@ -21196,7 +21197,7 @@ class L extends o.ParserRuleContext {
|
|
|
21196
21197
|
return this.getToken(i.LBRACKET, 0);
|
|
21197
21198
|
}
|
|
21198
21199
|
name() {
|
|
21199
|
-
return this.getTypedRuleContext(
|
|
21200
|
+
return this.getTypedRuleContext(f, 0);
|
|
21200
21201
|
}
|
|
21201
21202
|
RBRACKET() {
|
|
21202
21203
|
return this.getToken(i.RBRACKET, 0);
|
|
@@ -21205,13 +21206,13 @@ class L extends o.ParserRuleContext {
|
|
|
21205
21206
|
return this.getToken(i.EMOJI_SHORTCODE, 0);
|
|
21206
21207
|
}
|
|
21207
21208
|
enterRule(t) {
|
|
21208
|
-
t instanceof
|
|
21209
|
+
t instanceof o && t.enterEmoji(this);
|
|
21209
21210
|
}
|
|
21210
21211
|
exitRule(t) {
|
|
21211
|
-
t instanceof
|
|
21212
|
+
t instanceof o && t.exitEmoji(this);
|
|
21212
21213
|
}
|
|
21213
21214
|
}
|
|
21214
|
-
class
|
|
21215
|
+
class G extends h.ParserRuleContext {
|
|
21215
21216
|
constructor(t, e, s) {
|
|
21216
21217
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_block;
|
|
21217
21218
|
}
|
|
@@ -21219,13 +21220,13 @@ class v extends o.ParserRuleContext {
|
|
|
21219
21220
|
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(D) : this.getTypedRuleContext(D, t);
|
|
21220
21221
|
};
|
|
21221
21222
|
enterRule(t) {
|
|
21222
|
-
t instanceof
|
|
21223
|
+
t instanceof o && t.enterBlock(this);
|
|
21223
21224
|
}
|
|
21224
21225
|
exitRule(t) {
|
|
21225
|
-
t instanceof
|
|
21226
|
+
t instanceof o && t.exitBlock(this);
|
|
21226
21227
|
}
|
|
21227
21228
|
}
|
|
21228
|
-
|
|
21229
|
+
class lt extends h.ParserRuleContext {
|
|
21229
21230
|
constructor(t, e, s) {
|
|
21230
21231
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_ret;
|
|
21231
21232
|
}
|
|
@@ -21242,7 +21243,7 @@ let lt = class extends o.ParserRuleContext {
|
|
|
21242
21243
|
return this.getToken(i.ANNOTATION_RET, 0);
|
|
21243
21244
|
}
|
|
21244
21245
|
asyncMessage() {
|
|
21245
|
-
return this.getTypedRuleContext(
|
|
21246
|
+
return this.getTypedRuleContext($, 0);
|
|
21246
21247
|
}
|
|
21247
21248
|
EVENT_END() {
|
|
21248
21249
|
return this.getToken(i.EVENT_END, 0);
|
|
@@ -21251,51 +21252,52 @@ let lt = class extends o.ParserRuleContext {
|
|
|
21251
21252
|
return this.getTypedRuleContext(ut, 0);
|
|
21252
21253
|
}
|
|
21253
21254
|
enterRule(t) {
|
|
21254
|
-
t instanceof
|
|
21255
|
+
t instanceof o && t.enterRet(this);
|
|
21255
21256
|
}
|
|
21256
21257
|
exitRule(t) {
|
|
21257
|
-
t instanceof
|
|
21258
|
+
t instanceof o && t.exitRet(this);
|
|
21258
21259
|
}
|
|
21259
|
-
}
|
|
21260
|
+
}
|
|
21261
|
+
let ut = class extends h.ParserRuleContext {
|
|
21260
21262
|
constructor(t, e, s) {
|
|
21261
21263
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_returnAsyncMessage;
|
|
21262
21264
|
}
|
|
21263
21265
|
from() {
|
|
21264
|
-
return this.getTypedRuleContext(
|
|
21266
|
+
return this.getTypedRuleContext(U, 0);
|
|
21265
21267
|
}
|
|
21266
21268
|
RETURN_ARROW() {
|
|
21267
21269
|
return this.getToken(i.RETURN_ARROW, 0);
|
|
21268
21270
|
}
|
|
21269
21271
|
to() {
|
|
21270
|
-
return this.getTypedRuleContext(
|
|
21272
|
+
return this.getTypedRuleContext(O, 0);
|
|
21271
21273
|
}
|
|
21272
21274
|
COL() {
|
|
21273
21275
|
return this.getToken(i.COL, 0);
|
|
21274
21276
|
}
|
|
21275
21277
|
content() {
|
|
21276
|
-
return this.getTypedRuleContext(
|
|
21278
|
+
return this.getTypedRuleContext(Y, 0);
|
|
21277
21279
|
}
|
|
21278
21280
|
enterRule(t) {
|
|
21279
|
-
t instanceof
|
|
21281
|
+
t instanceof o && t.enterReturnAsyncMessage(this);
|
|
21280
21282
|
}
|
|
21281
21283
|
exitRule(t) {
|
|
21282
|
-
t instanceof
|
|
21284
|
+
t instanceof o && t.exitReturnAsyncMessage(this);
|
|
21283
21285
|
}
|
|
21284
|
-
}, xt = class extends
|
|
21286
|
+
}, xt = class extends h.ParserRuleContext {
|
|
21285
21287
|
constructor(t, e, s) {
|
|
21286
21288
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_divider;
|
|
21287
21289
|
}
|
|
21288
21290
|
dividerNote() {
|
|
21289
|
-
return this.getTypedRuleContext(
|
|
21291
|
+
return this.getTypedRuleContext(dt, 0);
|
|
21290
21292
|
}
|
|
21291
21293
|
enterRule(t) {
|
|
21292
|
-
t instanceof
|
|
21294
|
+
t instanceof o && t.enterDivider(this);
|
|
21293
21295
|
}
|
|
21294
21296
|
exitRule(t) {
|
|
21295
|
-
t instanceof
|
|
21297
|
+
t instanceof o && t.exitDivider(this);
|
|
21296
21298
|
}
|
|
21297
21299
|
};
|
|
21298
|
-
class
|
|
21300
|
+
class dt extends h.ParserRuleContext {
|
|
21299
21301
|
constructor(t, e, s) {
|
|
21300
21302
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_dividerNote;
|
|
21301
21303
|
}
|
|
@@ -21303,13 +21305,13 @@ class pt extends o.ParserRuleContext {
|
|
|
21303
21305
|
return this.getToken(i.DIVIDER, 0);
|
|
21304
21306
|
}
|
|
21305
21307
|
enterRule(t) {
|
|
21306
|
-
t instanceof
|
|
21308
|
+
t instanceof o && t.enterDividerNote(this);
|
|
21307
21309
|
}
|
|
21308
21310
|
exitRule(t) {
|
|
21309
|
-
t instanceof
|
|
21311
|
+
t instanceof o && t.exitDividerNote(this);
|
|
21310
21312
|
}
|
|
21311
21313
|
}
|
|
21312
|
-
let D = class extends
|
|
21314
|
+
let D = class extends h.ParserRuleContext {
|
|
21313
21315
|
constructor(t, e, s) {
|
|
21314
21316
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_stat;
|
|
21315
21317
|
}
|
|
@@ -21317,7 +21319,7 @@ let D = class extends o.ParserRuleContext {
|
|
|
21317
21319
|
return this.getTypedRuleContext(wt, 0);
|
|
21318
21320
|
}
|
|
21319
21321
|
par() {
|
|
21320
|
-
return this.getTypedRuleContext(
|
|
21322
|
+
return this.getTypedRuleContext(pt, 0);
|
|
21321
21323
|
}
|
|
21322
21324
|
opt() {
|
|
21323
21325
|
return this.getTypedRuleContext(ft, 0);
|
|
@@ -21335,13 +21337,13 @@ let D = class extends o.ParserRuleContext {
|
|
|
21335
21337
|
return this.getTypedRuleContext(Dt, 0);
|
|
21336
21338
|
}
|
|
21337
21339
|
creation() {
|
|
21338
|
-
return this.getTypedRuleContext(
|
|
21340
|
+
return this.getTypedRuleContext(S, 0);
|
|
21339
21341
|
}
|
|
21340
21342
|
message() {
|
|
21341
21343
|
return this.getTypedRuleContext(Ct, 0);
|
|
21342
21344
|
}
|
|
21343
21345
|
asyncMessage() {
|
|
21344
|
-
return this.getTypedRuleContext(
|
|
21346
|
+
return this.getTypedRuleContext($, 0);
|
|
21345
21347
|
}
|
|
21346
21348
|
EVENT_END() {
|
|
21347
21349
|
return this.getToken(i.EVENT_END, 0);
|
|
@@ -21356,13 +21358,13 @@ let D = class extends o.ParserRuleContext {
|
|
|
21356
21358
|
return this.getTypedRuleContext(It, 0);
|
|
21357
21359
|
}
|
|
21358
21360
|
enterRule(t) {
|
|
21359
|
-
t instanceof
|
|
21361
|
+
t instanceof o && t.enterStat(this);
|
|
21360
21362
|
}
|
|
21361
21363
|
exitRule(t) {
|
|
21362
|
-
t instanceof
|
|
21364
|
+
t instanceof o && t.exitStat(this);
|
|
21363
21365
|
}
|
|
21364
21366
|
};
|
|
21365
|
-
class
|
|
21367
|
+
class pt extends h.ParserRuleContext {
|
|
21366
21368
|
constructor(t, e, s) {
|
|
21367
21369
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_par;
|
|
21368
21370
|
}
|
|
@@ -21370,19 +21372,19 @@ class dt extends o.ParserRuleContext {
|
|
|
21370
21372
|
return this.getToken(i.PAR, 0);
|
|
21371
21373
|
}
|
|
21372
21374
|
braceBlock() {
|
|
21373
|
-
return this.getTypedRuleContext(
|
|
21375
|
+
return this.getTypedRuleContext(R, 0);
|
|
21374
21376
|
}
|
|
21375
21377
|
parExpr() {
|
|
21376
21378
|
return this.getTypedRuleContext(y, 0);
|
|
21377
21379
|
}
|
|
21378
21380
|
enterRule(t) {
|
|
21379
|
-
t instanceof
|
|
21381
|
+
t instanceof o && t.enterPar(this);
|
|
21380
21382
|
}
|
|
21381
21383
|
exitRule(t) {
|
|
21382
|
-
t instanceof
|
|
21384
|
+
t instanceof o && t.exitPar(this);
|
|
21383
21385
|
}
|
|
21384
21386
|
}
|
|
21385
|
-
class ft extends
|
|
21387
|
+
class ft extends h.ParserRuleContext {
|
|
21386
21388
|
constructor(t, e, s) {
|
|
21387
21389
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_opt;
|
|
21388
21390
|
}
|
|
@@ -21390,19 +21392,19 @@ class ft extends o.ParserRuleContext {
|
|
|
21390
21392
|
return this.getToken(i.OPT, 0);
|
|
21391
21393
|
}
|
|
21392
21394
|
braceBlock() {
|
|
21393
|
-
return this.getTypedRuleContext(
|
|
21395
|
+
return this.getTypedRuleContext(R, 0);
|
|
21394
21396
|
}
|
|
21395
21397
|
parExpr() {
|
|
21396
21398
|
return this.getTypedRuleContext(y, 0);
|
|
21397
21399
|
}
|
|
21398
21400
|
enterRule(t) {
|
|
21399
|
-
t instanceof
|
|
21401
|
+
t instanceof o && t.enterOpt(this);
|
|
21400
21402
|
}
|
|
21401
21403
|
exitRule(t) {
|
|
21402
|
-
t instanceof
|
|
21404
|
+
t instanceof o && t.exitOpt(this);
|
|
21403
21405
|
}
|
|
21404
21406
|
}
|
|
21405
|
-
class Rt extends
|
|
21407
|
+
class Rt extends h.ParserRuleContext {
|
|
21406
21408
|
constructor(t, e, s) {
|
|
21407
21409
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_critical;
|
|
21408
21410
|
}
|
|
@@ -21410,19 +21412,19 @@ class Rt extends o.ParserRuleContext {
|
|
|
21410
21412
|
return this.getToken(i.CRITICAL, 0);
|
|
21411
21413
|
}
|
|
21412
21414
|
braceBlock() {
|
|
21413
|
-
return this.getTypedRuleContext(
|
|
21415
|
+
return this.getTypedRuleContext(R, 0);
|
|
21414
21416
|
}
|
|
21415
21417
|
parExpr() {
|
|
21416
21418
|
return this.getTypedRuleContext(y, 0);
|
|
21417
21419
|
}
|
|
21418
21420
|
enterRule(t) {
|
|
21419
|
-
t instanceof
|
|
21421
|
+
t instanceof o && t.enterCritical(this);
|
|
21420
21422
|
}
|
|
21421
21423
|
exitRule(t) {
|
|
21422
|
-
t instanceof
|
|
21424
|
+
t instanceof o && t.exitCritical(this);
|
|
21423
21425
|
}
|
|
21424
21426
|
}
|
|
21425
|
-
class Et extends
|
|
21427
|
+
class Et extends h.ParserRuleContext {
|
|
21426
21428
|
constructor(t, e, s) {
|
|
21427
21429
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_section;
|
|
21428
21430
|
}
|
|
@@ -21430,7 +21432,7 @@ class Et extends o.ParserRuleContext {
|
|
|
21430
21432
|
return this.getToken(i.SECTION, 0);
|
|
21431
21433
|
}
|
|
21432
21434
|
braceBlock() {
|
|
21433
|
-
return this.getTypedRuleContext(
|
|
21435
|
+
return this.getTypedRuleContext(R, 0);
|
|
21434
21436
|
}
|
|
21435
21437
|
OPAR() {
|
|
21436
21438
|
return this.getToken(i.OPAR, 0);
|
|
@@ -21439,16 +21441,16 @@ class Et extends o.ParserRuleContext {
|
|
|
21439
21441
|
return this.getToken(i.CPAR, 0);
|
|
21440
21442
|
}
|
|
21441
21443
|
atom() {
|
|
21442
|
-
return this.getTypedRuleContext(
|
|
21444
|
+
return this.getTypedRuleContext(E, 0);
|
|
21443
21445
|
}
|
|
21444
21446
|
enterRule(t) {
|
|
21445
|
-
t instanceof
|
|
21447
|
+
t instanceof o && t.enterSection(this);
|
|
21446
21448
|
}
|
|
21447
21449
|
exitRule(t) {
|
|
21448
|
-
t instanceof
|
|
21450
|
+
t instanceof o && t.exitSection(this);
|
|
21449
21451
|
}
|
|
21450
21452
|
}
|
|
21451
|
-
let
|
|
21453
|
+
let S = class extends h.ParserRuleContext {
|
|
21452
21454
|
constructor(t, e, s) {
|
|
21453
21455
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_creation;
|
|
21454
21456
|
}
|
|
@@ -21459,15 +21461,15 @@ let G = class extends o.ParserRuleContext {
|
|
|
21459
21461
|
return this.getToken(i.SCOL, 0);
|
|
21460
21462
|
}
|
|
21461
21463
|
braceBlock() {
|
|
21462
|
-
return this.getTypedRuleContext(
|
|
21464
|
+
return this.getTypedRuleContext(R, 0);
|
|
21463
21465
|
}
|
|
21464
21466
|
enterRule(t) {
|
|
21465
|
-
t instanceof
|
|
21467
|
+
t instanceof o && t.enterCreation(this);
|
|
21466
21468
|
}
|
|
21467
21469
|
exitRule(t) {
|
|
21468
|
-
t instanceof
|
|
21470
|
+
t instanceof o && t.exitCreation(this);
|
|
21469
21471
|
}
|
|
21470
|
-
}, Tt = class extends
|
|
21472
|
+
}, Tt = class extends h.ParserRuleContext {
|
|
21471
21473
|
constructor(t, e, s) {
|
|
21472
21474
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_ref;
|
|
21473
21475
|
}
|
|
@@ -21481,7 +21483,7 @@ let G = class extends o.ParserRuleContext {
|
|
|
21481
21483
|
return this.getToken(i.CPAR, 0);
|
|
21482
21484
|
}
|
|
21483
21485
|
name = function(t) {
|
|
21484
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
21486
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(f) : this.getTypedRuleContext(f, t);
|
|
21485
21487
|
};
|
|
21486
21488
|
SCOL() {
|
|
21487
21489
|
return this.getToken(i.SCOL, 0);
|
|
@@ -21490,13 +21492,13 @@ let G = class extends o.ParserRuleContext {
|
|
|
21490
21492
|
return t === void 0 && (t = null), t === null ? this.getTokens(i.COMMA) : this.getToken(i.COMMA, t);
|
|
21491
21493
|
};
|
|
21492
21494
|
enterRule(t) {
|
|
21493
|
-
t instanceof
|
|
21495
|
+
t instanceof o && t.enterRef(this);
|
|
21494
21496
|
}
|
|
21495
21497
|
exitRule(t) {
|
|
21496
|
-
t instanceof
|
|
21498
|
+
t instanceof o && t.exitRef(this);
|
|
21497
21499
|
}
|
|
21498
21500
|
};
|
|
21499
|
-
class _t extends
|
|
21501
|
+
class _t extends h.ParserRuleContext {
|
|
21500
21502
|
constructor(t, e, s) {
|
|
21501
21503
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_creationBody;
|
|
21502
21504
|
}
|
|
@@ -21504,10 +21506,10 @@ class _t extends o.ParserRuleContext {
|
|
|
21504
21506
|
return this.getToken(i.NEW, 0);
|
|
21505
21507
|
}
|
|
21506
21508
|
construct() {
|
|
21507
|
-
return this.getTypedRuleContext(
|
|
21509
|
+
return this.getTypedRuleContext(yt, 0);
|
|
21508
21510
|
}
|
|
21509
21511
|
assignment() {
|
|
21510
|
-
return this.getTypedRuleContext(
|
|
21512
|
+
return this.getTypedRuleContext(w, 0);
|
|
21511
21513
|
}
|
|
21512
21514
|
OPAR() {
|
|
21513
21515
|
return this.getToken(i.OPAR, 0);
|
|
@@ -21519,13 +21521,13 @@ class _t extends o.ParserRuleContext {
|
|
|
21519
21521
|
return this.getTypedRuleContext(Q, 0);
|
|
21520
21522
|
}
|
|
21521
21523
|
enterRule(t) {
|
|
21522
|
-
t instanceof
|
|
21524
|
+
t instanceof o && t.enterCreationBody(this);
|
|
21523
21525
|
}
|
|
21524
21526
|
exitRule(t) {
|
|
21525
|
-
t instanceof
|
|
21527
|
+
t instanceof o && t.exitCreationBody(this);
|
|
21526
21528
|
}
|
|
21527
21529
|
}
|
|
21528
|
-
let Ct = class extends
|
|
21530
|
+
let Ct = class extends h.ParserRuleContext {
|
|
21529
21531
|
constructor(t, e, s) {
|
|
21530
21532
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_message;
|
|
21531
21533
|
}
|
|
@@ -21536,59 +21538,59 @@ let Ct = class extends o.ParserRuleContext {
|
|
|
21536
21538
|
return this.getToken(i.SCOL, 0);
|
|
21537
21539
|
}
|
|
21538
21540
|
braceBlock() {
|
|
21539
|
-
return this.getTypedRuleContext(
|
|
21541
|
+
return this.getTypedRuleContext(R, 0);
|
|
21540
21542
|
}
|
|
21541
21543
|
enterRule(t) {
|
|
21542
|
-
t instanceof
|
|
21544
|
+
t instanceof o && t.enterMessage(this);
|
|
21543
21545
|
}
|
|
21544
21546
|
exitRule(t) {
|
|
21545
|
-
t instanceof
|
|
21547
|
+
t instanceof o && t.exitMessage(this);
|
|
21546
21548
|
}
|
|
21547
21549
|
};
|
|
21548
|
-
class At extends
|
|
21550
|
+
class At extends h.ParserRuleContext {
|
|
21549
21551
|
constructor(t, e, s) {
|
|
21550
21552
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_messageBody;
|
|
21551
21553
|
}
|
|
21552
21554
|
assignment() {
|
|
21553
|
-
return this.getTypedRuleContext(
|
|
21555
|
+
return this.getTypedRuleContext(w, 0);
|
|
21554
21556
|
}
|
|
21555
21557
|
fromTo() {
|
|
21556
|
-
return this.getTypedRuleContext(
|
|
21558
|
+
return this.getTypedRuleContext(mt, 0);
|
|
21557
21559
|
}
|
|
21558
21560
|
func() {
|
|
21559
|
-
return this.getTypedRuleContext(
|
|
21561
|
+
return this.getTypedRuleContext(W, 0);
|
|
21560
21562
|
}
|
|
21561
21563
|
enterRule(t) {
|
|
21562
|
-
t instanceof
|
|
21564
|
+
t instanceof o && t.enterMessageBody(this);
|
|
21563
21565
|
}
|
|
21564
21566
|
exitRule(t) {
|
|
21565
|
-
t instanceof
|
|
21567
|
+
t instanceof o && t.exitMessageBody(this);
|
|
21566
21568
|
}
|
|
21567
21569
|
}
|
|
21568
|
-
class
|
|
21570
|
+
class mt extends h.ParserRuleContext {
|
|
21569
21571
|
constructor(t, e, s) {
|
|
21570
21572
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_fromTo;
|
|
21571
21573
|
}
|
|
21572
21574
|
to() {
|
|
21573
|
-
return this.getTypedRuleContext(
|
|
21575
|
+
return this.getTypedRuleContext(O, 0);
|
|
21574
21576
|
}
|
|
21575
21577
|
DOT() {
|
|
21576
21578
|
return this.getToken(i.DOT, 0);
|
|
21577
21579
|
}
|
|
21578
21580
|
from() {
|
|
21579
|
-
return this.getTypedRuleContext(
|
|
21581
|
+
return this.getTypedRuleContext(U, 0);
|
|
21580
21582
|
}
|
|
21581
21583
|
ARROW() {
|
|
21582
21584
|
return this.getToken(i.ARROW, 0);
|
|
21583
21585
|
}
|
|
21584
21586
|
enterRule(t) {
|
|
21585
|
-
t instanceof
|
|
21587
|
+
t instanceof o && t.enterFromTo(this);
|
|
21586
21588
|
}
|
|
21587
21589
|
exitRule(t) {
|
|
21588
|
-
t instanceof
|
|
21590
|
+
t instanceof o && t.exitFromTo(this);
|
|
21589
21591
|
}
|
|
21590
21592
|
}
|
|
21591
|
-
class
|
|
21593
|
+
class W extends h.ParserRuleContext {
|
|
21592
21594
|
constructor(t, e, s) {
|
|
21593
21595
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_func;
|
|
21594
21596
|
}
|
|
@@ -21599,47 +21601,47 @@ class S extends o.ParserRuleContext {
|
|
|
21599
21601
|
return t === void 0 && (t = null), t === null ? this.getTokens(i.DOT) : this.getToken(i.DOT, t);
|
|
21600
21602
|
};
|
|
21601
21603
|
enterRule(t) {
|
|
21602
|
-
t instanceof
|
|
21604
|
+
t instanceof o && t.enterFunc(this);
|
|
21603
21605
|
}
|
|
21604
21606
|
exitRule(t) {
|
|
21605
|
-
t instanceof
|
|
21607
|
+
t instanceof o && t.exitFunc(this);
|
|
21606
21608
|
}
|
|
21607
21609
|
}
|
|
21608
|
-
class
|
|
21610
|
+
class U extends h.ParserRuleContext {
|
|
21609
21611
|
constructor(t, e, s) {
|
|
21610
21612
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_from;
|
|
21611
21613
|
}
|
|
21612
21614
|
name() {
|
|
21613
|
-
return this.getTypedRuleContext(
|
|
21615
|
+
return this.getTypedRuleContext(f, 0);
|
|
21614
21616
|
}
|
|
21615
21617
|
emoji() {
|
|
21616
|
-
return this.getTypedRuleContext(
|
|
21618
|
+
return this.getTypedRuleContext(N, 0);
|
|
21617
21619
|
}
|
|
21618
21620
|
enterRule(t) {
|
|
21619
|
-
t instanceof
|
|
21621
|
+
t instanceof o && t.enterFrom(this);
|
|
21620
21622
|
}
|
|
21621
21623
|
exitRule(t) {
|
|
21622
|
-
t instanceof
|
|
21624
|
+
t instanceof o && t.exitFrom(this);
|
|
21623
21625
|
}
|
|
21624
21626
|
}
|
|
21625
|
-
class
|
|
21627
|
+
class O extends h.ParserRuleContext {
|
|
21626
21628
|
constructor(t, e, s) {
|
|
21627
21629
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_to;
|
|
21628
21630
|
}
|
|
21629
21631
|
name() {
|
|
21630
|
-
return this.getTypedRuleContext(
|
|
21632
|
+
return this.getTypedRuleContext(f, 0);
|
|
21631
21633
|
}
|
|
21632
21634
|
emoji() {
|
|
21633
|
-
return this.getTypedRuleContext(
|
|
21635
|
+
return this.getTypedRuleContext(N, 0);
|
|
21634
21636
|
}
|
|
21635
21637
|
enterRule(t) {
|
|
21636
|
-
t instanceof
|
|
21638
|
+
t instanceof o && t.enterTo(this);
|
|
21637
21639
|
}
|
|
21638
21640
|
exitRule(t) {
|
|
21639
|
-
t instanceof
|
|
21641
|
+
t instanceof o && t.exitTo(this);
|
|
21640
21642
|
}
|
|
21641
21643
|
}
|
|
21642
|
-
class P extends
|
|
21644
|
+
class P extends h.ParserRuleContext {
|
|
21643
21645
|
constructor(t, e, s) {
|
|
21644
21646
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_signature;
|
|
21645
21647
|
}
|
|
@@ -21647,16 +21649,16 @@ class P extends o.ParserRuleContext {
|
|
|
21647
21649
|
return this.getTypedRuleContext(Nt, 0);
|
|
21648
21650
|
}
|
|
21649
21651
|
invocation() {
|
|
21650
|
-
return this.getTypedRuleContext(
|
|
21652
|
+
return this.getTypedRuleContext(V, 0);
|
|
21651
21653
|
}
|
|
21652
21654
|
enterRule(t) {
|
|
21653
|
-
t instanceof
|
|
21655
|
+
t instanceof o && t.enterSignature(this);
|
|
21654
21656
|
}
|
|
21655
21657
|
exitRule(t) {
|
|
21656
|
-
t instanceof
|
|
21658
|
+
t instanceof o && t.exitSignature(this);
|
|
21657
21659
|
}
|
|
21658
21660
|
}
|
|
21659
|
-
class
|
|
21661
|
+
class V extends h.ParserRuleContext {
|
|
21660
21662
|
constructor(t, e, s) {
|
|
21661
21663
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_invocation;
|
|
21662
21664
|
}
|
|
@@ -21670,13 +21672,13 @@ class W extends o.ParserRuleContext {
|
|
|
21670
21672
|
return this.getTypedRuleContext(Q, 0);
|
|
21671
21673
|
}
|
|
21672
21674
|
enterRule(t) {
|
|
21673
|
-
t instanceof
|
|
21675
|
+
t instanceof o && t.enterInvocation(this);
|
|
21674
21676
|
}
|
|
21675
21677
|
exitRule(t) {
|
|
21676
|
-
t instanceof
|
|
21678
|
+
t instanceof o && t.exitInvocation(this);
|
|
21677
21679
|
}
|
|
21678
21680
|
}
|
|
21679
|
-
class
|
|
21681
|
+
class w extends h.ParserRuleContext {
|
|
21680
21682
|
constructor(t, e, s) {
|
|
21681
21683
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_assignment;
|
|
21682
21684
|
}
|
|
@@ -21687,45 +21689,45 @@ class U extends o.ParserRuleContext {
|
|
|
21687
21689
|
return this.getToken(i.ASSIGN, 0);
|
|
21688
21690
|
}
|
|
21689
21691
|
type() {
|
|
21690
|
-
return this.getTypedRuleContext(
|
|
21692
|
+
return this.getTypedRuleContext(j, 0);
|
|
21691
21693
|
}
|
|
21692
21694
|
enterRule(t) {
|
|
21693
|
-
t instanceof
|
|
21695
|
+
t instanceof o && t.enterAssignment(this);
|
|
21694
21696
|
}
|
|
21695
21697
|
exitRule(t) {
|
|
21696
|
-
t instanceof
|
|
21698
|
+
t instanceof o && t.exitAssignment(this);
|
|
21697
21699
|
}
|
|
21698
21700
|
}
|
|
21699
|
-
let
|
|
21701
|
+
let $ = class extends h.ParserRuleContext {
|
|
21700
21702
|
constructor(t, e, s) {
|
|
21701
21703
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_asyncMessage;
|
|
21702
21704
|
}
|
|
21703
21705
|
to() {
|
|
21704
|
-
return this.getTypedRuleContext(
|
|
21706
|
+
return this.getTypedRuleContext(O, 0);
|
|
21705
21707
|
}
|
|
21706
21708
|
COL() {
|
|
21707
21709
|
return this.getToken(i.COL, 0);
|
|
21708
21710
|
}
|
|
21709
21711
|
from() {
|
|
21710
|
-
return this.getTypedRuleContext(
|
|
21712
|
+
return this.getTypedRuleContext(U, 0);
|
|
21711
21713
|
}
|
|
21712
21714
|
ARROW() {
|
|
21713
21715
|
return this.getToken(i.ARROW, 0);
|
|
21714
21716
|
}
|
|
21715
21717
|
content() {
|
|
21716
|
-
return this.getTypedRuleContext(
|
|
21718
|
+
return this.getTypedRuleContext(Y, 0);
|
|
21717
21719
|
}
|
|
21718
21720
|
MINUS() {
|
|
21719
21721
|
return this.getToken(i.MINUS, 0);
|
|
21720
21722
|
}
|
|
21721
21723
|
enterRule(t) {
|
|
21722
|
-
t instanceof
|
|
21724
|
+
t instanceof o && t.enterAsyncMessage(this);
|
|
21723
21725
|
}
|
|
21724
21726
|
exitRule(t) {
|
|
21725
|
-
t instanceof
|
|
21727
|
+
t instanceof o && t.exitAsyncMessage(this);
|
|
21726
21728
|
}
|
|
21727
21729
|
};
|
|
21728
|
-
class
|
|
21730
|
+
class Y extends h.ParserRuleContext {
|
|
21729
21731
|
constructor(t, e, s) {
|
|
21730
21732
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_content;
|
|
21731
21733
|
}
|
|
@@ -21733,46 +21735,46 @@ class $ extends o.ParserRuleContext {
|
|
|
21733
21735
|
return this.getToken(i.EVENT_PAYLOAD_LXR, 0);
|
|
21734
21736
|
}
|
|
21735
21737
|
enterRule(t) {
|
|
21736
|
-
t instanceof
|
|
21738
|
+
t instanceof o && t.enterContent(this);
|
|
21737
21739
|
}
|
|
21738
21740
|
exitRule(t) {
|
|
21739
|
-
t instanceof
|
|
21741
|
+
t instanceof o && t.exitContent(this);
|
|
21740
21742
|
}
|
|
21741
21743
|
}
|
|
21742
|
-
class
|
|
21744
|
+
class yt extends h.ParserRuleContext {
|
|
21743
21745
|
constructor(t, e, s) {
|
|
21744
21746
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_construct;
|
|
21745
21747
|
}
|
|
21746
21748
|
name() {
|
|
21747
|
-
return this.getTypedRuleContext(
|
|
21749
|
+
return this.getTypedRuleContext(f, 0);
|
|
21748
21750
|
}
|
|
21749
21751
|
enterRule(t) {
|
|
21750
|
-
t instanceof
|
|
21752
|
+
t instanceof o && t.enterConstruct(this);
|
|
21751
21753
|
}
|
|
21752
21754
|
exitRule(t) {
|
|
21753
|
-
t instanceof
|
|
21755
|
+
t instanceof o && t.exitConstruct(this);
|
|
21754
21756
|
}
|
|
21755
21757
|
}
|
|
21756
|
-
class
|
|
21758
|
+
class j extends h.ParserRuleContext {
|
|
21757
21759
|
constructor(t, e, s) {
|
|
21758
21760
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_type;
|
|
21759
21761
|
}
|
|
21760
21762
|
name() {
|
|
21761
|
-
return this.getTypedRuleContext(
|
|
21763
|
+
return this.getTypedRuleContext(f, 0);
|
|
21762
21764
|
}
|
|
21763
21765
|
enterRule(t) {
|
|
21764
|
-
t instanceof
|
|
21766
|
+
t instanceof o && t.enterType(this);
|
|
21765
21767
|
}
|
|
21766
21768
|
exitRule(t) {
|
|
21767
|
-
t instanceof
|
|
21769
|
+
t instanceof o && t.exitType(this);
|
|
21768
21770
|
}
|
|
21769
21771
|
}
|
|
21770
|
-
class Lt extends
|
|
21772
|
+
class Lt extends h.ParserRuleContext {
|
|
21771
21773
|
constructor(t, e, s) {
|
|
21772
21774
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_assignee;
|
|
21773
21775
|
}
|
|
21774
21776
|
atom() {
|
|
21775
|
-
return this.getTypedRuleContext(
|
|
21777
|
+
return this.getTypedRuleContext(E, 0);
|
|
21776
21778
|
}
|
|
21777
21779
|
ID = function(t) {
|
|
21778
21780
|
return t === void 0 && (t = null), t === null ? this.getTokens(i.ID) : this.getToken(i.ID, t);
|
|
@@ -21793,30 +21795,30 @@ class Lt extends o.ParserRuleContext {
|
|
|
21793
21795
|
return this.getToken(i.NEW, 0);
|
|
21794
21796
|
}
|
|
21795
21797
|
enterRule(t) {
|
|
21796
|
-
t instanceof
|
|
21798
|
+
t instanceof o && t.enterAssignee(this);
|
|
21797
21799
|
}
|
|
21798
21800
|
exitRule(t) {
|
|
21799
|
-
t instanceof
|
|
21801
|
+
t instanceof o && t.exitAssignee(this);
|
|
21800
21802
|
}
|
|
21801
21803
|
}
|
|
21802
|
-
class Nt extends
|
|
21804
|
+
class Nt extends h.ParserRuleContext {
|
|
21803
21805
|
constructor(t, e, s) {
|
|
21804
21806
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_methodName;
|
|
21805
21807
|
}
|
|
21806
21808
|
name() {
|
|
21807
|
-
return this.getTypedRuleContext(
|
|
21809
|
+
return this.getTypedRuleContext(f, 0);
|
|
21808
21810
|
}
|
|
21809
21811
|
emoji() {
|
|
21810
|
-
return this.getTypedRuleContext(
|
|
21812
|
+
return this.getTypedRuleContext(N, 0);
|
|
21811
21813
|
}
|
|
21812
21814
|
enterRule(t) {
|
|
21813
|
-
t instanceof
|
|
21815
|
+
t instanceof o && t.enterMethodName(this);
|
|
21814
21816
|
}
|
|
21815
21817
|
exitRule(t) {
|
|
21816
|
-
t instanceof
|
|
21818
|
+
t instanceof o && t.exitMethodName(this);
|
|
21817
21819
|
}
|
|
21818
21820
|
}
|
|
21819
|
-
|
|
21821
|
+
class Q extends h.ParserRuleContext {
|
|
21820
21822
|
constructor(t, e, s) {
|
|
21821
21823
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_parameters;
|
|
21822
21824
|
}
|
|
@@ -21827,13 +21829,13 @@ let Q = class extends o.ParserRuleContext {
|
|
|
21827
21829
|
return t === void 0 && (t = null), t === null ? this.getTokens(i.COMMA) : this.getToken(i.COMMA, t);
|
|
21828
21830
|
};
|
|
21829
21831
|
enterRule(t) {
|
|
21830
|
-
t instanceof
|
|
21832
|
+
t instanceof o && t.enterParameters(this);
|
|
21831
21833
|
}
|
|
21832
21834
|
exitRule(t) {
|
|
21833
|
-
t instanceof
|
|
21835
|
+
t instanceof o && t.exitParameters(this);
|
|
21834
21836
|
}
|
|
21835
|
-
}
|
|
21836
|
-
class k extends
|
|
21837
|
+
}
|
|
21838
|
+
class k extends h.ParserRuleContext {
|
|
21837
21839
|
constructor(t, e, s) {
|
|
21838
21840
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_parameter;
|
|
21839
21841
|
}
|
|
@@ -21847,13 +21849,13 @@ class k extends o.ParserRuleContext {
|
|
|
21847
21849
|
return this.getTypedRuleContext(l, 0);
|
|
21848
21850
|
}
|
|
21849
21851
|
enterRule(t) {
|
|
21850
|
-
t instanceof
|
|
21852
|
+
t instanceof o && t.enterParameter(this);
|
|
21851
21853
|
}
|
|
21852
21854
|
exitRule(t) {
|
|
21853
|
-
t instanceof
|
|
21855
|
+
t instanceof o && t.exitParameter(this);
|
|
21854
21856
|
}
|
|
21855
21857
|
}
|
|
21856
|
-
class gt extends
|
|
21858
|
+
class gt extends h.ParserRuleContext {
|
|
21857
21859
|
constructor(t, e, s) {
|
|
21858
21860
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_namedParameter;
|
|
21859
21861
|
}
|
|
@@ -21870,18 +21872,18 @@ class gt extends o.ParserRuleContext {
|
|
|
21870
21872
|
return this.getTypedRuleContext(l, 0);
|
|
21871
21873
|
}
|
|
21872
21874
|
enterRule(t) {
|
|
21873
|
-
t instanceof
|
|
21875
|
+
t instanceof o && t.enterNamedParameter(this);
|
|
21874
21876
|
}
|
|
21875
21877
|
exitRule(t) {
|
|
21876
|
-
t instanceof
|
|
21878
|
+
t instanceof o && t.exitNamedParameter(this);
|
|
21877
21879
|
}
|
|
21878
21880
|
}
|
|
21879
|
-
class Ot extends
|
|
21881
|
+
class Ot extends h.ParserRuleContext {
|
|
21880
21882
|
constructor(t, e, s) {
|
|
21881
21883
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_declaration;
|
|
21882
21884
|
}
|
|
21883
21885
|
type() {
|
|
21884
|
-
return this.getTypedRuleContext(
|
|
21886
|
+
return this.getTypedRuleContext(j, 0);
|
|
21885
21887
|
}
|
|
21886
21888
|
ID() {
|
|
21887
21889
|
return this.getToken(i.ID, 0);
|
|
@@ -21890,13 +21892,13 @@ class Ot extends o.ParserRuleContext {
|
|
|
21890
21892
|
return this.getToken(i.DIGIT_LEADING_NAME, 0);
|
|
21891
21893
|
}
|
|
21892
21894
|
enterRule(t) {
|
|
21893
|
-
t instanceof
|
|
21895
|
+
t instanceof o && t.enterDeclaration(this);
|
|
21894
21896
|
}
|
|
21895
21897
|
exitRule(t) {
|
|
21896
|
-
t instanceof
|
|
21898
|
+
t instanceof o && t.exitDeclaration(this);
|
|
21897
21899
|
}
|
|
21898
21900
|
}
|
|
21899
|
-
class It extends
|
|
21901
|
+
class It extends h.ParserRuleContext {
|
|
21900
21902
|
constructor(t, e, s) {
|
|
21901
21903
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_tcf;
|
|
21902
21904
|
}
|
|
@@ -21910,13 +21912,13 @@ class It extends o.ParserRuleContext {
|
|
|
21910
21912
|
return this.getTypedRuleContext(Ut, 0);
|
|
21911
21913
|
}
|
|
21912
21914
|
enterRule(t) {
|
|
21913
|
-
t instanceof
|
|
21915
|
+
t instanceof o && t.enterTcf(this);
|
|
21914
21916
|
}
|
|
21915
21917
|
exitRule(t) {
|
|
21916
|
-
t instanceof
|
|
21918
|
+
t instanceof o && t.exitTcf(this);
|
|
21917
21919
|
}
|
|
21918
21920
|
}
|
|
21919
|
-
class Ht extends
|
|
21921
|
+
class Ht extends h.ParserRuleContext {
|
|
21920
21922
|
constructor(t, e, s) {
|
|
21921
21923
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_tryBlock;
|
|
21922
21924
|
}
|
|
@@ -21924,16 +21926,16 @@ class Ht extends o.ParserRuleContext {
|
|
|
21924
21926
|
return this.getToken(i.TRY, 0);
|
|
21925
21927
|
}
|
|
21926
21928
|
braceBlock() {
|
|
21927
|
-
return this.getTypedRuleContext(
|
|
21929
|
+
return this.getTypedRuleContext(R, 0);
|
|
21928
21930
|
}
|
|
21929
21931
|
enterRule(t) {
|
|
21930
|
-
t instanceof
|
|
21932
|
+
t instanceof o && t.enterTryBlock(this);
|
|
21931
21933
|
}
|
|
21932
21934
|
exitRule(t) {
|
|
21933
|
-
t instanceof
|
|
21935
|
+
t instanceof o && t.exitTryBlock(this);
|
|
21934
21936
|
}
|
|
21935
21937
|
}
|
|
21936
|
-
class b extends
|
|
21938
|
+
class b extends h.ParserRuleContext {
|
|
21937
21939
|
constructor(t, e, s) {
|
|
21938
21940
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_catchBlock;
|
|
21939
21941
|
}
|
|
@@ -21941,19 +21943,19 @@ class b extends o.ParserRuleContext {
|
|
|
21941
21943
|
return this.getToken(i.CATCH, 0);
|
|
21942
21944
|
}
|
|
21943
21945
|
braceBlock() {
|
|
21944
|
-
return this.getTypedRuleContext(
|
|
21946
|
+
return this.getTypedRuleContext(R, 0);
|
|
21945
21947
|
}
|
|
21946
21948
|
invocation() {
|
|
21947
|
-
return this.getTypedRuleContext(
|
|
21949
|
+
return this.getTypedRuleContext(V, 0);
|
|
21948
21950
|
}
|
|
21949
21951
|
enterRule(t) {
|
|
21950
|
-
t instanceof
|
|
21952
|
+
t instanceof o && t.enterCatchBlock(this);
|
|
21951
21953
|
}
|
|
21952
21954
|
exitRule(t) {
|
|
21953
|
-
t instanceof
|
|
21955
|
+
t instanceof o && t.exitCatchBlock(this);
|
|
21954
21956
|
}
|
|
21955
21957
|
}
|
|
21956
|
-
class Ut extends
|
|
21958
|
+
class Ut extends h.ParserRuleContext {
|
|
21957
21959
|
constructor(t, e, s) {
|
|
21958
21960
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_finallyBlock;
|
|
21959
21961
|
}
|
|
@@ -21961,16 +21963,16 @@ class Ut extends o.ParserRuleContext {
|
|
|
21961
21963
|
return this.getToken(i.FINALLY, 0);
|
|
21962
21964
|
}
|
|
21963
21965
|
braceBlock() {
|
|
21964
|
-
return this.getTypedRuleContext(
|
|
21966
|
+
return this.getTypedRuleContext(R, 0);
|
|
21965
21967
|
}
|
|
21966
21968
|
enterRule(t) {
|
|
21967
|
-
t instanceof
|
|
21969
|
+
t instanceof o && t.enterFinallyBlock(this);
|
|
21968
21970
|
}
|
|
21969
21971
|
exitRule(t) {
|
|
21970
|
-
t instanceof
|
|
21972
|
+
t instanceof o && t.exitFinallyBlock(this);
|
|
21971
21973
|
}
|
|
21972
21974
|
}
|
|
21973
|
-
class wt extends
|
|
21975
|
+
class wt extends h.ParserRuleContext {
|
|
21974
21976
|
constructor(t, e, s) {
|
|
21975
21977
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_alt;
|
|
21976
21978
|
}
|
|
@@ -21984,13 +21986,13 @@ class wt extends o.ParserRuleContext {
|
|
|
21984
21986
|
return this.getTypedRuleContext(Bt, 0);
|
|
21985
21987
|
}
|
|
21986
21988
|
enterRule(t) {
|
|
21987
|
-
t instanceof
|
|
21989
|
+
t instanceof o && t.enterAlt(this);
|
|
21988
21990
|
}
|
|
21989
21991
|
exitRule(t) {
|
|
21990
|
-
t instanceof
|
|
21992
|
+
t instanceof o && t.exitAlt(this);
|
|
21991
21993
|
}
|
|
21992
21994
|
}
|
|
21993
|
-
let Mt = class extends
|
|
21995
|
+
let Mt = class extends h.ParserRuleContext {
|
|
21994
21996
|
constructor(t, e, s) {
|
|
21995
21997
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_ifBlock;
|
|
21996
21998
|
}
|
|
@@ -22001,16 +22003,16 @@ let Mt = class extends o.ParserRuleContext {
|
|
|
22001
22003
|
return this.getTypedRuleContext(y, 0);
|
|
22002
22004
|
}
|
|
22003
22005
|
braceBlock() {
|
|
22004
|
-
return this.getTypedRuleContext(
|
|
22006
|
+
return this.getTypedRuleContext(R, 0);
|
|
22005
22007
|
}
|
|
22006
22008
|
enterRule(t) {
|
|
22007
|
-
t instanceof
|
|
22009
|
+
t instanceof o && t.enterIfBlock(this);
|
|
22008
22010
|
}
|
|
22009
22011
|
exitRule(t) {
|
|
22010
|
-
t instanceof
|
|
22012
|
+
t instanceof o && t.exitIfBlock(this);
|
|
22011
22013
|
}
|
|
22012
22014
|
};
|
|
22013
|
-
class F extends
|
|
22015
|
+
class F extends h.ParserRuleContext {
|
|
22014
22016
|
constructor(t, e, s) {
|
|
22015
22017
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_elseIfBlock;
|
|
22016
22018
|
}
|
|
@@ -22024,16 +22026,16 @@ class F extends o.ParserRuleContext {
|
|
|
22024
22026
|
return this.getTypedRuleContext(y, 0);
|
|
22025
22027
|
}
|
|
22026
22028
|
braceBlock() {
|
|
22027
|
-
return this.getTypedRuleContext(
|
|
22029
|
+
return this.getTypedRuleContext(R, 0);
|
|
22028
22030
|
}
|
|
22029
22031
|
enterRule(t) {
|
|
22030
|
-
t instanceof
|
|
22032
|
+
t instanceof o && t.enterElseIfBlock(this);
|
|
22031
22033
|
}
|
|
22032
22034
|
exitRule(t) {
|
|
22033
|
-
t instanceof
|
|
22035
|
+
t instanceof o && t.exitElseIfBlock(this);
|
|
22034
22036
|
}
|
|
22035
22037
|
}
|
|
22036
|
-
class Bt extends
|
|
22038
|
+
class Bt extends h.ParserRuleContext {
|
|
22037
22039
|
constructor(t, e, s) {
|
|
22038
22040
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_elseBlock;
|
|
22039
22041
|
}
|
|
@@ -22041,16 +22043,16 @@ class Bt extends o.ParserRuleContext {
|
|
|
22041
22043
|
return this.getToken(i.ELSE, 0);
|
|
22042
22044
|
}
|
|
22043
22045
|
braceBlock() {
|
|
22044
|
-
return this.getTypedRuleContext(
|
|
22046
|
+
return this.getTypedRuleContext(R, 0);
|
|
22045
22047
|
}
|
|
22046
22048
|
enterRule(t) {
|
|
22047
|
-
t instanceof
|
|
22049
|
+
t instanceof o && t.enterElseBlock(this);
|
|
22048
22050
|
}
|
|
22049
22051
|
exitRule(t) {
|
|
22050
|
-
t instanceof
|
|
22052
|
+
t instanceof o && t.exitElseBlock(this);
|
|
22051
22053
|
}
|
|
22052
22054
|
}
|
|
22053
|
-
class
|
|
22055
|
+
class R extends h.ParserRuleContext {
|
|
22054
22056
|
constructor(t, e, s) {
|
|
22055
22057
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_braceBlock;
|
|
22056
22058
|
}
|
|
@@ -22061,16 +22063,16 @@ class f extends o.ParserRuleContext {
|
|
|
22061
22063
|
return this.getToken(i.CBRACE, 0);
|
|
22062
22064
|
}
|
|
22063
22065
|
block() {
|
|
22064
|
-
return this.getTypedRuleContext(
|
|
22066
|
+
return this.getTypedRuleContext(G, 0);
|
|
22065
22067
|
}
|
|
22066
22068
|
enterRule(t) {
|
|
22067
|
-
t instanceof
|
|
22069
|
+
t instanceof o && t.enterBraceBlock(this);
|
|
22068
22070
|
}
|
|
22069
22071
|
exitRule(t) {
|
|
22070
|
-
t instanceof
|
|
22072
|
+
t instanceof o && t.exitBraceBlock(this);
|
|
22071
22073
|
}
|
|
22072
22074
|
}
|
|
22073
|
-
let Dt = class extends
|
|
22075
|
+
let Dt = class extends h.ParserRuleContext {
|
|
22074
22076
|
constructor(t, e, s) {
|
|
22075
22077
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_loop;
|
|
22076
22078
|
}
|
|
@@ -22081,16 +22083,16 @@ let Dt = class extends o.ParserRuleContext {
|
|
|
22081
22083
|
return this.getTypedRuleContext(y, 0);
|
|
22082
22084
|
}
|
|
22083
22085
|
braceBlock() {
|
|
22084
|
-
return this.getTypedRuleContext(
|
|
22086
|
+
return this.getTypedRuleContext(R, 0);
|
|
22085
22087
|
}
|
|
22086
22088
|
enterRule(t) {
|
|
22087
|
-
t instanceof
|
|
22089
|
+
t instanceof o && t.enterLoop(this);
|
|
22088
22090
|
}
|
|
22089
22091
|
exitRule(t) {
|
|
22090
|
-
t instanceof
|
|
22092
|
+
t instanceof o && t.exitLoop(this);
|
|
22091
22093
|
}
|
|
22092
22094
|
};
|
|
22093
|
-
class l extends
|
|
22095
|
+
class l extends h.ParserRuleContext {
|
|
22094
22096
|
constructor(t, e, s) {
|
|
22095
22097
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_expr;
|
|
22096
22098
|
}
|
|
@@ -22098,57 +22100,57 @@ class l extends o.ParserRuleContext {
|
|
|
22098
22100
|
super.copyFrom(t);
|
|
22099
22101
|
}
|
|
22100
22102
|
}
|
|
22101
|
-
class
|
|
22103
|
+
class jt extends l {
|
|
22102
22104
|
constructor(t, e) {
|
|
22103
22105
|
super(t), super.copyFrom(e);
|
|
22104
22106
|
}
|
|
22105
22107
|
assignment() {
|
|
22106
|
-
return this.getTypedRuleContext(
|
|
22108
|
+
return this.getTypedRuleContext(w, 0);
|
|
22107
22109
|
}
|
|
22108
22110
|
expr() {
|
|
22109
22111
|
return this.getTypedRuleContext(l, 0);
|
|
22110
22112
|
}
|
|
22111
22113
|
enterRule(t) {
|
|
22112
|
-
t instanceof
|
|
22114
|
+
t instanceof o && t.enterAssignmentExpr(this);
|
|
22113
22115
|
}
|
|
22114
22116
|
exitRule(t) {
|
|
22115
|
-
t instanceof
|
|
22117
|
+
t instanceof o && t.exitAssignmentExpr(this);
|
|
22116
22118
|
}
|
|
22117
22119
|
}
|
|
22118
|
-
i.AssignmentExprContext =
|
|
22119
|
-
class
|
|
22120
|
+
i.AssignmentExprContext = jt;
|
|
22121
|
+
class Qt extends l {
|
|
22120
22122
|
constructor(t, e) {
|
|
22121
22123
|
super(t), super.copyFrom(e);
|
|
22122
22124
|
}
|
|
22123
22125
|
func() {
|
|
22124
|
-
return this.getTypedRuleContext(
|
|
22126
|
+
return this.getTypedRuleContext(W, 0);
|
|
22125
22127
|
}
|
|
22126
22128
|
to() {
|
|
22127
|
-
return this.getTypedRuleContext(
|
|
22129
|
+
return this.getTypedRuleContext(O, 0);
|
|
22128
22130
|
}
|
|
22129
22131
|
DOT() {
|
|
22130
22132
|
return this.getToken(i.DOT, 0);
|
|
22131
22133
|
}
|
|
22132
22134
|
enterRule(t) {
|
|
22133
|
-
t instanceof
|
|
22135
|
+
t instanceof o && t.enterFuncExpr(this);
|
|
22134
22136
|
}
|
|
22135
22137
|
exitRule(t) {
|
|
22136
|
-
t instanceof
|
|
22138
|
+
t instanceof o && t.exitFuncExpr(this);
|
|
22137
22139
|
}
|
|
22138
22140
|
}
|
|
22139
|
-
i.FuncExprContext =
|
|
22141
|
+
i.FuncExprContext = Qt;
|
|
22140
22142
|
class Kt extends l {
|
|
22141
22143
|
constructor(t, e) {
|
|
22142
22144
|
super(t), super.copyFrom(e);
|
|
22143
22145
|
}
|
|
22144
22146
|
atom() {
|
|
22145
|
-
return this.getTypedRuleContext(
|
|
22147
|
+
return this.getTypedRuleContext(E, 0);
|
|
22146
22148
|
}
|
|
22147
22149
|
enterRule(t) {
|
|
22148
|
-
t instanceof
|
|
22150
|
+
t instanceof o && t.enterAtomExpr(this);
|
|
22149
22151
|
}
|
|
22150
22152
|
exitRule(t) {
|
|
22151
|
-
t instanceof
|
|
22153
|
+
t instanceof o && t.exitAtomExpr(this);
|
|
22152
22154
|
}
|
|
22153
22155
|
}
|
|
22154
22156
|
i.AtomExprContext = Kt;
|
|
@@ -22163,10 +22165,10 @@ class zt extends l {
|
|
|
22163
22165
|
return this.getToken(i.OR, 0);
|
|
22164
22166
|
}
|
|
22165
22167
|
enterRule(t) {
|
|
22166
|
-
t instanceof
|
|
22168
|
+
t instanceof o && t.enterOrExpr(this);
|
|
22167
22169
|
}
|
|
22168
22170
|
exitRule(t) {
|
|
22169
|
-
t instanceof
|
|
22171
|
+
t instanceof o && t.exitOrExpr(this);
|
|
22170
22172
|
}
|
|
22171
22173
|
}
|
|
22172
22174
|
i.OrExprContext = zt;
|
|
@@ -22184,10 +22186,10 @@ class Xt extends l {
|
|
|
22184
22186
|
return this.getToken(i.MINUS, 0);
|
|
22185
22187
|
}
|
|
22186
22188
|
enterRule(t) {
|
|
22187
|
-
t instanceof
|
|
22189
|
+
t instanceof o && t.enterAdditiveExpr(this);
|
|
22188
22190
|
}
|
|
22189
22191
|
exitRule(t) {
|
|
22190
|
-
t instanceof
|
|
22192
|
+
t instanceof o && t.exitAdditiveExpr(this);
|
|
22191
22193
|
}
|
|
22192
22194
|
}
|
|
22193
22195
|
i.AdditiveExprContext = Xt;
|
|
@@ -22211,10 +22213,10 @@ class Jt extends l {
|
|
|
22211
22213
|
return this.getToken(i.GT, 0);
|
|
22212
22214
|
}
|
|
22213
22215
|
enterRule(t) {
|
|
22214
|
-
t instanceof
|
|
22216
|
+
t instanceof o && t.enterRelationalExpr(this);
|
|
22215
22217
|
}
|
|
22216
22218
|
exitRule(t) {
|
|
22217
|
-
t instanceof
|
|
22219
|
+
t instanceof o && t.exitRelationalExpr(this);
|
|
22218
22220
|
}
|
|
22219
22221
|
}
|
|
22220
22222
|
i.RelationalExprContext = Jt;
|
|
@@ -22229,10 +22231,10 @@ class Zt extends l {
|
|
|
22229
22231
|
return this.getToken(i.PLUS, 0);
|
|
22230
22232
|
}
|
|
22231
22233
|
enterRule(t) {
|
|
22232
|
-
t instanceof
|
|
22234
|
+
t instanceof o && t.enterPlusExpr(this);
|
|
22233
22235
|
}
|
|
22234
22236
|
exitRule(t) {
|
|
22235
|
-
t instanceof
|
|
22237
|
+
t instanceof o && t.exitPlusExpr(this);
|
|
22236
22238
|
}
|
|
22237
22239
|
}
|
|
22238
22240
|
i.PlusExprContext = Zt;
|
|
@@ -22247,10 +22249,10 @@ class qt extends l {
|
|
|
22247
22249
|
return this.getTypedRuleContext(l, 0);
|
|
22248
22250
|
}
|
|
22249
22251
|
enterRule(t) {
|
|
22250
|
-
t instanceof
|
|
22252
|
+
t instanceof o && t.enterNotExpr(this);
|
|
22251
22253
|
}
|
|
22252
22254
|
exitRule(t) {
|
|
22253
|
-
t instanceof
|
|
22255
|
+
t instanceof o && t.exitNotExpr(this);
|
|
22254
22256
|
}
|
|
22255
22257
|
}
|
|
22256
22258
|
i.NotExprContext = qt;
|
|
@@ -22265,10 +22267,10 @@ class t0 extends l {
|
|
|
22265
22267
|
return this.getTypedRuleContext(l, 0);
|
|
22266
22268
|
}
|
|
22267
22269
|
enterRule(t) {
|
|
22268
|
-
t instanceof
|
|
22270
|
+
t instanceof o && t.enterUnaryMinusExpr(this);
|
|
22269
22271
|
}
|
|
22270
22272
|
exitRule(t) {
|
|
22271
|
-
t instanceof
|
|
22273
|
+
t instanceof o && t.exitUnaryMinusExpr(this);
|
|
22272
22274
|
}
|
|
22273
22275
|
}
|
|
22274
22276
|
i.UnaryMinusExprContext = t0;
|
|
@@ -22277,13 +22279,13 @@ class e0 extends l {
|
|
|
22277
22279
|
super(t), super.copyFrom(e);
|
|
22278
22280
|
}
|
|
22279
22281
|
creation() {
|
|
22280
|
-
return this.getTypedRuleContext(
|
|
22282
|
+
return this.getTypedRuleContext(S, 0);
|
|
22281
22283
|
}
|
|
22282
22284
|
enterRule(t) {
|
|
22283
|
-
t instanceof
|
|
22285
|
+
t instanceof o && t.enterCreationExpr(this);
|
|
22284
22286
|
}
|
|
22285
22287
|
exitRule(t) {
|
|
22286
|
-
t instanceof
|
|
22288
|
+
t instanceof o && t.exitCreationExpr(this);
|
|
22287
22289
|
}
|
|
22288
22290
|
}
|
|
22289
22291
|
i.CreationExprContext = e0;
|
|
@@ -22301,10 +22303,10 @@ class i0 extends l {
|
|
|
22301
22303
|
return this.getToken(i.CPAR, 0);
|
|
22302
22304
|
}
|
|
22303
22305
|
enterRule(t) {
|
|
22304
|
-
t instanceof
|
|
22306
|
+
t instanceof o && t.enterParenthesizedExpr(this);
|
|
22305
22307
|
}
|
|
22306
22308
|
exitRule(t) {
|
|
22307
|
-
t instanceof
|
|
22309
|
+
t instanceof o && t.exitParenthesizedExpr(this);
|
|
22308
22310
|
}
|
|
22309
22311
|
}
|
|
22310
22312
|
i.ParenthesizedExprContext = i0;
|
|
@@ -22325,10 +22327,10 @@ class s0 extends l {
|
|
|
22325
22327
|
return this.getToken(i.MOD, 0);
|
|
22326
22328
|
}
|
|
22327
22329
|
enterRule(t) {
|
|
22328
|
-
t instanceof
|
|
22330
|
+
t instanceof o && t.enterMultiplicationExpr(this);
|
|
22329
22331
|
}
|
|
22330
22332
|
exitRule(t) {
|
|
22331
|
-
t instanceof
|
|
22333
|
+
t instanceof o && t.exitMultiplicationExpr(this);
|
|
22332
22334
|
}
|
|
22333
22335
|
}
|
|
22334
22336
|
i.MultiplicationExprContext = s0;
|
|
@@ -22346,10 +22348,10 @@ class r0 extends l {
|
|
|
22346
22348
|
return this.getToken(i.NEQ, 0);
|
|
22347
22349
|
}
|
|
22348
22350
|
enterRule(t) {
|
|
22349
|
-
t instanceof
|
|
22351
|
+
t instanceof o && t.enterEqualityExpr(this);
|
|
22350
22352
|
}
|
|
22351
22353
|
exitRule(t) {
|
|
22352
|
-
t instanceof
|
|
22354
|
+
t instanceof o && t.exitEqualityExpr(this);
|
|
22353
22355
|
}
|
|
22354
22356
|
}
|
|
22355
22357
|
i.EqualityExprContext = r0;
|
|
@@ -22364,14 +22366,14 @@ class n0 extends l {
|
|
|
22364
22366
|
return this.getToken(i.AND, 0);
|
|
22365
22367
|
}
|
|
22366
22368
|
enterRule(t) {
|
|
22367
|
-
t instanceof
|
|
22369
|
+
t instanceof o && t.enterAndExpr(this);
|
|
22368
22370
|
}
|
|
22369
22371
|
exitRule(t) {
|
|
22370
|
-
t instanceof
|
|
22372
|
+
t instanceof o && t.exitAndExpr(this);
|
|
22371
22373
|
}
|
|
22372
22374
|
}
|
|
22373
22375
|
i.AndExprContext = n0;
|
|
22374
|
-
class
|
|
22376
|
+
class E extends h.ParserRuleContext {
|
|
22375
22377
|
constructor(t, e, s) {
|
|
22376
22378
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_atom;
|
|
22377
22379
|
}
|
|
@@ -22379,7 +22381,7 @@ class R extends o.ParserRuleContext {
|
|
|
22379
22381
|
super.copyFrom(t);
|
|
22380
22382
|
}
|
|
22381
22383
|
}
|
|
22382
|
-
class
|
|
22384
|
+
class h0 extends E {
|
|
22383
22385
|
constructor(t, e) {
|
|
22384
22386
|
super(t), super.copyFrom(e);
|
|
22385
22387
|
}
|
|
@@ -22390,14 +22392,14 @@ class o0 extends R {
|
|
|
22390
22392
|
return this.getToken(i.FALSE, 0);
|
|
22391
22393
|
}
|
|
22392
22394
|
enterRule(t) {
|
|
22393
|
-
t instanceof
|
|
22395
|
+
t instanceof o && t.enterBooleanAtom(this);
|
|
22394
22396
|
}
|
|
22395
22397
|
exitRule(t) {
|
|
22396
|
-
t instanceof
|
|
22398
|
+
t instanceof o && t.exitBooleanAtom(this);
|
|
22397
22399
|
}
|
|
22398
22400
|
}
|
|
22399
|
-
i.BooleanAtomContext =
|
|
22400
|
-
class
|
|
22401
|
+
i.BooleanAtomContext = h0;
|
|
22402
|
+
class o0 extends E {
|
|
22401
22403
|
constructor(t, e) {
|
|
22402
22404
|
super(t), super.copyFrom(e);
|
|
22403
22405
|
}
|
|
@@ -22405,14 +22407,14 @@ class h0 extends R {
|
|
|
22405
22407
|
return this.getToken(i.ID, 0);
|
|
22406
22408
|
}
|
|
22407
22409
|
enterRule(t) {
|
|
22408
|
-
t instanceof
|
|
22410
|
+
t instanceof o && t.enterIdAtom(this);
|
|
22409
22411
|
}
|
|
22410
22412
|
exitRule(t) {
|
|
22411
|
-
t instanceof
|
|
22413
|
+
t instanceof o && t.exitIdAtom(this);
|
|
22412
22414
|
}
|
|
22413
22415
|
}
|
|
22414
|
-
i.IdAtomContext =
|
|
22415
|
-
class a0 extends
|
|
22416
|
+
i.IdAtomContext = o0;
|
|
22417
|
+
class a0 extends E {
|
|
22416
22418
|
constructor(t, e) {
|
|
22417
22419
|
super(t), super.copyFrom(e);
|
|
22418
22420
|
}
|
|
@@ -22420,14 +22422,14 @@ class a0 extends R {
|
|
|
22420
22422
|
return this.getToken(i.MONEY, 0);
|
|
22421
22423
|
}
|
|
22422
22424
|
enterRule(t) {
|
|
22423
|
-
t instanceof
|
|
22425
|
+
t instanceof o && t.enterMoneyAtom(this);
|
|
22424
22426
|
}
|
|
22425
22427
|
exitRule(t) {
|
|
22426
|
-
t instanceof
|
|
22428
|
+
t instanceof o && t.exitMoneyAtom(this);
|
|
22427
22429
|
}
|
|
22428
22430
|
}
|
|
22429
22431
|
i.MoneyAtomContext = a0;
|
|
22430
|
-
class c0 extends
|
|
22432
|
+
class c0 extends E {
|
|
22431
22433
|
constructor(t, e) {
|
|
22432
22434
|
super(t), super.copyFrom(e);
|
|
22433
22435
|
}
|
|
@@ -22438,14 +22440,14 @@ class c0 extends R {
|
|
|
22438
22440
|
return this.getToken(i.USTRING, 0);
|
|
22439
22441
|
}
|
|
22440
22442
|
enterRule(t) {
|
|
22441
|
-
t instanceof
|
|
22443
|
+
t instanceof o && t.enterStringAtom(this);
|
|
22442
22444
|
}
|
|
22443
22445
|
exitRule(t) {
|
|
22444
|
-
t instanceof
|
|
22446
|
+
t instanceof o && t.exitStringAtom(this);
|
|
22445
22447
|
}
|
|
22446
22448
|
}
|
|
22447
22449
|
i.StringAtomContext = c0;
|
|
22448
|
-
class l0 extends
|
|
22450
|
+
class l0 extends E {
|
|
22449
22451
|
constructor(t, e) {
|
|
22450
22452
|
super(t), super.copyFrom(e);
|
|
22451
22453
|
}
|
|
@@ -22453,14 +22455,14 @@ class l0 extends R {
|
|
|
22453
22455
|
return this.getToken(i.NIL, 0);
|
|
22454
22456
|
}
|
|
22455
22457
|
enterRule(t) {
|
|
22456
|
-
t instanceof
|
|
22458
|
+
t instanceof o && t.enterNilAtom(this);
|
|
22457
22459
|
}
|
|
22458
22460
|
exitRule(t) {
|
|
22459
|
-
t instanceof
|
|
22461
|
+
t instanceof o && t.exitNilAtom(this);
|
|
22460
22462
|
}
|
|
22461
22463
|
}
|
|
22462
22464
|
i.NilAtomContext = l0;
|
|
22463
|
-
class u0 extends
|
|
22465
|
+
class u0 extends E {
|
|
22464
22466
|
constructor(t, e) {
|
|
22465
22467
|
super(t), super.copyFrom(e);
|
|
22466
22468
|
}
|
|
@@ -22471,14 +22473,14 @@ class u0 extends R {
|
|
|
22471
22473
|
return this.getToken(i.FLOAT, 0);
|
|
22472
22474
|
}
|
|
22473
22475
|
enterRule(t) {
|
|
22474
|
-
t instanceof
|
|
22476
|
+
t instanceof o && t.enterNumberAtom(this);
|
|
22475
22477
|
}
|
|
22476
22478
|
exitRule(t) {
|
|
22477
|
-
t instanceof
|
|
22479
|
+
t instanceof o && t.exitNumberAtom(this);
|
|
22478
22480
|
}
|
|
22479
22481
|
}
|
|
22480
22482
|
i.NumberAtomContext = u0;
|
|
22481
|
-
class x0 extends
|
|
22483
|
+
class x0 extends E {
|
|
22482
22484
|
constructor(t, e) {
|
|
22483
22485
|
super(t), super.copyFrom(e);
|
|
22484
22486
|
}
|
|
@@ -22486,14 +22488,14 @@ class x0 extends R {
|
|
|
22486
22488
|
return this.getToken(i.NUMBER_UNIT, 0);
|
|
22487
22489
|
}
|
|
22488
22490
|
enterRule(t) {
|
|
22489
|
-
t instanceof
|
|
22491
|
+
t instanceof o && t.enterNumberUnitAtom(this);
|
|
22490
22492
|
}
|
|
22491
22493
|
exitRule(t) {
|
|
22492
|
-
t instanceof
|
|
22494
|
+
t instanceof o && t.exitNumberUnitAtom(this);
|
|
22493
22495
|
}
|
|
22494
22496
|
}
|
|
22495
22497
|
i.NumberUnitAtomContext = x0;
|
|
22496
|
-
class
|
|
22498
|
+
class d0 extends E {
|
|
22497
22499
|
constructor(t, e) {
|
|
22498
22500
|
super(t), super.copyFrom(e);
|
|
22499
22501
|
}
|
|
@@ -22501,14 +22503,14 @@ class p0 extends R {
|
|
|
22501
22503
|
return this.getToken(i.DIGIT_LEADING_NAME, 0);
|
|
22502
22504
|
}
|
|
22503
22505
|
enterRule(t) {
|
|
22504
|
-
t instanceof
|
|
22506
|
+
t instanceof o && t.enterDigitLeadingNameAtom(this);
|
|
22505
22507
|
}
|
|
22506
22508
|
exitRule(t) {
|
|
22507
|
-
t instanceof
|
|
22509
|
+
t instanceof o && t.exitDigitLeadingNameAtom(this);
|
|
22508
22510
|
}
|
|
22509
22511
|
}
|
|
22510
|
-
i.DigitLeadingNameAtomContext =
|
|
22511
|
-
class y extends
|
|
22512
|
+
i.DigitLeadingNameAtomContext = d0;
|
|
22513
|
+
class y extends h.ParserRuleContext {
|
|
22512
22514
|
constructor(t, e, s) {
|
|
22513
22515
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_parExpr;
|
|
22514
22516
|
}
|
|
@@ -22522,18 +22524,18 @@ class y extends o.ParserRuleContext {
|
|
|
22522
22524
|
return this.getToken(i.CPAR, 0);
|
|
22523
22525
|
}
|
|
22524
22526
|
enterRule(t) {
|
|
22525
|
-
t instanceof
|
|
22527
|
+
t instanceof o && t.enterParExpr(this);
|
|
22526
22528
|
}
|
|
22527
22529
|
exitRule(t) {
|
|
22528
|
-
t instanceof
|
|
22530
|
+
t instanceof o && t.exitParExpr(this);
|
|
22529
22531
|
}
|
|
22530
22532
|
}
|
|
22531
|
-
class Pt extends
|
|
22533
|
+
class Pt extends h.ParserRuleContext {
|
|
22532
22534
|
constructor(t, e, s) {
|
|
22533
22535
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_condition;
|
|
22534
22536
|
}
|
|
22535
22537
|
atom() {
|
|
22536
|
-
return this.getTypedRuleContext(
|
|
22538
|
+
return this.getTypedRuleContext(E, 0);
|
|
22537
22539
|
}
|
|
22538
22540
|
expr() {
|
|
22539
22541
|
return this.getTypedRuleContext(l, 0);
|
|
@@ -22545,16 +22547,16 @@ class Pt extends o.ParserRuleContext {
|
|
|
22545
22547
|
return this.getTypedRuleContext(bt, 0);
|
|
22546
22548
|
}
|
|
22547
22549
|
emoji() {
|
|
22548
|
-
return this.getTypedRuleContext(
|
|
22550
|
+
return this.getTypedRuleContext(N, 0);
|
|
22549
22551
|
}
|
|
22550
22552
|
enterRule(t) {
|
|
22551
|
-
t instanceof
|
|
22553
|
+
t instanceof o && t.enterCondition(this);
|
|
22552
22554
|
}
|
|
22553
22555
|
exitRule(t) {
|
|
22554
|
-
t instanceof
|
|
22556
|
+
t instanceof o && t.exitCondition(this);
|
|
22555
22557
|
}
|
|
22556
22558
|
}
|
|
22557
|
-
class kt extends
|
|
22559
|
+
class kt extends h.ParserRuleContext {
|
|
22558
22560
|
constructor(t, e, s) {
|
|
22559
22561
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_inExpr;
|
|
22560
22562
|
}
|
|
@@ -22568,13 +22570,13 @@ class kt extends o.ParserRuleContext {
|
|
|
22568
22570
|
return t === void 0 && (t = null), t === null ? this.getTokens(i.DIGIT_LEADING_NAME) : this.getToken(i.DIGIT_LEADING_NAME, t);
|
|
22569
22571
|
};
|
|
22570
22572
|
enterRule(t) {
|
|
22571
|
-
t instanceof
|
|
22573
|
+
t instanceof o && t.enterInExpr(this);
|
|
22572
22574
|
}
|
|
22573
22575
|
exitRule(t) {
|
|
22574
|
-
t instanceof
|
|
22576
|
+
t instanceof o && t.exitInExpr(this);
|
|
22575
22577
|
}
|
|
22576
22578
|
}
|
|
22577
|
-
class bt extends
|
|
22579
|
+
class bt extends h.ParserRuleContext {
|
|
22578
22580
|
constructor(t, e, s) {
|
|
22579
22581
|
e === void 0 && (e = null), s == null && (s = -1), super(e, s), this.parser = t, this.ruleIndex = i.RULE_textExpr;
|
|
22580
22582
|
}
|
|
@@ -22594,10 +22596,10 @@ class bt extends o.ParserRuleContext {
|
|
|
22594
22596
|
return t === void 0 && (t = null), t === null ? this.getTokens(i.FLOAT) : this.getToken(i.FLOAT, t);
|
|
22595
22597
|
};
|
|
22596
22598
|
enterRule(t) {
|
|
22597
|
-
t instanceof
|
|
22599
|
+
t instanceof o && t.enterTextExpr(this);
|
|
22598
22600
|
}
|
|
22599
22601
|
exitRule(t) {
|
|
22600
|
-
t instanceof
|
|
22602
|
+
t instanceof o && t.exitTextExpr(this);
|
|
22601
22603
|
}
|
|
22602
22604
|
}
|
|
22603
22605
|
i.ProgContext = Yt;
|
|
@@ -22606,39 +22608,39 @@ i.HeadContext = st;
|
|
|
22606
22608
|
i.GroupContext = B;
|
|
22607
22609
|
i.StarterExpContext = rt;
|
|
22608
22610
|
i.StarterContext = nt;
|
|
22609
|
-
i.ParticipantContext =
|
|
22610
|
-
i.StereotypeContext =
|
|
22611
|
-
i.LabelContext =
|
|
22611
|
+
i.ParticipantContext = g;
|
|
22612
|
+
i.StereotypeContext = ht;
|
|
22613
|
+
i.LabelContext = ot;
|
|
22612
22614
|
i.ParticipantTypeContext = at;
|
|
22613
|
-
i.NameContext =
|
|
22615
|
+
i.NameContext = f;
|
|
22614
22616
|
i.WidthContext = ct;
|
|
22615
|
-
i.EmojiContext =
|
|
22616
|
-
i.BlockContext =
|
|
22617
|
+
i.EmojiContext = N;
|
|
22618
|
+
i.BlockContext = G;
|
|
22617
22619
|
i.RetContext = lt;
|
|
22618
22620
|
i.ReturnAsyncMessageContext = ut;
|
|
22619
22621
|
i.DividerContext = xt;
|
|
22620
|
-
i.DividerNoteContext =
|
|
22622
|
+
i.DividerNoteContext = dt;
|
|
22621
22623
|
i.StatContext = D;
|
|
22622
|
-
i.ParContext =
|
|
22624
|
+
i.ParContext = pt;
|
|
22623
22625
|
i.OptContext = ft;
|
|
22624
22626
|
i.CriticalContext = Rt;
|
|
22625
22627
|
i.SectionContext = Et;
|
|
22626
|
-
i.CreationContext =
|
|
22628
|
+
i.CreationContext = S;
|
|
22627
22629
|
i.RefContext = Tt;
|
|
22628
22630
|
i.CreationBodyContext = _t;
|
|
22629
22631
|
i.MessageContext = Ct;
|
|
22630
22632
|
i.MessageBodyContext = At;
|
|
22631
|
-
i.FromToContext =
|
|
22632
|
-
i.FuncContext =
|
|
22633
|
-
i.FromContext =
|
|
22634
|
-
i.ToContext =
|
|
22633
|
+
i.FromToContext = mt;
|
|
22634
|
+
i.FuncContext = W;
|
|
22635
|
+
i.FromContext = U;
|
|
22636
|
+
i.ToContext = O;
|
|
22635
22637
|
i.SignatureContext = P;
|
|
22636
|
-
i.InvocationContext =
|
|
22637
|
-
i.AssignmentContext =
|
|
22638
|
-
i.AsyncMessageContext =
|
|
22639
|
-
i.ContentContext =
|
|
22640
|
-
i.ConstructContext =
|
|
22641
|
-
i.TypeContext =
|
|
22638
|
+
i.InvocationContext = V;
|
|
22639
|
+
i.AssignmentContext = w;
|
|
22640
|
+
i.AsyncMessageContext = $;
|
|
22641
|
+
i.ContentContext = Y;
|
|
22642
|
+
i.ConstructContext = yt;
|
|
22643
|
+
i.TypeContext = j;
|
|
22642
22644
|
i.AssigneeContext = Lt;
|
|
22643
22645
|
i.MethodNameContext = Nt;
|
|
22644
22646
|
i.ParametersContext = Q;
|
|
@@ -22653,15 +22655,15 @@ i.AltContext = wt;
|
|
|
22653
22655
|
i.IfBlockContext = Mt;
|
|
22654
22656
|
i.ElseIfBlockContext = F;
|
|
22655
22657
|
i.ElseBlockContext = Bt;
|
|
22656
|
-
i.BraceBlockContext =
|
|
22658
|
+
i.BraceBlockContext = R;
|
|
22657
22659
|
i.LoopContext = Dt;
|
|
22658
22660
|
i.ExprContext = l;
|
|
22659
|
-
i.AtomContext =
|
|
22661
|
+
i.AtomContext = E;
|
|
22660
22662
|
i.ParExprContext = y;
|
|
22661
22663
|
i.ConditionContext = Pt;
|
|
22662
22664
|
i.InExprContext = kt;
|
|
22663
22665
|
i.TextExprContext = bt;
|
|
22664
|
-
class
|
|
22666
|
+
class w0 {
|
|
22665
22667
|
name;
|
|
22666
22668
|
// Fields the renderer-facing ParticipantView (ir/contract.ts) exposes are
|
|
22667
22669
|
// public; they were already fully exposed via ToValue(), so the previous
|
|
@@ -22689,15 +22691,15 @@ class F0 {
|
|
|
22689
22691
|
width: s,
|
|
22690
22692
|
groupId: n,
|
|
22691
22693
|
label: c,
|
|
22692
|
-
explicit:
|
|
22693
|
-
isStarter:
|
|
22694
|
-
type:
|
|
22695
|
-
color:
|
|
22696
|
-
comment:
|
|
22697
|
-
assignee:
|
|
22698
|
-
emoji:
|
|
22694
|
+
explicit: x,
|
|
22695
|
+
isStarter: d,
|
|
22696
|
+
type: A,
|
|
22697
|
+
color: m,
|
|
22698
|
+
comment: _,
|
|
22699
|
+
assignee: C,
|
|
22700
|
+
emoji: H
|
|
22699
22701
|
} = t;
|
|
22700
|
-
this.stereotype ||= e, this.width ||= s, this.groupId ||= n, this.explicit ||=
|
|
22702
|
+
this.stereotype ||= e, this.width ||= s, this.groupId ||= n, this.explicit ||= x, this.isStarter ||= d, this.label ||= c, this.type ||= A, this.color ||= m, this.comment ||= _, this.assignee ||= C, this.emoji ||= H;
|
|
22701
22703
|
}
|
|
22702
22704
|
AddPosition(t) {
|
|
22703
22705
|
this.positions.add(t);
|
|
@@ -22727,7 +22729,7 @@ class St {
|
|
|
22727
22729
|
if (!t)
|
|
22728
22730
|
throw new Error("Participant name is required");
|
|
22729
22731
|
let s = this.Get(t);
|
|
22730
|
-
s ? s?.mergeOptions(e) : (s = new
|
|
22732
|
+
s ? s?.mergeOptions(e) : (s = new w0(t, e), this.participants.set(t, s));
|
|
22731
22733
|
const { position: n, assigneePosition: c } = e;
|
|
22732
22734
|
n && s.AddPosition(n), c && s.assigneePositions.add(c);
|
|
22733
22735
|
}
|
|
@@ -22765,15 +22767,15 @@ class St {
|
|
|
22765
22767
|
return this.participants.get(t)?.assigneePositions;
|
|
22766
22768
|
}
|
|
22767
22769
|
}
|
|
22768
|
-
let p,
|
|
22769
|
-
const
|
|
22770
|
-
if (
|
|
22771
|
-
const t = r?.participantType()?.getFormattedText().replace("@", ""), e = r?.name()?.getFormattedText() || "Missing `Participant`", s = r.stereotype()?.name()?.getFormattedText(), n = r.emoji?.()?.name?.()?.getFormattedText(), c = r.width && r.width() && Number.parseInt(r.width().getText()) || void 0,
|
|
22772
|
-
let
|
|
22773
|
-
if (
|
|
22774
|
-
const
|
|
22775
|
-
|
|
22776
|
-
} else
|
|
22770
|
+
let p, L = 0, Ft;
|
|
22771
|
+
const T = new o(), M0 = function(r) {
|
|
22772
|
+
if (L) return;
|
|
22773
|
+
const t = r?.participantType()?.getFormattedText().replace("@", ""), e = r?.name()?.getFormattedText() || "Missing `Participant`", s = r.stereotype()?.name()?.getFormattedText(), n = r.emoji?.()?.name?.()?.getFormattedText(), c = r.width && r.width() && Number.parseInt(r.width().getText()) || void 0, x = r.label && r.label(), d = x?.name()?.getFormattedText(), A = !0, m = r.COLOR()?.getText(), _ = r.getComment(), C = r.name();
|
|
22774
|
+
let H, J;
|
|
22775
|
+
if (x) {
|
|
22776
|
+
const Z = x.name();
|
|
22777
|
+
Z && (H = Z.start.start, J = Z.stop.stop + 1);
|
|
22778
|
+
} else C && (H = C.start.start, J = C.stop.stop + 1);
|
|
22777
22779
|
p.Add(e, {
|
|
22778
22780
|
isStarter: !1,
|
|
22779
22781
|
type: t,
|
|
@@ -22781,22 +22783,22 @@ const E = new h(), v0 = function(r) {
|
|
|
22781
22783
|
emoji: n,
|
|
22782
22784
|
width: c,
|
|
22783
22785
|
groupId: Ft,
|
|
22784
|
-
label:
|
|
22785
|
-
explicit:
|
|
22786
|
-
color:
|
|
22787
|
-
comment:
|
|
22786
|
+
label: d,
|
|
22787
|
+
explicit: A,
|
|
22788
|
+
color: m,
|
|
22789
|
+
comment: _,
|
|
22788
22790
|
// `start`/`end` stay undefined when neither a label nor a name node exists.
|
|
22789
|
-
position: [
|
|
22791
|
+
position: [H, J]
|
|
22790
22792
|
});
|
|
22791
22793
|
};
|
|
22792
|
-
|
|
22793
|
-
const
|
|
22794
|
-
if (
|
|
22794
|
+
T.enterParticipant = M0;
|
|
22795
|
+
const p0 = function(r) {
|
|
22796
|
+
if (L) return;
|
|
22795
22797
|
const t = r.name?.()?.getFormattedText() || r.getFormattedText(), e = r.emoji?.()?.name?.()?.getFormattedText(), s = p.Get(t);
|
|
22796
22798
|
if (s?.label)
|
|
22797
22799
|
p.Add(t, { isStarter: !1, emoji: e });
|
|
22798
22800
|
else if (s?.assignee) {
|
|
22799
|
-
const c = [r.start.start + s.assignee.length + 2, r.stop.stop],
|
|
22801
|
+
const c = [r.start.start + s.assignee.length + 2, r.stop.stop], x = [
|
|
22800
22802
|
r.start.start + 1,
|
|
22801
22803
|
r.start.start + s.assignee.length + 1
|
|
22802
22804
|
];
|
|
@@ -22804,7 +22806,7 @@ const d0 = function(r) {
|
|
|
22804
22806
|
isStarter: !1,
|
|
22805
22807
|
emoji: e,
|
|
22806
22808
|
position: c,
|
|
22807
|
-
assigneePosition:
|
|
22809
|
+
assigneePosition: x
|
|
22808
22810
|
});
|
|
22809
22811
|
} else
|
|
22810
22812
|
p.Add(t, {
|
|
@@ -22813,17 +22815,17 @@ const d0 = function(r) {
|
|
|
22813
22815
|
position: [r.start.start, r.stop.stop + 1]
|
|
22814
22816
|
});
|
|
22815
22817
|
};
|
|
22816
|
-
|
|
22817
|
-
|
|
22818
|
-
|
|
22818
|
+
T.enterFrom = p0;
|
|
22819
|
+
T.enterTo = p0;
|
|
22820
|
+
T.enterStarter = function(r) {
|
|
22819
22821
|
const t = r.getFormattedText();
|
|
22820
22822
|
p.Add(t, {
|
|
22821
22823
|
isStarter: !0,
|
|
22822
22824
|
position: [r.start.start, r.stop.stop + 1]
|
|
22823
22825
|
});
|
|
22824
22826
|
};
|
|
22825
|
-
|
|
22826
|
-
if (
|
|
22827
|
+
T.enterCreation = function(r) {
|
|
22828
|
+
if (L) return;
|
|
22827
22829
|
const t = r.Owner(), e = r?.creationBody()?.construct(), s = p.Get(t);
|
|
22828
22830
|
if (e && !s?.label) {
|
|
22829
22831
|
const n = r.Assignee(), c = r.AssigneePosition();
|
|
@@ -22838,7 +22840,7 @@ E.enterCreation = function(r) {
|
|
|
22838
22840
|
isStarter: !1
|
|
22839
22841
|
});
|
|
22840
22842
|
};
|
|
22841
|
-
|
|
22843
|
+
T.enterRef = function(r) {
|
|
22842
22844
|
r.Participants().forEach((t) => {
|
|
22843
22845
|
p.Add(t.getText(), {
|
|
22844
22846
|
isStarter: !1,
|
|
@@ -22846,25 +22848,25 @@ E.enterRef = function(r) {
|
|
|
22846
22848
|
});
|
|
22847
22849
|
});
|
|
22848
22850
|
};
|
|
22849
|
-
|
|
22850
|
-
|
|
22851
|
+
T.enterParameters = function() {
|
|
22852
|
+
L++;
|
|
22851
22853
|
};
|
|
22852
|
-
|
|
22853
|
-
|
|
22854
|
+
T.exitParameters = function() {
|
|
22855
|
+
L--;
|
|
22854
22856
|
};
|
|
22855
|
-
|
|
22856
|
-
|
|
22857
|
+
T.enterCondition = function() {
|
|
22858
|
+
L++;
|
|
22857
22859
|
};
|
|
22858
|
-
|
|
22859
|
-
|
|
22860
|
+
T.exitCondition = function() {
|
|
22861
|
+
L--;
|
|
22860
22862
|
};
|
|
22861
|
-
|
|
22863
|
+
T.enterGroup = function(r) {
|
|
22862
22864
|
Ft = r.name()?.getFormattedText();
|
|
22863
22865
|
};
|
|
22864
|
-
|
|
22866
|
+
T.exitGroup = function() {
|
|
22865
22867
|
Ft = void 0;
|
|
22866
22868
|
};
|
|
22867
|
-
|
|
22869
|
+
T.enterRet = function(r) {
|
|
22868
22870
|
if (r.asyncMessage())
|
|
22869
22871
|
return;
|
|
22870
22872
|
const t = r.From();
|
|
@@ -22872,27 +22874,37 @@ E.enterRet = function(r) {
|
|
|
22872
22874
|
const e = r.ReturnTo();
|
|
22873
22875
|
e && p.Add(e);
|
|
22874
22876
|
};
|
|
22875
|
-
const
|
|
22876
|
-
|
|
22877
|
+
const B0 = h.tree.ParseTreeWalker.DEFAULT, Wt = /* @__PURE__ */ new WeakMap();
|
|
22878
|
+
T.getParticipants = function(r) {
|
|
22877
22879
|
if (!r) return new St();
|
|
22878
22880
|
const t = Wt.get(r);
|
|
22879
|
-
return t || (p = new St(),
|
|
22881
|
+
return t || (p = new St(), L = 0, B0.walk(this, r), Wt.set(r, p), p);
|
|
22880
22882
|
};
|
|
22881
|
-
|
|
22882
|
-
|
|
22883
|
-
|
|
22884
|
-
|
|
22885
|
-
|
|
22886
|
-
|
|
22887
|
-
|
|
22888
|
-
|
|
22889
|
-
|
|
22890
|
-
|
|
22891
|
-
|
|
22892
|
-
|
|
22893
|
-
|
|
22894
|
-
|
|
22895
|
-
|
|
22883
|
+
function u(r, t) {
|
|
22884
|
+
const e = r.prototype;
|
|
22885
|
+
for (const s of Object.keys(t))
|
|
22886
|
+
e[s] = t[s];
|
|
22887
|
+
}
|
|
22888
|
+
const D0 = i;
|
|
22889
|
+
u(D0.TitleContext, {
|
|
22890
|
+
content() {
|
|
22891
|
+
return this.children.length < 2 ? "" : this.children[1].getText().trim();
|
|
22892
|
+
}
|
|
22893
|
+
});
|
|
22894
|
+
const v = i;
|
|
22895
|
+
u(v.CreationContext, {
|
|
22896
|
+
Body: v.CreationContext.prototype.creationBody,
|
|
22897
|
+
isCurrent(r) {
|
|
22898
|
+
return f0.bind(this)(r);
|
|
22899
|
+
}
|
|
22900
|
+
});
|
|
22901
|
+
u(v.MessageContext, {
|
|
22902
|
+
Body: v.MessageContext.prototype.messageBody,
|
|
22903
|
+
isCurrent(r) {
|
|
22904
|
+
return f0.bind(this)(r);
|
|
22905
|
+
}
|
|
22906
|
+
});
|
|
22907
|
+
function f0(r) {
|
|
22896
22908
|
try {
|
|
22897
22909
|
if (r == null) return !1;
|
|
22898
22910
|
const t = this.start.start, e = this.Body().stop.stop + 1;
|
|
@@ -22901,123 +22913,150 @@ function R0(r) {
|
|
|
22901
22913
|
return !1;
|
|
22902
22914
|
}
|
|
22903
22915
|
}
|
|
22904
|
-
const
|
|
22905
|
-
|
|
22906
|
-
|
|
22907
|
-
|
|
22908
|
-
|
|
22909
|
-
|
|
22910
|
-
|
|
22911
|
-
|
|
22912
|
-
|
|
22913
|
-
|
|
22914
|
-
|
|
22915
|
-
|
|
22916
|
-
|
|
22917
|
-
|
|
22918
|
-
|
|
22919
|
-
|
|
22920
|
-
|
|
22921
|
-
};
|
|
22922
|
-
|
|
22923
|
-
|
|
22924
|
-
|
|
22925
|
-
|
|
22926
|
-
|
|
22916
|
+
const M = i, R0 = M.CreationContext, vt = M.MessageContext, E0 = M.AsyncMessageContext, T0 = M.ReturnAsyncMessageContext, _0 = M.RetContext;
|
|
22917
|
+
u(R0, {
|
|
22918
|
+
Assignee() {
|
|
22919
|
+
return this.creationBody()?.assignment()?.assignee()?.getFormattedText();
|
|
22920
|
+
},
|
|
22921
|
+
AssigneePosition() {
|
|
22922
|
+
const r = this.creationBody()?.assignment()?.assignee();
|
|
22923
|
+
if (r)
|
|
22924
|
+
return [r.start.start, r.stop.stop + 1];
|
|
22925
|
+
},
|
|
22926
|
+
Constructor() {
|
|
22927
|
+
return this.creationBody()?.construct()?.getFormattedText();
|
|
22928
|
+
},
|
|
22929
|
+
Owner() {
|
|
22930
|
+
if (!this.Constructor())
|
|
22931
|
+
return "Missing Constructor";
|
|
22932
|
+
const r = this.Assignee(), t = this.Constructor();
|
|
22933
|
+
return r ? `${r}:${t}` : t;
|
|
22934
|
+
}
|
|
22935
|
+
});
|
|
22936
|
+
u(vt, {
|
|
22937
|
+
To() {
|
|
22938
|
+
const r = this.messageBody()?.fromTo()?.to();
|
|
22939
|
+
return r?.name?.()?.getFormattedText() || r?.getFormattedText();
|
|
22940
|
+
}
|
|
22941
|
+
});
|
|
22942
|
+
function P0(r) {
|
|
22927
22943
|
for (; r; ) {
|
|
22928
|
-
if (r instanceof
|
|
22944
|
+
if (r instanceof R0 || r instanceof vt)
|
|
22929
22945
|
return r.Owner();
|
|
22930
22946
|
r = r.parentCtx;
|
|
22931
22947
|
}
|
|
22932
22948
|
}
|
|
22933
|
-
function
|
|
22934
|
-
return this.To() ||
|
|
22949
|
+
function K() {
|
|
22950
|
+
return this.To() || P0(this.parentCtx);
|
|
22935
22951
|
}
|
|
22936
|
-
|
|
22937
|
-
|
|
22938
|
-
|
|
22939
|
-
|
|
22940
|
-
|
|
22941
|
-
|
|
22942
|
-
|
|
22952
|
+
u(vt, {
|
|
22953
|
+
Owner: K
|
|
22954
|
+
});
|
|
22955
|
+
u(E0, {
|
|
22956
|
+
Owner: K
|
|
22957
|
+
});
|
|
22958
|
+
u(T0, {
|
|
22959
|
+
Owner: K
|
|
22960
|
+
});
|
|
22961
|
+
u(_0, {
|
|
22962
|
+
Owner: K
|
|
22943
22963
|
});
|
|
22944
22964
|
function C0() {
|
|
22945
22965
|
const r = this.to();
|
|
22946
22966
|
return r?.name?.()?.getFormattedText() || r?.getFormattedText();
|
|
22947
22967
|
}
|
|
22948
|
-
E0
|
|
22949
|
-
|
|
22950
|
-
|
|
22951
|
-
|
|
22952
|
-
|
|
22953
|
-
|
|
22954
|
-
|
|
22955
|
-
|
|
22956
|
-
|
|
22957
|
-
|
|
22958
|
-
|
|
22959
|
-
|
|
22960
|
-
|
|
22961
|
-
|
|
22962
|
-
|
|
22963
|
-
|
|
22964
|
-
|
|
22965
|
-
|
|
22966
|
-
|
|
22967
|
-
return
|
|
22968
|
-
|
|
22969
|
-
|
|
22970
|
-
|
|
22971
|
-
|
|
22972
|
-
|
|
22973
|
-
|
|
22974
|
-
|
|
22975
|
-
|
|
22976
|
-
|
|
22977
|
-
|
|
22968
|
+
u(E0, {
|
|
22969
|
+
To: C0
|
|
22970
|
+
});
|
|
22971
|
+
u(T0, {
|
|
22972
|
+
To: C0
|
|
22973
|
+
});
|
|
22974
|
+
u(_0, {
|
|
22975
|
+
To() {
|
|
22976
|
+
return this.ReturnTo();
|
|
22977
|
+
}
|
|
22978
|
+
});
|
|
22979
|
+
u(i.ProgContext, {
|
|
22980
|
+
Starter() {
|
|
22981
|
+
return this.head()?.starterExp()?.starter()?.getFormattedText?.();
|
|
22982
|
+
}
|
|
22983
|
+
});
|
|
22984
|
+
const z = i, Vt = z.ProgContext, $t = z.MessageContext, k0 = z.CreationContext;
|
|
22985
|
+
u(z.RetContext, {
|
|
22986
|
+
Signature() {
|
|
22987
|
+
return this.asyncMessage()?.content()?.getFormattedText() || this.returnAsyncMessage()?.content()?.getFormattedText() || this.expr()?.getFormattedText();
|
|
22988
|
+
},
|
|
22989
|
+
ReturnTo() {
|
|
22990
|
+
const r = this.asyncMessage()?.to() || this.returnAsyncMessage()?.to(), t = r?.name?.()?.getFormattedText() || r?.getFormattedText();
|
|
22991
|
+
if (t)
|
|
22992
|
+
return t;
|
|
22993
|
+
const n = this.parentCtx.parentCtx.parentCtx;
|
|
22994
|
+
if (n instanceof Vt)
|
|
22995
|
+
return n.Starter();
|
|
22996
|
+
{
|
|
22997
|
+
let c = n;
|
|
22998
|
+
for (; c && !(c instanceof $t) && !(c instanceof k0); ) {
|
|
22999
|
+
if (c instanceof Vt)
|
|
23000
|
+
return c.Starter();
|
|
23001
|
+
c = c.parentCtx;
|
|
23002
|
+
}
|
|
23003
|
+
if (c instanceof $t) {
|
|
23004
|
+
const x = c;
|
|
23005
|
+
return x.messageBody()?.fromTo()?.from()?.name?.()?.getFormattedText() || x.messageBody()?.fromTo()?.from()?.getFormattedText() || x.ClosestAncestorStat().Origin();
|
|
23006
|
+
}
|
|
23007
|
+
return c.ClosestAncestorStat().Origin();
|
|
22978
23008
|
}
|
|
22979
|
-
return c.ClosestAncestorStat().Origin();
|
|
22980
23009
|
}
|
|
22981
|
-
};
|
|
22982
|
-
const
|
|
22983
|
-
function
|
|
23010
|
+
});
|
|
23011
|
+
const b0 = i, F0 = b0.RefContext;
|
|
23012
|
+
function v0(r) {
|
|
22984
23013
|
return !r || !r.start || !r.stop ? !0 : r.stop.tokenIndex < r.start.tokenIndex;
|
|
22985
23014
|
}
|
|
22986
|
-
|
|
22987
|
-
|
|
22988
|
-
|
|
22989
|
-
|
|
22990
|
-
|
|
22991
|
-
|
|
22992
|
-
|
|
22993
|
-
|
|
22994
|
-
|
|
22995
|
-
|
|
22996
|
-
|
|
22997
|
-
|
|
22998
|
-
|
|
22999
|
-
|
|
23000
|
-
|
|
23001
|
-
|
|
23002
|
-
|
|
23003
|
-
|
|
23004
|
-
|
|
23005
|
-
|
|
23015
|
+
u(F0, {
|
|
23016
|
+
Content() {
|
|
23017
|
+
const r = this.name()[0];
|
|
23018
|
+
return v0(r) ? void 0 : r;
|
|
23019
|
+
},
|
|
23020
|
+
Participants() {
|
|
23021
|
+
return this.name().slice(1) ?? [];
|
|
23022
|
+
}
|
|
23023
|
+
});
|
|
23024
|
+
const A0 = i.ProgContext, G0 = i.MessageContext, S0 = i.CreationContext;
|
|
23025
|
+
u(h.ParserRuleContext, {
|
|
23026
|
+
Origin() {
|
|
23027
|
+
return this.ClosestAncestorStat()?.Origin();
|
|
23028
|
+
}
|
|
23029
|
+
});
|
|
23030
|
+
u(i.StatContext, {
|
|
23031
|
+
Origin() {
|
|
23032
|
+
let r = this.parentCtx;
|
|
23033
|
+
for (; r; ) {
|
|
23034
|
+
if (r instanceof A0)
|
|
23035
|
+
return r.Starter();
|
|
23036
|
+
if (r instanceof G0 || r instanceof S0) {
|
|
23037
|
+
const t = r.Owner();
|
|
23038
|
+
if (t)
|
|
23039
|
+
return t;
|
|
23040
|
+
}
|
|
23041
|
+
r = r.parentCtx;
|
|
23006
23042
|
}
|
|
23007
|
-
r = r.parentCtx;
|
|
23008
23043
|
}
|
|
23009
|
-
};
|
|
23010
|
-
|
|
23011
|
-
|
|
23012
|
-
|
|
23013
|
-
|
|
23014
|
-
|
|
23015
|
-
|
|
23016
|
-
|
|
23017
|
-
|
|
23018
|
-
|
|
23019
|
-
|
|
23020
|
-
|
|
23044
|
+
});
|
|
23045
|
+
u(A0, {
|
|
23046
|
+
Origin() {
|
|
23047
|
+
return this.Starter();
|
|
23048
|
+
}
|
|
23049
|
+
});
|
|
23050
|
+
const W0 = i, V0 = W0.DividerContext;
|
|
23051
|
+
u(V0, {
|
|
23052
|
+
Note() {
|
|
23053
|
+
const r = this.dividerNote()?.getFormattedText().trim();
|
|
23054
|
+
if (!r.startsWith("=="))
|
|
23055
|
+
throw new Error("Divider note must start with ==");
|
|
23056
|
+
return r?.replace(/^=+|=+$/g, "");
|
|
23057
|
+
}
|
|
23058
|
+
});
|
|
23059
|
+
function $0(r) {
|
|
23021
23060
|
if (r.namedParameter?.()) {
|
|
23022
23061
|
const e = r.namedParameter();
|
|
23023
23062
|
if (e) {
|
|
@@ -23033,35 +23072,49 @@ function ee(r) {
|
|
|
23033
23072
|
const t = r.expr?.();
|
|
23034
23073
|
return t ? t.getFormattedText() : r.getFormattedText();
|
|
23035
23074
|
}
|
|
23036
|
-
function
|
|
23037
|
-
return r.map(
|
|
23075
|
+
function m0(r) {
|
|
23076
|
+
return r.map($0).join(",");
|
|
23038
23077
|
}
|
|
23039
|
-
|
|
23040
|
-
|
|
23041
|
-
|
|
23042
|
-
}
|
|
23043
|
-
|
|
23044
|
-
|
|
23045
|
-
|
|
23046
|
-
|
|
23047
|
-
|
|
23048
|
-
|
|
23049
|
-
|
|
23050
|
-
|
|
23051
|
-
|
|
23052
|
-
|
|
23053
|
-
|
|
23054
|
-
|
|
23055
|
-
}
|
|
23056
|
-
|
|
23057
|
-
|
|
23058
|
-
|
|
23059
|
-
|
|
23060
|
-
|
|
23061
|
-
|
|
23062
|
-
};
|
|
23063
|
-
|
|
23064
|
-
|
|
23078
|
+
u(i.MessageContext, {
|
|
23079
|
+
SignatureText() {
|
|
23080
|
+
return this.messageBody()?.func()?.signature()?.map((r) => r?.getFormattedText()).join(".") ?? "";
|
|
23081
|
+
}
|
|
23082
|
+
});
|
|
23083
|
+
u(i.AsyncMessageContext, {
|
|
23084
|
+
SignatureText() {
|
|
23085
|
+
return this.content()?.getFormattedText() ?? "";
|
|
23086
|
+
}
|
|
23087
|
+
});
|
|
23088
|
+
u(i.CreationContext, {
|
|
23089
|
+
ParametersText() {
|
|
23090
|
+
const r = this.creationBody().parameters();
|
|
23091
|
+
return r?.parameter()?.length > 0 ? m0(r.parameter()) : "";
|
|
23092
|
+
},
|
|
23093
|
+
SignatureText() {
|
|
23094
|
+
return `«${this.ParametersText() || "create"}»`;
|
|
23095
|
+
}
|
|
23096
|
+
});
|
|
23097
|
+
u(i.RetContext, {
|
|
23098
|
+
SignatureText() {
|
|
23099
|
+
return this.asyncMessage()?.content()?.getFormattedText() ?? this.returnAsyncMessage()?.content()?.getFormattedText() ?? this.expr()?.getFormattedText() ?? "";
|
|
23100
|
+
}
|
|
23101
|
+
});
|
|
23102
|
+
u(
|
|
23103
|
+
i.ReturnAsyncMessageContext,
|
|
23104
|
+
{
|
|
23105
|
+
SignatureText() {
|
|
23106
|
+
return this.content()?.getFormattedText() ?? "";
|
|
23107
|
+
}
|
|
23108
|
+
}
|
|
23109
|
+
);
|
|
23110
|
+
u(i.ParametersContext, {
|
|
23111
|
+
getFormattedText() {
|
|
23112
|
+
const r = this.parameter();
|
|
23113
|
+
return !r || r.length === 0 ? "" : m0(r);
|
|
23114
|
+
}
|
|
23115
|
+
});
|
|
23116
|
+
const y0 = i, Y0 = y0.MessageContext, j0 = y0.CreationContext;
|
|
23117
|
+
class Q0 {
|
|
23065
23118
|
assignee;
|
|
23066
23119
|
type;
|
|
23067
23120
|
labelPosition;
|
|
@@ -23076,80 +23129,109 @@ class ce {
|
|
|
23076
23129
|
return [this.assignee, this.type].filter(Boolean).join(":");
|
|
23077
23130
|
}
|
|
23078
23131
|
}
|
|
23079
|
-
function
|
|
23132
|
+
function L0(r) {
|
|
23080
23133
|
if (!r)
|
|
23081
23134
|
return;
|
|
23082
|
-
const t = r?.assignee()?.getFormattedText(), e = r?.type()?.getFormattedText(), s = r?.assignee(), n = s ? [s.start.start, s.stop.stop] : [-1, -1], c = r?.type(),
|
|
23135
|
+
const t = r?.assignee()?.getFormattedText(), e = r?.type()?.getFormattedText(), s = r?.assignee(), n = s ? [s.start.start, s.stop.stop] : [-1, -1], c = r?.type(), x = c ? [c.start.start, c.stop.stop] : [-1, -1];
|
|
23083
23136
|
if (t)
|
|
23084
|
-
return new
|
|
23137
|
+
return new Q0(t, e, n, x);
|
|
23085
23138
|
}
|
|
23086
|
-
|
|
23087
|
-
|
|
23088
|
-
|
|
23089
|
-
|
|
23090
|
-
|
|
23091
|
-
|
|
23092
|
-
|
|
23093
|
-
|
|
23094
|
-
|
|
23095
|
-
};
|
|
23096
|
-
|
|
23097
|
-
|
|
23098
|
-
|
|
23099
|
-
|
|
23100
|
-
|
|
23101
|
-
};
|
|
23102
|
-
|
|
23103
|
-
|
|
23104
|
-
|
|
23105
|
-
|
|
23106
|
-
|
|
23107
|
-
|
|
23108
|
-
|
|
23109
|
-
|
|
23139
|
+
u(Y0, {
|
|
23140
|
+
Assignment() {
|
|
23141
|
+
return L0(this.messageBody().assignment());
|
|
23142
|
+
}
|
|
23143
|
+
});
|
|
23144
|
+
u(j0, {
|
|
23145
|
+
Assignment() {
|
|
23146
|
+
return L0(this.creationBody()?.assignment());
|
|
23147
|
+
}
|
|
23148
|
+
});
|
|
23149
|
+
const X = i, K0 = X.MessageContext, z0 = X.CreationContext, X0 = X.IfBlockContext, J0 = X.LoopContext;
|
|
23150
|
+
u(K0, {
|
|
23151
|
+
Statements() {
|
|
23152
|
+
return this.braceBlock()?.block()?.stat() || [];
|
|
23153
|
+
}
|
|
23154
|
+
});
|
|
23155
|
+
u(z0, {
|
|
23156
|
+
Statements() {
|
|
23157
|
+
return this.braceBlock()?.block()?.stat() || [];
|
|
23158
|
+
}
|
|
23159
|
+
});
|
|
23160
|
+
u(X0, {
|
|
23161
|
+
Statements() {
|
|
23162
|
+
return this.braceBlock()?.block()?.stat() || [];
|
|
23163
|
+
}
|
|
23164
|
+
});
|
|
23165
|
+
u(J0, {
|
|
23166
|
+
Statements() {
|
|
23167
|
+
return this.braceBlock()?.block()?.stat() || [];
|
|
23168
|
+
}
|
|
23169
|
+
});
|
|
23170
|
+
const I = i, Z0 = I.StatContext;
|
|
23171
|
+
u(I.CreationContext, {
|
|
23172
|
+
From() {
|
|
23173
|
+
if (this.parentCtx instanceof Z0)
|
|
23174
|
+
return this.ClosestAncestorStat()?.Origin();
|
|
23175
|
+
}
|
|
23176
|
+
});
|
|
23110
23177
|
function Gt() {
|
|
23111
23178
|
return this.ProvidedFrom() || this.ClosestAncestorStat()?.Origin();
|
|
23112
23179
|
}
|
|
23113
|
-
|
|
23114
|
-
|
|
23115
|
-
|
|
23116
|
-
|
|
23117
|
-
|
|
23118
|
-
|
|
23180
|
+
u(I.MessageContext, {
|
|
23181
|
+
ProvidedFrom() {
|
|
23182
|
+
const r = this.messageBody()?.fromTo?.()?.from?.();
|
|
23183
|
+
return r?.name?.()?.getFormattedText?.() || r?.getFormattedText?.();
|
|
23184
|
+
},
|
|
23185
|
+
From: Gt
|
|
23186
|
+
});
|
|
23187
|
+
function N0() {
|
|
23119
23188
|
const r = this.from();
|
|
23120
23189
|
return r?.name?.()?.getFormattedText?.() || r?.getFormattedText?.();
|
|
23121
23190
|
}
|
|
23122
|
-
|
|
23123
|
-
|
|
23124
|
-
|
|
23125
|
-
|
|
23126
|
-
|
|
23127
|
-
|
|
23128
|
-
|
|
23129
|
-
|
|
23130
|
-
|
|
23131
|
-
|
|
23132
|
-
|
|
23133
|
-
|
|
23134
|
-
|
|
23135
|
-
|
|
23136
|
-
|
|
23137
|
-
|
|
23138
|
-
|
|
23139
|
-
|
|
23140
|
-
|
|
23141
|
-
|
|
23142
|
-
|
|
23143
|
-
|
|
23144
|
-
(
|
|
23145
|
-
|
|
23146
|
-
|
|
23147
|
-
|
|
23148
|
-
|
|
23191
|
+
u(I.AsyncMessageContext, {
|
|
23192
|
+
ProvidedFrom: N0,
|
|
23193
|
+
From: Gt
|
|
23194
|
+
});
|
|
23195
|
+
u(
|
|
23196
|
+
I.ReturnAsyncMessageContext,
|
|
23197
|
+
{
|
|
23198
|
+
ProvidedFrom: N0,
|
|
23199
|
+
From: Gt
|
|
23200
|
+
}
|
|
23201
|
+
);
|
|
23202
|
+
u(I.RetContext, {
|
|
23203
|
+
From() {
|
|
23204
|
+
return this.asyncMessage()?.From?.() || this.returnAsyncMessage()?.From?.() || this.ClosestAncestorStat()?.Origin();
|
|
23205
|
+
}
|
|
23206
|
+
});
|
|
23207
|
+
const q0 = i, q = q0.StatContext;
|
|
23208
|
+
u(h.ParserRuleContext, {
|
|
23209
|
+
ClosestAncestorStat() {
|
|
23210
|
+
if (this instanceof q)
|
|
23211
|
+
return this;
|
|
23212
|
+
let r = this.parentCtx;
|
|
23213
|
+
for (; r && !(r instanceof q); )
|
|
23214
|
+
r = r.parentCtx;
|
|
23215
|
+
if (r instanceof q)
|
|
23216
|
+
return r;
|
|
23217
|
+
}
|
|
23218
|
+
});
|
|
23219
|
+
u(h.ParserRuleContext, {
|
|
23220
|
+
getAncestors(r) {
|
|
23221
|
+
const t = [];
|
|
23222
|
+
(!r || r(this)) && t.push(this);
|
|
23223
|
+
let e = this.parentCtx;
|
|
23224
|
+
for (; e; )
|
|
23225
|
+
(!r || r(e)) && t.push(e), e = e.parentCtx;
|
|
23226
|
+
return t;
|
|
23227
|
+
}
|
|
23228
|
+
});
|
|
23229
|
+
const te = (r) => r.replace(/[\n\r]/g, " ").replace(/\s+/g, " ").replace(/\s*([,;.])\s*/g, "$1").replace(/\s*(\()\s*|\s*(\))/g, "$1$2").replace(/\s+$/g, "").replace(/^"(.*)"$/, "$1");
|
|
23230
|
+
class pe extends h.error.ErrorListener {
|
|
23149
23231
|
syntaxError(t, e, s, n, c) {
|
|
23150
23232
|
}
|
|
23151
23233
|
}
|
|
23152
|
-
class
|
|
23234
|
+
class ee extends h.error.ErrorListener {
|
|
23153
23235
|
errorDetails;
|
|
23154
23236
|
constructor() {
|
|
23155
23237
|
super(), this.errorDetails = [];
|
|
@@ -23158,31 +23240,34 @@ class Ce extends o.error.ErrorListener {
|
|
|
23158
23240
|
this.errorDetails.push({ line: s, column: n, msg: c });
|
|
23159
23241
|
}
|
|
23160
23242
|
}
|
|
23161
|
-
|
|
23162
|
-
|
|
23163
|
-
|
|
23164
|
-
|
|
23165
|
-
}
|
|
23166
|
-
|
|
23167
|
-
|
|
23168
|
-
|
|
23169
|
-
|
|
23170
|
-
|
|
23171
|
-
|
|
23243
|
+
u(h.ParserRuleContext, {
|
|
23244
|
+
getFormattedText() {
|
|
23245
|
+
const r = this.parser.getTokenStream().getText(this.getSourceInterval());
|
|
23246
|
+
return te(r);
|
|
23247
|
+
},
|
|
23248
|
+
// Comment is where users have the most flexibility. The parser should make minimal assumptions about
|
|
23249
|
+
// the content and the style including change of line, indentation, etc.
|
|
23250
|
+
getComment() {
|
|
23251
|
+
let r = this.start.tokenIndex;
|
|
23252
|
+
const t = a.channelNames.indexOf("COMMENT_CHANNEL");
|
|
23253
|
+
this.constructor.name === "BraceBlockContext" && (r = this.stop.tokenIndex);
|
|
23254
|
+
const e = this.parser.getTokenStream().getHiddenTokensToLeft(r, t);
|
|
23255
|
+
return e && e.map((s) => s.text.substring(2)).join(`
|
|
23172
23256
|
`);
|
|
23173
|
-
}
|
|
23174
|
-
|
|
23175
|
-
|
|
23257
|
+
}
|
|
23258
|
+
});
|
|
23259
|
+
function ie(r) {
|
|
23260
|
+
const t = new ee(), e = new h.InputStream(r), s = new a(e);
|
|
23176
23261
|
s.removeErrorListeners(), s.addErrorListener(t);
|
|
23177
|
-
const n = new
|
|
23262
|
+
const n = new h.CommonTokenStream(s), c = new i(n);
|
|
23178
23263
|
return c.removeErrorListeners(), c.addErrorListener(t), {
|
|
23179
23264
|
rootContext: c.prog(),
|
|
23180
23265
|
pass: t.errorDetails.length === 0,
|
|
23181
23266
|
errorDetails: t.errorDetails
|
|
23182
23267
|
};
|
|
23183
23268
|
}
|
|
23184
|
-
function
|
|
23185
|
-
const { pass: t, errorDetails: e } =
|
|
23269
|
+
function fe(r) {
|
|
23270
|
+
const { pass: t, errorDetails: e } = ie(r);
|
|
23186
23271
|
return { pass: t, errorDetails: e };
|
|
23187
23272
|
}
|
|
23188
23273
|
i.ProgContext;
|
|
@@ -23190,7 +23275,7 @@ i.GroupContext;
|
|
|
23190
23275
|
i.ParticipantContext;
|
|
23191
23276
|
i.ProgContext, i.GroupContext, i.ParticipantContext;
|
|
23192
23277
|
export {
|
|
23193
|
-
|
|
23194
|
-
|
|
23278
|
+
ie as parse,
|
|
23279
|
+
fe as validate
|
|
23195
23280
|
};
|
|
23196
23281
|
//# sourceMappingURL=index.mjs.map
|