@zenuml/core 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/zenuml.mjs +56 -51
- package/dist/parser/index.cjs +2 -2
- package/dist/parser/index.mjs +525 -573
- package/dist/zenuml.esm.mjs +3798 -3789
- package/dist/zenuml.js +500 -500
- package/package.json +6 -2
- package/types/parser/index.d.ts +9 -2
- package/dist/CNAME.txt +0 -1
- package/dist/cli/zenuml.mjs.map +0 -1
- package/dist/cloud-icons-eHuugVSv.js.map +0 -1
- package/dist/embed-container-demo.html +0 -65
- package/dist/favicon.ico +0 -0
- package/dist/fonts/MS Sans Serif.ttf +0 -0
- package/dist/parser/index.cjs.map +0 -1
- package/dist/parser/index.mjs.map +0 -1
- package/dist/test-chinese.html +0 -202
- package/dist/vendor/codemirror/codemirror.min.css +0 -1
- package/dist/vendor/codemirror/codemirror.min.js +0 -8
- package/dist/vendor/codemirror/material-darker.min.css +0 -1
- package/dist/vendor/highlightjs/github-dark.min.css +0 -7
- package/dist/vendor/tailwindcss/tailwindcss.js +0 -83
- package/dist/vite.svg +0 -1
- package/dist/zenuml.esm.mjs.map +0 -1
- package/dist/zenuml.js.map +0 -1
package/dist/parser/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "antlr4";
|
|
2
|
-
const
|
|
2
|
+
const ke = [
|
|
3
3
|
4,
|
|
4
4
|
0,
|
|
5
5
|
80,
|
|
@@ -12070,7 +12070,7 @@ const Se = [
|
|
|
12070
12070
|
4,
|
|
12071
12071
|
0,
|
|
12072
12072
|
0
|
|
12073
|
-
],
|
|
12073
|
+
], it = new o.atn.ATNDeserializer().deserialize(ke), be = it.decisionToState.map((s, t) => new o.dfa.DFA(s, t));
|
|
12074
12074
|
class a extends o.Lexer {
|
|
12075
12075
|
static grammarFileName = "sequenceLexer.g4";
|
|
12076
12076
|
static channelNames = [
|
|
@@ -12318,7 +12318,7 @@ class a extends o.Lexer {
|
|
|
12318
12318
|
"TITLE_END"
|
|
12319
12319
|
];
|
|
12320
12320
|
constructor(t) {
|
|
12321
|
-
super(t), this._interp = new o.atn.LexerATNSimulator(this,
|
|
12321
|
+
super(t), this._interp = new o.atn.LexerATNSimulator(this, it, be, new o.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
12324
|
const n = 32, c = 9, x = -1, p = 46, m = 61, L = 40;
|
|
@@ -12332,7 +12332,7 @@ class a extends o.Lexer {
|
|
|
12332
12332
|
};
|
|
12333
12333
|
}
|
|
12334
12334
|
get atn() {
|
|
12335
|
-
return
|
|
12335
|
+
return it;
|
|
12336
12336
|
}
|
|
12337
12337
|
}
|
|
12338
12338
|
a.EOF = o.Token.EOF;
|
|
@@ -12964,7 +12964,7 @@ class h extends o.tree.ParseTreeListener {
|
|
|
12964
12964
|
exitTextExpr(t) {
|
|
12965
12965
|
}
|
|
12966
12966
|
}
|
|
12967
|
-
const
|
|
12967
|
+
const Fe = [
|
|
12968
12968
|
4,
|
|
12969
12969
|
1,
|
|
12970
12970
|
81,
|
|
@@ -19080,7 +19080,7 @@ const $e = [
|
|
|
19080
19080
|
640,
|
|
19081
19081
|
646,
|
|
19082
19082
|
655
|
|
19083
|
-
],
|
|
19083
|
+
], rt = new o.atn.ATNDeserializer().deserialize(Fe), Ge = rt.decisionToState.map((s, t) => new o.dfa.DFA(s, t)), ve = new o.PredictionContextCache();
|
|
19084
19084
|
class i extends o.Parser {
|
|
19085
19085
|
static grammarFileName = "java-escape";
|
|
19086
19086
|
static literalNames = [
|
|
@@ -19295,10 +19295,10 @@ class i extends o.Parser {
|
|
|
19295
19295
|
"textExpr"
|
|
19296
19296
|
];
|
|
19297
19297
|
constructor(t) {
|
|
19298
|
-
super(t), this._interp = new o.atn.ParserATNSimulator(this,
|
|
19298
|
+
super(t), this._interp = new o.atn.ParserATNSimulator(this, rt, Ge, ve), this.ruleNames = i.ruleNames, this.literalNames = i.literalNames, this.symbolicNames = i.symbolicNames;
|
|
19299
19299
|
}
|
|
19300
19300
|
get atn() {
|
|
19301
|
-
return
|
|
19301
|
+
return rt;
|
|
19302
19302
|
}
|
|
19303
19303
|
sempred(t, e, r) {
|
|
19304
19304
|
switch (e) {
|
|
@@ -19329,7 +19329,7 @@ class i extends o.Parser {
|
|
|
19329
19329
|
}
|
|
19330
19330
|
}
|
|
19331
19331
|
prog() {
|
|
19332
|
-
let t = new
|
|
19332
|
+
let t = new Xt(this, this._ctx, this.state);
|
|
19333
19333
|
this.enterRule(t, 0, i.RULE_prog);
|
|
19334
19334
|
var e = 0;
|
|
19335
19335
|
try {
|
|
@@ -19359,7 +19359,7 @@ class i extends o.Parser {
|
|
|
19359
19359
|
return t;
|
|
19360
19360
|
}
|
|
19361
19361
|
title() {
|
|
19362
|
-
let t = new
|
|
19362
|
+
let t = new ot(this, this._ctx, this.state);
|
|
19363
19363
|
this.enterRule(t, 2, i.RULE_title);
|
|
19364
19364
|
var e = 0;
|
|
19365
19365
|
try {
|
|
@@ -19375,7 +19375,7 @@ class i extends o.Parser {
|
|
|
19375
19375
|
return t;
|
|
19376
19376
|
}
|
|
19377
19377
|
head() {
|
|
19378
|
-
let t = new
|
|
19378
|
+
let t = new ht(this, this._ctx, this.state);
|
|
19379
19379
|
this.enterRule(t, 4, i.RULE_head);
|
|
19380
19380
|
try {
|
|
19381
19381
|
this.state = 164, this._errHandler.sync(this);
|
|
@@ -19450,7 +19450,7 @@ class i extends o.Parser {
|
|
|
19450
19450
|
return t;
|
|
19451
19451
|
}
|
|
19452
19452
|
group() {
|
|
19453
|
-
let t = new
|
|
19453
|
+
let t = new k(this, this._ctx, this.state);
|
|
19454
19454
|
this.enterRule(t, 6, i.RULE_group);
|
|
19455
19455
|
var e = 0;
|
|
19456
19456
|
try {
|
|
@@ -19475,7 +19475,7 @@ class i extends o.Parser {
|
|
|
19475
19475
|
return t;
|
|
19476
19476
|
}
|
|
19477
19477
|
starterExp() {
|
|
19478
|
-
let t = new
|
|
19478
|
+
let t = new at(this, this._ctx, this.state);
|
|
19479
19479
|
this.enterRule(t, 8, i.RULE_starterExp);
|
|
19480
19480
|
var e = 0;
|
|
19481
19481
|
try {
|
|
@@ -19500,7 +19500,7 @@ class i extends o.Parser {
|
|
|
19500
19500
|
return t;
|
|
19501
19501
|
}
|
|
19502
19502
|
starter() {
|
|
19503
|
-
let t = new
|
|
19503
|
+
let t = new ct(this, this._ctx, this.state);
|
|
19504
19504
|
this.enterRule(t, 10, i.RULE_starter);
|
|
19505
19505
|
try {
|
|
19506
19506
|
this.enterOuterAlt(t, 1), this.state = 193, this.name();
|
|
@@ -19545,7 +19545,7 @@ class i extends o.Parser {
|
|
|
19545
19545
|
return t;
|
|
19546
19546
|
}
|
|
19547
19547
|
stereotype() {
|
|
19548
|
-
let t = new
|
|
19548
|
+
let t = new lt(this, this._ctx, this.state);
|
|
19549
19549
|
this.enterRule(t, 14, i.RULE_stereotype);
|
|
19550
19550
|
var e = 0;
|
|
19551
19551
|
try {
|
|
@@ -19573,7 +19573,7 @@ class i extends o.Parser {
|
|
|
19573
19573
|
return t;
|
|
19574
19574
|
}
|
|
19575
19575
|
label() {
|
|
19576
|
-
let t = new
|
|
19576
|
+
let t = new ut(this, this._ctx, this.state);
|
|
19577
19577
|
this.enterRule(t, 16, i.RULE_label);
|
|
19578
19578
|
try {
|
|
19579
19579
|
this.state = 236, this._errHandler.sync(this);
|
|
@@ -19597,7 +19597,7 @@ class i extends o.Parser {
|
|
|
19597
19597
|
return t;
|
|
19598
19598
|
}
|
|
19599
19599
|
participantType() {
|
|
19600
|
-
let t = new
|
|
19600
|
+
let t = new xt(this, this._ctx, this.state);
|
|
19601
19601
|
this.enterRule(t, 18, i.RULE_participantType);
|
|
19602
19602
|
try {
|
|
19603
19603
|
this.enterOuterAlt(t, 1), this.state = 238, this.match(i.ANNOTATION);
|
|
@@ -19612,7 +19612,7 @@ class i extends o.Parser {
|
|
|
19612
19612
|
return t;
|
|
19613
19613
|
}
|
|
19614
19614
|
name() {
|
|
19615
|
-
let t = new
|
|
19615
|
+
let t = new R(this, this._ctx, this.state);
|
|
19616
19616
|
this.enterRule(t, 20, i.RULE_name);
|
|
19617
19617
|
var e = 0;
|
|
19618
19618
|
try {
|
|
@@ -19628,7 +19628,7 @@ class i extends o.Parser {
|
|
|
19628
19628
|
return t;
|
|
19629
19629
|
}
|
|
19630
19630
|
width() {
|
|
19631
|
-
let t = new
|
|
19631
|
+
let t = new pt(this, this._ctx, this.state);
|
|
19632
19632
|
this.enterRule(t, 22, i.RULE_width);
|
|
19633
19633
|
try {
|
|
19634
19634
|
this.enterOuterAlt(t, 1), this.state = 242, this.match(i.INT);
|
|
@@ -19667,7 +19667,7 @@ class i extends o.Parser {
|
|
|
19667
19667
|
return t;
|
|
19668
19668
|
}
|
|
19669
19669
|
block() {
|
|
19670
|
-
let t = new
|
|
19670
|
+
let t = new W(this, this._ctx, this.state);
|
|
19671
19671
|
this.enterRule(t, 26, i.RULE_block);
|
|
19672
19672
|
var e = 0;
|
|
19673
19673
|
try {
|
|
@@ -19686,7 +19686,7 @@ class i extends o.Parser {
|
|
|
19686
19686
|
return t;
|
|
19687
19687
|
}
|
|
19688
19688
|
ret() {
|
|
19689
|
-
let t = new
|
|
19689
|
+
let t = new dt(this, this._ctx, this.state);
|
|
19690
19690
|
this.enterRule(t, 28, i.RULE_ret);
|
|
19691
19691
|
var e = 0;
|
|
19692
19692
|
try {
|
|
@@ -19721,7 +19721,7 @@ class i extends o.Parser {
|
|
|
19721
19721
|
return t;
|
|
19722
19722
|
}
|
|
19723
19723
|
returnAsyncMessage() {
|
|
19724
|
-
let t = new
|
|
19724
|
+
let t = new ft(this, this._ctx, this.state);
|
|
19725
19725
|
this.enterRule(t, 30, i.RULE_returnAsyncMessage);
|
|
19726
19726
|
var e = 0;
|
|
19727
19727
|
try {
|
|
@@ -19748,7 +19748,7 @@ class i extends o.Parser {
|
|
|
19748
19748
|
return t;
|
|
19749
19749
|
}
|
|
19750
19750
|
divider() {
|
|
19751
|
-
let t = new
|
|
19751
|
+
let t = new Rt(this, this._ctx, this.state);
|
|
19752
19752
|
this.enterRule(t, 32, i.RULE_divider);
|
|
19753
19753
|
try {
|
|
19754
19754
|
this.enterOuterAlt(t, 1), this.state = 288, this.dividerNote();
|
|
@@ -19763,7 +19763,7 @@ class i extends o.Parser {
|
|
|
19763
19763
|
return t;
|
|
19764
19764
|
}
|
|
19765
19765
|
dividerNote() {
|
|
19766
|
-
let t = new
|
|
19766
|
+
let t = new Et(this, this._ctx, this.state);
|
|
19767
19767
|
this.enterRule(t, 34, i.RULE_dividerNote);
|
|
19768
19768
|
try {
|
|
19769
19769
|
this.enterOuterAlt(t, 1), this.state = 290, this.match(i.DIVIDER);
|
|
@@ -19778,7 +19778,7 @@ class i extends o.Parser {
|
|
|
19778
19778
|
return t;
|
|
19779
19779
|
}
|
|
19780
19780
|
stat() {
|
|
19781
|
-
let t = new
|
|
19781
|
+
let t = new b(this, this._ctx, this.state);
|
|
19782
19782
|
this.enterRule(t, 36, i.RULE_stat);
|
|
19783
19783
|
var e = 0;
|
|
19784
19784
|
try {
|
|
@@ -19836,7 +19836,7 @@ class i extends o.Parser {
|
|
|
19836
19836
|
return t;
|
|
19837
19837
|
}
|
|
19838
19838
|
par() {
|
|
19839
|
-
let t = new
|
|
19839
|
+
let t = new Tt(this, this._ctx, this.state);
|
|
19840
19840
|
this.enterRule(t, 38, i.RULE_par);
|
|
19841
19841
|
var e = 0;
|
|
19842
19842
|
try {
|
|
@@ -19861,7 +19861,7 @@ class i extends o.Parser {
|
|
|
19861
19861
|
return t;
|
|
19862
19862
|
}
|
|
19863
19863
|
opt() {
|
|
19864
|
-
let t = new
|
|
19864
|
+
let t = new Ct(this, this._ctx, this.state);
|
|
19865
19865
|
this.enterRule(t, 40, i.RULE_opt);
|
|
19866
19866
|
var e = 0;
|
|
19867
19867
|
try {
|
|
@@ -19886,7 +19886,7 @@ class i extends o.Parser {
|
|
|
19886
19886
|
return t;
|
|
19887
19887
|
}
|
|
19888
19888
|
critical() {
|
|
19889
|
-
let t = new
|
|
19889
|
+
let t = new _t(this, this._ctx, this.state);
|
|
19890
19890
|
this.enterRule(t, 42, i.RULE_critical);
|
|
19891
19891
|
var e = 0;
|
|
19892
19892
|
try {
|
|
@@ -19911,7 +19911,7 @@ class i extends o.Parser {
|
|
|
19911
19911
|
return t;
|
|
19912
19912
|
}
|
|
19913
19913
|
section() {
|
|
19914
|
-
let t = new
|
|
19914
|
+
let t = new At(this, this._ctx, this.state);
|
|
19915
19915
|
this.enterRule(t, 44, i.RULE_section);
|
|
19916
19916
|
var e = 0;
|
|
19917
19917
|
try {
|
|
@@ -19956,7 +19956,7 @@ class i extends o.Parser {
|
|
|
19956
19956
|
return t;
|
|
19957
19957
|
}
|
|
19958
19958
|
ref() {
|
|
19959
|
-
let t = new
|
|
19959
|
+
let t = new yt(this, this._ctx, this.state);
|
|
19960
19960
|
this.enterRule(t, 48, i.RULE_ref);
|
|
19961
19961
|
var e = 0;
|
|
19962
19962
|
try {
|
|
@@ -19977,7 +19977,7 @@ class i extends o.Parser {
|
|
|
19977
19977
|
return t;
|
|
19978
19978
|
}
|
|
19979
19979
|
creationBody() {
|
|
19980
|
-
let t = new
|
|
19980
|
+
let t = new mt(this, this._ctx, this.state);
|
|
19981
19981
|
this.enterRule(t, 50, i.RULE_creationBody);
|
|
19982
19982
|
var e = 0;
|
|
19983
19983
|
try {
|
|
@@ -20008,7 +20008,7 @@ class i extends o.Parser {
|
|
|
20008
20008
|
return t;
|
|
20009
20009
|
}
|
|
20010
20010
|
message() {
|
|
20011
|
-
let t = new
|
|
20011
|
+
let t = new Lt(this, this._ctx, this.state);
|
|
20012
20012
|
this.enterRule(t, 52, i.RULE_message);
|
|
20013
20013
|
try {
|
|
20014
20014
|
this.enterOuterAlt(t, 1), this.state = 389, this.messageBody(), this.state = 392, this._errHandler.sync(this);
|
|
@@ -20025,7 +20025,7 @@ class i extends o.Parser {
|
|
|
20025
20025
|
return t;
|
|
20026
20026
|
}
|
|
20027
20027
|
messageBody() {
|
|
20028
|
-
let t = new
|
|
20028
|
+
let t = new Nt(this, this._ctx, this.state);
|
|
20029
20029
|
this.enterRule(t, 54, i.RULE_messageBody);
|
|
20030
20030
|
try {
|
|
20031
20031
|
this.state = 407, this._errHandler.sync(this);
|
|
@@ -20060,7 +20060,7 @@ class i extends o.Parser {
|
|
|
20060
20060
|
return t;
|
|
20061
20061
|
}
|
|
20062
20062
|
fromTo() {
|
|
20063
|
-
let t = new
|
|
20063
|
+
let t = new gt(this, this._ctx, this.state);
|
|
20064
20064
|
this.enterRule(t, 56, i.RULE_fromTo);
|
|
20065
20065
|
try {
|
|
20066
20066
|
this.enterOuterAlt(t, 1), this.state = 412, this._errHandler.sync(this);
|
|
@@ -20077,7 +20077,7 @@ class i extends o.Parser {
|
|
|
20077
20077
|
return t;
|
|
20078
20078
|
}
|
|
20079
20079
|
func() {
|
|
20080
|
-
let t = new
|
|
20080
|
+
let t = new $(this, this._ctx, this.state);
|
|
20081
20081
|
this.enterRule(t, 58, i.RULE_func);
|
|
20082
20082
|
try {
|
|
20083
20083
|
this.enterOuterAlt(t, 1), this.state = 417, this.signature(), this.state = 422, this._errHandler.sync(this);
|
|
@@ -20094,7 +20094,7 @@ class i extends o.Parser {
|
|
|
20094
20094
|
return t;
|
|
20095
20095
|
}
|
|
20096
20096
|
from() {
|
|
20097
|
-
let t = new
|
|
20097
|
+
let t = new B(this, this._ctx, this.state);
|
|
20098
20098
|
this.enterRule(t, 60, i.RULE_from);
|
|
20099
20099
|
var e = 0;
|
|
20100
20100
|
try {
|
|
@@ -20126,7 +20126,7 @@ class i extends o.Parser {
|
|
|
20126
20126
|
return t;
|
|
20127
20127
|
}
|
|
20128
20128
|
signature() {
|
|
20129
|
-
let t = new
|
|
20129
|
+
let t = new F(this, this._ctx, this.state);
|
|
20130
20130
|
this.enterRule(t, 64, i.RULE_signature);
|
|
20131
20131
|
try {
|
|
20132
20132
|
this.enterOuterAlt(t, 1), this.state = 435, this.methodName(), this.state = 437, this._errHandler.sync(this);
|
|
@@ -20143,7 +20143,7 @@ class i extends o.Parser {
|
|
|
20143
20143
|
return t;
|
|
20144
20144
|
}
|
|
20145
20145
|
invocation() {
|
|
20146
|
-
let t = new
|
|
20146
|
+
let t = new Y(this, this._ctx, this.state);
|
|
20147
20147
|
this.enterRule(t, 66, i.RULE_invocation);
|
|
20148
20148
|
var e = 0;
|
|
20149
20149
|
try {
|
|
@@ -20159,7 +20159,7 @@ class i extends o.Parser {
|
|
|
20159
20159
|
return t;
|
|
20160
20160
|
}
|
|
20161
20161
|
assignment() {
|
|
20162
|
-
let t = new
|
|
20162
|
+
let t = new P(this, this._ctx, this.state);
|
|
20163
20163
|
this.enterRule(t, 68, i.RULE_assignment);
|
|
20164
20164
|
try {
|
|
20165
20165
|
this.enterOuterAlt(t, 1), this.state = 446, this._errHandler.sync(this);
|
|
@@ -20176,7 +20176,7 @@ class i extends o.Parser {
|
|
|
20176
20176
|
return t;
|
|
20177
20177
|
}
|
|
20178
20178
|
asyncMessage() {
|
|
20179
|
-
let t = new
|
|
20179
|
+
let t = new Q(this, this._ctx, this.state);
|
|
20180
20180
|
this.enterRule(t, 70, i.RULE_asyncMessage);
|
|
20181
20181
|
var e = 0;
|
|
20182
20182
|
try {
|
|
@@ -20205,7 +20205,7 @@ class i extends o.Parser {
|
|
|
20205
20205
|
return t;
|
|
20206
20206
|
}
|
|
20207
20207
|
content() {
|
|
20208
|
-
let t = new
|
|
20208
|
+
let t = new j(this, this._ctx, this.state);
|
|
20209
20209
|
this.enterRule(t, 72, i.RULE_content);
|
|
20210
20210
|
try {
|
|
20211
20211
|
this.enterOuterAlt(t, 1), this.state = 468, this.match(i.EVENT_PAYLOAD_LXR);
|
|
@@ -20220,7 +20220,7 @@ class i extends o.Parser {
|
|
|
20220
20220
|
return t;
|
|
20221
20221
|
}
|
|
20222
20222
|
construct() {
|
|
20223
|
-
let t = new
|
|
20223
|
+
let t = new Ot(this, this._ctx, this.state);
|
|
20224
20224
|
this.enterRule(t, 74, i.RULE_construct);
|
|
20225
20225
|
try {
|
|
20226
20226
|
this.enterOuterAlt(t, 1), this.state = 470, this.name();
|
|
@@ -20235,7 +20235,7 @@ class i extends o.Parser {
|
|
|
20235
20235
|
return t;
|
|
20236
20236
|
}
|
|
20237
20237
|
type() {
|
|
20238
|
-
let t = new
|
|
20238
|
+
let t = new K(this, this._ctx, this.state);
|
|
20239
20239
|
this.enterRule(t, 76, i.RULE_type);
|
|
20240
20240
|
try {
|
|
20241
20241
|
this.enterOuterAlt(t, 1), this.state = 472, this.name();
|
|
@@ -20250,7 +20250,7 @@ class i extends o.Parser {
|
|
|
20250
20250
|
return t;
|
|
20251
20251
|
}
|
|
20252
20252
|
assignee() {
|
|
20253
|
-
let t = new
|
|
20253
|
+
let t = new It(this, this._ctx, this.state);
|
|
20254
20254
|
this.enterRule(t, 78, i.RULE_assignee);
|
|
20255
20255
|
var e = 0;
|
|
20256
20256
|
try {
|
|
@@ -20285,7 +20285,7 @@ class i extends o.Parser {
|
|
|
20285
20285
|
return t;
|
|
20286
20286
|
}
|
|
20287
20287
|
methodName() {
|
|
20288
|
-
let t = new
|
|
20288
|
+
let t = new Ht(this, this._ctx, this.state);
|
|
20289
20289
|
this.enterRule(t, 80, i.RULE_methodName);
|
|
20290
20290
|
var e = 0;
|
|
20291
20291
|
try {
|
|
@@ -20320,7 +20320,7 @@ class i extends o.Parser {
|
|
|
20320
20320
|
return t;
|
|
20321
20321
|
}
|
|
20322
20322
|
parameter() {
|
|
20323
|
-
let t = new
|
|
20323
|
+
let t = new G(this, this._ctx, this.state);
|
|
20324
20324
|
this.enterRule(t, 84, i.RULE_parameter);
|
|
20325
20325
|
try {
|
|
20326
20326
|
this.state = 507, this._errHandler.sync(this);
|
|
@@ -20347,7 +20347,7 @@ class i extends o.Parser {
|
|
|
20347
20347
|
return t;
|
|
20348
20348
|
}
|
|
20349
20349
|
namedParameter() {
|
|
20350
|
-
let t = new
|
|
20350
|
+
let t = new wt(this, this._ctx, this.state);
|
|
20351
20351
|
this.enterRule(t, 86, i.RULE_namedParameter);
|
|
20352
20352
|
var e = 0;
|
|
20353
20353
|
try {
|
|
@@ -20363,7 +20363,7 @@ class i extends o.Parser {
|
|
|
20363
20363
|
return t;
|
|
20364
20364
|
}
|
|
20365
20365
|
declaration() {
|
|
20366
|
-
let t = new
|
|
20366
|
+
let t = new Ut(this, this._ctx, this.state);
|
|
20367
20367
|
this.enterRule(t, 88, i.RULE_declaration);
|
|
20368
20368
|
var e = 0;
|
|
20369
20369
|
try {
|
|
@@ -20379,7 +20379,7 @@ class i extends o.Parser {
|
|
|
20379
20379
|
return t;
|
|
20380
20380
|
}
|
|
20381
20381
|
tcf() {
|
|
20382
|
-
let t = new
|
|
20382
|
+
let t = new Mt(this, this._ctx, this.state);
|
|
20383
20383
|
this.enterRule(t, 90, i.RULE_tcf);
|
|
20384
20384
|
var e = 0;
|
|
20385
20385
|
try {
|
|
@@ -20397,7 +20397,7 @@ class i extends o.Parser {
|
|
|
20397
20397
|
return t;
|
|
20398
20398
|
}
|
|
20399
20399
|
tryBlock() {
|
|
20400
|
-
let t = new
|
|
20400
|
+
let t = new Bt(this, this._ctx, this.state);
|
|
20401
20401
|
this.enterRule(t, 92, i.RULE_tryBlock);
|
|
20402
20402
|
try {
|
|
20403
20403
|
this.enterOuterAlt(t, 1), this.state = 527, this.match(i.TRY), this.state = 528, this.braceBlock();
|
|
@@ -20412,7 +20412,7 @@ class i extends o.Parser {
|
|
|
20412
20412
|
return t;
|
|
20413
20413
|
}
|
|
20414
20414
|
catchBlock() {
|
|
20415
|
-
let t = new
|
|
20415
|
+
let t = new v(this, this._ctx, this.state);
|
|
20416
20416
|
this.enterRule(t, 94, i.RULE_catchBlock);
|
|
20417
20417
|
var e = 0;
|
|
20418
20418
|
try {
|
|
@@ -20428,7 +20428,7 @@ class i extends o.Parser {
|
|
|
20428
20428
|
return t;
|
|
20429
20429
|
}
|
|
20430
20430
|
finallyBlock() {
|
|
20431
|
-
let t = new
|
|
20431
|
+
let t = new Pt(this, this._ctx, this.state);
|
|
20432
20432
|
this.enterRule(t, 96, i.RULE_finallyBlock);
|
|
20433
20433
|
try {
|
|
20434
20434
|
this.enterOuterAlt(t, 1), this.state = 536, this.match(i.FINALLY), this.state = 537, this.braceBlock();
|
|
@@ -20443,7 +20443,7 @@ class i extends o.Parser {
|
|
|
20443
20443
|
return t;
|
|
20444
20444
|
}
|
|
20445
20445
|
alt() {
|
|
20446
|
-
let t = new
|
|
20446
|
+
let t = new Dt(this, this._ctx, this.state);
|
|
20447
20447
|
this.enterRule(t, 98, i.RULE_alt);
|
|
20448
20448
|
var e = 0;
|
|
20449
20449
|
try {
|
|
@@ -20462,7 +20462,7 @@ class i extends o.Parser {
|
|
|
20462
20462
|
return t;
|
|
20463
20463
|
}
|
|
20464
20464
|
ifBlock() {
|
|
20465
|
-
let t = new
|
|
20465
|
+
let t = new kt(this, this._ctx, this.state);
|
|
20466
20466
|
this.enterRule(t, 100, i.RULE_ifBlock);
|
|
20467
20467
|
try {
|
|
20468
20468
|
this.enterOuterAlt(t, 1), this.state = 549, this.match(i.IF), this.state = 550, this.parExpr(), this.state = 552, this._errHandler.sync(this);
|
|
@@ -20479,7 +20479,7 @@ class i extends o.Parser {
|
|
|
20479
20479
|
return t;
|
|
20480
20480
|
}
|
|
20481
20481
|
elseIfBlock() {
|
|
20482
|
-
let t = new
|
|
20482
|
+
let t = new S(this, this._ctx, this.state);
|
|
20483
20483
|
this.enterRule(t, 102, i.RULE_elseIfBlock);
|
|
20484
20484
|
try {
|
|
20485
20485
|
this.enterOuterAlt(t, 1), this.state = 554, this.match(i.ELSE), this.state = 555, this.match(i.IF), this.state = 556, this.parExpr(), this.state = 558, this._errHandler.sync(this);
|
|
@@ -20496,7 +20496,7 @@ class i extends o.Parser {
|
|
|
20496
20496
|
return t;
|
|
20497
20497
|
}
|
|
20498
20498
|
elseBlock() {
|
|
20499
|
-
let t = new
|
|
20499
|
+
let t = new bt(this, this._ctx, this.state);
|
|
20500
20500
|
this.enterRule(t, 104, i.RULE_elseBlock);
|
|
20501
20501
|
try {
|
|
20502
20502
|
this.enterOuterAlt(t, 1), this.state = 560, this.match(i.ELSE), this.state = 562, this._errHandler.sync(this);
|
|
@@ -20513,7 +20513,7 @@ class i extends o.Parser {
|
|
|
20513
20513
|
return t;
|
|
20514
20514
|
}
|
|
20515
20515
|
braceBlock() {
|
|
20516
|
-
let t = new
|
|
20516
|
+
let t = new E(this, this._ctx, this.state);
|
|
20517
20517
|
this.enterRule(t, 106, i.RULE_braceBlock);
|
|
20518
20518
|
var e = 0;
|
|
20519
20519
|
try {
|
|
@@ -20529,7 +20529,7 @@ class i extends o.Parser {
|
|
|
20529
20529
|
return t;
|
|
20530
20530
|
}
|
|
20531
20531
|
loop() {
|
|
20532
|
-
let t = new
|
|
20532
|
+
let t = new Ft(this, this._ctx, this.state);
|
|
20533
20533
|
this.enterRule(t, 108, i.RULE_loop);
|
|
20534
20534
|
var e = 0;
|
|
20535
20535
|
try {
|
|
@@ -20558,27 +20558,27 @@ class i extends o.Parser {
|
|
|
20558
20558
|
var m = this._interp.adaptivePredict(this._input, 95, this._ctx);
|
|
20559
20559
|
switch (m) {
|
|
20560
20560
|
case 1:
|
|
20561
|
-
n = new
|
|
20561
|
+
n = new qt(this, n), this._ctx = n, c = n, this.state = 578, this.atom();
|
|
20562
20562
|
break;
|
|
20563
20563
|
case 2:
|
|
20564
|
-
n = new
|
|
20564
|
+
n = new ne(this, n), this._ctx = n, c = n, this.state = 579, this.match(i.MINUS), this.state = 580, this.expr(13);
|
|
20565
20565
|
break;
|
|
20566
20566
|
case 3:
|
|
20567
|
-
n = new
|
|
20567
|
+
n = new se(this, n), this._ctx = n, c = n, this.state = 581, this.match(i.NOT), this.state = 582, this.expr(12);
|
|
20568
20568
|
break;
|
|
20569
20569
|
case 4:
|
|
20570
|
-
n = new
|
|
20570
|
+
n = new Zt(this, n), this._ctx = n, c = n, this.state = 586, this._errHandler.sync(this);
|
|
20571
20571
|
var m = this._interp.adaptivePredict(this._input, 94, this._ctx);
|
|
20572
20572
|
m === 1 && (this.state = 583, this.to(), this.state = 584, this.match(i.DOT)), this.state = 588, this.func();
|
|
20573
20573
|
break;
|
|
20574
20574
|
case 5:
|
|
20575
|
-
n = new
|
|
20575
|
+
n = new oe(this, n), this._ctx = n, c = n, this.state = 589, this.creation();
|
|
20576
20576
|
break;
|
|
20577
20577
|
case 6:
|
|
20578
|
-
n = new
|
|
20578
|
+
n = new he(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);
|
|
20579
20579
|
break;
|
|
20580
20580
|
case 7:
|
|
20581
|
-
n = new
|
|
20581
|
+
n = new Jt(this, n), this._ctx = n, c = n, this.state = 594, this.assignment(), this.state = 595, this.expr(1);
|
|
20582
20582
|
break;
|
|
20583
20583
|
}
|
|
20584
20584
|
this._ctx.stop = this._input.LT(-1), this.state = 622, this._errHandler.sync(this);
|
|
@@ -20588,37 +20588,37 @@ class i extends o.Parser {
|
|
|
20588
20588
|
var m = this._interp.adaptivePredict(this._input, 96, this._ctx);
|
|
20589
20589
|
switch (m) {
|
|
20590
20590
|
case 1:
|
|
20591
|
-
if (n = new
|
|
20591
|
+
if (n = new ae(this, new l(this, e, r)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 599, !this.precpred(this._ctx, 11))
|
|
20592
20592
|
throw new o.error.FailedPredicateException(this, "this.precpred(this._ctx, 11)");
|
|
20593
20593
|
this.state = 600, n.op = this._input.LT(1), p = this._input.LA(1), (p & -32) == 0 && (1 << p & 234881024) !== 0 ? (this._errHandler.reportMatch(this), this.consume()) : n.op = this._errHandler.recoverInline(this), this.state = 601, this.expr(12);
|
|
20594
20594
|
break;
|
|
20595
20595
|
case 2:
|
|
20596
|
-
if (n = new
|
|
20596
|
+
if (n = new ee(this, new l(this, e, r)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 602, !this.precpred(this._ctx, 10))
|
|
20597
20597
|
throw new o.error.FailedPredicateException(this, "this.precpred(this._ctx, 10)");
|
|
20598
20598
|
this.state = 603, n.op = this._input.LT(1), p = this._input.LA(1), p === 23 || p === 24 ? (this._errHandler.reportMatch(this), this.consume()) : n.op = this._errHandler.recoverInline(this), this.state = 604, this.expr(11);
|
|
20599
20599
|
break;
|
|
20600
20600
|
case 3:
|
|
20601
|
-
if (n = new
|
|
20601
|
+
if (n = new ie(this, new l(this, e, r)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 605, !this.precpred(this._ctx, 9))
|
|
20602
20602
|
throw new o.error.FailedPredicateException(this, "this.precpred(this._ctx, 9)");
|
|
20603
20603
|
this.state = 606, n.op = this._input.LT(1), p = this._input.LA(1), (p & -32) == 0 && (1 << p & 7864320) !== 0 ? (this._errHandler.reportMatch(this), this.consume()) : n.op = this._errHandler.recoverInline(this), this.state = 607, this.expr(10);
|
|
20604
20604
|
break;
|
|
20605
20605
|
case 4:
|
|
20606
|
-
if (n = new
|
|
20606
|
+
if (n = new ce(this, new l(this, e, r)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 608, !this.precpred(this._ctx, 8))
|
|
20607
20607
|
throw new o.error.FailedPredicateException(this, "this.precpred(this._ctx, 8)");
|
|
20608
20608
|
this.state = 609, n.op = this._input.LT(1), p = this._input.LA(1), p === 17 || p === 18 ? (this._errHandler.reportMatch(this), this.consume()) : n.op = this._errHandler.recoverInline(this), this.state = 610, this.expr(9);
|
|
20609
20609
|
break;
|
|
20610
20610
|
case 5:
|
|
20611
|
-
if (n = new
|
|
20611
|
+
if (n = new le(this, new l(this, e, r)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 611, !this.precpred(this._ctx, 7))
|
|
20612
20612
|
throw new o.error.FailedPredicateException(this, "this.precpred(this._ctx, 7)");
|
|
20613
20613
|
this.state = 612, this.match(i.AND), this.state = 613, this.expr(8);
|
|
20614
20614
|
break;
|
|
20615
20615
|
case 6:
|
|
20616
|
-
if (n = new
|
|
20616
|
+
if (n = new te(this, new l(this, e, r)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 614, !this.precpred(this._ctx, 6))
|
|
20617
20617
|
throw new o.error.FailedPredicateException(this, "this.precpred(this._ctx, 6)");
|
|
20618
20618
|
this.state = 615, this.match(i.OR), this.state = 616, this.expr(7);
|
|
20619
20619
|
break;
|
|
20620
20620
|
case 7:
|
|
20621
|
-
if (n = new
|
|
20621
|
+
if (n = new re(this, new l(this, e, r)), this.pushNewRecursionContext(n, x, i.RULE_expr), this.state = 617, !this.precpred(this._ctx, 5))
|
|
20622
20622
|
throw new o.error.FailedPredicateException(this, "this.precpred(this._ctx, 5)");
|
|
20623
20623
|
this.state = 618, this.match(i.PLUS), this.state = 619, this.expr(6);
|
|
20624
20624
|
break;
|
|
@@ -20637,37 +20637,37 @@ class i extends o.Parser {
|
|
|
20637
20637
|
return n;
|
|
20638
20638
|
}
|
|
20639
20639
|
atom() {
|
|
20640
|
-
let t = new
|
|
20640
|
+
let t = new C(this, this._ctx, this.state);
|
|
20641
20641
|
this.enterRule(t, 112, i.RULE_atom);
|
|
20642
20642
|
var e = 0;
|
|
20643
20643
|
try {
|
|
20644
20644
|
switch (this.state = 633, this._errHandler.sync(this), this._input.LA(1)) {
|
|
20645
20645
|
case 63:
|
|
20646
20646
|
case 64:
|
|
20647
|
-
t = new
|
|
20647
|
+
t = new Re(this, t), this.enterOuterAlt(t, 1), this.state = 625, e = this._input.LA(1), e === 63 || e === 64 ? (this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this);
|
|
20648
20648
|
break;
|
|
20649
20649
|
case 66:
|
|
20650
|
-
t = new
|
|
20650
|
+
t = new Ee(this, t), this.enterOuterAlt(t, 2), this.state = 626, this.match(i.NUMBER_UNIT);
|
|
20651
20651
|
break;
|
|
20652
20652
|
case 65:
|
|
20653
|
-
t = new
|
|
20653
|
+
t = new pe(this, t), this.enterOuterAlt(t, 3), this.state = 627, this.match(i.MONEY);
|
|
20654
20654
|
break;
|
|
20655
20655
|
case 37:
|
|
20656
20656
|
case 38:
|
|
20657
|
-
t = new
|
|
20657
|
+
t = new ue(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);
|
|
20658
20658
|
break;
|
|
20659
20659
|
case 62:
|
|
20660
|
-
t = new
|
|
20660
|
+
t = new xe(this, t), this.enterOuterAlt(t, 5), this.state = 629, this.match(i.ID);
|
|
20661
20661
|
break;
|
|
20662
20662
|
case 67:
|
|
20663
|
-
t = new
|
|
20663
|
+
t = new Te(this, t), this.enterOuterAlt(t, 6), this.state = 630, this.match(i.DIGIT_LEADING_NAME);
|
|
20664
20664
|
break;
|
|
20665
20665
|
case 68:
|
|
20666
20666
|
case 69:
|
|
20667
|
-
t = new
|
|
20667
|
+
t = new de(this, t), this.enterOuterAlt(t, 7), this.state = 631, e = this._input.LA(1), e === 68 || e === 69 ? (this._errHandler.reportMatch(this), this.consume()) : this._errHandler.recoverInline(this);
|
|
20668
20668
|
break;
|
|
20669
20669
|
case 39:
|
|
20670
|
-
t = new
|
|
20670
|
+
t = new fe(this, t), this.enterOuterAlt(t, 8), this.state = 632, this.match(i.NIL);
|
|
20671
20671
|
break;
|
|
20672
20672
|
default:
|
|
20673
20673
|
throw new o.error.NoViableAltException(this);
|
|
@@ -20701,7 +20701,7 @@ class i extends o.Parser {
|
|
|
20701
20701
|
return t;
|
|
20702
20702
|
}
|
|
20703
20703
|
condition() {
|
|
20704
|
-
let t = new
|
|
20704
|
+
let t = new Gt(this, this._ctx, this.state);
|
|
20705
20705
|
this.enterRule(t, 116, i.RULE_condition);
|
|
20706
20706
|
try {
|
|
20707
20707
|
this.state = 646, this._errHandler.sync(this);
|
|
@@ -20731,7 +20731,7 @@ class i extends o.Parser {
|
|
|
20731
20731
|
return t;
|
|
20732
20732
|
}
|
|
20733
20733
|
inExpr() {
|
|
20734
|
-
let t = new
|
|
20734
|
+
let t = new vt(this, this._ctx, this.state);
|
|
20735
20735
|
this.enterRule(t, 118, i.RULE_inExpr);
|
|
20736
20736
|
var e = 0;
|
|
20737
20737
|
try {
|
|
@@ -20747,7 +20747,7 @@ class i extends o.Parser {
|
|
|
20747
20747
|
return t;
|
|
20748
20748
|
}
|
|
20749
20749
|
textExpr() {
|
|
20750
|
-
let t = new
|
|
20750
|
+
let t = new St(this, this._ctx, this.state);
|
|
20751
20751
|
this.enterRule(t, 120, i.RULE_textExpr);
|
|
20752
20752
|
var e = 0;
|
|
20753
20753
|
try {
|
|
@@ -20917,7 +20917,7 @@ i.RULE_parExpr = 57;
|
|
|
20917
20917
|
i.RULE_condition = 58;
|
|
20918
20918
|
i.RULE_inExpr = 59;
|
|
20919
20919
|
i.RULE_textExpr = 60;
|
|
20920
|
-
let
|
|
20920
|
+
let Xt = class extends o.ParserRuleContext {
|
|
20921
20921
|
constructor(t, e, r) {
|
|
20922
20922
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_prog;
|
|
20923
20923
|
}
|
|
@@ -20925,13 +20925,13 @@ let Zt = class extends o.ParserRuleContext {
|
|
|
20925
20925
|
return this.getToken(i.EOF, 0);
|
|
20926
20926
|
}
|
|
20927
20927
|
title() {
|
|
20928
|
-
return this.getTypedRuleContext(
|
|
20928
|
+
return this.getTypedRuleContext(ot, 0);
|
|
20929
20929
|
}
|
|
20930
20930
|
head() {
|
|
20931
|
-
return this.getTypedRuleContext(
|
|
20931
|
+
return this.getTypedRuleContext(ht, 0);
|
|
20932
20932
|
}
|
|
20933
20933
|
block() {
|
|
20934
|
-
return this.getTypedRuleContext(
|
|
20934
|
+
return this.getTypedRuleContext(W, 0);
|
|
20935
20935
|
}
|
|
20936
20936
|
enterRule(t) {
|
|
20937
20937
|
t instanceof h && t.enterProg(this);
|
|
@@ -20939,7 +20939,7 @@ let Zt = class extends o.ParserRuleContext {
|
|
|
20939
20939
|
exitRule(t) {
|
|
20940
20940
|
t instanceof h && t.exitProg(this);
|
|
20941
20941
|
}
|
|
20942
|
-
},
|
|
20942
|
+
}, ot = class extends o.ParserRuleContext {
|
|
20943
20943
|
constructor(t, e, r) {
|
|
20944
20944
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_title;
|
|
20945
20945
|
}
|
|
@@ -20959,18 +20959,18 @@ let Zt = class extends o.ParserRuleContext {
|
|
|
20959
20959
|
t instanceof h && t.exitTitle(this);
|
|
20960
20960
|
}
|
|
20961
20961
|
};
|
|
20962
|
-
class
|
|
20962
|
+
class ht extends o.ParserRuleContext {
|
|
20963
20963
|
constructor(t, e, r) {
|
|
20964
20964
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_head;
|
|
20965
20965
|
}
|
|
20966
20966
|
group = function(t) {
|
|
20967
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
20967
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(k) : this.getTypedRuleContext(k, t);
|
|
20968
20968
|
};
|
|
20969
20969
|
participant = function(t) {
|
|
20970
20970
|
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(O) : this.getTypedRuleContext(O, t);
|
|
20971
20971
|
};
|
|
20972
20972
|
starterExp() {
|
|
20973
|
-
return this.getTypedRuleContext(
|
|
20973
|
+
return this.getTypedRuleContext(at, 0);
|
|
20974
20974
|
}
|
|
20975
20975
|
enterRule(t) {
|
|
20976
20976
|
t instanceof h && t.enterHead(this);
|
|
@@ -20979,7 +20979,7 @@ class at extends o.ParserRuleContext {
|
|
|
20979
20979
|
t instanceof h && t.exitHead(this);
|
|
20980
20980
|
}
|
|
20981
20981
|
}
|
|
20982
|
-
|
|
20982
|
+
class k extends o.ParserRuleContext {
|
|
20983
20983
|
constructor(t, e, r) {
|
|
20984
20984
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_group;
|
|
20985
20985
|
}
|
|
@@ -20987,7 +20987,7 @@ let b = class extends o.ParserRuleContext {
|
|
|
20987
20987
|
return this.getToken(i.GROUP, 0);
|
|
20988
20988
|
}
|
|
20989
20989
|
name() {
|
|
20990
|
-
return this.getTypedRuleContext(
|
|
20990
|
+
return this.getTypedRuleContext(R, 0);
|
|
20991
20991
|
}
|
|
20992
20992
|
OBRACE() {
|
|
20993
20993
|
return this.getToken(i.OBRACE, 0);
|
|
@@ -21004,8 +21004,8 @@ let b = class extends o.ParserRuleContext {
|
|
|
21004
21004
|
exitRule(t) {
|
|
21005
21005
|
t instanceof h && t.exitGroup(this);
|
|
21006
21006
|
}
|
|
21007
|
-
}
|
|
21008
|
-
class
|
|
21007
|
+
}
|
|
21008
|
+
class at extends o.ParserRuleContext {
|
|
21009
21009
|
constructor(t, e, r) {
|
|
21010
21010
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_starterExp;
|
|
21011
21011
|
}
|
|
@@ -21019,7 +21019,7 @@ class ct extends o.ParserRuleContext {
|
|
|
21019
21019
|
return this.getToken(i.CPAR, 0);
|
|
21020
21020
|
}
|
|
21021
21021
|
starter() {
|
|
21022
|
-
return this.getTypedRuleContext(
|
|
21022
|
+
return this.getTypedRuleContext(ct, 0);
|
|
21023
21023
|
}
|
|
21024
21024
|
ANNOTATION() {
|
|
21025
21025
|
return this.getToken(i.ANNOTATION, 0);
|
|
@@ -21031,12 +21031,12 @@ class ct extends o.ParserRuleContext {
|
|
|
21031
21031
|
t instanceof h && t.exitStarterExp(this);
|
|
21032
21032
|
}
|
|
21033
21033
|
}
|
|
21034
|
-
class
|
|
21034
|
+
class ct extends o.ParserRuleContext {
|
|
21035
21035
|
constructor(t, e, r) {
|
|
21036
21036
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_starter;
|
|
21037
21037
|
}
|
|
21038
21038
|
name() {
|
|
21039
|
-
return this.getTypedRuleContext(
|
|
21039
|
+
return this.getTypedRuleContext(R, 0);
|
|
21040
21040
|
}
|
|
21041
21041
|
enterRule(t) {
|
|
21042
21042
|
t instanceof h && t.enterStarter(this);
|
|
@@ -21045,27 +21045,27 @@ class lt extends o.ParserRuleContext {
|
|
|
21045
21045
|
t instanceof h && t.exitStarter(this);
|
|
21046
21046
|
}
|
|
21047
21047
|
}
|
|
21048
|
-
|
|
21048
|
+
class O extends o.ParserRuleContext {
|
|
21049
21049
|
constructor(t, e, r) {
|
|
21050
21050
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_participant;
|
|
21051
21051
|
}
|
|
21052
21052
|
name() {
|
|
21053
|
-
return this.getTypedRuleContext(
|
|
21053
|
+
return this.getTypedRuleContext(R, 0);
|
|
21054
21054
|
}
|
|
21055
21055
|
participantType() {
|
|
21056
|
-
return this.getTypedRuleContext(
|
|
21056
|
+
return this.getTypedRuleContext(xt, 0);
|
|
21057
21057
|
}
|
|
21058
21058
|
stereotype() {
|
|
21059
|
-
return this.getTypedRuleContext(
|
|
21059
|
+
return this.getTypedRuleContext(lt, 0);
|
|
21060
21060
|
}
|
|
21061
21061
|
emoji() {
|
|
21062
21062
|
return this.getTypedRuleContext(I, 0);
|
|
21063
21063
|
}
|
|
21064
21064
|
width() {
|
|
21065
|
-
return this.getTypedRuleContext(
|
|
21065
|
+
return this.getTypedRuleContext(pt, 0);
|
|
21066
21066
|
}
|
|
21067
21067
|
label() {
|
|
21068
|
-
return this.getTypedRuleContext(
|
|
21068
|
+
return this.getTypedRuleContext(ut, 0);
|
|
21069
21069
|
}
|
|
21070
21070
|
COLOR() {
|
|
21071
21071
|
return this.getToken(i.COLOR, 0);
|
|
@@ -21076,8 +21076,8 @@ let O = class extends o.ParserRuleContext {
|
|
|
21076
21076
|
exitRule(t) {
|
|
21077
21077
|
t instanceof h && t.exitParticipant(this);
|
|
21078
21078
|
}
|
|
21079
|
-
}
|
|
21080
|
-
class
|
|
21079
|
+
}
|
|
21080
|
+
class lt extends o.ParserRuleContext {
|
|
21081
21081
|
constructor(t, e, r) {
|
|
21082
21082
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_stereotype;
|
|
21083
21083
|
}
|
|
@@ -21085,7 +21085,7 @@ class ut extends o.ParserRuleContext {
|
|
|
21085
21085
|
return this.getToken(i.SOPEN, 0);
|
|
21086
21086
|
}
|
|
21087
21087
|
name() {
|
|
21088
|
-
return this.getTypedRuleContext(
|
|
21088
|
+
return this.getTypedRuleContext(R, 0);
|
|
21089
21089
|
}
|
|
21090
21090
|
SCLOSE() {
|
|
21091
21091
|
return this.getToken(i.SCLOSE, 0);
|
|
@@ -21103,7 +21103,7 @@ class ut extends o.ParserRuleContext {
|
|
|
21103
21103
|
t instanceof h && t.exitStereotype(this);
|
|
21104
21104
|
}
|
|
21105
21105
|
}
|
|
21106
|
-
class
|
|
21106
|
+
class ut extends o.ParserRuleContext {
|
|
21107
21107
|
constructor(t, e, r) {
|
|
21108
21108
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_label;
|
|
21109
21109
|
}
|
|
@@ -21111,7 +21111,7 @@ class xt extends o.ParserRuleContext {
|
|
|
21111
21111
|
return this.getToken(i.AS, 0);
|
|
21112
21112
|
}
|
|
21113
21113
|
name() {
|
|
21114
|
-
return this.getTypedRuleContext(
|
|
21114
|
+
return this.getTypedRuleContext(R, 0);
|
|
21115
21115
|
}
|
|
21116
21116
|
enterRule(t) {
|
|
21117
21117
|
t instanceof h && t.enterLabel(this);
|
|
@@ -21120,7 +21120,7 @@ class xt extends o.ParserRuleContext {
|
|
|
21120
21120
|
t instanceof h && t.exitLabel(this);
|
|
21121
21121
|
}
|
|
21122
21122
|
}
|
|
21123
|
-
class
|
|
21123
|
+
class xt extends o.ParserRuleContext {
|
|
21124
21124
|
constructor(t, e, r) {
|
|
21125
21125
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_participantType;
|
|
21126
21126
|
}
|
|
@@ -21134,7 +21134,7 @@ class pt extends o.ParserRuleContext {
|
|
|
21134
21134
|
t instanceof h && t.exitParticipantType(this);
|
|
21135
21135
|
}
|
|
21136
21136
|
}
|
|
21137
|
-
class
|
|
21137
|
+
class R extends o.ParserRuleContext {
|
|
21138
21138
|
constructor(t, e, r) {
|
|
21139
21139
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_name;
|
|
21140
21140
|
}
|
|
@@ -21157,7 +21157,7 @@ class T extends o.ParserRuleContext {
|
|
|
21157
21157
|
t instanceof h && t.exitName(this);
|
|
21158
21158
|
}
|
|
21159
21159
|
}
|
|
21160
|
-
class
|
|
21160
|
+
class pt extends o.ParserRuleContext {
|
|
21161
21161
|
constructor(t, e, r) {
|
|
21162
21162
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_width;
|
|
21163
21163
|
}
|
|
@@ -21179,7 +21179,7 @@ class I extends o.ParserRuleContext {
|
|
|
21179
21179
|
return this.getToken(i.LBRACKET, 0);
|
|
21180
21180
|
}
|
|
21181
21181
|
name() {
|
|
21182
|
-
return this.getTypedRuleContext(
|
|
21182
|
+
return this.getTypedRuleContext(R, 0);
|
|
21183
21183
|
}
|
|
21184
21184
|
RBRACKET() {
|
|
21185
21185
|
return this.getToken(i.RBRACKET, 0);
|
|
@@ -21194,12 +21194,12 @@ class I extends o.ParserRuleContext {
|
|
|
21194
21194
|
t instanceof h && t.exitEmoji(this);
|
|
21195
21195
|
}
|
|
21196
21196
|
}
|
|
21197
|
-
class
|
|
21197
|
+
class W extends o.ParserRuleContext {
|
|
21198
21198
|
constructor(t, e, r) {
|
|
21199
21199
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_block;
|
|
21200
21200
|
}
|
|
21201
21201
|
stat = function(t) {
|
|
21202
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
21202
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(b) : this.getTypedRuleContext(b, t);
|
|
21203
21203
|
};
|
|
21204
21204
|
enterRule(t) {
|
|
21205
21205
|
t instanceof h && t.enterBlock(this);
|
|
@@ -21208,7 +21208,7 @@ class $ extends o.ParserRuleContext {
|
|
|
21208
21208
|
t instanceof h && t.exitBlock(this);
|
|
21209
21209
|
}
|
|
21210
21210
|
}
|
|
21211
|
-
let
|
|
21211
|
+
let dt = class extends o.ParserRuleContext {
|
|
21212
21212
|
constructor(t, e, r) {
|
|
21213
21213
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_ret;
|
|
21214
21214
|
}
|
|
@@ -21225,13 +21225,13 @@ let ft = class extends o.ParserRuleContext {
|
|
|
21225
21225
|
return this.getToken(i.ANNOTATION_RET, 0);
|
|
21226
21226
|
}
|
|
21227
21227
|
asyncMessage() {
|
|
21228
|
-
return this.getTypedRuleContext(
|
|
21228
|
+
return this.getTypedRuleContext(Q, 0);
|
|
21229
21229
|
}
|
|
21230
21230
|
EVENT_END() {
|
|
21231
21231
|
return this.getToken(i.EVENT_END, 0);
|
|
21232
21232
|
}
|
|
21233
21233
|
returnAsyncMessage() {
|
|
21234
|
-
return this.getTypedRuleContext(
|
|
21234
|
+
return this.getTypedRuleContext(ft, 0);
|
|
21235
21235
|
}
|
|
21236
21236
|
enterRule(t) {
|
|
21237
21237
|
t instanceof h && t.enterRet(this);
|
|
@@ -21239,12 +21239,12 @@ let ft = class extends o.ParserRuleContext {
|
|
|
21239
21239
|
exitRule(t) {
|
|
21240
21240
|
t instanceof h && t.exitRet(this);
|
|
21241
21241
|
}
|
|
21242
|
-
},
|
|
21242
|
+
}, ft = class extends o.ParserRuleContext {
|
|
21243
21243
|
constructor(t, e, r) {
|
|
21244
21244
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_returnAsyncMessage;
|
|
21245
21245
|
}
|
|
21246
21246
|
from() {
|
|
21247
|
-
return this.getTypedRuleContext(
|
|
21247
|
+
return this.getTypedRuleContext(B, 0);
|
|
21248
21248
|
}
|
|
21249
21249
|
RETURN_ARROW() {
|
|
21250
21250
|
return this.getToken(i.RETURN_ARROW, 0);
|
|
@@ -21256,7 +21256,7 @@ let ft = class extends o.ParserRuleContext {
|
|
|
21256
21256
|
return this.getToken(i.COL, 0);
|
|
21257
21257
|
}
|
|
21258
21258
|
content() {
|
|
21259
|
-
return this.getTypedRuleContext(
|
|
21259
|
+
return this.getTypedRuleContext(j, 0);
|
|
21260
21260
|
}
|
|
21261
21261
|
enterRule(t) {
|
|
21262
21262
|
t instanceof h && t.enterReturnAsyncMessage(this);
|
|
@@ -21264,12 +21264,12 @@ let ft = class extends o.ParserRuleContext {
|
|
|
21264
21264
|
exitRule(t) {
|
|
21265
21265
|
t instanceof h && t.exitReturnAsyncMessage(this);
|
|
21266
21266
|
}
|
|
21267
|
-
},
|
|
21267
|
+
}, Rt = class extends o.ParserRuleContext {
|
|
21268
21268
|
constructor(t, e, r) {
|
|
21269
21269
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_divider;
|
|
21270
21270
|
}
|
|
21271
21271
|
dividerNote() {
|
|
21272
|
-
return this.getTypedRuleContext(
|
|
21272
|
+
return this.getTypedRuleContext(Et, 0);
|
|
21273
21273
|
}
|
|
21274
21274
|
enterRule(t) {
|
|
21275
21275
|
t instanceof h && t.enterDivider(this);
|
|
@@ -21278,7 +21278,7 @@ let ft = class extends o.ParserRuleContext {
|
|
|
21278
21278
|
t instanceof h && t.exitDivider(this);
|
|
21279
21279
|
}
|
|
21280
21280
|
};
|
|
21281
|
-
class
|
|
21281
|
+
class Et extends o.ParserRuleContext {
|
|
21282
21282
|
constructor(t, e, r) {
|
|
21283
21283
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_dividerNote;
|
|
21284
21284
|
}
|
|
@@ -21292,51 +21292,51 @@ class Tt extends o.ParserRuleContext {
|
|
|
21292
21292
|
t instanceof h && t.exitDividerNote(this);
|
|
21293
21293
|
}
|
|
21294
21294
|
}
|
|
21295
|
-
let
|
|
21295
|
+
let b = class extends o.ParserRuleContext {
|
|
21296
21296
|
constructor(t, e, r) {
|
|
21297
21297
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_stat;
|
|
21298
21298
|
}
|
|
21299
21299
|
alt() {
|
|
21300
|
-
return this.getTypedRuleContext(
|
|
21300
|
+
return this.getTypedRuleContext(Dt, 0);
|
|
21301
21301
|
}
|
|
21302
21302
|
par() {
|
|
21303
|
-
return this.getTypedRuleContext(
|
|
21303
|
+
return this.getTypedRuleContext(Tt, 0);
|
|
21304
21304
|
}
|
|
21305
21305
|
opt() {
|
|
21306
|
-
return this.getTypedRuleContext(
|
|
21306
|
+
return this.getTypedRuleContext(Ct, 0);
|
|
21307
21307
|
}
|
|
21308
21308
|
critical() {
|
|
21309
|
-
return this.getTypedRuleContext(
|
|
21309
|
+
return this.getTypedRuleContext(_t, 0);
|
|
21310
21310
|
}
|
|
21311
21311
|
section() {
|
|
21312
|
-
return this.getTypedRuleContext(
|
|
21312
|
+
return this.getTypedRuleContext(At, 0);
|
|
21313
21313
|
}
|
|
21314
21314
|
ref() {
|
|
21315
|
-
return this.getTypedRuleContext(
|
|
21315
|
+
return this.getTypedRuleContext(yt, 0);
|
|
21316
21316
|
}
|
|
21317
21317
|
loop() {
|
|
21318
|
-
return this.getTypedRuleContext(
|
|
21318
|
+
return this.getTypedRuleContext(Ft, 0);
|
|
21319
21319
|
}
|
|
21320
21320
|
creation() {
|
|
21321
21321
|
return this.getTypedRuleContext(V, 0);
|
|
21322
21322
|
}
|
|
21323
21323
|
message() {
|
|
21324
|
-
return this.getTypedRuleContext(
|
|
21324
|
+
return this.getTypedRuleContext(Lt, 0);
|
|
21325
21325
|
}
|
|
21326
21326
|
asyncMessage() {
|
|
21327
|
-
return this.getTypedRuleContext(
|
|
21327
|
+
return this.getTypedRuleContext(Q, 0);
|
|
21328
21328
|
}
|
|
21329
21329
|
EVENT_END() {
|
|
21330
21330
|
return this.getToken(i.EVENT_END, 0);
|
|
21331
21331
|
}
|
|
21332
21332
|
ret() {
|
|
21333
|
-
return this.getTypedRuleContext(
|
|
21333
|
+
return this.getTypedRuleContext(dt, 0);
|
|
21334
21334
|
}
|
|
21335
21335
|
divider() {
|
|
21336
|
-
return this.getTypedRuleContext(
|
|
21336
|
+
return this.getTypedRuleContext(Rt, 0);
|
|
21337
21337
|
}
|
|
21338
21338
|
tcf() {
|
|
21339
|
-
return this.getTypedRuleContext(
|
|
21339
|
+
return this.getTypedRuleContext(Mt, 0);
|
|
21340
21340
|
}
|
|
21341
21341
|
enterRule(t) {
|
|
21342
21342
|
t instanceof h && t.enterStat(this);
|
|
@@ -21345,7 +21345,7 @@ let F = class extends o.ParserRuleContext {
|
|
|
21345
21345
|
t instanceof h && t.exitStat(this);
|
|
21346
21346
|
}
|
|
21347
21347
|
};
|
|
21348
|
-
class
|
|
21348
|
+
class Tt extends o.ParserRuleContext {
|
|
21349
21349
|
constructor(t, e, r) {
|
|
21350
21350
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_par;
|
|
21351
21351
|
}
|
|
@@ -21353,7 +21353,7 @@ class Ct extends o.ParserRuleContext {
|
|
|
21353
21353
|
return this.getToken(i.PAR, 0);
|
|
21354
21354
|
}
|
|
21355
21355
|
braceBlock() {
|
|
21356
|
-
return this.getTypedRuleContext(
|
|
21356
|
+
return this.getTypedRuleContext(E, 0);
|
|
21357
21357
|
}
|
|
21358
21358
|
parExpr() {
|
|
21359
21359
|
return this.getTypedRuleContext(N, 0);
|
|
@@ -21365,7 +21365,7 @@ class Ct extends o.ParserRuleContext {
|
|
|
21365
21365
|
t instanceof h && t.exitPar(this);
|
|
21366
21366
|
}
|
|
21367
21367
|
}
|
|
21368
|
-
class
|
|
21368
|
+
class Ct extends o.ParserRuleContext {
|
|
21369
21369
|
constructor(t, e, r) {
|
|
21370
21370
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_opt;
|
|
21371
21371
|
}
|
|
@@ -21373,7 +21373,7 @@ class _t extends o.ParserRuleContext {
|
|
|
21373
21373
|
return this.getToken(i.OPT, 0);
|
|
21374
21374
|
}
|
|
21375
21375
|
braceBlock() {
|
|
21376
|
-
return this.getTypedRuleContext(
|
|
21376
|
+
return this.getTypedRuleContext(E, 0);
|
|
21377
21377
|
}
|
|
21378
21378
|
parExpr() {
|
|
21379
21379
|
return this.getTypedRuleContext(N, 0);
|
|
@@ -21385,7 +21385,7 @@ class _t extends o.ParserRuleContext {
|
|
|
21385
21385
|
t instanceof h && t.exitOpt(this);
|
|
21386
21386
|
}
|
|
21387
21387
|
}
|
|
21388
|
-
class
|
|
21388
|
+
class _t extends o.ParserRuleContext {
|
|
21389
21389
|
constructor(t, e, r) {
|
|
21390
21390
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_critical;
|
|
21391
21391
|
}
|
|
@@ -21393,7 +21393,7 @@ class At extends o.ParserRuleContext {
|
|
|
21393
21393
|
return this.getToken(i.CRITICAL, 0);
|
|
21394
21394
|
}
|
|
21395
21395
|
braceBlock() {
|
|
21396
|
-
return this.getTypedRuleContext(
|
|
21396
|
+
return this.getTypedRuleContext(E, 0);
|
|
21397
21397
|
}
|
|
21398
21398
|
parExpr() {
|
|
21399
21399
|
return this.getTypedRuleContext(N, 0);
|
|
@@ -21405,7 +21405,7 @@ class At extends o.ParserRuleContext {
|
|
|
21405
21405
|
t instanceof h && t.exitCritical(this);
|
|
21406
21406
|
}
|
|
21407
21407
|
}
|
|
21408
|
-
class
|
|
21408
|
+
class At extends o.ParserRuleContext {
|
|
21409
21409
|
constructor(t, e, r) {
|
|
21410
21410
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_section;
|
|
21411
21411
|
}
|
|
@@ -21413,7 +21413,7 @@ class yt extends o.ParserRuleContext {
|
|
|
21413
21413
|
return this.getToken(i.SECTION, 0);
|
|
21414
21414
|
}
|
|
21415
21415
|
braceBlock() {
|
|
21416
|
-
return this.getTypedRuleContext(
|
|
21416
|
+
return this.getTypedRuleContext(E, 0);
|
|
21417
21417
|
}
|
|
21418
21418
|
OPAR() {
|
|
21419
21419
|
return this.getToken(i.OPAR, 0);
|
|
@@ -21422,7 +21422,7 @@ class yt extends o.ParserRuleContext {
|
|
|
21422
21422
|
return this.getToken(i.CPAR, 0);
|
|
21423
21423
|
}
|
|
21424
21424
|
atom() {
|
|
21425
|
-
return this.getTypedRuleContext(
|
|
21425
|
+
return this.getTypedRuleContext(C, 0);
|
|
21426
21426
|
}
|
|
21427
21427
|
enterRule(t) {
|
|
21428
21428
|
t instanceof h && t.enterSection(this);
|
|
@@ -21436,13 +21436,13 @@ let V = class extends o.ParserRuleContext {
|
|
|
21436
21436
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_creation;
|
|
21437
21437
|
}
|
|
21438
21438
|
creationBody() {
|
|
21439
|
-
return this.getTypedRuleContext(
|
|
21439
|
+
return this.getTypedRuleContext(mt, 0);
|
|
21440
21440
|
}
|
|
21441
21441
|
SCOL() {
|
|
21442
21442
|
return this.getToken(i.SCOL, 0);
|
|
21443
21443
|
}
|
|
21444
21444
|
braceBlock() {
|
|
21445
|
-
return this.getTypedRuleContext(
|
|
21445
|
+
return this.getTypedRuleContext(E, 0);
|
|
21446
21446
|
}
|
|
21447
21447
|
enterRule(t) {
|
|
21448
21448
|
t instanceof h && t.enterCreation(this);
|
|
@@ -21450,7 +21450,7 @@ let V = class extends o.ParserRuleContext {
|
|
|
21450
21450
|
exitRule(t) {
|
|
21451
21451
|
t instanceof h && t.exitCreation(this);
|
|
21452
21452
|
}
|
|
21453
|
-
},
|
|
21453
|
+
}, yt = class extends o.ParserRuleContext {
|
|
21454
21454
|
constructor(t, e, r) {
|
|
21455
21455
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_ref;
|
|
21456
21456
|
}
|
|
@@ -21464,7 +21464,7 @@ let V = class extends o.ParserRuleContext {
|
|
|
21464
21464
|
return this.getToken(i.CPAR, 0);
|
|
21465
21465
|
}
|
|
21466
21466
|
name = function(t) {
|
|
21467
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
21467
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(R) : this.getTypedRuleContext(R, t);
|
|
21468
21468
|
};
|
|
21469
21469
|
SCOL() {
|
|
21470
21470
|
return this.getToken(i.SCOL, 0);
|
|
@@ -21479,7 +21479,7 @@ let V = class extends o.ParserRuleContext {
|
|
|
21479
21479
|
t instanceof h && t.exitRef(this);
|
|
21480
21480
|
}
|
|
21481
21481
|
};
|
|
21482
|
-
class
|
|
21482
|
+
class mt extends o.ParserRuleContext {
|
|
21483
21483
|
constructor(t, e, r) {
|
|
21484
21484
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_creationBody;
|
|
21485
21485
|
}
|
|
@@ -21487,10 +21487,10 @@ class Lt extends o.ParserRuleContext {
|
|
|
21487
21487
|
return this.getToken(i.NEW, 0);
|
|
21488
21488
|
}
|
|
21489
21489
|
construct() {
|
|
21490
|
-
return this.getTypedRuleContext(
|
|
21490
|
+
return this.getTypedRuleContext(Ot, 0);
|
|
21491
21491
|
}
|
|
21492
21492
|
assignment() {
|
|
21493
|
-
return this.getTypedRuleContext(
|
|
21493
|
+
return this.getTypedRuleContext(P, 0);
|
|
21494
21494
|
}
|
|
21495
21495
|
OPAR() {
|
|
21496
21496
|
return this.getToken(i.OPAR, 0);
|
|
@@ -21508,18 +21508,18 @@ class Lt extends o.ParserRuleContext {
|
|
|
21508
21508
|
t instanceof h && t.exitCreationBody(this);
|
|
21509
21509
|
}
|
|
21510
21510
|
}
|
|
21511
|
-
let
|
|
21511
|
+
let Lt = class extends o.ParserRuleContext {
|
|
21512
21512
|
constructor(t, e, r) {
|
|
21513
21513
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_message;
|
|
21514
21514
|
}
|
|
21515
21515
|
messageBody() {
|
|
21516
|
-
return this.getTypedRuleContext(
|
|
21516
|
+
return this.getTypedRuleContext(Nt, 0);
|
|
21517
21517
|
}
|
|
21518
21518
|
SCOL() {
|
|
21519
21519
|
return this.getToken(i.SCOL, 0);
|
|
21520
21520
|
}
|
|
21521
21521
|
braceBlock() {
|
|
21522
|
-
return this.getTypedRuleContext(
|
|
21522
|
+
return this.getTypedRuleContext(E, 0);
|
|
21523
21523
|
}
|
|
21524
21524
|
enterRule(t) {
|
|
21525
21525
|
t instanceof h && t.enterMessage(this);
|
|
@@ -21528,18 +21528,18 @@ let Nt = class extends o.ParserRuleContext {
|
|
|
21528
21528
|
t instanceof h && t.exitMessage(this);
|
|
21529
21529
|
}
|
|
21530
21530
|
};
|
|
21531
|
-
class
|
|
21531
|
+
class Nt extends o.ParserRuleContext {
|
|
21532
21532
|
constructor(t, e, r) {
|
|
21533
21533
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_messageBody;
|
|
21534
21534
|
}
|
|
21535
21535
|
assignment() {
|
|
21536
|
-
return this.getTypedRuleContext(
|
|
21536
|
+
return this.getTypedRuleContext(P, 0);
|
|
21537
21537
|
}
|
|
21538
21538
|
fromTo() {
|
|
21539
|
-
return this.getTypedRuleContext(
|
|
21539
|
+
return this.getTypedRuleContext(gt, 0);
|
|
21540
21540
|
}
|
|
21541
21541
|
func() {
|
|
21542
|
-
return this.getTypedRuleContext(
|
|
21542
|
+
return this.getTypedRuleContext($, 0);
|
|
21543
21543
|
}
|
|
21544
21544
|
enterRule(t) {
|
|
21545
21545
|
t instanceof h && t.enterMessageBody(this);
|
|
@@ -21548,7 +21548,7 @@ class gt extends o.ParserRuleContext {
|
|
|
21548
21548
|
t instanceof h && t.exitMessageBody(this);
|
|
21549
21549
|
}
|
|
21550
21550
|
}
|
|
21551
|
-
class
|
|
21551
|
+
class gt extends o.ParserRuleContext {
|
|
21552
21552
|
constructor(t, e, r) {
|
|
21553
21553
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_fromTo;
|
|
21554
21554
|
}
|
|
@@ -21559,7 +21559,7 @@ class Ot extends o.ParserRuleContext {
|
|
|
21559
21559
|
return this.getToken(i.DOT, 0);
|
|
21560
21560
|
}
|
|
21561
21561
|
from() {
|
|
21562
|
-
return this.getTypedRuleContext(
|
|
21562
|
+
return this.getTypedRuleContext(B, 0);
|
|
21563
21563
|
}
|
|
21564
21564
|
ARROW() {
|
|
21565
21565
|
return this.getToken(i.ARROW, 0);
|
|
@@ -21571,12 +21571,12 @@ class Ot extends o.ParserRuleContext {
|
|
|
21571
21571
|
t instanceof h && t.exitFromTo(this);
|
|
21572
21572
|
}
|
|
21573
21573
|
}
|
|
21574
|
-
class
|
|
21574
|
+
class $ extends o.ParserRuleContext {
|
|
21575
21575
|
constructor(t, e, r) {
|
|
21576
21576
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_func;
|
|
21577
21577
|
}
|
|
21578
21578
|
signature = function(t) {
|
|
21579
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
21579
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(F) : this.getTypedRuleContext(F, t);
|
|
21580
21580
|
};
|
|
21581
21581
|
DOT = function(t) {
|
|
21582
21582
|
return t === void 0 && (t = null), t === null ? this.getTokens(i.DOT) : this.getToken(i.DOT, t);
|
|
@@ -21588,12 +21588,12 @@ class Y extends o.ParserRuleContext {
|
|
|
21588
21588
|
t instanceof h && t.exitFunc(this);
|
|
21589
21589
|
}
|
|
21590
21590
|
}
|
|
21591
|
-
class
|
|
21591
|
+
class B extends o.ParserRuleContext {
|
|
21592
21592
|
constructor(t, e, r) {
|
|
21593
21593
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_from;
|
|
21594
21594
|
}
|
|
21595
21595
|
name() {
|
|
21596
|
-
return this.getTypedRuleContext(
|
|
21596
|
+
return this.getTypedRuleContext(R, 0);
|
|
21597
21597
|
}
|
|
21598
21598
|
emoji() {
|
|
21599
21599
|
return this.getTypedRuleContext(I, 0);
|
|
@@ -21610,7 +21610,7 @@ class H extends o.ParserRuleContext {
|
|
|
21610
21610
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_to;
|
|
21611
21611
|
}
|
|
21612
21612
|
name() {
|
|
21613
|
-
return this.getTypedRuleContext(
|
|
21613
|
+
return this.getTypedRuleContext(R, 0);
|
|
21614
21614
|
}
|
|
21615
21615
|
emoji() {
|
|
21616
21616
|
return this.getTypedRuleContext(I, 0);
|
|
@@ -21622,15 +21622,15 @@ class H extends o.ParserRuleContext {
|
|
|
21622
21622
|
t instanceof h && t.exitTo(this);
|
|
21623
21623
|
}
|
|
21624
21624
|
}
|
|
21625
|
-
class
|
|
21625
|
+
class F extends o.ParserRuleContext {
|
|
21626
21626
|
constructor(t, e, r) {
|
|
21627
21627
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_signature;
|
|
21628
21628
|
}
|
|
21629
21629
|
methodName() {
|
|
21630
|
-
return this.getTypedRuleContext(
|
|
21630
|
+
return this.getTypedRuleContext(Ht, 0);
|
|
21631
21631
|
}
|
|
21632
21632
|
invocation() {
|
|
21633
|
-
return this.getTypedRuleContext(
|
|
21633
|
+
return this.getTypedRuleContext(Y, 0);
|
|
21634
21634
|
}
|
|
21635
21635
|
enterRule(t) {
|
|
21636
21636
|
t instanceof h && t.enterSignature(this);
|
|
@@ -21639,7 +21639,7 @@ class G extends o.ParserRuleContext {
|
|
|
21639
21639
|
t instanceof h && t.exitSignature(this);
|
|
21640
21640
|
}
|
|
21641
21641
|
}
|
|
21642
|
-
class
|
|
21642
|
+
class Y extends o.ParserRuleContext {
|
|
21643
21643
|
constructor(t, e, r) {
|
|
21644
21644
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_invocation;
|
|
21645
21645
|
}
|
|
@@ -21659,18 +21659,18 @@ class Q extends o.ParserRuleContext {
|
|
|
21659
21659
|
t instanceof h && t.exitInvocation(this);
|
|
21660
21660
|
}
|
|
21661
21661
|
}
|
|
21662
|
-
class
|
|
21662
|
+
class P extends o.ParserRuleContext {
|
|
21663
21663
|
constructor(t, e, r) {
|
|
21664
21664
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_assignment;
|
|
21665
21665
|
}
|
|
21666
21666
|
assignee() {
|
|
21667
|
-
return this.getTypedRuleContext(
|
|
21667
|
+
return this.getTypedRuleContext(It, 0);
|
|
21668
21668
|
}
|
|
21669
21669
|
ASSIGN() {
|
|
21670
21670
|
return this.getToken(i.ASSIGN, 0);
|
|
21671
21671
|
}
|
|
21672
21672
|
type() {
|
|
21673
|
-
return this.getTypedRuleContext(
|
|
21673
|
+
return this.getTypedRuleContext(K, 0);
|
|
21674
21674
|
}
|
|
21675
21675
|
enterRule(t) {
|
|
21676
21676
|
t instanceof h && t.enterAssignment(this);
|
|
@@ -21679,7 +21679,7 @@ class D extends o.ParserRuleContext {
|
|
|
21679
21679
|
t instanceof h && t.exitAssignment(this);
|
|
21680
21680
|
}
|
|
21681
21681
|
}
|
|
21682
|
-
let
|
|
21682
|
+
let Q = class extends o.ParserRuleContext {
|
|
21683
21683
|
constructor(t, e, r) {
|
|
21684
21684
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_asyncMessage;
|
|
21685
21685
|
}
|
|
@@ -21690,13 +21690,13 @@ let j = class extends o.ParserRuleContext {
|
|
|
21690
21690
|
return this.getToken(i.COL, 0);
|
|
21691
21691
|
}
|
|
21692
21692
|
from() {
|
|
21693
|
-
return this.getTypedRuleContext(
|
|
21693
|
+
return this.getTypedRuleContext(B, 0);
|
|
21694
21694
|
}
|
|
21695
21695
|
ARROW() {
|
|
21696
21696
|
return this.getToken(i.ARROW, 0);
|
|
21697
21697
|
}
|
|
21698
21698
|
content() {
|
|
21699
|
-
return this.getTypedRuleContext(
|
|
21699
|
+
return this.getTypedRuleContext(j, 0);
|
|
21700
21700
|
}
|
|
21701
21701
|
MINUS() {
|
|
21702
21702
|
return this.getToken(i.MINUS, 0);
|
|
@@ -21708,7 +21708,7 @@ let j = class extends o.ParserRuleContext {
|
|
|
21708
21708
|
t instanceof h && t.exitAsyncMessage(this);
|
|
21709
21709
|
}
|
|
21710
21710
|
};
|
|
21711
|
-
class
|
|
21711
|
+
class j extends o.ParserRuleContext {
|
|
21712
21712
|
constructor(t, e, r) {
|
|
21713
21713
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_content;
|
|
21714
21714
|
}
|
|
@@ -21722,12 +21722,12 @@ class K extends o.ParserRuleContext {
|
|
|
21722
21722
|
t instanceof h && t.exitContent(this);
|
|
21723
21723
|
}
|
|
21724
21724
|
}
|
|
21725
|
-
class
|
|
21725
|
+
class Ot extends o.ParserRuleContext {
|
|
21726
21726
|
constructor(t, e, r) {
|
|
21727
21727
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_construct;
|
|
21728
21728
|
}
|
|
21729
21729
|
name() {
|
|
21730
|
-
return this.getTypedRuleContext(
|
|
21730
|
+
return this.getTypedRuleContext(R, 0);
|
|
21731
21731
|
}
|
|
21732
21732
|
enterRule(t) {
|
|
21733
21733
|
t instanceof h && t.enterConstruct(this);
|
|
@@ -21736,12 +21736,12 @@ class It extends o.ParserRuleContext {
|
|
|
21736
21736
|
t instanceof h && t.exitConstruct(this);
|
|
21737
21737
|
}
|
|
21738
21738
|
}
|
|
21739
|
-
class
|
|
21739
|
+
class K extends o.ParserRuleContext {
|
|
21740
21740
|
constructor(t, e, r) {
|
|
21741
21741
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_type;
|
|
21742
21742
|
}
|
|
21743
21743
|
name() {
|
|
21744
|
-
return this.getTypedRuleContext(
|
|
21744
|
+
return this.getTypedRuleContext(R, 0);
|
|
21745
21745
|
}
|
|
21746
21746
|
enterRule(t) {
|
|
21747
21747
|
t instanceof h && t.enterType(this);
|
|
@@ -21750,12 +21750,12 @@ class X extends o.ParserRuleContext {
|
|
|
21750
21750
|
t instanceof h && t.exitType(this);
|
|
21751
21751
|
}
|
|
21752
21752
|
}
|
|
21753
|
-
class
|
|
21753
|
+
class It extends o.ParserRuleContext {
|
|
21754
21754
|
constructor(t, e, r) {
|
|
21755
21755
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_assignee;
|
|
21756
21756
|
}
|
|
21757
21757
|
atom() {
|
|
21758
|
-
return this.getTypedRuleContext(
|
|
21758
|
+
return this.getTypedRuleContext(C, 0);
|
|
21759
21759
|
}
|
|
21760
21760
|
ID = function(t) {
|
|
21761
21761
|
return t === void 0 && (t = null), t === null ? this.getTokens(i.ID) : this.getToken(i.ID, t);
|
|
@@ -21782,12 +21782,12 @@ class Ht extends o.ParserRuleContext {
|
|
|
21782
21782
|
t instanceof h && t.exitAssignee(this);
|
|
21783
21783
|
}
|
|
21784
21784
|
}
|
|
21785
|
-
class
|
|
21785
|
+
class Ht extends o.ParserRuleContext {
|
|
21786
21786
|
constructor(t, e, r) {
|
|
21787
21787
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_methodName;
|
|
21788
21788
|
}
|
|
21789
21789
|
name() {
|
|
21790
|
-
return this.getTypedRuleContext(
|
|
21790
|
+
return this.getTypedRuleContext(R, 0);
|
|
21791
21791
|
}
|
|
21792
21792
|
emoji() {
|
|
21793
21793
|
return this.getTypedRuleContext(I, 0);
|
|
@@ -21804,7 +21804,7 @@ let z = class extends o.ParserRuleContext {
|
|
|
21804
21804
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_parameters;
|
|
21805
21805
|
}
|
|
21806
21806
|
parameter = function(t) {
|
|
21807
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
21807
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(G) : this.getTypedRuleContext(G, t);
|
|
21808
21808
|
};
|
|
21809
21809
|
COMMA = function(t) {
|
|
21810
21810
|
return t === void 0 && (t = null), t === null ? this.getTokens(i.COMMA) : this.getToken(i.COMMA, t);
|
|
@@ -21816,15 +21816,15 @@ let z = class extends o.ParserRuleContext {
|
|
|
21816
21816
|
t instanceof h && t.exitParameters(this);
|
|
21817
21817
|
}
|
|
21818
21818
|
};
|
|
21819
|
-
class
|
|
21819
|
+
class G extends o.ParserRuleContext {
|
|
21820
21820
|
constructor(t, e, r) {
|
|
21821
21821
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_parameter;
|
|
21822
21822
|
}
|
|
21823
21823
|
namedParameter() {
|
|
21824
|
-
return this.getTypedRuleContext(
|
|
21824
|
+
return this.getTypedRuleContext(wt, 0);
|
|
21825
21825
|
}
|
|
21826
21826
|
declaration() {
|
|
21827
|
-
return this.getTypedRuleContext(
|
|
21827
|
+
return this.getTypedRuleContext(Ut, 0);
|
|
21828
21828
|
}
|
|
21829
21829
|
expr() {
|
|
21830
21830
|
return this.getTypedRuleContext(l, 0);
|
|
@@ -21836,7 +21836,7 @@ class v extends o.ParserRuleContext {
|
|
|
21836
21836
|
t instanceof h && t.exitParameter(this);
|
|
21837
21837
|
}
|
|
21838
21838
|
}
|
|
21839
|
-
class
|
|
21839
|
+
class wt extends o.ParserRuleContext {
|
|
21840
21840
|
constructor(t, e, r) {
|
|
21841
21841
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_namedParameter;
|
|
21842
21842
|
}
|
|
@@ -21859,12 +21859,12 @@ class Ut extends o.ParserRuleContext {
|
|
|
21859
21859
|
t instanceof h && t.exitNamedParameter(this);
|
|
21860
21860
|
}
|
|
21861
21861
|
}
|
|
21862
|
-
class
|
|
21862
|
+
class Ut extends o.ParserRuleContext {
|
|
21863
21863
|
constructor(t, e, r) {
|
|
21864
21864
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_declaration;
|
|
21865
21865
|
}
|
|
21866
21866
|
type() {
|
|
21867
|
-
return this.getTypedRuleContext(
|
|
21867
|
+
return this.getTypedRuleContext(K, 0);
|
|
21868
21868
|
}
|
|
21869
21869
|
ID() {
|
|
21870
21870
|
return this.getToken(i.ID, 0);
|
|
@@ -21879,18 +21879,18 @@ class Mt extends o.ParserRuleContext {
|
|
|
21879
21879
|
t instanceof h && t.exitDeclaration(this);
|
|
21880
21880
|
}
|
|
21881
21881
|
}
|
|
21882
|
-
class
|
|
21882
|
+
class Mt extends o.ParserRuleContext {
|
|
21883
21883
|
constructor(t, e, r) {
|
|
21884
21884
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_tcf;
|
|
21885
21885
|
}
|
|
21886
21886
|
tryBlock() {
|
|
21887
|
-
return this.getTypedRuleContext(
|
|
21887
|
+
return this.getTypedRuleContext(Bt, 0);
|
|
21888
21888
|
}
|
|
21889
21889
|
catchBlock = function(t) {
|
|
21890
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
21890
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(v) : this.getTypedRuleContext(v, t);
|
|
21891
21891
|
};
|
|
21892
21892
|
finallyBlock() {
|
|
21893
|
-
return this.getTypedRuleContext(
|
|
21893
|
+
return this.getTypedRuleContext(Pt, 0);
|
|
21894
21894
|
}
|
|
21895
21895
|
enterRule(t) {
|
|
21896
21896
|
t instanceof h && t.enterTcf(this);
|
|
@@ -21899,7 +21899,7 @@ class Bt extends o.ParserRuleContext {
|
|
|
21899
21899
|
t instanceof h && t.exitTcf(this);
|
|
21900
21900
|
}
|
|
21901
21901
|
}
|
|
21902
|
-
class
|
|
21902
|
+
class Bt extends o.ParserRuleContext {
|
|
21903
21903
|
constructor(t, e, r) {
|
|
21904
21904
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_tryBlock;
|
|
21905
21905
|
}
|
|
@@ -21907,7 +21907,7 @@ class Pt extends o.ParserRuleContext {
|
|
|
21907
21907
|
return this.getToken(i.TRY, 0);
|
|
21908
21908
|
}
|
|
21909
21909
|
braceBlock() {
|
|
21910
|
-
return this.getTypedRuleContext(
|
|
21910
|
+
return this.getTypedRuleContext(E, 0);
|
|
21911
21911
|
}
|
|
21912
21912
|
enterRule(t) {
|
|
21913
21913
|
t instanceof h && t.enterTryBlock(this);
|
|
@@ -21916,7 +21916,7 @@ class Pt extends o.ParserRuleContext {
|
|
|
21916
21916
|
t instanceof h && t.exitTryBlock(this);
|
|
21917
21917
|
}
|
|
21918
21918
|
}
|
|
21919
|
-
class
|
|
21919
|
+
class v extends o.ParserRuleContext {
|
|
21920
21920
|
constructor(t, e, r) {
|
|
21921
21921
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_catchBlock;
|
|
21922
21922
|
}
|
|
@@ -21924,10 +21924,10 @@ class S extends o.ParserRuleContext {
|
|
|
21924
21924
|
return this.getToken(i.CATCH, 0);
|
|
21925
21925
|
}
|
|
21926
21926
|
braceBlock() {
|
|
21927
|
-
return this.getTypedRuleContext(
|
|
21927
|
+
return this.getTypedRuleContext(E, 0);
|
|
21928
21928
|
}
|
|
21929
21929
|
invocation() {
|
|
21930
|
-
return this.getTypedRuleContext(
|
|
21930
|
+
return this.getTypedRuleContext(Y, 0);
|
|
21931
21931
|
}
|
|
21932
21932
|
enterRule(t) {
|
|
21933
21933
|
t instanceof h && t.enterCatchBlock(this);
|
|
@@ -21936,7 +21936,7 @@ class S extends o.ParserRuleContext {
|
|
|
21936
21936
|
t instanceof h && t.exitCatchBlock(this);
|
|
21937
21937
|
}
|
|
21938
21938
|
}
|
|
21939
|
-
class
|
|
21939
|
+
class Pt extends o.ParserRuleContext {
|
|
21940
21940
|
constructor(t, e, r) {
|
|
21941
21941
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_finallyBlock;
|
|
21942
21942
|
}
|
|
@@ -21944,7 +21944,7 @@ class Dt extends o.ParserRuleContext {
|
|
|
21944
21944
|
return this.getToken(i.FINALLY, 0);
|
|
21945
21945
|
}
|
|
21946
21946
|
braceBlock() {
|
|
21947
|
-
return this.getTypedRuleContext(
|
|
21947
|
+
return this.getTypedRuleContext(E, 0);
|
|
21948
21948
|
}
|
|
21949
21949
|
enterRule(t) {
|
|
21950
21950
|
t instanceof h && t.enterFinallyBlock(this);
|
|
@@ -21953,18 +21953,18 @@ class Dt extends o.ParserRuleContext {
|
|
|
21953
21953
|
t instanceof h && t.exitFinallyBlock(this);
|
|
21954
21954
|
}
|
|
21955
21955
|
}
|
|
21956
|
-
class
|
|
21956
|
+
class Dt extends o.ParserRuleContext {
|
|
21957
21957
|
constructor(t, e, r) {
|
|
21958
21958
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_alt;
|
|
21959
21959
|
}
|
|
21960
21960
|
ifBlock() {
|
|
21961
|
-
return this.getTypedRuleContext(
|
|
21961
|
+
return this.getTypedRuleContext(kt, 0);
|
|
21962
21962
|
}
|
|
21963
21963
|
elseIfBlock = function(t) {
|
|
21964
|
-
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(
|
|
21964
|
+
return t === void 0 && (t = null), t === null ? this.getTypedRuleContexts(S) : this.getTypedRuleContext(S, t);
|
|
21965
21965
|
};
|
|
21966
21966
|
elseBlock() {
|
|
21967
|
-
return this.getTypedRuleContext(
|
|
21967
|
+
return this.getTypedRuleContext(bt, 0);
|
|
21968
21968
|
}
|
|
21969
21969
|
enterRule(t) {
|
|
21970
21970
|
t instanceof h && t.enterAlt(this);
|
|
@@ -21973,7 +21973,7 @@ class kt extends o.ParserRuleContext {
|
|
|
21973
21973
|
t instanceof h && t.exitAlt(this);
|
|
21974
21974
|
}
|
|
21975
21975
|
}
|
|
21976
|
-
let
|
|
21976
|
+
let kt = class extends o.ParserRuleContext {
|
|
21977
21977
|
constructor(t, e, r) {
|
|
21978
21978
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_ifBlock;
|
|
21979
21979
|
}
|
|
@@ -21984,7 +21984,7 @@ let bt = class extends o.ParserRuleContext {
|
|
|
21984
21984
|
return this.getTypedRuleContext(N, 0);
|
|
21985
21985
|
}
|
|
21986
21986
|
braceBlock() {
|
|
21987
|
-
return this.getTypedRuleContext(
|
|
21987
|
+
return this.getTypedRuleContext(E, 0);
|
|
21988
21988
|
}
|
|
21989
21989
|
enterRule(t) {
|
|
21990
21990
|
t instanceof h && t.enterIfBlock(this);
|
|
@@ -21993,7 +21993,7 @@ let bt = class extends o.ParserRuleContext {
|
|
|
21993
21993
|
t instanceof h && t.exitIfBlock(this);
|
|
21994
21994
|
}
|
|
21995
21995
|
};
|
|
21996
|
-
class
|
|
21996
|
+
class S extends o.ParserRuleContext {
|
|
21997
21997
|
constructor(t, e, r) {
|
|
21998
21998
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_elseIfBlock;
|
|
21999
21999
|
}
|
|
@@ -22007,7 +22007,7 @@ class W extends o.ParserRuleContext {
|
|
|
22007
22007
|
return this.getTypedRuleContext(N, 0);
|
|
22008
22008
|
}
|
|
22009
22009
|
braceBlock() {
|
|
22010
|
-
return this.getTypedRuleContext(
|
|
22010
|
+
return this.getTypedRuleContext(E, 0);
|
|
22011
22011
|
}
|
|
22012
22012
|
enterRule(t) {
|
|
22013
22013
|
t instanceof h && t.enterElseIfBlock(this);
|
|
@@ -22016,7 +22016,7 @@ class W extends o.ParserRuleContext {
|
|
|
22016
22016
|
t instanceof h && t.exitElseIfBlock(this);
|
|
22017
22017
|
}
|
|
22018
22018
|
}
|
|
22019
|
-
class
|
|
22019
|
+
class bt extends o.ParserRuleContext {
|
|
22020
22020
|
constructor(t, e, r) {
|
|
22021
22021
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_elseBlock;
|
|
22022
22022
|
}
|
|
@@ -22024,7 +22024,7 @@ class Ft extends o.ParserRuleContext {
|
|
|
22024
22024
|
return this.getToken(i.ELSE, 0);
|
|
22025
22025
|
}
|
|
22026
22026
|
braceBlock() {
|
|
22027
|
-
return this.getTypedRuleContext(
|
|
22027
|
+
return this.getTypedRuleContext(E, 0);
|
|
22028
22028
|
}
|
|
22029
22029
|
enterRule(t) {
|
|
22030
22030
|
t instanceof h && t.enterElseBlock(this);
|
|
@@ -22033,7 +22033,7 @@ class Ft extends o.ParserRuleContext {
|
|
|
22033
22033
|
t instanceof h && t.exitElseBlock(this);
|
|
22034
22034
|
}
|
|
22035
22035
|
}
|
|
22036
|
-
class
|
|
22036
|
+
class E extends o.ParserRuleContext {
|
|
22037
22037
|
constructor(t, e, r) {
|
|
22038
22038
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_braceBlock;
|
|
22039
22039
|
}
|
|
@@ -22044,7 +22044,7 @@ class C extends o.ParserRuleContext {
|
|
|
22044
22044
|
return this.getToken(i.CBRACE, 0);
|
|
22045
22045
|
}
|
|
22046
22046
|
block() {
|
|
22047
|
-
return this.getTypedRuleContext(
|
|
22047
|
+
return this.getTypedRuleContext(W, 0);
|
|
22048
22048
|
}
|
|
22049
22049
|
enterRule(t) {
|
|
22050
22050
|
t instanceof h && t.enterBraceBlock(this);
|
|
@@ -22053,7 +22053,7 @@ class C extends o.ParserRuleContext {
|
|
|
22053
22053
|
t instanceof h && t.exitBraceBlock(this);
|
|
22054
22054
|
}
|
|
22055
22055
|
}
|
|
22056
|
-
let
|
|
22056
|
+
let Ft = class extends o.ParserRuleContext {
|
|
22057
22057
|
constructor(t, e, r) {
|
|
22058
22058
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_loop;
|
|
22059
22059
|
}
|
|
@@ -22064,7 +22064,7 @@ let Gt = class extends o.ParserRuleContext {
|
|
|
22064
22064
|
return this.getTypedRuleContext(N, 0);
|
|
22065
22065
|
}
|
|
22066
22066
|
braceBlock() {
|
|
22067
|
-
return this.getTypedRuleContext(
|
|
22067
|
+
return this.getTypedRuleContext(E, 0);
|
|
22068
22068
|
}
|
|
22069
22069
|
enterRule(t) {
|
|
22070
22070
|
t instanceof h && t.enterLoop(this);
|
|
@@ -22081,12 +22081,12 @@ class l extends o.ParserRuleContext {
|
|
|
22081
22081
|
super.copyFrom(t);
|
|
22082
22082
|
}
|
|
22083
22083
|
}
|
|
22084
|
-
class
|
|
22084
|
+
class Jt extends l {
|
|
22085
22085
|
constructor(t, e) {
|
|
22086
22086
|
super(t), super.copyFrom(e);
|
|
22087
22087
|
}
|
|
22088
22088
|
assignment() {
|
|
22089
|
-
return this.getTypedRuleContext(
|
|
22089
|
+
return this.getTypedRuleContext(P, 0);
|
|
22090
22090
|
}
|
|
22091
22091
|
expr() {
|
|
22092
22092
|
return this.getTypedRuleContext(l, 0);
|
|
@@ -22098,13 +22098,13 @@ class qt extends l {
|
|
|
22098
22098
|
t instanceof h && t.exitAssignmentExpr(this);
|
|
22099
22099
|
}
|
|
22100
22100
|
}
|
|
22101
|
-
i.AssignmentExprContext =
|
|
22102
|
-
class
|
|
22101
|
+
i.AssignmentExprContext = Jt;
|
|
22102
|
+
class Zt extends l {
|
|
22103
22103
|
constructor(t, e) {
|
|
22104
22104
|
super(t), super.copyFrom(e);
|
|
22105
22105
|
}
|
|
22106
22106
|
func() {
|
|
22107
|
-
return this.getTypedRuleContext(
|
|
22107
|
+
return this.getTypedRuleContext($, 0);
|
|
22108
22108
|
}
|
|
22109
22109
|
to() {
|
|
22110
22110
|
return this.getTypedRuleContext(H, 0);
|
|
@@ -22119,13 +22119,13 @@ class te extends l {
|
|
|
22119
22119
|
t instanceof h && t.exitFuncExpr(this);
|
|
22120
22120
|
}
|
|
22121
22121
|
}
|
|
22122
|
-
i.FuncExprContext =
|
|
22123
|
-
class
|
|
22122
|
+
i.FuncExprContext = Zt;
|
|
22123
|
+
class qt extends l {
|
|
22124
22124
|
constructor(t, e) {
|
|
22125
22125
|
super(t), super.copyFrom(e);
|
|
22126
22126
|
}
|
|
22127
22127
|
atom() {
|
|
22128
|
-
return this.getTypedRuleContext(
|
|
22128
|
+
return this.getTypedRuleContext(C, 0);
|
|
22129
22129
|
}
|
|
22130
22130
|
enterRule(t) {
|
|
22131
22131
|
t instanceof h && t.enterAtomExpr(this);
|
|
@@ -22134,8 +22134,8 @@ class ee extends l {
|
|
|
22134
22134
|
t instanceof h && t.exitAtomExpr(this);
|
|
22135
22135
|
}
|
|
22136
22136
|
}
|
|
22137
|
-
i.AtomExprContext =
|
|
22138
|
-
class
|
|
22137
|
+
i.AtomExprContext = qt;
|
|
22138
|
+
class te extends l {
|
|
22139
22139
|
constructor(t, e) {
|
|
22140
22140
|
super(t), super.copyFrom(e);
|
|
22141
22141
|
}
|
|
@@ -22152,8 +22152,8 @@ class ie extends l {
|
|
|
22152
22152
|
t instanceof h && t.exitOrExpr(this);
|
|
22153
22153
|
}
|
|
22154
22154
|
}
|
|
22155
|
-
i.OrExprContext =
|
|
22156
|
-
class
|
|
22155
|
+
i.OrExprContext = te;
|
|
22156
|
+
class ee extends l {
|
|
22157
22157
|
constructor(t, e) {
|
|
22158
22158
|
super(t), this.op = null, super.copyFrom(e);
|
|
22159
22159
|
}
|
|
@@ -22173,8 +22173,8 @@ class re extends l {
|
|
|
22173
22173
|
t instanceof h && t.exitAdditiveExpr(this);
|
|
22174
22174
|
}
|
|
22175
22175
|
}
|
|
22176
|
-
i.AdditiveExprContext =
|
|
22177
|
-
class
|
|
22176
|
+
i.AdditiveExprContext = ee;
|
|
22177
|
+
class ie extends l {
|
|
22178
22178
|
constructor(t, e) {
|
|
22179
22179
|
super(t), this.op = null, super.copyFrom(e);
|
|
22180
22180
|
}
|
|
@@ -22200,8 +22200,8 @@ class se extends l {
|
|
|
22200
22200
|
t instanceof h && t.exitRelationalExpr(this);
|
|
22201
22201
|
}
|
|
22202
22202
|
}
|
|
22203
|
-
i.RelationalExprContext =
|
|
22204
|
-
class
|
|
22203
|
+
i.RelationalExprContext = ie;
|
|
22204
|
+
class re extends l {
|
|
22205
22205
|
constructor(t, e) {
|
|
22206
22206
|
super(t), super.copyFrom(e);
|
|
22207
22207
|
}
|
|
@@ -22218,8 +22218,8 @@ class ne extends l {
|
|
|
22218
22218
|
t instanceof h && t.exitPlusExpr(this);
|
|
22219
22219
|
}
|
|
22220
22220
|
}
|
|
22221
|
-
i.PlusExprContext =
|
|
22222
|
-
class
|
|
22221
|
+
i.PlusExprContext = re;
|
|
22222
|
+
class se extends l {
|
|
22223
22223
|
constructor(t, e) {
|
|
22224
22224
|
super(t), super.copyFrom(e);
|
|
22225
22225
|
}
|
|
@@ -22236,8 +22236,8 @@ class oe extends l {
|
|
|
22236
22236
|
t instanceof h && t.exitNotExpr(this);
|
|
22237
22237
|
}
|
|
22238
22238
|
}
|
|
22239
|
-
i.NotExprContext =
|
|
22240
|
-
class
|
|
22239
|
+
i.NotExprContext = se;
|
|
22240
|
+
class ne extends l {
|
|
22241
22241
|
constructor(t, e) {
|
|
22242
22242
|
super(t), super.copyFrom(e);
|
|
22243
22243
|
}
|
|
@@ -22254,8 +22254,8 @@ class he extends l {
|
|
|
22254
22254
|
t instanceof h && t.exitUnaryMinusExpr(this);
|
|
22255
22255
|
}
|
|
22256
22256
|
}
|
|
22257
|
-
i.UnaryMinusExprContext =
|
|
22258
|
-
class
|
|
22257
|
+
i.UnaryMinusExprContext = ne;
|
|
22258
|
+
class oe extends l {
|
|
22259
22259
|
constructor(t, e) {
|
|
22260
22260
|
super(t), super.copyFrom(e);
|
|
22261
22261
|
}
|
|
@@ -22269,8 +22269,8 @@ class ae extends l {
|
|
|
22269
22269
|
t instanceof h && t.exitCreationExpr(this);
|
|
22270
22270
|
}
|
|
22271
22271
|
}
|
|
22272
|
-
i.CreationExprContext =
|
|
22273
|
-
class
|
|
22272
|
+
i.CreationExprContext = oe;
|
|
22273
|
+
class he extends l {
|
|
22274
22274
|
constructor(t, e) {
|
|
22275
22275
|
super(t), super.copyFrom(e);
|
|
22276
22276
|
}
|
|
@@ -22290,8 +22290,8 @@ class ce extends l {
|
|
|
22290
22290
|
t instanceof h && t.exitParenthesizedExpr(this);
|
|
22291
22291
|
}
|
|
22292
22292
|
}
|
|
22293
|
-
i.ParenthesizedExprContext =
|
|
22294
|
-
class
|
|
22293
|
+
i.ParenthesizedExprContext = he;
|
|
22294
|
+
class ae extends l {
|
|
22295
22295
|
constructor(t, e) {
|
|
22296
22296
|
super(t), this.op = null, super.copyFrom(e);
|
|
22297
22297
|
}
|
|
@@ -22314,8 +22314,8 @@ class le extends l {
|
|
|
22314
22314
|
t instanceof h && t.exitMultiplicationExpr(this);
|
|
22315
22315
|
}
|
|
22316
22316
|
}
|
|
22317
|
-
i.MultiplicationExprContext =
|
|
22318
|
-
class
|
|
22317
|
+
i.MultiplicationExprContext = ae;
|
|
22318
|
+
class ce extends l {
|
|
22319
22319
|
constructor(t, e) {
|
|
22320
22320
|
super(t), this.op = null, super.copyFrom(e);
|
|
22321
22321
|
}
|
|
@@ -22335,8 +22335,8 @@ class ue extends l {
|
|
|
22335
22335
|
t instanceof h && t.exitEqualityExpr(this);
|
|
22336
22336
|
}
|
|
22337
22337
|
}
|
|
22338
|
-
i.EqualityExprContext =
|
|
22339
|
-
class
|
|
22338
|
+
i.EqualityExprContext = ce;
|
|
22339
|
+
class le extends l {
|
|
22340
22340
|
constructor(t, e) {
|
|
22341
22341
|
super(t), super.copyFrom(e);
|
|
22342
22342
|
}
|
|
@@ -22353,8 +22353,8 @@ class xe extends l {
|
|
|
22353
22353
|
t instanceof h && t.exitAndExpr(this);
|
|
22354
22354
|
}
|
|
22355
22355
|
}
|
|
22356
|
-
i.AndExprContext =
|
|
22357
|
-
class
|
|
22356
|
+
i.AndExprContext = le;
|
|
22357
|
+
class C extends o.ParserRuleContext {
|
|
22358
22358
|
constructor(t, e, r) {
|
|
22359
22359
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_atom;
|
|
22360
22360
|
}
|
|
@@ -22362,7 +22362,7 @@ class _ extends o.ParserRuleContext {
|
|
|
22362
22362
|
super.copyFrom(t);
|
|
22363
22363
|
}
|
|
22364
22364
|
}
|
|
22365
|
-
class
|
|
22365
|
+
class ue extends C {
|
|
22366
22366
|
constructor(t, e) {
|
|
22367
22367
|
super(t), super.copyFrom(e);
|
|
22368
22368
|
}
|
|
@@ -22379,8 +22379,8 @@ class pe extends _ {
|
|
|
22379
22379
|
t instanceof h && t.exitBooleanAtom(this);
|
|
22380
22380
|
}
|
|
22381
22381
|
}
|
|
22382
|
-
i.BooleanAtomContext =
|
|
22383
|
-
class
|
|
22382
|
+
i.BooleanAtomContext = ue;
|
|
22383
|
+
class xe extends C {
|
|
22384
22384
|
constructor(t, e) {
|
|
22385
22385
|
super(t), super.copyFrom(e);
|
|
22386
22386
|
}
|
|
@@ -22394,8 +22394,8 @@ class de extends _ {
|
|
|
22394
22394
|
t instanceof h && t.exitIdAtom(this);
|
|
22395
22395
|
}
|
|
22396
22396
|
}
|
|
22397
|
-
i.IdAtomContext =
|
|
22398
|
-
class
|
|
22397
|
+
i.IdAtomContext = xe;
|
|
22398
|
+
class pe extends C {
|
|
22399
22399
|
constructor(t, e) {
|
|
22400
22400
|
super(t), super.copyFrom(e);
|
|
22401
22401
|
}
|
|
@@ -22409,8 +22409,8 @@ class fe extends _ {
|
|
|
22409
22409
|
t instanceof h && t.exitMoneyAtom(this);
|
|
22410
22410
|
}
|
|
22411
22411
|
}
|
|
22412
|
-
i.MoneyAtomContext =
|
|
22413
|
-
class
|
|
22412
|
+
i.MoneyAtomContext = pe;
|
|
22413
|
+
class de extends C {
|
|
22414
22414
|
constructor(t, e) {
|
|
22415
22415
|
super(t), super.copyFrom(e);
|
|
22416
22416
|
}
|
|
@@ -22427,8 +22427,8 @@ class Re extends _ {
|
|
|
22427
22427
|
t instanceof h && t.exitStringAtom(this);
|
|
22428
22428
|
}
|
|
22429
22429
|
}
|
|
22430
|
-
i.StringAtomContext =
|
|
22431
|
-
class
|
|
22430
|
+
i.StringAtomContext = de;
|
|
22431
|
+
class fe extends C {
|
|
22432
22432
|
constructor(t, e) {
|
|
22433
22433
|
super(t), super.copyFrom(e);
|
|
22434
22434
|
}
|
|
@@ -22442,8 +22442,8 @@ class Ee extends _ {
|
|
|
22442
22442
|
t instanceof h && t.exitNilAtom(this);
|
|
22443
22443
|
}
|
|
22444
22444
|
}
|
|
22445
|
-
i.NilAtomContext =
|
|
22446
|
-
class
|
|
22445
|
+
i.NilAtomContext = fe;
|
|
22446
|
+
class Re extends C {
|
|
22447
22447
|
constructor(t, e) {
|
|
22448
22448
|
super(t), super.copyFrom(e);
|
|
22449
22449
|
}
|
|
@@ -22460,8 +22460,8 @@ class Te extends _ {
|
|
|
22460
22460
|
t instanceof h && t.exitNumberAtom(this);
|
|
22461
22461
|
}
|
|
22462
22462
|
}
|
|
22463
|
-
i.NumberAtomContext =
|
|
22464
|
-
class
|
|
22463
|
+
i.NumberAtomContext = Re;
|
|
22464
|
+
class Ee extends C {
|
|
22465
22465
|
constructor(t, e) {
|
|
22466
22466
|
super(t), super.copyFrom(e);
|
|
22467
22467
|
}
|
|
@@ -22475,8 +22475,8 @@ class Ce extends _ {
|
|
|
22475
22475
|
t instanceof h && t.exitNumberUnitAtom(this);
|
|
22476
22476
|
}
|
|
22477
22477
|
}
|
|
22478
|
-
i.NumberUnitAtomContext =
|
|
22479
|
-
class
|
|
22478
|
+
i.NumberUnitAtomContext = Ee;
|
|
22479
|
+
class Te extends C {
|
|
22480
22480
|
constructor(t, e) {
|
|
22481
22481
|
super(t), super.copyFrom(e);
|
|
22482
22482
|
}
|
|
@@ -22490,7 +22490,7 @@ class _e extends _ {
|
|
|
22490
22490
|
t instanceof h && t.exitDigitLeadingNameAtom(this);
|
|
22491
22491
|
}
|
|
22492
22492
|
}
|
|
22493
|
-
i.DigitLeadingNameAtomContext =
|
|
22493
|
+
i.DigitLeadingNameAtomContext = Te;
|
|
22494
22494
|
class N extends o.ParserRuleContext {
|
|
22495
22495
|
constructor(t, e, r) {
|
|
22496
22496
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_parExpr;
|
|
@@ -22499,7 +22499,7 @@ class N extends o.ParserRuleContext {
|
|
|
22499
22499
|
return this.getToken(i.OPAR, 0);
|
|
22500
22500
|
}
|
|
22501
22501
|
condition() {
|
|
22502
|
-
return this.getTypedRuleContext(
|
|
22502
|
+
return this.getTypedRuleContext(Gt, 0);
|
|
22503
22503
|
}
|
|
22504
22504
|
CPAR() {
|
|
22505
22505
|
return this.getToken(i.CPAR, 0);
|
|
@@ -22511,21 +22511,21 @@ class N extends o.ParserRuleContext {
|
|
|
22511
22511
|
t instanceof h && t.exitParExpr(this);
|
|
22512
22512
|
}
|
|
22513
22513
|
}
|
|
22514
|
-
class
|
|
22514
|
+
class Gt extends o.ParserRuleContext {
|
|
22515
22515
|
constructor(t, e, r) {
|
|
22516
22516
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_condition;
|
|
22517
22517
|
}
|
|
22518
22518
|
atom() {
|
|
22519
|
-
return this.getTypedRuleContext(
|
|
22519
|
+
return this.getTypedRuleContext(C, 0);
|
|
22520
22520
|
}
|
|
22521
22521
|
expr() {
|
|
22522
22522
|
return this.getTypedRuleContext(l, 0);
|
|
22523
22523
|
}
|
|
22524
22524
|
inExpr() {
|
|
22525
|
-
return this.getTypedRuleContext(
|
|
22525
|
+
return this.getTypedRuleContext(vt, 0);
|
|
22526
22526
|
}
|
|
22527
22527
|
textExpr() {
|
|
22528
|
-
return this.getTypedRuleContext(
|
|
22528
|
+
return this.getTypedRuleContext(St, 0);
|
|
22529
22529
|
}
|
|
22530
22530
|
enterRule(t) {
|
|
22531
22531
|
t instanceof h && t.enterCondition(this);
|
|
@@ -22534,7 +22534,7 @@ class vt extends o.ParserRuleContext {
|
|
|
22534
22534
|
t instanceof h && t.exitCondition(this);
|
|
22535
22535
|
}
|
|
22536
22536
|
}
|
|
22537
|
-
class
|
|
22537
|
+
class vt extends o.ParserRuleContext {
|
|
22538
22538
|
constructor(t, e, r) {
|
|
22539
22539
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_inExpr;
|
|
22540
22540
|
}
|
|
@@ -22554,7 +22554,7 @@ class St extends o.ParserRuleContext {
|
|
|
22554
22554
|
t instanceof h && t.exitInExpr(this);
|
|
22555
22555
|
}
|
|
22556
22556
|
}
|
|
22557
|
-
class
|
|
22557
|
+
class St extends o.ParserRuleContext {
|
|
22558
22558
|
constructor(t, e, r) {
|
|
22559
22559
|
e === void 0 && (e = null), r == null && (r = -1), super(e, r), this.parser = t, this.ruleIndex = i.RULE_textExpr;
|
|
22560
22560
|
}
|
|
@@ -22574,69 +22574,73 @@ class Wt extends o.ParserRuleContext {
|
|
|
22574
22574
|
t instanceof h && t.exitTextExpr(this);
|
|
22575
22575
|
}
|
|
22576
22576
|
}
|
|
22577
|
-
i.ProgContext =
|
|
22578
|
-
i.TitleContext =
|
|
22579
|
-
i.HeadContext =
|
|
22580
|
-
i.GroupContext =
|
|
22581
|
-
i.StarterExpContext =
|
|
22582
|
-
i.StarterContext =
|
|
22577
|
+
i.ProgContext = Xt;
|
|
22578
|
+
i.TitleContext = ot;
|
|
22579
|
+
i.HeadContext = ht;
|
|
22580
|
+
i.GroupContext = k;
|
|
22581
|
+
i.StarterExpContext = at;
|
|
22582
|
+
i.StarterContext = ct;
|
|
22583
22583
|
i.ParticipantContext = O;
|
|
22584
|
-
i.StereotypeContext =
|
|
22585
|
-
i.LabelContext =
|
|
22586
|
-
i.ParticipantTypeContext =
|
|
22587
|
-
i.NameContext =
|
|
22588
|
-
i.WidthContext =
|
|
22584
|
+
i.StereotypeContext = lt;
|
|
22585
|
+
i.LabelContext = ut;
|
|
22586
|
+
i.ParticipantTypeContext = xt;
|
|
22587
|
+
i.NameContext = R;
|
|
22588
|
+
i.WidthContext = pt;
|
|
22589
22589
|
i.EmojiContext = I;
|
|
22590
|
-
i.BlockContext =
|
|
22591
|
-
i.RetContext =
|
|
22592
|
-
i.ReturnAsyncMessageContext =
|
|
22593
|
-
i.DividerContext =
|
|
22594
|
-
i.DividerNoteContext =
|
|
22595
|
-
i.StatContext =
|
|
22596
|
-
i.ParContext =
|
|
22597
|
-
i.OptContext =
|
|
22598
|
-
i.CriticalContext =
|
|
22599
|
-
i.SectionContext =
|
|
22590
|
+
i.BlockContext = W;
|
|
22591
|
+
i.RetContext = dt;
|
|
22592
|
+
i.ReturnAsyncMessageContext = ft;
|
|
22593
|
+
i.DividerContext = Rt;
|
|
22594
|
+
i.DividerNoteContext = Et;
|
|
22595
|
+
i.StatContext = b;
|
|
22596
|
+
i.ParContext = Tt;
|
|
22597
|
+
i.OptContext = Ct;
|
|
22598
|
+
i.CriticalContext = _t;
|
|
22599
|
+
i.SectionContext = At;
|
|
22600
22600
|
i.CreationContext = V;
|
|
22601
|
-
i.RefContext =
|
|
22602
|
-
i.CreationBodyContext =
|
|
22603
|
-
i.MessageContext =
|
|
22604
|
-
i.MessageBodyContext =
|
|
22605
|
-
i.FromToContext =
|
|
22606
|
-
i.FuncContext =
|
|
22607
|
-
i.FromContext =
|
|
22601
|
+
i.RefContext = yt;
|
|
22602
|
+
i.CreationBodyContext = mt;
|
|
22603
|
+
i.MessageContext = Lt;
|
|
22604
|
+
i.MessageBodyContext = Nt;
|
|
22605
|
+
i.FromToContext = gt;
|
|
22606
|
+
i.FuncContext = $;
|
|
22607
|
+
i.FromContext = B;
|
|
22608
22608
|
i.ToContext = H;
|
|
22609
|
-
i.SignatureContext =
|
|
22610
|
-
i.InvocationContext =
|
|
22611
|
-
i.AssignmentContext =
|
|
22612
|
-
i.AsyncMessageContext =
|
|
22613
|
-
i.ContentContext =
|
|
22614
|
-
i.ConstructContext =
|
|
22615
|
-
i.TypeContext =
|
|
22616
|
-
i.AssigneeContext =
|
|
22617
|
-
i.MethodNameContext =
|
|
22609
|
+
i.SignatureContext = F;
|
|
22610
|
+
i.InvocationContext = Y;
|
|
22611
|
+
i.AssignmentContext = P;
|
|
22612
|
+
i.AsyncMessageContext = Q;
|
|
22613
|
+
i.ContentContext = j;
|
|
22614
|
+
i.ConstructContext = Ot;
|
|
22615
|
+
i.TypeContext = K;
|
|
22616
|
+
i.AssigneeContext = It;
|
|
22617
|
+
i.MethodNameContext = Ht;
|
|
22618
22618
|
i.ParametersContext = z;
|
|
22619
|
-
i.ParameterContext =
|
|
22620
|
-
i.NamedParameterContext =
|
|
22621
|
-
i.DeclarationContext =
|
|
22622
|
-
i.TcfContext =
|
|
22623
|
-
i.TryBlockContext =
|
|
22624
|
-
i.CatchBlockContext =
|
|
22625
|
-
i.FinallyBlockContext =
|
|
22626
|
-
i.AltContext =
|
|
22627
|
-
i.IfBlockContext =
|
|
22628
|
-
i.ElseIfBlockContext =
|
|
22629
|
-
i.ElseBlockContext =
|
|
22630
|
-
i.BraceBlockContext =
|
|
22631
|
-
i.LoopContext =
|
|
22619
|
+
i.ParameterContext = G;
|
|
22620
|
+
i.NamedParameterContext = wt;
|
|
22621
|
+
i.DeclarationContext = Ut;
|
|
22622
|
+
i.TcfContext = Mt;
|
|
22623
|
+
i.TryBlockContext = Bt;
|
|
22624
|
+
i.CatchBlockContext = v;
|
|
22625
|
+
i.FinallyBlockContext = Pt;
|
|
22626
|
+
i.AltContext = Dt;
|
|
22627
|
+
i.IfBlockContext = kt;
|
|
22628
|
+
i.ElseIfBlockContext = S;
|
|
22629
|
+
i.ElseBlockContext = bt;
|
|
22630
|
+
i.BraceBlockContext = E;
|
|
22631
|
+
i.LoopContext = Ft;
|
|
22632
22632
|
i.ExprContext = l;
|
|
22633
|
-
i.AtomContext =
|
|
22633
|
+
i.AtomContext = C;
|
|
22634
22634
|
i.ParExprContext = N;
|
|
22635
|
-
i.ConditionContext =
|
|
22636
|
-
i.InExprContext =
|
|
22637
|
-
i.TextExprContext =
|
|
22638
|
-
class
|
|
22635
|
+
i.ConditionContext = Gt;
|
|
22636
|
+
i.InExprContext = vt;
|
|
22637
|
+
i.TextExprContext = St;
|
|
22638
|
+
class Se {
|
|
22639
22639
|
name;
|
|
22640
|
+
// Fields the renderer-facing ParticipantView (ir/contract.ts) exposes are
|
|
22641
|
+
// public; they were already fully exposed via ToValue(), so the previous
|
|
22642
|
+
// `private` was inconsistent encapsulation. `width` stays private — it is not
|
|
22643
|
+
// part of ParticipantView.
|
|
22640
22644
|
stereotype;
|
|
22641
22645
|
width;
|
|
22642
22646
|
groupId;
|
|
@@ -22691,13 +22695,13 @@ class Qe {
|
|
|
22691
22695
|
};
|
|
22692
22696
|
}
|
|
22693
22697
|
}
|
|
22694
|
-
|
|
22698
|
+
class Qt {
|
|
22695
22699
|
participants = /* @__PURE__ */ new Map();
|
|
22696
22700
|
Add(t, e = {}) {
|
|
22697
22701
|
if (!t)
|
|
22698
22702
|
throw new Error("Participant name is required");
|
|
22699
22703
|
let r = this.Get(t);
|
|
22700
|
-
r ? r?.mergeOptions(e) : (r = new
|
|
22704
|
+
r ? r?.mergeOptions(e) : (r = new Se(t, e), this.participants.set(t, r));
|
|
22701
22705
|
const { position: n, assigneePosition: c } = e;
|
|
22702
22706
|
n && r.AddPosition(n), c && r.assigneePositions.add(c);
|
|
22703
22707
|
}
|
|
@@ -22734,185 +22738,186 @@ let jt = class {
|
|
|
22734
22738
|
GetAssigneePositions(t) {
|
|
22735
22739
|
return this.participants.get(t)?.assigneePositions;
|
|
22736
22740
|
}
|
|
22737
|
-
}
|
|
22738
|
-
|
|
22741
|
+
}
|
|
22742
|
+
let f, g = !1, Wt;
|
|
22743
|
+
const _ = new h(), We = function(s) {
|
|
22739
22744
|
if (g) return;
|
|
22740
22745
|
const t = s?.participantType()?.getFormattedText().replace("@", ""), e = s?.name()?.getFormattedText() || "Missing `Participant`", r = s.stereotype()?.name()?.getFormattedText(), n = s.emoji?.()?.name?.()?.getFormattedText(), c = s.width && s.width() && Number.parseInt(s.width().getText()) || void 0, x = s.label && s.label(), p = x?.name()?.getFormattedText(), m = !0, L = s.COLOR()?.getText(), A = s.getComment(), y = s.name();
|
|
22741
|
-
let M,
|
|
22746
|
+
let M, q;
|
|
22742
22747
|
if (x) {
|
|
22743
|
-
const
|
|
22744
|
-
|
|
22745
|
-
} else y && (M = y.start.start,
|
|
22746
|
-
|
|
22748
|
+
const tt = x.name();
|
|
22749
|
+
tt && (M = tt.start.start, q = tt.stop.stop + 1);
|
|
22750
|
+
} else y && (M = y.start.start, q = y.stop.stop + 1);
|
|
22751
|
+
f.Add(e, {
|
|
22747
22752
|
isStarter: !1,
|
|
22748
22753
|
type: t,
|
|
22749
22754
|
stereotype: r,
|
|
22750
22755
|
emoji: n,
|
|
22751
22756
|
width: c,
|
|
22752
|
-
groupId:
|
|
22757
|
+
groupId: Wt,
|
|
22753
22758
|
label: p,
|
|
22754
22759
|
explicit: m,
|
|
22755
22760
|
color: L,
|
|
22756
22761
|
comment: A,
|
|
22757
|
-
position: [M,
|
|
22762
|
+
position: [M, q]
|
|
22758
22763
|
});
|
|
22759
22764
|
};
|
|
22760
|
-
|
|
22761
|
-
const
|
|
22765
|
+
_.enterParticipant = We;
|
|
22766
|
+
const Ce = function(s) {
|
|
22762
22767
|
if (g) return;
|
|
22763
22768
|
let t = s.name?.()?.getFormattedText() || s.getFormattedText();
|
|
22764
|
-
const e = s.emoji?.()?.name?.()?.getFormattedText(), r =
|
|
22769
|
+
const e = s.emoji?.()?.name?.()?.getFormattedText(), r = f.Get(t);
|
|
22765
22770
|
if (r?.label)
|
|
22766
|
-
|
|
22771
|
+
f.Add(t, { isStarter: !1, emoji: e });
|
|
22767
22772
|
else if (r?.assignee) {
|
|
22768
22773
|
const c = [s.start.start + r.assignee.length + 2, s.stop.stop], x = [
|
|
22769
22774
|
s.start.start + 1,
|
|
22770
22775
|
s.start.start + r.assignee.length + 1
|
|
22771
22776
|
];
|
|
22772
|
-
|
|
22777
|
+
f.Add(t, {
|
|
22773
22778
|
isStarter: !1,
|
|
22774
22779
|
emoji: e,
|
|
22775
22780
|
position: c,
|
|
22776
22781
|
assigneePosition: x
|
|
22777
22782
|
});
|
|
22778
22783
|
} else
|
|
22779
|
-
|
|
22784
|
+
f.Add(t, {
|
|
22780
22785
|
isStarter: !1,
|
|
22781
22786
|
emoji: e,
|
|
22782
22787
|
position: [s.start.start, s.stop.stop + 1]
|
|
22783
22788
|
});
|
|
22784
22789
|
};
|
|
22785
|
-
|
|
22786
|
-
|
|
22787
|
-
|
|
22790
|
+
_.enterFrom = Ce;
|
|
22791
|
+
_.enterTo = Ce;
|
|
22792
|
+
_.enterStarter = function(s) {
|
|
22788
22793
|
let t = s.getFormattedText();
|
|
22789
|
-
|
|
22794
|
+
f.Add(t, {
|
|
22790
22795
|
isStarter: !0,
|
|
22791
22796
|
position: [s.start.start, s.stop.stop + 1]
|
|
22792
22797
|
});
|
|
22793
22798
|
};
|
|
22794
|
-
|
|
22799
|
+
_.enterCreation = function(s) {
|
|
22795
22800
|
if (g) return;
|
|
22796
|
-
const t = s.Owner(), e = s?.creationBody()?.construct(), r =
|
|
22801
|
+
const t = s.Owner(), e = s?.creationBody()?.construct(), r = f.Get(t);
|
|
22797
22802
|
if (e && !r?.label) {
|
|
22798
22803
|
const n = s.Assignee(), c = s.AssigneePosition();
|
|
22799
|
-
|
|
22804
|
+
f.Add(t, {
|
|
22800
22805
|
isStarter: !1,
|
|
22801
22806
|
position: [e.start.start, e.stop.stop + 1],
|
|
22802
22807
|
assignee: n,
|
|
22803
22808
|
assigneePosition: c
|
|
22804
22809
|
});
|
|
22805
22810
|
} else
|
|
22806
|
-
|
|
22811
|
+
f.Add(t, {
|
|
22807
22812
|
isStarter: !1
|
|
22808
22813
|
});
|
|
22809
22814
|
};
|
|
22810
|
-
|
|
22815
|
+
_.enterRef = function(s) {
|
|
22811
22816
|
s.Participants().forEach((t) => {
|
|
22812
|
-
|
|
22817
|
+
f.Add(t.getText(), {
|
|
22813
22818
|
isStarter: !1,
|
|
22814
22819
|
position: [t.start.start, t.stop.stop + 1]
|
|
22815
22820
|
});
|
|
22816
22821
|
});
|
|
22817
22822
|
};
|
|
22818
|
-
|
|
22823
|
+
_.enterParameters = function() {
|
|
22819
22824
|
g = !0;
|
|
22820
22825
|
};
|
|
22821
|
-
|
|
22826
|
+
_.exitParameters = function() {
|
|
22822
22827
|
g = !1;
|
|
22823
22828
|
};
|
|
22824
|
-
|
|
22829
|
+
_.enterCondition = function() {
|
|
22825
22830
|
g = !0;
|
|
22826
22831
|
};
|
|
22827
|
-
|
|
22832
|
+
_.exitCondition = function() {
|
|
22828
22833
|
g = !1;
|
|
22829
22834
|
};
|
|
22830
|
-
|
|
22831
|
-
|
|
22835
|
+
_.enterGroup = function(s) {
|
|
22836
|
+
Wt = s.name()?.getFormattedText();
|
|
22832
22837
|
};
|
|
22833
|
-
|
|
22834
|
-
|
|
22838
|
+
_.exitGroup = function() {
|
|
22839
|
+
Wt = void 0;
|
|
22835
22840
|
};
|
|
22836
|
-
|
|
22841
|
+
_.enterRet = function(s) {
|
|
22837
22842
|
if (s.asyncMessage())
|
|
22838
22843
|
return;
|
|
22839
22844
|
const t = s.From();
|
|
22840
|
-
t &&
|
|
22845
|
+
t && f.Add(t);
|
|
22841
22846
|
const e = s.ReturnTo();
|
|
22842
|
-
e &&
|
|
22847
|
+
e && f.Add(e);
|
|
22843
22848
|
};
|
|
22844
|
-
const
|
|
22845
|
-
|
|
22846
|
-
if (!s) return new
|
|
22847
|
-
const t =
|
|
22848
|
-
return t || (
|
|
22849
|
+
const Ve = o.tree.ParseTreeWalker.DEFAULT, jt = /* @__PURE__ */ new WeakMap();
|
|
22850
|
+
_.getParticipants = function(s) {
|
|
22851
|
+
if (!s) return new Qt();
|
|
22852
|
+
const t = jt.get(s);
|
|
22853
|
+
return t || (f = new Qt(), Ve.walk(this, s), jt.set(s, f), f);
|
|
22849
22854
|
};
|
|
22850
|
-
const
|
|
22851
|
-
let
|
|
22852
|
-
|
|
22855
|
+
const $e = o.tree.ParseTreeWalker.DEFAULT;
|
|
22856
|
+
let T = new h(), u = 0, d = 0;
|
|
22857
|
+
T.enterTcf = function() {
|
|
22853
22858
|
u++;
|
|
22854
22859
|
};
|
|
22855
|
-
|
|
22860
|
+
T.enterOpt = function() {
|
|
22856
22861
|
u++;
|
|
22857
22862
|
};
|
|
22858
|
-
|
|
22863
|
+
T.enterPar = function() {
|
|
22859
22864
|
u++;
|
|
22860
22865
|
};
|
|
22861
|
-
|
|
22866
|
+
T.enterAlt = function() {
|
|
22862
22867
|
u++;
|
|
22863
22868
|
};
|
|
22864
|
-
|
|
22869
|
+
T.enterLoop = function() {
|
|
22865
22870
|
u++;
|
|
22866
22871
|
};
|
|
22867
|
-
|
|
22872
|
+
T.enterSection = function() {
|
|
22868
22873
|
u++;
|
|
22869
22874
|
};
|
|
22870
|
-
|
|
22875
|
+
T.enterCritical = function() {
|
|
22871
22876
|
u++;
|
|
22872
22877
|
};
|
|
22873
|
-
|
|
22874
|
-
|
|
22878
|
+
T.exitTcf = function() {
|
|
22879
|
+
d = Math.max(d, u), u--;
|
|
22875
22880
|
};
|
|
22876
|
-
|
|
22877
|
-
|
|
22881
|
+
T.exitOpt = function() {
|
|
22882
|
+
d = Math.max(d, u), u--;
|
|
22878
22883
|
};
|
|
22879
|
-
|
|
22880
|
-
|
|
22884
|
+
T.exitPar = function() {
|
|
22885
|
+
d = Math.max(d, u), u--;
|
|
22881
22886
|
};
|
|
22882
|
-
|
|
22883
|
-
|
|
22887
|
+
T.exitAlt = function() {
|
|
22888
|
+
d = Math.max(d, u), u--;
|
|
22884
22889
|
};
|
|
22885
|
-
|
|
22886
|
-
|
|
22890
|
+
T.exitLoop = function() {
|
|
22891
|
+
d = Math.max(d, u), u--;
|
|
22887
22892
|
};
|
|
22888
|
-
|
|
22889
|
-
|
|
22893
|
+
T.exitSection = function() {
|
|
22894
|
+
d = Math.max(d, u), u--;
|
|
22890
22895
|
};
|
|
22891
|
-
|
|
22892
|
-
|
|
22896
|
+
T.exitCritical = function() {
|
|
22897
|
+
d = Math.max(d, u), u--;
|
|
22893
22898
|
};
|
|
22894
|
-
|
|
22899
|
+
T.depth = function(s) {
|
|
22895
22900
|
return function(t) {
|
|
22896
|
-
return u = 0,
|
|
22897
|
-
|
|
22898
|
-
}),
|
|
22901
|
+
return u = 0, d = 0, t.children.map(function(e) {
|
|
22902
|
+
$e.walk(s, e);
|
|
22903
|
+
}), d;
|
|
22899
22904
|
};
|
|
22900
22905
|
};
|
|
22901
|
-
const
|
|
22902
|
-
|
|
22906
|
+
const Ye = i, Qe = Ye.TitleContext;
|
|
22907
|
+
Qe.prototype.content = function() {
|
|
22903
22908
|
return this.children.length < 2 ? "" : this.children[1].getText().trim();
|
|
22904
22909
|
};
|
|
22905
|
-
const
|
|
22906
|
-
|
|
22907
|
-
|
|
22908
|
-
return
|
|
22910
|
+
const _e = i, st = _e.CreationContext;
|
|
22911
|
+
st.prototype.Body = st.prototype.creationBody;
|
|
22912
|
+
st.prototype.isCurrent = function(s) {
|
|
22913
|
+
return Ae.bind(this)(s);
|
|
22909
22914
|
};
|
|
22910
|
-
const
|
|
22911
|
-
|
|
22912
|
-
|
|
22913
|
-
return
|
|
22915
|
+
const nt = _e.MessageContext;
|
|
22916
|
+
nt.prototype.Body = nt.prototype.messageBody;
|
|
22917
|
+
nt.prototype.isCurrent = function(s) {
|
|
22918
|
+
return Ae.bind(this)(s);
|
|
22914
22919
|
};
|
|
22915
|
-
function
|
|
22920
|
+
function Ae(s) {
|
|
22916
22921
|
try {
|
|
22917
22922
|
if (s == null) return !1;
|
|
22918
22923
|
const t = this.start.start, e = this.Body().stop.stop + 1;
|
|
@@ -22921,7 +22926,7 @@ function me(s) {
|
|
|
22921
22926
|
return !1;
|
|
22922
22927
|
}
|
|
22923
22928
|
}
|
|
22924
|
-
const
|
|
22929
|
+
const D = i, w = D.CreationContext, Vt = D.MessageContext, ye = D.AsyncMessageContext, me = D.ReturnAsyncMessageContext, Le = D.RetContext;
|
|
22925
22930
|
w.prototype.Assignee = function() {
|
|
22926
22931
|
return this.creationBody()?.assignment()?.assignee()?.getFormattedText();
|
|
22927
22932
|
};
|
|
@@ -22947,84 +22952,84 @@ Vt.prototype.To = function() {
|
|
|
22947
22952
|
return s?.name?.()?.getFormattedText() || s?.getFormattedText();
|
|
22948
22953
|
};
|
|
22949
22954
|
Vt.prototype.Owner = function() {
|
|
22950
|
-
return this.To() ||
|
|
22955
|
+
return this.To() || X(this.parentCtx);
|
|
22951
22956
|
};
|
|
22952
|
-
function
|
|
22957
|
+
function X(s) {
|
|
22953
22958
|
for (; s; ) {
|
|
22954
22959
|
if (s instanceof w || s instanceof Vt)
|
|
22955
22960
|
return s.Owner();
|
|
22956
22961
|
s = s.parentCtx;
|
|
22957
22962
|
}
|
|
22958
22963
|
}
|
|
22959
|
-
|
|
22964
|
+
ye.prototype.To = function() {
|
|
22960
22965
|
const s = this.to();
|
|
22961
22966
|
return s?.name?.()?.getFormattedText() || s?.getFormattedText();
|
|
22962
22967
|
};
|
|
22963
|
-
|
|
22964
|
-
return this.To() ||
|
|
22968
|
+
ye.prototype.Owner = function() {
|
|
22969
|
+
return this.To() || X(this.parentCtx);
|
|
22965
22970
|
};
|
|
22966
|
-
|
|
22971
|
+
me.prototype.To = function() {
|
|
22967
22972
|
const s = this.to();
|
|
22968
22973
|
return s?.name?.()?.getFormattedText() || s?.getFormattedText();
|
|
22969
22974
|
};
|
|
22970
|
-
|
|
22971
|
-
return this.To() ||
|
|
22975
|
+
me.prototype.Owner = function() {
|
|
22976
|
+
return this.To() || X(this.parentCtx);
|
|
22972
22977
|
};
|
|
22973
|
-
|
|
22978
|
+
Le.prototype.To = function() {
|
|
22974
22979
|
return this.ReturnTo();
|
|
22975
22980
|
};
|
|
22976
|
-
|
|
22977
|
-
return this.To() ||
|
|
22981
|
+
Le.prototype.Owner = function() {
|
|
22982
|
+
return this.To() || X(this.parentCtx);
|
|
22978
22983
|
};
|
|
22979
|
-
const
|
|
22980
|
-
|
|
22984
|
+
const je = i.ProgContext;
|
|
22985
|
+
je.prototype.Starter = function() {
|
|
22981
22986
|
return this.head()?.starterExp()?.starter()?.getFormattedText();
|
|
22982
22987
|
};
|
|
22983
|
-
const
|
|
22984
|
-
|
|
22988
|
+
const J = i, Ne = J.RetContext, Kt = J.ProgContext, zt = J.MessageContext, Ke = J.CreationContext;
|
|
22989
|
+
Ne.prototype.Signature = function() {
|
|
22985
22990
|
return this.asyncMessage()?.content()?.getFormattedText() || this.returnAsyncMessage()?.content()?.getFormattedText() || this.expr()?.getFormattedText();
|
|
22986
22991
|
};
|
|
22987
|
-
|
|
22992
|
+
Ne.prototype.ReturnTo = function() {
|
|
22988
22993
|
const s = this.asyncMessage()?.to() || this.returnAsyncMessage()?.to(), t = s?.name?.()?.getFormattedText() || s?.getFormattedText();
|
|
22989
22994
|
if (t)
|
|
22990
22995
|
return t;
|
|
22991
22996
|
const n = this.parentCtx.parentCtx.parentCtx;
|
|
22992
|
-
if (n instanceof
|
|
22997
|
+
if (n instanceof Kt)
|
|
22993
22998
|
return n.Starter();
|
|
22994
22999
|
{
|
|
22995
23000
|
let c = n;
|
|
22996
|
-
for (; c && !(c instanceof zt) && !(c instanceof
|
|
22997
|
-
if (c instanceof
|
|
23001
|
+
for (; c && !(c instanceof zt) && !(c instanceof Ke); ) {
|
|
23002
|
+
if (c instanceof Kt)
|
|
22998
23003
|
return c.Starter();
|
|
22999
23004
|
c = c.parentCtx;
|
|
23000
23005
|
}
|
|
23001
23006
|
return c instanceof zt && (c.messageBody()?.fromTo()?.from()?.name?.()?.getFormattedText() || c.messageBody()?.fromTo()?.from()?.getFormattedText()) || c.ClosestAncestorStat().Origin();
|
|
23002
23007
|
}
|
|
23003
23008
|
};
|
|
23004
|
-
const
|
|
23005
|
-
function
|
|
23009
|
+
const ze = i, ge = ze.RefContext;
|
|
23010
|
+
function Xe(s) {
|
|
23006
23011
|
return !s || !s.start || !s.stop ? !0 : s.stop.tokenIndex < s.start.tokenIndex;
|
|
23007
23012
|
}
|
|
23008
|
-
|
|
23013
|
+
ge.prototype.Content = function() {
|
|
23009
23014
|
const s = this.name()[0];
|
|
23010
|
-
return
|
|
23015
|
+
return Xe(s) ? void 0 : s;
|
|
23011
23016
|
};
|
|
23012
|
-
|
|
23017
|
+
ge.prototype.Participants = function() {
|
|
23013
23018
|
return this.name().slice(1) ?? [];
|
|
23014
23019
|
};
|
|
23015
|
-
const
|
|
23016
|
-
|
|
23020
|
+
const Je = o.ParserRuleContext, Oe = i.StatContext, $t = i.ProgContext, Ze = i.MessageContext, qe = i.CreationContext;
|
|
23021
|
+
Je.prototype.Origin = function() {
|
|
23017
23022
|
let s = this.parentCtx;
|
|
23018
|
-
for (; s && !(s instanceof
|
|
23023
|
+
for (; s && !(s instanceof Oe || s instanceof $t); )
|
|
23019
23024
|
s = this.parentCtx;
|
|
23020
23025
|
return s.Origin();
|
|
23021
23026
|
};
|
|
23022
|
-
|
|
23027
|
+
Oe.prototype.Origin = function() {
|
|
23023
23028
|
let s = this.parentCtx;
|
|
23024
23029
|
for (; s; ) {
|
|
23025
|
-
if (s instanceof
|
|
23030
|
+
if (s instanceof $t)
|
|
23026
23031
|
return s.Starter();
|
|
23027
|
-
if (s instanceof
|
|
23032
|
+
if (s instanceof Ze || s instanceof qe) {
|
|
23028
23033
|
const t = s.Owner();
|
|
23029
23034
|
if (t)
|
|
23030
23035
|
return t;
|
|
@@ -23032,63 +23037,64 @@ He.prototype.Origin = function() {
|
|
|
23032
23037
|
s = s.parentCtx;
|
|
23033
23038
|
}
|
|
23034
23039
|
};
|
|
23035
|
-
|
|
23040
|
+
$t.prototype.Origin = function() {
|
|
23036
23041
|
return this.Starter();
|
|
23037
23042
|
};
|
|
23038
|
-
const
|
|
23039
|
-
|
|
23043
|
+
const t0 = i, e0 = t0.DividerContext;
|
|
23044
|
+
e0.prototype.Note = function() {
|
|
23040
23045
|
const s = this.dividerNote()?.getFormattedText().trim();
|
|
23041
23046
|
if (!s.startsWith("=="))
|
|
23042
23047
|
throw new Error("Divider note must start with ==");
|
|
23043
23048
|
return s?.replace(/^=+|=+$/g, "");
|
|
23044
23049
|
};
|
|
23045
|
-
function
|
|
23050
|
+
function i0(s) {
|
|
23046
23051
|
if (s.namedParameter?.()) {
|
|
23047
|
-
const
|
|
23048
|
-
if (
|
|
23049
|
-
const
|
|
23050
|
-
return `${
|
|
23052
|
+
const e = s.namedParameter();
|
|
23053
|
+
if (e) {
|
|
23054
|
+
const r = e.expr(), n = r ? r.getFormattedText() : "";
|
|
23055
|
+
return `${e.ID().getText()}=${n}`;
|
|
23051
23056
|
}
|
|
23052
23057
|
}
|
|
23053
23058
|
if (s.declaration?.()) {
|
|
23054
|
-
const
|
|
23055
|
-
if (
|
|
23056
|
-
return `${
|
|
23059
|
+
const e = s.declaration();
|
|
23060
|
+
if (e)
|
|
23061
|
+
return `${e.type().getText()} ${e.ID().getText()}`;
|
|
23057
23062
|
}
|
|
23058
|
-
|
|
23063
|
+
const t = s.expr?.();
|
|
23064
|
+
return t ? t.getFormattedText() : s.getFormattedText();
|
|
23059
23065
|
}
|
|
23060
|
-
function
|
|
23061
|
-
return s.map(
|
|
23066
|
+
function Ie(s) {
|
|
23067
|
+
return s.map(i0).join(",");
|
|
23062
23068
|
}
|
|
23063
|
-
const
|
|
23064
|
-
|
|
23069
|
+
const r0 = i.MessageContext, s0 = i.ParametersContext, n0 = i.AsyncMessageContext, Yt = i.CreationContext, o0 = i.RetContext, h0 = i.ReturnAsyncMessageContext;
|
|
23070
|
+
r0.prototype.SignatureText = function() {
|
|
23065
23071
|
return this.messageBody()?.func()?.signature()?.map((s) => s?.getFormattedText()).join(".") ?? "";
|
|
23066
23072
|
};
|
|
23067
|
-
|
|
23073
|
+
n0.prototype.SignatureText = function() {
|
|
23068
23074
|
return this.content()?.getFormattedText() ?? "";
|
|
23069
23075
|
};
|
|
23070
|
-
|
|
23076
|
+
Yt.prototype.ParametersText = function() {
|
|
23071
23077
|
const s = this.creationBody().parameters();
|
|
23072
|
-
return s?.parameter()?.length > 0 ?
|
|
23078
|
+
return s?.parameter()?.length > 0 ? Ie(s.parameter()) : "";
|
|
23073
23079
|
};
|
|
23074
|
-
|
|
23080
|
+
Yt.prototype.SignatureText = function() {
|
|
23075
23081
|
return `«${this.ParametersText() || "create"}»`;
|
|
23076
23082
|
};
|
|
23077
|
-
|
|
23083
|
+
Yt.prototype.isParamValid = function() {
|
|
23078
23084
|
return (this.creationBody().parameters()?.parameter()?.length ?? 0) > 0;
|
|
23079
23085
|
};
|
|
23080
|
-
|
|
23086
|
+
o0.prototype.SignatureText = function() {
|
|
23081
23087
|
return this.asyncMessage()?.content()?.getFormattedText() ?? this.returnAsyncMessage()?.content()?.getFormattedText() ?? this.expr()?.getFormattedText() ?? "";
|
|
23082
23088
|
};
|
|
23083
|
-
|
|
23089
|
+
h0.prototype.SignatureText = function() {
|
|
23084
23090
|
return this.content()?.getFormattedText() ?? "";
|
|
23085
23091
|
};
|
|
23086
|
-
|
|
23092
|
+
s0.prototype.getFormattedText = function() {
|
|
23087
23093
|
const s = this.parameter();
|
|
23088
|
-
return !s || s.length === 0 ? "" :
|
|
23094
|
+
return !s || s.length === 0 ? "" : Ie(s);
|
|
23089
23095
|
};
|
|
23090
|
-
const
|
|
23091
|
-
class
|
|
23096
|
+
const He = i, a0 = He.MessageContext, c0 = He.CreationContext;
|
|
23097
|
+
class l0 {
|
|
23092
23098
|
assignee;
|
|
23093
23099
|
type;
|
|
23094
23100
|
labelPosition;
|
|
@@ -23103,74 +23109,74 @@ class d0 {
|
|
|
23103
23109
|
return [this.assignee, this.type].filter(Boolean).join(":");
|
|
23104
23110
|
}
|
|
23105
23111
|
}
|
|
23106
|
-
function
|
|
23112
|
+
function we(s) {
|
|
23107
23113
|
if (!s)
|
|
23108
23114
|
return;
|
|
23109
23115
|
const t = s?.assignee()?.getFormattedText(), e = s?.type()?.getFormattedText(), r = s?.assignee(), n = r ? [r.start.start, r.stop.stop] : [-1, -1], c = s?.type(), x = c ? [c.start.start, c.stop.stop] : [-1, -1];
|
|
23110
23116
|
if (t)
|
|
23111
|
-
return new
|
|
23117
|
+
return new l0(t, e, n, x);
|
|
23112
23118
|
}
|
|
23113
|
-
|
|
23114
|
-
return
|
|
23119
|
+
a0.prototype.Assignment = function() {
|
|
23120
|
+
return we(this.messageBody().assignment());
|
|
23115
23121
|
};
|
|
23116
|
-
|
|
23117
|
-
return
|
|
23122
|
+
c0.prototype.Assignment = function() {
|
|
23123
|
+
return we(this.creationBody()?.assignment());
|
|
23118
23124
|
};
|
|
23119
|
-
const
|
|
23120
|
-
|
|
23125
|
+
const Z = i, u0 = Z.MessageContext, x0 = Z.CreationContext, p0 = Z.IfBlockContext, d0 = Z.LoopContext;
|
|
23126
|
+
u0.prototype.Statements = function() {
|
|
23121
23127
|
return this.braceBlock()?.block()?.stat() || [];
|
|
23122
23128
|
};
|
|
23123
|
-
|
|
23129
|
+
x0.prototype.Statements = function() {
|
|
23124
23130
|
return this.braceBlock()?.block()?.stat() || [];
|
|
23125
23131
|
};
|
|
23126
|
-
|
|
23132
|
+
p0.prototype.Statements = function() {
|
|
23127
23133
|
return this.braceBlock()?.block()?.stat() || [];
|
|
23128
23134
|
};
|
|
23129
|
-
|
|
23135
|
+
d0.prototype.Statements = function() {
|
|
23130
23136
|
return this.braceBlock()?.block()?.stat() || [];
|
|
23131
23137
|
};
|
|
23132
|
-
const U = i,
|
|
23133
|
-
|
|
23134
|
-
if (this.parentCtx instanceof
|
|
23135
|
-
return this.ClosestAncestorStat()
|
|
23138
|
+
const U = i, f0 = U.StatContext, R0 = U.CreationContext, Ue = U.MessageContext, Me = U.AsyncMessageContext, Be = U.ReturnAsyncMessageContext, E0 = U.RetContext;
|
|
23139
|
+
R0.prototype.From = function() {
|
|
23140
|
+
if (this.parentCtx instanceof f0)
|
|
23141
|
+
return this.ClosestAncestorStat()?.Origin();
|
|
23136
23142
|
};
|
|
23137
|
-
|
|
23138
|
-
const s = this.messageBody()?.fromTo()?.from();
|
|
23139
|
-
return s?.name?.()?.getFormattedText() || s?.getFormattedText();
|
|
23143
|
+
Ue.prototype.ProvidedFrom = function() {
|
|
23144
|
+
const s = this.messageBody()?.fromTo?.()?.from?.();
|
|
23145
|
+
return s?.name?.()?.getFormattedText?.() || s?.getFormattedText?.();
|
|
23140
23146
|
};
|
|
23141
|
-
|
|
23142
|
-
return this.ProvidedFrom() || this.ClosestAncestorStat()
|
|
23147
|
+
Ue.prototype.From = function() {
|
|
23148
|
+
return this.ProvidedFrom() || this.ClosestAncestorStat()?.Origin();
|
|
23143
23149
|
};
|
|
23144
|
-
|
|
23150
|
+
Me.prototype.ProvidedFrom = function() {
|
|
23145
23151
|
const s = this.from();
|
|
23146
|
-
return s?.name?.()?.getFormattedText() || s?.getFormattedText();
|
|
23152
|
+
return s?.name?.()?.getFormattedText?.() || s?.getFormattedText?.();
|
|
23147
23153
|
};
|
|
23148
|
-
|
|
23149
|
-
return this.ProvidedFrom() || this.ClosestAncestorStat()
|
|
23154
|
+
Me.prototype.From = function() {
|
|
23155
|
+
return this.ProvidedFrom() || this.ClosestAncestorStat()?.Origin();
|
|
23150
23156
|
};
|
|
23151
|
-
|
|
23157
|
+
Be.prototype.ProvidedFrom = function() {
|
|
23152
23158
|
const s = this.from();
|
|
23153
|
-
return s?.name?.()?.getFormattedText() || s?.getFormattedText();
|
|
23159
|
+
return s?.name?.()?.getFormattedText?.() || s?.getFormattedText?.();
|
|
23154
23160
|
};
|
|
23155
|
-
|
|
23156
|
-
return this.ProvidedFrom() || this.ClosestAncestorStat()
|
|
23161
|
+
Be.prototype.From = function() {
|
|
23162
|
+
return this.ProvidedFrom() || this.ClosestAncestorStat()?.Origin();
|
|
23157
23163
|
};
|
|
23158
|
-
|
|
23159
|
-
return this.asyncMessage()?.From() || this.returnAsyncMessage()?.From() || this.ClosestAncestorStat()
|
|
23164
|
+
E0.prototype.From = function() {
|
|
23165
|
+
return this.asyncMessage()?.From?.() || this.returnAsyncMessage()?.From?.() || this.ClosestAncestorStat()?.Origin();
|
|
23160
23166
|
};
|
|
23161
|
-
const
|
|
23162
|
-
|
|
23163
|
-
if (this instanceof
|
|
23167
|
+
const Pe = i, et = Pe.StatContext, De = o.ParserRuleContext;
|
|
23168
|
+
De.prototype.ClosestAncestorStat = function() {
|
|
23169
|
+
if (this instanceof et)
|
|
23164
23170
|
return this;
|
|
23165
23171
|
let s = this.parentCtx;
|
|
23166
|
-
for (; s && !(s instanceof
|
|
23172
|
+
for (; s && !(s instanceof et); )
|
|
23167
23173
|
s = s.parentCtx;
|
|
23168
|
-
if (s instanceof
|
|
23174
|
+
if (s instanceof et)
|
|
23169
23175
|
return s;
|
|
23170
23176
|
};
|
|
23171
|
-
|
|
23177
|
+
De.prototype.ClosestAncestorBlock = function() {
|
|
23172
23178
|
const s = this.ClosestAncestorStat()?.parentCtx;
|
|
23173
|
-
if (s instanceof
|
|
23179
|
+
if (s instanceof Pe.BlockContext)
|
|
23174
23180
|
return s;
|
|
23175
23181
|
console.warn("Cannot find closest ancestor block for context:", this);
|
|
23176
23182
|
};
|
|
@@ -23182,17 +23188,12 @@ o.ParserRuleContext.prototype.getAncestors = function(s) {
|
|
|
23182
23188
|
(!s || s(e)) && t.push(e), e = e.parentCtx;
|
|
23183
23189
|
return t;
|
|
23184
23190
|
};
|
|
23185
|
-
const
|
|
23186
|
-
class
|
|
23191
|
+
const T0 = (s) => s.replace(/[\n\r]/g, " ").replace(/\s+/g, " ").replace(/\s*([,;.])\s*/g, "$1").replace(/\s*(\()\s*|\s*(\))/g, "$1$2").replace(/\s+$/g, "").replace(/^"(.*)"$/, "$1");
|
|
23192
|
+
class D0 extends o.error.ErrorListener {
|
|
23187
23193
|
syntaxError(t, e, r, n, c) {
|
|
23188
|
-
be.push(`${e} line ${r}, col ${n}: ${c}`), Fe.push({
|
|
23189
|
-
line: r,
|
|
23190
|
-
column: n,
|
|
23191
|
-
msg: c
|
|
23192
|
-
});
|
|
23193
23194
|
}
|
|
23194
23195
|
}
|
|
23195
|
-
class
|
|
23196
|
+
class C0 extends o.error.ErrorListener {
|
|
23196
23197
|
constructor() {
|
|
23197
23198
|
super(), this.errorDetails = [];
|
|
23198
23199
|
}
|
|
@@ -23200,30 +23201,9 @@ class L0 extends o.error.ErrorListener {
|
|
|
23200
23201
|
this.errorDetails.push({ line: r, column: n, msg: c });
|
|
23201
23202
|
}
|
|
23202
23203
|
}
|
|
23203
|
-
function Jt(s, { silent: t = !1 } = {}) {
|
|
23204
|
-
const e = new o.InputStream(s), r = new a(e);
|
|
23205
|
-
t && r.removeErrorListeners();
|
|
23206
|
-
const n = new o.CommonTokenStream(r), c = new i(n);
|
|
23207
|
-
return t && c.removeErrorListeners(), c;
|
|
23208
|
-
}
|
|
23209
|
-
const B = /* @__PURE__ */ new Map(), N0 = 10;
|
|
23210
|
-
function Ge(s) {
|
|
23211
|
-
const t = B.get(s);
|
|
23212
|
-
if (t)
|
|
23213
|
-
return t;
|
|
23214
|
-
const e = Jt(s, { silent: !0 });
|
|
23215
|
-
e._interp.predictionMode = o.atn.PredictionMode.SLL, e._errHandler = new o.error.BailErrorStrategy();
|
|
23216
|
-
try {
|
|
23217
|
-
const n = e.prog();
|
|
23218
|
-
return B.set(s, n), B.size > N0 && B.delete(B.keys().next().value), n;
|
|
23219
|
-
} catch {
|
|
23220
|
-
}
|
|
23221
|
-
const r = Jt(s);
|
|
23222
|
-
return r.addErrorListener(new m0()), r._syntaxErrors ? null : r.prog();
|
|
23223
|
-
}
|
|
23224
23204
|
o.ParserRuleContext.prototype.getFormattedText = function() {
|
|
23225
23205
|
const s = this.parser.getTokenStream().getText(this.getSourceInterval());
|
|
23226
|
-
return
|
|
23206
|
+
return T0(s);
|
|
23227
23207
|
};
|
|
23228
23208
|
o.ParserRuleContext.prototype.getComment = function() {
|
|
23229
23209
|
let s = this.start.tokenIndex, t = a.channelNames.indexOf("COMMENT_CHANNEL");
|
|
@@ -23232,8 +23212,8 @@ o.ParserRuleContext.prototype.getComment = function() {
|
|
|
23232
23212
|
return e && e.map((r) => r.text.substring(2)).join(`
|
|
23233
23213
|
`);
|
|
23234
23214
|
};
|
|
23235
|
-
function
|
|
23236
|
-
const t = new
|
|
23215
|
+
function _0(s) {
|
|
23216
|
+
const t = new C0(), e = new o.InputStream(s), r = new a(e);
|
|
23237
23217
|
r.removeErrorListeners(), r.addErrorListener(t);
|
|
23238
23218
|
const n = new o.CommonTokenStream(r), c = new i(n);
|
|
23239
23219
|
return c.removeErrorListeners(), c.addErrorListener(t), {
|
|
@@ -23242,44 +23222,16 @@ function ve(s) {
|
|
|
23242
23222
|
errorDetails: t.errorDetails
|
|
23243
23223
|
};
|
|
23244
23224
|
}
|
|
23245
|
-
function
|
|
23246
|
-
const { pass: t, errorDetails: e } =
|
|
23225
|
+
function k0(s) {
|
|
23226
|
+
const { pass: t, errorDetails: e } = _0(s);
|
|
23247
23227
|
return { pass: t, errorDetails: e };
|
|
23248
23228
|
}
|
|
23249
|
-
|
|
23250
|
-
|
|
23251
|
-
|
|
23252
|
-
|
|
23253
|
-
return R.getParticipants(s);
|
|
23254
|
-
}, z0 = {
|
|
23255
|
-
RootContext: Ge,
|
|
23256
|
-
ProgContext: i.ProgContext,
|
|
23257
|
-
GroupContext: i.GroupContext,
|
|
23258
|
-
ParticipantContext: i.ParticipantContext,
|
|
23259
|
-
Participants: function(s) {
|
|
23260
|
-
return R.getParticipants(s);
|
|
23261
|
-
},
|
|
23262
|
-
parse: ve,
|
|
23263
|
-
validate: g0,
|
|
23264
|
-
Errors: be,
|
|
23265
|
-
ErrorDetails: Fe,
|
|
23266
|
-
/**
|
|
23267
|
-
* @return {number} how many levels of embedded fragments
|
|
23268
|
-
*/
|
|
23269
|
-
Depth: function(s) {
|
|
23270
|
-
const t = d;
|
|
23271
|
-
return t.depth(t)(s);
|
|
23272
|
-
}
|
|
23273
|
-
};
|
|
23229
|
+
i.ProgContext;
|
|
23230
|
+
i.GroupContext;
|
|
23231
|
+
i.ParticipantContext;
|
|
23232
|
+
i.ProgContext, i.GroupContext, i.ParticipantContext;
|
|
23274
23233
|
export {
|
|
23275
|
-
|
|
23276
|
-
|
|
23277
|
-
j0 as ParticipantContext,
|
|
23278
|
-
X0 as Participants,
|
|
23279
|
-
V0 as ProgContext,
|
|
23280
|
-
Y0 as RootContext,
|
|
23281
|
-
z0 as default,
|
|
23282
|
-
ve as parse,
|
|
23283
|
-
g0 as validate
|
|
23234
|
+
_0 as parse,
|
|
23235
|
+
k0 as validate
|
|
23284
23236
|
};
|
|
23285
23237
|
//# sourceMappingURL=index.mjs.map
|