@plurnk/plurnk-contracts 1.4.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/LICENSE +21 -0
- package/README.md +119 -0
- package/SPEC.md +954 -0
- package/bin/plurnk-contracts.js +43 -0
- package/dist/plurnk.gbnf +394 -0
- package/dist/schema/ClientDisplayCapabilities.json +54 -0
- package/dist/schema/ClientStatement.json +68 -0
- package/dist/schema/EntryReadResult.json +101 -0
- package/dist/schema/LineMarker.json +16 -0
- package/dist/schema/LoopFlags.json +16 -0
- package/dist/schema/MatcherBody.json +84 -0
- package/dist/schema/Notice.json +67 -0
- package/dist/schema/OperationResult.json +44 -0
- package/dist/schema/ParsedPath.json +64 -0
- package/dist/schema/PlurnkStatement.json +264 -0
- package/dist/schema/Position.json +20 -0
- package/dist/schema/ProblemDetails.json +51 -0
- package/dist/schema/ProposalDisposition.json +26 -0
- package/dist/schema/ProposalProjection.json +44 -0
- package/dist/schema/ProviderCost.json +69 -0
- package/dist/schema/ResourceSelection.json +20 -0
- package/dist/schema/SendBody.json +13 -0
- package/dist/schema/TextRegion.json +31 -0
- package/dist/src/AstBuilder.d.ts +24 -0
- package/dist/src/AstBuilder.d.ts.map +1 -0
- package/dist/src/AstBuilder.js +609 -0
- package/dist/src/AstBuilder.js.map +1 -0
- package/dist/src/PathSyntax.d.ts +9 -0
- package/dist/src/PathSyntax.d.ts.map +1 -0
- package/dist/src/PathSyntax.js +36 -0
- package/dist/src/PathSyntax.js.map +1 -0
- package/dist/src/PlurnkErrorStrategy.d.ts +10 -0
- package/dist/src/PlurnkErrorStrategy.d.ts.map +1 -0
- package/dist/src/PlurnkErrorStrategy.js +147 -0
- package/dist/src/PlurnkErrorStrategy.js.map +1 -0
- package/dist/src/PlurnkParseError.d.ts +17 -0
- package/dist/src/PlurnkParseError.d.ts.map +1 -0
- package/dist/src/PlurnkParseError.js +24 -0
- package/dist/src/PlurnkParseError.js.map +1 -0
- package/dist/src/PlurnkParser.d.ts +9 -0
- package/dist/src/PlurnkParser.d.ts.map +1 -0
- package/dist/src/PlurnkParser.js +396 -0
- package/dist/src/PlurnkParser.js.map +1 -0
- package/dist/src/Problems.d.ts +8 -0
- package/dist/src/Problems.d.ts.map +1 -0
- package/dist/src/Problems.js +23 -0
- package/dist/src/Problems.js.map +1 -0
- package/dist/src/RecordingListener.d.ts +9 -0
- package/dist/src/RecordingListener.d.ts.map +1 -0
- package/dist/src/RecordingListener.js +19 -0
- package/dist/src/RecordingListener.js.map +1 -0
- package/dist/src/Validator.d.ts +49 -0
- package/dist/src/Validator.d.ts.map +1 -0
- package/dist/src/Validator.js +211 -0
- package/dist/src/Validator.js.map +1 -0
- package/dist/src/generated/plurnkLexer.d.ts +129 -0
- package/dist/src/generated/plurnkLexer.d.ts.map +1 -0
- package/dist/src/generated/plurnkLexer.js +808 -0
- package/dist/src/generated/plurnkLexer.js.map +1 -0
- package/dist/src/generated/plurnkParser.d.ts +525 -0
- package/dist/src/generated/plurnkParser.d.ts.map +1 -0
- package/dist/src/generated/plurnkParser.js +3896 -0
- package/dist/src/generated/plurnkParser.js.map +1 -0
- package/dist/src/generated/plurnkParserVisitor.d.ts +298 -0
- package/dist/src/generated/plurnkParserVisitor.d.ts.map +1 -0
- package/dist/src/generated/plurnkParserVisitor.js +257 -0
- package/dist/src/generated/plurnkParserVisitor.js.map +1 -0
- package/dist/src/index.d.ts +13 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +10 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/types.d.ts +29 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/types.generated.d.ts +450 -0
- package/dist/src/types.generated.d.ts.map +1 -0
- package/dist/src/types.generated.js +4 -0
- package/dist/src/types.generated.js.map +1 -0
- package/dist/src/types.js +23 -0
- package/dist/src/types.js.map +1 -0
- package/package.json +87 -0
- package/plurnk.md +220 -0
|
@@ -0,0 +1,3896 @@
|
|
|
1
|
+
import * as antlr from "antlr4ng";
|
|
2
|
+
export class plurnkParser extends antlr.Parser {
|
|
3
|
+
static LBRACKET = 1;
|
|
4
|
+
static RBRACKET = 2;
|
|
5
|
+
static LPAREN = 3;
|
|
6
|
+
static RPAREN = 4;
|
|
7
|
+
static L_MARKER = 5;
|
|
8
|
+
static COLON = 6;
|
|
9
|
+
static COMMA = 7;
|
|
10
|
+
static INT = 8;
|
|
11
|
+
static DISPOSITION = 9;
|
|
12
|
+
static IDENT = 10;
|
|
13
|
+
static TAG = 11;
|
|
14
|
+
static TARGET_TEXT = 12;
|
|
15
|
+
static BODY_TEXT = 13;
|
|
16
|
+
static CLOSE_TAG = 14;
|
|
17
|
+
static TEXT = 15;
|
|
18
|
+
static OPEN_TURN = 16;
|
|
19
|
+
static CLOSE_TURN = 17;
|
|
20
|
+
static OPEN_FIND = 18;
|
|
21
|
+
static OPEN_READ = 19;
|
|
22
|
+
static OPEN_EDIT = 20;
|
|
23
|
+
static OPEN_COPY = 21;
|
|
24
|
+
static OPEN_MOVE = 22;
|
|
25
|
+
static OPEN_OPEN = 23;
|
|
26
|
+
static OPEN_FOLD = 24;
|
|
27
|
+
static OPEN_SEND = 25;
|
|
28
|
+
static OPEN_EXEC = 26;
|
|
29
|
+
static OPEN_WORK = 27;
|
|
30
|
+
static OPEN_FORK = 28;
|
|
31
|
+
static OPEN_KILL = 29;
|
|
32
|
+
static OPEN_PLAN = 30;
|
|
33
|
+
static OPEN_LOOK = 31;
|
|
34
|
+
static OPEN_BUFF = 32;
|
|
35
|
+
static WS = 33;
|
|
36
|
+
static SLOTS_WS = 34;
|
|
37
|
+
static ST_WS = 35;
|
|
38
|
+
static SI_WS = 36;
|
|
39
|
+
static SD_WS = 37;
|
|
40
|
+
static ST_COMMA = 38;
|
|
41
|
+
static TARGET_BACKSLASH = 39;
|
|
42
|
+
static B_COLON = 40;
|
|
43
|
+
static RULE_document = 0;
|
|
44
|
+
static RULE_log = 1;
|
|
45
|
+
static RULE_turnStatement = 2;
|
|
46
|
+
static RULE_turnContent = 3;
|
|
47
|
+
static RULE_statementSeq = 4;
|
|
48
|
+
static RULE_clientStatementSeq = 5;
|
|
49
|
+
static RULE_clientStatement = 6;
|
|
50
|
+
static RULE_statement = 7;
|
|
51
|
+
static RULE_midStatement = 8;
|
|
52
|
+
static RULE_findStatement = 9;
|
|
53
|
+
static RULE_readStatement = 10;
|
|
54
|
+
static RULE_editStatement = 11;
|
|
55
|
+
static RULE_copyStatement = 12;
|
|
56
|
+
static RULE_moveStatement = 13;
|
|
57
|
+
static RULE_openStatement = 14;
|
|
58
|
+
static RULE_foldStatement = 15;
|
|
59
|
+
static RULE_sendStatement = 16;
|
|
60
|
+
static RULE_midSend = 17;
|
|
61
|
+
static RULE_execStatement = 18;
|
|
62
|
+
static RULE_workStatement = 19;
|
|
63
|
+
static RULE_forkStatement = 20;
|
|
64
|
+
static RULE_killStatement = 21;
|
|
65
|
+
static RULE_planStatement = 22;
|
|
66
|
+
static RULE_lookStatement = 23;
|
|
67
|
+
static RULE_buffStatement = 24;
|
|
68
|
+
static RULE_tagOpModifiers = 25;
|
|
69
|
+
static RULE_curationModifiers = 26;
|
|
70
|
+
static RULE_intOpModifiers = 27;
|
|
71
|
+
static RULE_branchModifiers = 28;
|
|
72
|
+
static RULE_termModifiers = 29;
|
|
73
|
+
static RULE_midModifiers = 30;
|
|
74
|
+
static RULE_execModifiers = 31;
|
|
75
|
+
static RULE_tagSignal = 32;
|
|
76
|
+
static RULE_branchSignal = 33;
|
|
77
|
+
static RULE_intSignal = 34;
|
|
78
|
+
static RULE_midSignal = 35;
|
|
79
|
+
static RULE_dispSignal = 36;
|
|
80
|
+
static RULE_identSignal = 37;
|
|
81
|
+
static RULE_target = 38;
|
|
82
|
+
static RULE_lineMarker = 39;
|
|
83
|
+
static RULE_body = 40;
|
|
84
|
+
static literalNames = [
|
|
85
|
+
null, null, null, null, null, null, null, null, null, null, null,
|
|
86
|
+
null, null, null, null, null, null, null, null, null, null, null,
|
|
87
|
+
null, null, null, null, null, null, null, null, null, null, null,
|
|
88
|
+
null, null, null, null, null, "','", "'\\'", "':'"
|
|
89
|
+
];
|
|
90
|
+
static symbolicNames = [
|
|
91
|
+
null, "LBRACKET", "RBRACKET", "LPAREN", "RPAREN", "L_MARKER", "COLON",
|
|
92
|
+
"COMMA", "INT", "DISPOSITION", "IDENT", "TAG", "TARGET_TEXT", "BODY_TEXT",
|
|
93
|
+
"CLOSE_TAG", "TEXT", "OPEN_TURN", "CLOSE_TURN", "OPEN_FIND", "OPEN_READ",
|
|
94
|
+
"OPEN_EDIT", "OPEN_COPY", "OPEN_MOVE", "OPEN_OPEN", "OPEN_FOLD",
|
|
95
|
+
"OPEN_SEND", "OPEN_EXEC", "OPEN_WORK", "OPEN_FORK", "OPEN_KILL",
|
|
96
|
+
"OPEN_PLAN", "OPEN_LOOK", "OPEN_BUFF", "WS", "SLOTS_WS", "ST_WS",
|
|
97
|
+
"SI_WS", "SD_WS", "ST_COMMA", "TARGET_BACKSLASH", "B_COLON"
|
|
98
|
+
];
|
|
99
|
+
static ruleNames = [
|
|
100
|
+
"document", "log", "turnStatement", "turnContent", "statementSeq",
|
|
101
|
+
"clientStatementSeq", "clientStatement", "statement", "midStatement",
|
|
102
|
+
"findStatement", "readStatement", "editStatement", "copyStatement",
|
|
103
|
+
"moveStatement", "openStatement", "foldStatement", "sendStatement",
|
|
104
|
+
"midSend", "execStatement", "workStatement", "forkStatement", "killStatement",
|
|
105
|
+
"planStatement", "lookStatement", "buffStatement", "tagOpModifiers",
|
|
106
|
+
"curationModifiers", "intOpModifiers", "branchModifiers", "termModifiers",
|
|
107
|
+
"midModifiers", "execModifiers", "tagSignal", "branchSignal", "intSignal",
|
|
108
|
+
"midSignal", "dispSignal", "identSignal", "target", "lineMarker",
|
|
109
|
+
"body",
|
|
110
|
+
];
|
|
111
|
+
get grammarFileName() { return "plurnkParser.g4"; }
|
|
112
|
+
get literalNames() { return plurnkParser.literalNames; }
|
|
113
|
+
get symbolicNames() { return plurnkParser.symbolicNames; }
|
|
114
|
+
get ruleNames() { return plurnkParser.ruleNames; }
|
|
115
|
+
get serializedATN() { return plurnkParser._serializedATN; }
|
|
116
|
+
createFailedPredicateException(predicate, message) {
|
|
117
|
+
return new antlr.FailedPredicateException(this, predicate, message);
|
|
118
|
+
}
|
|
119
|
+
constructor(input) {
|
|
120
|
+
super(input);
|
|
121
|
+
this.interpreter = new antlr.ParserATNSimulator(this, plurnkParser._ATN, plurnkParser.decisionsToDFA, new antlr.PredictionContextCache());
|
|
122
|
+
}
|
|
123
|
+
document() {
|
|
124
|
+
let localContext = new DocumentContext(this.context, this.state);
|
|
125
|
+
this.enterRule(localContext, 0, plurnkParser.RULE_document);
|
|
126
|
+
try {
|
|
127
|
+
this.enterOuterAlt(localContext, 1);
|
|
128
|
+
{
|
|
129
|
+
this.state = 82;
|
|
130
|
+
this.turnContent();
|
|
131
|
+
this.state = 83;
|
|
132
|
+
this.match(plurnkParser.EOF);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
catch (re) {
|
|
136
|
+
if (re instanceof antlr.RecognitionException) {
|
|
137
|
+
this.errorHandler.reportError(this, re);
|
|
138
|
+
this.errorHandler.recover(this, re);
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
throw re;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
finally {
|
|
145
|
+
this.exitRule();
|
|
146
|
+
}
|
|
147
|
+
return localContext;
|
|
148
|
+
}
|
|
149
|
+
log() {
|
|
150
|
+
let localContext = new LogContext(this.context, this.state);
|
|
151
|
+
this.enterRule(localContext, 2, plurnkParser.RULE_log);
|
|
152
|
+
let _la;
|
|
153
|
+
try {
|
|
154
|
+
this.enterOuterAlt(localContext, 1);
|
|
155
|
+
{
|
|
156
|
+
this.state = 86;
|
|
157
|
+
this.errorHandler.sync(this);
|
|
158
|
+
_la = this.tokenStream.LA(1);
|
|
159
|
+
do {
|
|
160
|
+
{
|
|
161
|
+
{
|
|
162
|
+
this.state = 85;
|
|
163
|
+
this.turnStatement();
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
this.state = 88;
|
|
167
|
+
this.errorHandler.sync(this);
|
|
168
|
+
_la = this.tokenStream.LA(1);
|
|
169
|
+
} while (_la === 16);
|
|
170
|
+
this.state = 90;
|
|
171
|
+
this.match(plurnkParser.EOF);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
catch (re) {
|
|
175
|
+
if (re instanceof antlr.RecognitionException) {
|
|
176
|
+
this.errorHandler.reportError(this, re);
|
|
177
|
+
this.errorHandler.recover(this, re);
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
throw re;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
finally {
|
|
184
|
+
this.exitRule();
|
|
185
|
+
}
|
|
186
|
+
return localContext;
|
|
187
|
+
}
|
|
188
|
+
turnStatement() {
|
|
189
|
+
let localContext = new TurnStatementContext(this.context, this.state);
|
|
190
|
+
this.enterRule(localContext, 4, plurnkParser.RULE_turnStatement);
|
|
191
|
+
let _la;
|
|
192
|
+
try {
|
|
193
|
+
this.enterOuterAlt(localContext, 1);
|
|
194
|
+
{
|
|
195
|
+
this.state = 92;
|
|
196
|
+
this.match(plurnkParser.OPEN_TURN);
|
|
197
|
+
this.state = 94;
|
|
198
|
+
this.errorHandler.sync(this);
|
|
199
|
+
_la = this.tokenStream.LA(1);
|
|
200
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
201
|
+
{
|
|
202
|
+
this.state = 93;
|
|
203
|
+
this.tagOpModifiers();
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
this.state = 96;
|
|
207
|
+
this.match(plurnkParser.COLON);
|
|
208
|
+
this.state = 97;
|
|
209
|
+
this.turnContent();
|
|
210
|
+
this.state = 98;
|
|
211
|
+
this.match(plurnkParser.CLOSE_TURN);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
catch (re) {
|
|
215
|
+
if (re instanceof antlr.RecognitionException) {
|
|
216
|
+
this.errorHandler.reportError(this, re);
|
|
217
|
+
this.errorHandler.recover(this, re);
|
|
218
|
+
}
|
|
219
|
+
else {
|
|
220
|
+
throw re;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
finally {
|
|
224
|
+
this.exitRule();
|
|
225
|
+
}
|
|
226
|
+
return localContext;
|
|
227
|
+
}
|
|
228
|
+
turnContent() {
|
|
229
|
+
let localContext = new TurnContentContext(this.context, this.state);
|
|
230
|
+
this.enterRule(localContext, 6, plurnkParser.RULE_turnContent);
|
|
231
|
+
let _la;
|
|
232
|
+
try {
|
|
233
|
+
let alternative;
|
|
234
|
+
this.enterOuterAlt(localContext, 1);
|
|
235
|
+
{
|
|
236
|
+
this.state = 103;
|
|
237
|
+
this.errorHandler.sync(this);
|
|
238
|
+
_la = this.tokenStream.LA(1);
|
|
239
|
+
while (_la === 15) {
|
|
240
|
+
{
|
|
241
|
+
{
|
|
242
|
+
this.state = 100;
|
|
243
|
+
this.match(plurnkParser.TEXT);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
this.state = 105;
|
|
247
|
+
this.errorHandler.sync(this);
|
|
248
|
+
_la = this.tokenStream.LA(1);
|
|
249
|
+
}
|
|
250
|
+
this.state = 106;
|
|
251
|
+
this.planStatement();
|
|
252
|
+
this.state = 111;
|
|
253
|
+
this.errorHandler.sync(this);
|
|
254
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 4, this.context);
|
|
255
|
+
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
256
|
+
if (alternative === 1) {
|
|
257
|
+
{
|
|
258
|
+
this.state = 109;
|
|
259
|
+
this.errorHandler.sync(this);
|
|
260
|
+
switch (this.tokenStream.LA(1)) {
|
|
261
|
+
case plurnkParser.OPEN_FIND:
|
|
262
|
+
case plurnkParser.OPEN_READ:
|
|
263
|
+
case plurnkParser.OPEN_EDIT:
|
|
264
|
+
case plurnkParser.OPEN_COPY:
|
|
265
|
+
case plurnkParser.OPEN_MOVE:
|
|
266
|
+
case plurnkParser.OPEN_OPEN:
|
|
267
|
+
case plurnkParser.OPEN_FOLD:
|
|
268
|
+
case plurnkParser.OPEN_SEND:
|
|
269
|
+
case plurnkParser.OPEN_EXEC:
|
|
270
|
+
case plurnkParser.OPEN_WORK:
|
|
271
|
+
case plurnkParser.OPEN_FORK:
|
|
272
|
+
case plurnkParser.OPEN_KILL:
|
|
273
|
+
{
|
|
274
|
+
this.state = 107;
|
|
275
|
+
this.midStatement();
|
|
276
|
+
}
|
|
277
|
+
break;
|
|
278
|
+
case plurnkParser.TEXT:
|
|
279
|
+
{
|
|
280
|
+
this.state = 108;
|
|
281
|
+
this.match(plurnkParser.TEXT);
|
|
282
|
+
}
|
|
283
|
+
break;
|
|
284
|
+
default:
|
|
285
|
+
throw new antlr.NoViableAltException(this);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
this.state = 113;
|
|
290
|
+
this.errorHandler.sync(this);
|
|
291
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 4, this.context);
|
|
292
|
+
}
|
|
293
|
+
this.state = 114;
|
|
294
|
+
this.sendStatement();
|
|
295
|
+
this.state = 118;
|
|
296
|
+
this.errorHandler.sync(this);
|
|
297
|
+
_la = this.tokenStream.LA(1);
|
|
298
|
+
while (_la === 15) {
|
|
299
|
+
{
|
|
300
|
+
{
|
|
301
|
+
this.state = 115;
|
|
302
|
+
this.match(plurnkParser.TEXT);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
this.state = 120;
|
|
306
|
+
this.errorHandler.sync(this);
|
|
307
|
+
_la = this.tokenStream.LA(1);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
catch (re) {
|
|
312
|
+
if (re instanceof antlr.RecognitionException) {
|
|
313
|
+
this.errorHandler.reportError(this, re);
|
|
314
|
+
this.errorHandler.recover(this, re);
|
|
315
|
+
}
|
|
316
|
+
else {
|
|
317
|
+
throw re;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
finally {
|
|
321
|
+
this.exitRule();
|
|
322
|
+
}
|
|
323
|
+
return localContext;
|
|
324
|
+
}
|
|
325
|
+
statementSeq() {
|
|
326
|
+
let localContext = new StatementSeqContext(this.context, this.state);
|
|
327
|
+
this.enterRule(localContext, 8, plurnkParser.RULE_statementSeq);
|
|
328
|
+
let _la;
|
|
329
|
+
try {
|
|
330
|
+
this.enterOuterAlt(localContext, 1);
|
|
331
|
+
{
|
|
332
|
+
this.state = 124;
|
|
333
|
+
this.errorHandler.sync(this);
|
|
334
|
+
_la = this.tokenStream.LA(1);
|
|
335
|
+
while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 2147221504) !== 0)) {
|
|
336
|
+
{
|
|
337
|
+
{
|
|
338
|
+
this.state = 121;
|
|
339
|
+
this.statement();
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
this.state = 126;
|
|
343
|
+
this.errorHandler.sync(this);
|
|
344
|
+
_la = this.tokenStream.LA(1);
|
|
345
|
+
}
|
|
346
|
+
this.state = 127;
|
|
347
|
+
this.match(plurnkParser.EOF);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
catch (re) {
|
|
351
|
+
if (re instanceof antlr.RecognitionException) {
|
|
352
|
+
this.errorHandler.reportError(this, re);
|
|
353
|
+
this.errorHandler.recover(this, re);
|
|
354
|
+
}
|
|
355
|
+
else {
|
|
356
|
+
throw re;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
finally {
|
|
360
|
+
this.exitRule();
|
|
361
|
+
}
|
|
362
|
+
return localContext;
|
|
363
|
+
}
|
|
364
|
+
clientStatementSeq() {
|
|
365
|
+
let localContext = new ClientStatementSeqContext(this.context, this.state);
|
|
366
|
+
this.enterRule(localContext, 10, plurnkParser.RULE_clientStatementSeq);
|
|
367
|
+
let _la;
|
|
368
|
+
try {
|
|
369
|
+
this.enterOuterAlt(localContext, 1);
|
|
370
|
+
{
|
|
371
|
+
this.state = 132;
|
|
372
|
+
this.errorHandler.sync(this);
|
|
373
|
+
_la = this.tokenStream.LA(1);
|
|
374
|
+
while (((((_la - 18)) & ~0x1F) === 0 && ((1 << (_la - 18)) & 32767) !== 0)) {
|
|
375
|
+
{
|
|
376
|
+
{
|
|
377
|
+
this.state = 129;
|
|
378
|
+
this.clientStatement();
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
this.state = 134;
|
|
382
|
+
this.errorHandler.sync(this);
|
|
383
|
+
_la = this.tokenStream.LA(1);
|
|
384
|
+
}
|
|
385
|
+
this.state = 135;
|
|
386
|
+
this.match(plurnkParser.EOF);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
catch (re) {
|
|
390
|
+
if (re instanceof antlr.RecognitionException) {
|
|
391
|
+
this.errorHandler.reportError(this, re);
|
|
392
|
+
this.errorHandler.recover(this, re);
|
|
393
|
+
}
|
|
394
|
+
else {
|
|
395
|
+
throw re;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
finally {
|
|
399
|
+
this.exitRule();
|
|
400
|
+
}
|
|
401
|
+
return localContext;
|
|
402
|
+
}
|
|
403
|
+
clientStatement() {
|
|
404
|
+
let localContext = new ClientStatementContext(this.context, this.state);
|
|
405
|
+
this.enterRule(localContext, 12, plurnkParser.RULE_clientStatement);
|
|
406
|
+
try {
|
|
407
|
+
this.state = 140;
|
|
408
|
+
this.errorHandler.sync(this);
|
|
409
|
+
switch (this.tokenStream.LA(1)) {
|
|
410
|
+
case plurnkParser.OPEN_FIND:
|
|
411
|
+
case plurnkParser.OPEN_READ:
|
|
412
|
+
case plurnkParser.OPEN_EDIT:
|
|
413
|
+
case plurnkParser.OPEN_COPY:
|
|
414
|
+
case plurnkParser.OPEN_MOVE:
|
|
415
|
+
case plurnkParser.OPEN_OPEN:
|
|
416
|
+
case plurnkParser.OPEN_FOLD:
|
|
417
|
+
case plurnkParser.OPEN_SEND:
|
|
418
|
+
case plurnkParser.OPEN_EXEC:
|
|
419
|
+
case plurnkParser.OPEN_WORK:
|
|
420
|
+
case plurnkParser.OPEN_FORK:
|
|
421
|
+
case plurnkParser.OPEN_KILL:
|
|
422
|
+
case plurnkParser.OPEN_PLAN:
|
|
423
|
+
this.enterOuterAlt(localContext, 1);
|
|
424
|
+
{
|
|
425
|
+
this.state = 137;
|
|
426
|
+
this.statement();
|
|
427
|
+
}
|
|
428
|
+
break;
|
|
429
|
+
case plurnkParser.OPEN_LOOK:
|
|
430
|
+
this.enterOuterAlt(localContext, 2);
|
|
431
|
+
{
|
|
432
|
+
this.state = 138;
|
|
433
|
+
this.lookStatement();
|
|
434
|
+
}
|
|
435
|
+
break;
|
|
436
|
+
case plurnkParser.OPEN_BUFF:
|
|
437
|
+
this.enterOuterAlt(localContext, 3);
|
|
438
|
+
{
|
|
439
|
+
this.state = 139;
|
|
440
|
+
this.buffStatement();
|
|
441
|
+
}
|
|
442
|
+
break;
|
|
443
|
+
default:
|
|
444
|
+
throw new antlr.NoViableAltException(this);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
catch (re) {
|
|
448
|
+
if (re instanceof antlr.RecognitionException) {
|
|
449
|
+
this.errorHandler.reportError(this, re);
|
|
450
|
+
this.errorHandler.recover(this, re);
|
|
451
|
+
}
|
|
452
|
+
else {
|
|
453
|
+
throw re;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
finally {
|
|
457
|
+
this.exitRule();
|
|
458
|
+
}
|
|
459
|
+
return localContext;
|
|
460
|
+
}
|
|
461
|
+
statement() {
|
|
462
|
+
let localContext = new StatementContext(this.context, this.state);
|
|
463
|
+
this.enterRule(localContext, 14, plurnkParser.RULE_statement);
|
|
464
|
+
try {
|
|
465
|
+
this.state = 156;
|
|
466
|
+
this.errorHandler.sync(this);
|
|
467
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 9, this.context)) {
|
|
468
|
+
case 1:
|
|
469
|
+
this.enterOuterAlt(localContext, 1);
|
|
470
|
+
{
|
|
471
|
+
this.state = 142;
|
|
472
|
+
this.findStatement();
|
|
473
|
+
}
|
|
474
|
+
break;
|
|
475
|
+
case 2:
|
|
476
|
+
this.enterOuterAlt(localContext, 2);
|
|
477
|
+
{
|
|
478
|
+
this.state = 143;
|
|
479
|
+
this.readStatement();
|
|
480
|
+
}
|
|
481
|
+
break;
|
|
482
|
+
case 3:
|
|
483
|
+
this.enterOuterAlt(localContext, 3);
|
|
484
|
+
{
|
|
485
|
+
this.state = 144;
|
|
486
|
+
this.editStatement();
|
|
487
|
+
}
|
|
488
|
+
break;
|
|
489
|
+
case 4:
|
|
490
|
+
this.enterOuterAlt(localContext, 4);
|
|
491
|
+
{
|
|
492
|
+
this.state = 145;
|
|
493
|
+
this.copyStatement();
|
|
494
|
+
}
|
|
495
|
+
break;
|
|
496
|
+
case 5:
|
|
497
|
+
this.enterOuterAlt(localContext, 5);
|
|
498
|
+
{
|
|
499
|
+
this.state = 146;
|
|
500
|
+
this.moveStatement();
|
|
501
|
+
}
|
|
502
|
+
break;
|
|
503
|
+
case 6:
|
|
504
|
+
this.enterOuterAlt(localContext, 6);
|
|
505
|
+
{
|
|
506
|
+
this.state = 147;
|
|
507
|
+
this.openStatement();
|
|
508
|
+
}
|
|
509
|
+
break;
|
|
510
|
+
case 7:
|
|
511
|
+
this.enterOuterAlt(localContext, 7);
|
|
512
|
+
{
|
|
513
|
+
this.state = 148;
|
|
514
|
+
this.foldStatement();
|
|
515
|
+
}
|
|
516
|
+
break;
|
|
517
|
+
case 8:
|
|
518
|
+
this.enterOuterAlt(localContext, 8);
|
|
519
|
+
{
|
|
520
|
+
this.state = 149;
|
|
521
|
+
this.sendStatement();
|
|
522
|
+
}
|
|
523
|
+
break;
|
|
524
|
+
case 9:
|
|
525
|
+
this.enterOuterAlt(localContext, 9);
|
|
526
|
+
{
|
|
527
|
+
this.state = 150;
|
|
528
|
+
this.midSend();
|
|
529
|
+
}
|
|
530
|
+
break;
|
|
531
|
+
case 10:
|
|
532
|
+
this.enterOuterAlt(localContext, 10);
|
|
533
|
+
{
|
|
534
|
+
this.state = 151;
|
|
535
|
+
this.execStatement();
|
|
536
|
+
}
|
|
537
|
+
break;
|
|
538
|
+
case 11:
|
|
539
|
+
this.enterOuterAlt(localContext, 11);
|
|
540
|
+
{
|
|
541
|
+
this.state = 152;
|
|
542
|
+
this.workStatement();
|
|
543
|
+
}
|
|
544
|
+
break;
|
|
545
|
+
case 12:
|
|
546
|
+
this.enterOuterAlt(localContext, 12);
|
|
547
|
+
{
|
|
548
|
+
this.state = 153;
|
|
549
|
+
this.forkStatement();
|
|
550
|
+
}
|
|
551
|
+
break;
|
|
552
|
+
case 13:
|
|
553
|
+
this.enterOuterAlt(localContext, 13);
|
|
554
|
+
{
|
|
555
|
+
this.state = 154;
|
|
556
|
+
this.killStatement();
|
|
557
|
+
}
|
|
558
|
+
break;
|
|
559
|
+
case 14:
|
|
560
|
+
this.enterOuterAlt(localContext, 14);
|
|
561
|
+
{
|
|
562
|
+
this.state = 155;
|
|
563
|
+
this.planStatement();
|
|
564
|
+
}
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
catch (re) {
|
|
569
|
+
if (re instanceof antlr.RecognitionException) {
|
|
570
|
+
this.errorHandler.reportError(this, re);
|
|
571
|
+
this.errorHandler.recover(this, re);
|
|
572
|
+
}
|
|
573
|
+
else {
|
|
574
|
+
throw re;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
finally {
|
|
578
|
+
this.exitRule();
|
|
579
|
+
}
|
|
580
|
+
return localContext;
|
|
581
|
+
}
|
|
582
|
+
midStatement() {
|
|
583
|
+
let localContext = new MidStatementContext(this.context, this.state);
|
|
584
|
+
this.enterRule(localContext, 16, plurnkParser.RULE_midStatement);
|
|
585
|
+
try {
|
|
586
|
+
this.state = 170;
|
|
587
|
+
this.errorHandler.sync(this);
|
|
588
|
+
switch (this.tokenStream.LA(1)) {
|
|
589
|
+
case plurnkParser.OPEN_FIND:
|
|
590
|
+
this.enterOuterAlt(localContext, 1);
|
|
591
|
+
{
|
|
592
|
+
this.state = 158;
|
|
593
|
+
this.findStatement();
|
|
594
|
+
}
|
|
595
|
+
break;
|
|
596
|
+
case plurnkParser.OPEN_READ:
|
|
597
|
+
this.enterOuterAlt(localContext, 2);
|
|
598
|
+
{
|
|
599
|
+
this.state = 159;
|
|
600
|
+
this.readStatement();
|
|
601
|
+
}
|
|
602
|
+
break;
|
|
603
|
+
case plurnkParser.OPEN_EDIT:
|
|
604
|
+
this.enterOuterAlt(localContext, 3);
|
|
605
|
+
{
|
|
606
|
+
this.state = 160;
|
|
607
|
+
this.editStatement();
|
|
608
|
+
}
|
|
609
|
+
break;
|
|
610
|
+
case plurnkParser.OPEN_COPY:
|
|
611
|
+
this.enterOuterAlt(localContext, 4);
|
|
612
|
+
{
|
|
613
|
+
this.state = 161;
|
|
614
|
+
this.copyStatement();
|
|
615
|
+
}
|
|
616
|
+
break;
|
|
617
|
+
case plurnkParser.OPEN_MOVE:
|
|
618
|
+
this.enterOuterAlt(localContext, 5);
|
|
619
|
+
{
|
|
620
|
+
this.state = 162;
|
|
621
|
+
this.moveStatement();
|
|
622
|
+
}
|
|
623
|
+
break;
|
|
624
|
+
case plurnkParser.OPEN_OPEN:
|
|
625
|
+
this.enterOuterAlt(localContext, 6);
|
|
626
|
+
{
|
|
627
|
+
this.state = 163;
|
|
628
|
+
this.openStatement();
|
|
629
|
+
}
|
|
630
|
+
break;
|
|
631
|
+
case plurnkParser.OPEN_FOLD:
|
|
632
|
+
this.enterOuterAlt(localContext, 7);
|
|
633
|
+
{
|
|
634
|
+
this.state = 164;
|
|
635
|
+
this.foldStatement();
|
|
636
|
+
}
|
|
637
|
+
break;
|
|
638
|
+
case plurnkParser.OPEN_SEND:
|
|
639
|
+
this.enterOuterAlt(localContext, 8);
|
|
640
|
+
{
|
|
641
|
+
this.state = 165;
|
|
642
|
+
this.midSend();
|
|
643
|
+
}
|
|
644
|
+
break;
|
|
645
|
+
case plurnkParser.OPEN_EXEC:
|
|
646
|
+
this.enterOuterAlt(localContext, 9);
|
|
647
|
+
{
|
|
648
|
+
this.state = 166;
|
|
649
|
+
this.execStatement();
|
|
650
|
+
}
|
|
651
|
+
break;
|
|
652
|
+
case plurnkParser.OPEN_WORK:
|
|
653
|
+
this.enterOuterAlt(localContext, 10);
|
|
654
|
+
{
|
|
655
|
+
this.state = 167;
|
|
656
|
+
this.workStatement();
|
|
657
|
+
}
|
|
658
|
+
break;
|
|
659
|
+
case plurnkParser.OPEN_FORK:
|
|
660
|
+
this.enterOuterAlt(localContext, 11);
|
|
661
|
+
{
|
|
662
|
+
this.state = 168;
|
|
663
|
+
this.forkStatement();
|
|
664
|
+
}
|
|
665
|
+
break;
|
|
666
|
+
case plurnkParser.OPEN_KILL:
|
|
667
|
+
this.enterOuterAlt(localContext, 12);
|
|
668
|
+
{
|
|
669
|
+
this.state = 169;
|
|
670
|
+
this.killStatement();
|
|
671
|
+
}
|
|
672
|
+
break;
|
|
673
|
+
default:
|
|
674
|
+
throw new antlr.NoViableAltException(this);
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
catch (re) {
|
|
678
|
+
if (re instanceof antlr.RecognitionException) {
|
|
679
|
+
this.errorHandler.reportError(this, re);
|
|
680
|
+
this.errorHandler.recover(this, re);
|
|
681
|
+
}
|
|
682
|
+
else {
|
|
683
|
+
throw re;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
finally {
|
|
687
|
+
this.exitRule();
|
|
688
|
+
}
|
|
689
|
+
return localContext;
|
|
690
|
+
}
|
|
691
|
+
findStatement() {
|
|
692
|
+
let localContext = new FindStatementContext(this.context, this.state);
|
|
693
|
+
this.enterRule(localContext, 18, plurnkParser.RULE_findStatement);
|
|
694
|
+
let _la;
|
|
695
|
+
try {
|
|
696
|
+
this.enterOuterAlt(localContext, 1);
|
|
697
|
+
{
|
|
698
|
+
this.state = 172;
|
|
699
|
+
this.match(plurnkParser.OPEN_FIND);
|
|
700
|
+
this.state = 174;
|
|
701
|
+
this.errorHandler.sync(this);
|
|
702
|
+
_la = this.tokenStream.LA(1);
|
|
703
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
704
|
+
{
|
|
705
|
+
this.state = 173;
|
|
706
|
+
this.tagOpModifiers();
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
this.state = 177;
|
|
710
|
+
this.errorHandler.sync(this);
|
|
711
|
+
_la = this.tokenStream.LA(1);
|
|
712
|
+
if (_la === 6) {
|
|
713
|
+
{
|
|
714
|
+
this.state = 176;
|
|
715
|
+
this.match(plurnkParser.COLON);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
this.state = 180;
|
|
719
|
+
this.errorHandler.sync(this);
|
|
720
|
+
_la = this.tokenStream.LA(1);
|
|
721
|
+
if (_la === 13) {
|
|
722
|
+
{
|
|
723
|
+
this.state = 179;
|
|
724
|
+
this.body();
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
this.state = 182;
|
|
728
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
catch (re) {
|
|
732
|
+
if (re instanceof antlr.RecognitionException) {
|
|
733
|
+
this.errorHandler.reportError(this, re);
|
|
734
|
+
this.errorHandler.recover(this, re);
|
|
735
|
+
}
|
|
736
|
+
else {
|
|
737
|
+
throw re;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
finally {
|
|
741
|
+
this.exitRule();
|
|
742
|
+
}
|
|
743
|
+
return localContext;
|
|
744
|
+
}
|
|
745
|
+
readStatement() {
|
|
746
|
+
let localContext = new ReadStatementContext(this.context, this.state);
|
|
747
|
+
this.enterRule(localContext, 20, plurnkParser.RULE_readStatement);
|
|
748
|
+
let _la;
|
|
749
|
+
try {
|
|
750
|
+
this.enterOuterAlt(localContext, 1);
|
|
751
|
+
{
|
|
752
|
+
this.state = 184;
|
|
753
|
+
this.match(plurnkParser.OPEN_READ);
|
|
754
|
+
this.state = 186;
|
|
755
|
+
this.errorHandler.sync(this);
|
|
756
|
+
_la = this.tokenStream.LA(1);
|
|
757
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
758
|
+
{
|
|
759
|
+
this.state = 185;
|
|
760
|
+
this.tagOpModifiers();
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
this.state = 189;
|
|
764
|
+
this.errorHandler.sync(this);
|
|
765
|
+
_la = this.tokenStream.LA(1);
|
|
766
|
+
if (_la === 6) {
|
|
767
|
+
{
|
|
768
|
+
this.state = 188;
|
|
769
|
+
this.match(plurnkParser.COLON);
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
this.state = 192;
|
|
773
|
+
this.errorHandler.sync(this);
|
|
774
|
+
_la = this.tokenStream.LA(1);
|
|
775
|
+
if (_la === 13) {
|
|
776
|
+
{
|
|
777
|
+
this.state = 191;
|
|
778
|
+
this.body();
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
this.state = 194;
|
|
782
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
catch (re) {
|
|
786
|
+
if (re instanceof antlr.RecognitionException) {
|
|
787
|
+
this.errorHandler.reportError(this, re);
|
|
788
|
+
this.errorHandler.recover(this, re);
|
|
789
|
+
}
|
|
790
|
+
else {
|
|
791
|
+
throw re;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
finally {
|
|
795
|
+
this.exitRule();
|
|
796
|
+
}
|
|
797
|
+
return localContext;
|
|
798
|
+
}
|
|
799
|
+
editStatement() {
|
|
800
|
+
let localContext = new EditStatementContext(this.context, this.state);
|
|
801
|
+
this.enterRule(localContext, 22, plurnkParser.RULE_editStatement);
|
|
802
|
+
let _la;
|
|
803
|
+
try {
|
|
804
|
+
this.enterOuterAlt(localContext, 1);
|
|
805
|
+
{
|
|
806
|
+
this.state = 196;
|
|
807
|
+
this.match(plurnkParser.OPEN_EDIT);
|
|
808
|
+
this.state = 198;
|
|
809
|
+
this.errorHandler.sync(this);
|
|
810
|
+
_la = this.tokenStream.LA(1);
|
|
811
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
812
|
+
{
|
|
813
|
+
this.state = 197;
|
|
814
|
+
this.tagOpModifiers();
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
this.state = 201;
|
|
818
|
+
this.errorHandler.sync(this);
|
|
819
|
+
_la = this.tokenStream.LA(1);
|
|
820
|
+
if (_la === 6) {
|
|
821
|
+
{
|
|
822
|
+
this.state = 200;
|
|
823
|
+
this.match(plurnkParser.COLON);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
this.state = 204;
|
|
827
|
+
this.errorHandler.sync(this);
|
|
828
|
+
_la = this.tokenStream.LA(1);
|
|
829
|
+
if (_la === 13) {
|
|
830
|
+
{
|
|
831
|
+
this.state = 203;
|
|
832
|
+
this.body();
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
this.state = 206;
|
|
836
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
catch (re) {
|
|
840
|
+
if (re instanceof antlr.RecognitionException) {
|
|
841
|
+
this.errorHandler.reportError(this, re);
|
|
842
|
+
this.errorHandler.recover(this, re);
|
|
843
|
+
}
|
|
844
|
+
else {
|
|
845
|
+
throw re;
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
finally {
|
|
849
|
+
this.exitRule();
|
|
850
|
+
}
|
|
851
|
+
return localContext;
|
|
852
|
+
}
|
|
853
|
+
copyStatement() {
|
|
854
|
+
let localContext = new CopyStatementContext(this.context, this.state);
|
|
855
|
+
this.enterRule(localContext, 24, plurnkParser.RULE_copyStatement);
|
|
856
|
+
let _la;
|
|
857
|
+
try {
|
|
858
|
+
this.enterOuterAlt(localContext, 1);
|
|
859
|
+
{
|
|
860
|
+
this.state = 208;
|
|
861
|
+
this.match(plurnkParser.OPEN_COPY);
|
|
862
|
+
this.state = 210;
|
|
863
|
+
this.errorHandler.sync(this);
|
|
864
|
+
_la = this.tokenStream.LA(1);
|
|
865
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
866
|
+
{
|
|
867
|
+
this.state = 209;
|
|
868
|
+
this.tagOpModifiers();
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
this.state = 213;
|
|
872
|
+
this.errorHandler.sync(this);
|
|
873
|
+
_la = this.tokenStream.LA(1);
|
|
874
|
+
if (_la === 6) {
|
|
875
|
+
{
|
|
876
|
+
this.state = 212;
|
|
877
|
+
this.match(plurnkParser.COLON);
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
this.state = 216;
|
|
881
|
+
this.errorHandler.sync(this);
|
|
882
|
+
_la = this.tokenStream.LA(1);
|
|
883
|
+
if (_la === 13) {
|
|
884
|
+
{
|
|
885
|
+
this.state = 215;
|
|
886
|
+
this.body();
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
this.state = 218;
|
|
890
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
catch (re) {
|
|
894
|
+
if (re instanceof antlr.RecognitionException) {
|
|
895
|
+
this.errorHandler.reportError(this, re);
|
|
896
|
+
this.errorHandler.recover(this, re);
|
|
897
|
+
}
|
|
898
|
+
else {
|
|
899
|
+
throw re;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
finally {
|
|
903
|
+
this.exitRule();
|
|
904
|
+
}
|
|
905
|
+
return localContext;
|
|
906
|
+
}
|
|
907
|
+
moveStatement() {
|
|
908
|
+
let localContext = new MoveStatementContext(this.context, this.state);
|
|
909
|
+
this.enterRule(localContext, 26, plurnkParser.RULE_moveStatement);
|
|
910
|
+
let _la;
|
|
911
|
+
try {
|
|
912
|
+
this.enterOuterAlt(localContext, 1);
|
|
913
|
+
{
|
|
914
|
+
this.state = 220;
|
|
915
|
+
this.match(plurnkParser.OPEN_MOVE);
|
|
916
|
+
this.state = 222;
|
|
917
|
+
this.errorHandler.sync(this);
|
|
918
|
+
_la = this.tokenStream.LA(1);
|
|
919
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
920
|
+
{
|
|
921
|
+
this.state = 221;
|
|
922
|
+
this.tagOpModifiers();
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
this.state = 225;
|
|
926
|
+
this.errorHandler.sync(this);
|
|
927
|
+
_la = this.tokenStream.LA(1);
|
|
928
|
+
if (_la === 6) {
|
|
929
|
+
{
|
|
930
|
+
this.state = 224;
|
|
931
|
+
this.match(plurnkParser.COLON);
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
this.state = 228;
|
|
935
|
+
this.errorHandler.sync(this);
|
|
936
|
+
_la = this.tokenStream.LA(1);
|
|
937
|
+
if (_la === 13) {
|
|
938
|
+
{
|
|
939
|
+
this.state = 227;
|
|
940
|
+
this.body();
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
this.state = 230;
|
|
944
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
catch (re) {
|
|
948
|
+
if (re instanceof antlr.RecognitionException) {
|
|
949
|
+
this.errorHandler.reportError(this, re);
|
|
950
|
+
this.errorHandler.recover(this, re);
|
|
951
|
+
}
|
|
952
|
+
else {
|
|
953
|
+
throw re;
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
finally {
|
|
957
|
+
this.exitRule();
|
|
958
|
+
}
|
|
959
|
+
return localContext;
|
|
960
|
+
}
|
|
961
|
+
openStatement() {
|
|
962
|
+
let localContext = new OpenStatementContext(this.context, this.state);
|
|
963
|
+
this.enterRule(localContext, 28, plurnkParser.RULE_openStatement);
|
|
964
|
+
let _la;
|
|
965
|
+
try {
|
|
966
|
+
this.enterOuterAlt(localContext, 1);
|
|
967
|
+
{
|
|
968
|
+
this.state = 232;
|
|
969
|
+
this.match(plurnkParser.OPEN_OPEN);
|
|
970
|
+
this.state = 234;
|
|
971
|
+
this.errorHandler.sync(this);
|
|
972
|
+
_la = this.tokenStream.LA(1);
|
|
973
|
+
if (_la === 1 || _la === 3) {
|
|
974
|
+
{
|
|
975
|
+
this.state = 233;
|
|
976
|
+
this.curationModifiers();
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
this.state = 237;
|
|
980
|
+
this.errorHandler.sync(this);
|
|
981
|
+
_la = this.tokenStream.LA(1);
|
|
982
|
+
if (_la === 6) {
|
|
983
|
+
{
|
|
984
|
+
this.state = 236;
|
|
985
|
+
this.match(plurnkParser.COLON);
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
this.state = 240;
|
|
989
|
+
this.errorHandler.sync(this);
|
|
990
|
+
_la = this.tokenStream.LA(1);
|
|
991
|
+
if (_la === 13) {
|
|
992
|
+
{
|
|
993
|
+
this.state = 239;
|
|
994
|
+
this.body();
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
this.state = 242;
|
|
998
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
catch (re) {
|
|
1002
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1003
|
+
this.errorHandler.reportError(this, re);
|
|
1004
|
+
this.errorHandler.recover(this, re);
|
|
1005
|
+
}
|
|
1006
|
+
else {
|
|
1007
|
+
throw re;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
finally {
|
|
1011
|
+
this.exitRule();
|
|
1012
|
+
}
|
|
1013
|
+
return localContext;
|
|
1014
|
+
}
|
|
1015
|
+
foldStatement() {
|
|
1016
|
+
let localContext = new FoldStatementContext(this.context, this.state);
|
|
1017
|
+
this.enterRule(localContext, 30, plurnkParser.RULE_foldStatement);
|
|
1018
|
+
let _la;
|
|
1019
|
+
try {
|
|
1020
|
+
this.enterOuterAlt(localContext, 1);
|
|
1021
|
+
{
|
|
1022
|
+
this.state = 244;
|
|
1023
|
+
this.match(plurnkParser.OPEN_FOLD);
|
|
1024
|
+
this.state = 246;
|
|
1025
|
+
this.errorHandler.sync(this);
|
|
1026
|
+
_la = this.tokenStream.LA(1);
|
|
1027
|
+
if (_la === 1 || _la === 3) {
|
|
1028
|
+
{
|
|
1029
|
+
this.state = 245;
|
|
1030
|
+
this.curationModifiers();
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
this.state = 249;
|
|
1034
|
+
this.errorHandler.sync(this);
|
|
1035
|
+
_la = this.tokenStream.LA(1);
|
|
1036
|
+
if (_la === 6) {
|
|
1037
|
+
{
|
|
1038
|
+
this.state = 248;
|
|
1039
|
+
this.match(plurnkParser.COLON);
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
this.state = 252;
|
|
1043
|
+
this.errorHandler.sync(this);
|
|
1044
|
+
_la = this.tokenStream.LA(1);
|
|
1045
|
+
if (_la === 13) {
|
|
1046
|
+
{
|
|
1047
|
+
this.state = 251;
|
|
1048
|
+
this.body();
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
this.state = 254;
|
|
1052
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
catch (re) {
|
|
1056
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1057
|
+
this.errorHandler.reportError(this, re);
|
|
1058
|
+
this.errorHandler.recover(this, re);
|
|
1059
|
+
}
|
|
1060
|
+
else {
|
|
1061
|
+
throw re;
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
finally {
|
|
1065
|
+
this.exitRule();
|
|
1066
|
+
}
|
|
1067
|
+
return localContext;
|
|
1068
|
+
}
|
|
1069
|
+
sendStatement() {
|
|
1070
|
+
let localContext = new SendStatementContext(this.context, this.state);
|
|
1071
|
+
this.enterRule(localContext, 32, plurnkParser.RULE_sendStatement);
|
|
1072
|
+
let _la;
|
|
1073
|
+
try {
|
|
1074
|
+
this.enterOuterAlt(localContext, 1);
|
|
1075
|
+
{
|
|
1076
|
+
this.state = 256;
|
|
1077
|
+
this.match(plurnkParser.OPEN_SEND);
|
|
1078
|
+
this.state = 257;
|
|
1079
|
+
this.termModifiers();
|
|
1080
|
+
this.state = 259;
|
|
1081
|
+
this.errorHandler.sync(this);
|
|
1082
|
+
_la = this.tokenStream.LA(1);
|
|
1083
|
+
if (_la === 6) {
|
|
1084
|
+
{
|
|
1085
|
+
this.state = 258;
|
|
1086
|
+
this.match(plurnkParser.COLON);
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
this.state = 262;
|
|
1090
|
+
this.errorHandler.sync(this);
|
|
1091
|
+
_la = this.tokenStream.LA(1);
|
|
1092
|
+
if (_la === 13) {
|
|
1093
|
+
{
|
|
1094
|
+
this.state = 261;
|
|
1095
|
+
this.body();
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
this.state = 264;
|
|
1099
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
catch (re) {
|
|
1103
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1104
|
+
this.errorHandler.reportError(this, re);
|
|
1105
|
+
this.errorHandler.recover(this, re);
|
|
1106
|
+
}
|
|
1107
|
+
else {
|
|
1108
|
+
throw re;
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
finally {
|
|
1112
|
+
this.exitRule();
|
|
1113
|
+
}
|
|
1114
|
+
return localContext;
|
|
1115
|
+
}
|
|
1116
|
+
midSend() {
|
|
1117
|
+
let localContext = new MidSendContext(this.context, this.state);
|
|
1118
|
+
this.enterRule(localContext, 34, plurnkParser.RULE_midSend);
|
|
1119
|
+
let _la;
|
|
1120
|
+
try {
|
|
1121
|
+
this.enterOuterAlt(localContext, 1);
|
|
1122
|
+
{
|
|
1123
|
+
this.state = 266;
|
|
1124
|
+
this.match(plurnkParser.OPEN_SEND);
|
|
1125
|
+
this.state = 268;
|
|
1126
|
+
this.errorHandler.sync(this);
|
|
1127
|
+
_la = this.tokenStream.LA(1);
|
|
1128
|
+
if (_la === 1 || _la === 3) {
|
|
1129
|
+
{
|
|
1130
|
+
this.state = 267;
|
|
1131
|
+
this.midModifiers();
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
this.state = 271;
|
|
1135
|
+
this.errorHandler.sync(this);
|
|
1136
|
+
_la = this.tokenStream.LA(1);
|
|
1137
|
+
if (_la === 6) {
|
|
1138
|
+
{
|
|
1139
|
+
this.state = 270;
|
|
1140
|
+
this.match(plurnkParser.COLON);
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
this.state = 274;
|
|
1144
|
+
this.errorHandler.sync(this);
|
|
1145
|
+
_la = this.tokenStream.LA(1);
|
|
1146
|
+
if (_la === 13) {
|
|
1147
|
+
{
|
|
1148
|
+
this.state = 273;
|
|
1149
|
+
this.body();
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
this.state = 276;
|
|
1153
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
catch (re) {
|
|
1157
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1158
|
+
this.errorHandler.reportError(this, re);
|
|
1159
|
+
this.errorHandler.recover(this, re);
|
|
1160
|
+
}
|
|
1161
|
+
else {
|
|
1162
|
+
throw re;
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
finally {
|
|
1166
|
+
this.exitRule();
|
|
1167
|
+
}
|
|
1168
|
+
return localContext;
|
|
1169
|
+
}
|
|
1170
|
+
execStatement() {
|
|
1171
|
+
let localContext = new ExecStatementContext(this.context, this.state);
|
|
1172
|
+
this.enterRule(localContext, 36, plurnkParser.RULE_execStatement);
|
|
1173
|
+
let _la;
|
|
1174
|
+
try {
|
|
1175
|
+
this.enterOuterAlt(localContext, 1);
|
|
1176
|
+
{
|
|
1177
|
+
this.state = 278;
|
|
1178
|
+
this.match(plurnkParser.OPEN_EXEC);
|
|
1179
|
+
this.state = 280;
|
|
1180
|
+
this.errorHandler.sync(this);
|
|
1181
|
+
_la = this.tokenStream.LA(1);
|
|
1182
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
1183
|
+
{
|
|
1184
|
+
this.state = 279;
|
|
1185
|
+
this.execModifiers();
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
this.state = 283;
|
|
1189
|
+
this.errorHandler.sync(this);
|
|
1190
|
+
_la = this.tokenStream.LA(1);
|
|
1191
|
+
if (_la === 6) {
|
|
1192
|
+
{
|
|
1193
|
+
this.state = 282;
|
|
1194
|
+
this.match(plurnkParser.COLON);
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
this.state = 286;
|
|
1198
|
+
this.errorHandler.sync(this);
|
|
1199
|
+
_la = this.tokenStream.LA(1);
|
|
1200
|
+
if (_la === 13) {
|
|
1201
|
+
{
|
|
1202
|
+
this.state = 285;
|
|
1203
|
+
this.body();
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
this.state = 288;
|
|
1207
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
catch (re) {
|
|
1211
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1212
|
+
this.errorHandler.reportError(this, re);
|
|
1213
|
+
this.errorHandler.recover(this, re);
|
|
1214
|
+
}
|
|
1215
|
+
else {
|
|
1216
|
+
throw re;
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
finally {
|
|
1220
|
+
this.exitRule();
|
|
1221
|
+
}
|
|
1222
|
+
return localContext;
|
|
1223
|
+
}
|
|
1224
|
+
workStatement() {
|
|
1225
|
+
let localContext = new WorkStatementContext(this.context, this.state);
|
|
1226
|
+
this.enterRule(localContext, 38, plurnkParser.RULE_workStatement);
|
|
1227
|
+
let _la;
|
|
1228
|
+
try {
|
|
1229
|
+
this.enterOuterAlt(localContext, 1);
|
|
1230
|
+
{
|
|
1231
|
+
this.state = 290;
|
|
1232
|
+
this.match(plurnkParser.OPEN_WORK);
|
|
1233
|
+
this.state = 292;
|
|
1234
|
+
this.errorHandler.sync(this);
|
|
1235
|
+
_la = this.tokenStream.LA(1);
|
|
1236
|
+
if (_la === 1 || _la === 3) {
|
|
1237
|
+
{
|
|
1238
|
+
this.state = 291;
|
|
1239
|
+
this.branchModifiers();
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
this.state = 294;
|
|
1243
|
+
this.match(plurnkParser.COLON);
|
|
1244
|
+
this.state = 295;
|
|
1245
|
+
this.body();
|
|
1246
|
+
this.state = 296;
|
|
1247
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
catch (re) {
|
|
1251
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1252
|
+
this.errorHandler.reportError(this, re);
|
|
1253
|
+
this.errorHandler.recover(this, re);
|
|
1254
|
+
}
|
|
1255
|
+
else {
|
|
1256
|
+
throw re;
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
finally {
|
|
1260
|
+
this.exitRule();
|
|
1261
|
+
}
|
|
1262
|
+
return localContext;
|
|
1263
|
+
}
|
|
1264
|
+
forkStatement() {
|
|
1265
|
+
let localContext = new ForkStatementContext(this.context, this.state);
|
|
1266
|
+
this.enterRule(localContext, 40, plurnkParser.RULE_forkStatement);
|
|
1267
|
+
let _la;
|
|
1268
|
+
try {
|
|
1269
|
+
this.enterOuterAlt(localContext, 1);
|
|
1270
|
+
{
|
|
1271
|
+
this.state = 298;
|
|
1272
|
+
this.match(plurnkParser.OPEN_FORK);
|
|
1273
|
+
this.state = 300;
|
|
1274
|
+
this.errorHandler.sync(this);
|
|
1275
|
+
_la = this.tokenStream.LA(1);
|
|
1276
|
+
if (_la === 1 || _la === 3) {
|
|
1277
|
+
{
|
|
1278
|
+
this.state = 299;
|
|
1279
|
+
this.branchModifiers();
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
this.state = 302;
|
|
1283
|
+
this.match(plurnkParser.COLON);
|
|
1284
|
+
this.state = 303;
|
|
1285
|
+
this.body();
|
|
1286
|
+
this.state = 304;
|
|
1287
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
catch (re) {
|
|
1291
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1292
|
+
this.errorHandler.reportError(this, re);
|
|
1293
|
+
this.errorHandler.recover(this, re);
|
|
1294
|
+
}
|
|
1295
|
+
else {
|
|
1296
|
+
throw re;
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
finally {
|
|
1300
|
+
this.exitRule();
|
|
1301
|
+
}
|
|
1302
|
+
return localContext;
|
|
1303
|
+
}
|
|
1304
|
+
killStatement() {
|
|
1305
|
+
let localContext = new KillStatementContext(this.context, this.state);
|
|
1306
|
+
this.enterRule(localContext, 42, plurnkParser.RULE_killStatement);
|
|
1307
|
+
let _la;
|
|
1308
|
+
try {
|
|
1309
|
+
this.enterOuterAlt(localContext, 1);
|
|
1310
|
+
{
|
|
1311
|
+
this.state = 306;
|
|
1312
|
+
this.match(plurnkParser.OPEN_KILL);
|
|
1313
|
+
this.state = 308;
|
|
1314
|
+
this.errorHandler.sync(this);
|
|
1315
|
+
_la = this.tokenStream.LA(1);
|
|
1316
|
+
if (_la === 1 || _la === 3) {
|
|
1317
|
+
{
|
|
1318
|
+
this.state = 307;
|
|
1319
|
+
this.intOpModifiers();
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
this.state = 311;
|
|
1323
|
+
this.errorHandler.sync(this);
|
|
1324
|
+
_la = this.tokenStream.LA(1);
|
|
1325
|
+
if (_la === 6) {
|
|
1326
|
+
{
|
|
1327
|
+
this.state = 310;
|
|
1328
|
+
this.match(plurnkParser.COLON);
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
this.state = 314;
|
|
1332
|
+
this.errorHandler.sync(this);
|
|
1333
|
+
_la = this.tokenStream.LA(1);
|
|
1334
|
+
if (_la === 13) {
|
|
1335
|
+
{
|
|
1336
|
+
this.state = 313;
|
|
1337
|
+
this.body();
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
this.state = 316;
|
|
1341
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
catch (re) {
|
|
1345
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1346
|
+
this.errorHandler.reportError(this, re);
|
|
1347
|
+
this.errorHandler.recover(this, re);
|
|
1348
|
+
}
|
|
1349
|
+
else {
|
|
1350
|
+
throw re;
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
finally {
|
|
1354
|
+
this.exitRule();
|
|
1355
|
+
}
|
|
1356
|
+
return localContext;
|
|
1357
|
+
}
|
|
1358
|
+
planStatement() {
|
|
1359
|
+
let localContext = new PlanStatementContext(this.context, this.state);
|
|
1360
|
+
this.enterRule(localContext, 44, plurnkParser.RULE_planStatement);
|
|
1361
|
+
let _la;
|
|
1362
|
+
try {
|
|
1363
|
+
this.enterOuterAlt(localContext, 1);
|
|
1364
|
+
{
|
|
1365
|
+
this.state = 318;
|
|
1366
|
+
this.match(plurnkParser.OPEN_PLAN);
|
|
1367
|
+
this.state = 320;
|
|
1368
|
+
this.errorHandler.sync(this);
|
|
1369
|
+
_la = this.tokenStream.LA(1);
|
|
1370
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
1371
|
+
{
|
|
1372
|
+
this.state = 319;
|
|
1373
|
+
this.tagOpModifiers();
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
this.state = 323;
|
|
1377
|
+
this.errorHandler.sync(this);
|
|
1378
|
+
_la = this.tokenStream.LA(1);
|
|
1379
|
+
if (_la === 6) {
|
|
1380
|
+
{
|
|
1381
|
+
this.state = 322;
|
|
1382
|
+
this.match(plurnkParser.COLON);
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
this.state = 326;
|
|
1386
|
+
this.errorHandler.sync(this);
|
|
1387
|
+
_la = this.tokenStream.LA(1);
|
|
1388
|
+
if (_la === 13) {
|
|
1389
|
+
{
|
|
1390
|
+
this.state = 325;
|
|
1391
|
+
this.body();
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
this.state = 328;
|
|
1395
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
catch (re) {
|
|
1399
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1400
|
+
this.errorHandler.reportError(this, re);
|
|
1401
|
+
this.errorHandler.recover(this, re);
|
|
1402
|
+
}
|
|
1403
|
+
else {
|
|
1404
|
+
throw re;
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
finally {
|
|
1408
|
+
this.exitRule();
|
|
1409
|
+
}
|
|
1410
|
+
return localContext;
|
|
1411
|
+
}
|
|
1412
|
+
lookStatement() {
|
|
1413
|
+
let localContext = new LookStatementContext(this.context, this.state);
|
|
1414
|
+
this.enterRule(localContext, 46, plurnkParser.RULE_lookStatement);
|
|
1415
|
+
let _la;
|
|
1416
|
+
try {
|
|
1417
|
+
this.enterOuterAlt(localContext, 1);
|
|
1418
|
+
{
|
|
1419
|
+
this.state = 330;
|
|
1420
|
+
this.match(plurnkParser.OPEN_LOOK);
|
|
1421
|
+
this.state = 332;
|
|
1422
|
+
this.errorHandler.sync(this);
|
|
1423
|
+
_la = this.tokenStream.LA(1);
|
|
1424
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
1425
|
+
{
|
|
1426
|
+
this.state = 331;
|
|
1427
|
+
this.tagOpModifiers();
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
this.state = 335;
|
|
1431
|
+
this.errorHandler.sync(this);
|
|
1432
|
+
_la = this.tokenStream.LA(1);
|
|
1433
|
+
if (_la === 6) {
|
|
1434
|
+
{
|
|
1435
|
+
this.state = 334;
|
|
1436
|
+
this.match(plurnkParser.COLON);
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
this.state = 338;
|
|
1440
|
+
this.errorHandler.sync(this);
|
|
1441
|
+
_la = this.tokenStream.LA(1);
|
|
1442
|
+
if (_la === 13) {
|
|
1443
|
+
{
|
|
1444
|
+
this.state = 337;
|
|
1445
|
+
this.body();
|
|
1446
|
+
}
|
|
1447
|
+
}
|
|
1448
|
+
this.state = 340;
|
|
1449
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
catch (re) {
|
|
1453
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1454
|
+
this.errorHandler.reportError(this, re);
|
|
1455
|
+
this.errorHandler.recover(this, re);
|
|
1456
|
+
}
|
|
1457
|
+
else {
|
|
1458
|
+
throw re;
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
finally {
|
|
1462
|
+
this.exitRule();
|
|
1463
|
+
}
|
|
1464
|
+
return localContext;
|
|
1465
|
+
}
|
|
1466
|
+
buffStatement() {
|
|
1467
|
+
let localContext = new BuffStatementContext(this.context, this.state);
|
|
1468
|
+
this.enterRule(localContext, 48, plurnkParser.RULE_buffStatement);
|
|
1469
|
+
let _la;
|
|
1470
|
+
try {
|
|
1471
|
+
this.enterOuterAlt(localContext, 1);
|
|
1472
|
+
{
|
|
1473
|
+
this.state = 342;
|
|
1474
|
+
this.match(plurnkParser.OPEN_BUFF);
|
|
1475
|
+
this.state = 344;
|
|
1476
|
+
this.errorHandler.sync(this);
|
|
1477
|
+
_la = this.tokenStream.LA(1);
|
|
1478
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
1479
|
+
{
|
|
1480
|
+
this.state = 343;
|
|
1481
|
+
this.tagOpModifiers();
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
this.state = 347;
|
|
1485
|
+
this.errorHandler.sync(this);
|
|
1486
|
+
_la = this.tokenStream.LA(1);
|
|
1487
|
+
if (_la === 6) {
|
|
1488
|
+
{
|
|
1489
|
+
this.state = 346;
|
|
1490
|
+
this.match(plurnkParser.COLON);
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
this.state = 350;
|
|
1494
|
+
this.errorHandler.sync(this);
|
|
1495
|
+
_la = this.tokenStream.LA(1);
|
|
1496
|
+
if (_la === 13) {
|
|
1497
|
+
{
|
|
1498
|
+
this.state = 349;
|
|
1499
|
+
this.body();
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
this.state = 352;
|
|
1503
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
catch (re) {
|
|
1507
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1508
|
+
this.errorHandler.reportError(this, re);
|
|
1509
|
+
this.errorHandler.recover(this, re);
|
|
1510
|
+
}
|
|
1511
|
+
else {
|
|
1512
|
+
throw re;
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
finally {
|
|
1516
|
+
this.exitRule();
|
|
1517
|
+
}
|
|
1518
|
+
return localContext;
|
|
1519
|
+
}
|
|
1520
|
+
tagOpModifiers() {
|
|
1521
|
+
let localContext = new TagOpModifiersContext(this.context, this.state);
|
|
1522
|
+
this.enterRule(localContext, 50, plurnkParser.RULE_tagOpModifiers);
|
|
1523
|
+
let _la;
|
|
1524
|
+
try {
|
|
1525
|
+
this.state = 387;
|
|
1526
|
+
this.errorHandler.sync(this);
|
|
1527
|
+
switch (this.tokenStream.LA(1)) {
|
|
1528
|
+
case plurnkParser.LBRACKET:
|
|
1529
|
+
this.enterOuterAlt(localContext, 1);
|
|
1530
|
+
{
|
|
1531
|
+
this.state = 354;
|
|
1532
|
+
this.tagSignal();
|
|
1533
|
+
this.state = 363;
|
|
1534
|
+
this.errorHandler.sync(this);
|
|
1535
|
+
switch (this.tokenStream.LA(1)) {
|
|
1536
|
+
case plurnkParser.LPAREN:
|
|
1537
|
+
{
|
|
1538
|
+
this.state = 355;
|
|
1539
|
+
this.target();
|
|
1540
|
+
this.state = 357;
|
|
1541
|
+
this.errorHandler.sync(this);
|
|
1542
|
+
_la = this.tokenStream.LA(1);
|
|
1543
|
+
if (_la === 5) {
|
|
1544
|
+
{
|
|
1545
|
+
this.state = 356;
|
|
1546
|
+
this.lineMarker();
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
break;
|
|
1551
|
+
case plurnkParser.L_MARKER:
|
|
1552
|
+
{
|
|
1553
|
+
this.state = 359;
|
|
1554
|
+
this.lineMarker();
|
|
1555
|
+
this.state = 361;
|
|
1556
|
+
this.errorHandler.sync(this);
|
|
1557
|
+
_la = this.tokenStream.LA(1);
|
|
1558
|
+
if (_la === 3) {
|
|
1559
|
+
{
|
|
1560
|
+
this.state = 360;
|
|
1561
|
+
this.target();
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
break;
|
|
1566
|
+
case plurnkParser.COLON:
|
|
1567
|
+
case plurnkParser.BODY_TEXT:
|
|
1568
|
+
case plurnkParser.CLOSE_TAG:
|
|
1569
|
+
break;
|
|
1570
|
+
default:
|
|
1571
|
+
break;
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
break;
|
|
1575
|
+
case plurnkParser.LPAREN:
|
|
1576
|
+
this.enterOuterAlt(localContext, 2);
|
|
1577
|
+
{
|
|
1578
|
+
this.state = 365;
|
|
1579
|
+
this.target();
|
|
1580
|
+
this.state = 374;
|
|
1581
|
+
this.errorHandler.sync(this);
|
|
1582
|
+
switch (this.tokenStream.LA(1)) {
|
|
1583
|
+
case plurnkParser.LBRACKET:
|
|
1584
|
+
{
|
|
1585
|
+
this.state = 366;
|
|
1586
|
+
this.tagSignal();
|
|
1587
|
+
this.state = 368;
|
|
1588
|
+
this.errorHandler.sync(this);
|
|
1589
|
+
_la = this.tokenStream.LA(1);
|
|
1590
|
+
if (_la === 5) {
|
|
1591
|
+
{
|
|
1592
|
+
this.state = 367;
|
|
1593
|
+
this.lineMarker();
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
break;
|
|
1598
|
+
case plurnkParser.L_MARKER:
|
|
1599
|
+
{
|
|
1600
|
+
this.state = 370;
|
|
1601
|
+
this.lineMarker();
|
|
1602
|
+
this.state = 372;
|
|
1603
|
+
this.errorHandler.sync(this);
|
|
1604
|
+
_la = this.tokenStream.LA(1);
|
|
1605
|
+
if (_la === 1) {
|
|
1606
|
+
{
|
|
1607
|
+
this.state = 371;
|
|
1608
|
+
this.tagSignal();
|
|
1609
|
+
}
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
break;
|
|
1613
|
+
case plurnkParser.COLON:
|
|
1614
|
+
case plurnkParser.BODY_TEXT:
|
|
1615
|
+
case plurnkParser.CLOSE_TAG:
|
|
1616
|
+
break;
|
|
1617
|
+
default:
|
|
1618
|
+
break;
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
break;
|
|
1622
|
+
case plurnkParser.L_MARKER:
|
|
1623
|
+
this.enterOuterAlt(localContext, 3);
|
|
1624
|
+
{
|
|
1625
|
+
this.state = 376;
|
|
1626
|
+
this.lineMarker();
|
|
1627
|
+
this.state = 385;
|
|
1628
|
+
this.errorHandler.sync(this);
|
|
1629
|
+
switch (this.tokenStream.LA(1)) {
|
|
1630
|
+
case plurnkParser.LBRACKET:
|
|
1631
|
+
{
|
|
1632
|
+
this.state = 377;
|
|
1633
|
+
this.tagSignal();
|
|
1634
|
+
this.state = 379;
|
|
1635
|
+
this.errorHandler.sync(this);
|
|
1636
|
+
_la = this.tokenStream.LA(1);
|
|
1637
|
+
if (_la === 3) {
|
|
1638
|
+
{
|
|
1639
|
+
this.state = 378;
|
|
1640
|
+
this.target();
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
break;
|
|
1645
|
+
case plurnkParser.LPAREN:
|
|
1646
|
+
{
|
|
1647
|
+
this.state = 381;
|
|
1648
|
+
this.target();
|
|
1649
|
+
this.state = 383;
|
|
1650
|
+
this.errorHandler.sync(this);
|
|
1651
|
+
_la = this.tokenStream.LA(1);
|
|
1652
|
+
if (_la === 1) {
|
|
1653
|
+
{
|
|
1654
|
+
this.state = 382;
|
|
1655
|
+
this.tagSignal();
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
break;
|
|
1660
|
+
case plurnkParser.COLON:
|
|
1661
|
+
case plurnkParser.BODY_TEXT:
|
|
1662
|
+
case plurnkParser.CLOSE_TAG:
|
|
1663
|
+
break;
|
|
1664
|
+
default:
|
|
1665
|
+
break;
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
break;
|
|
1669
|
+
default:
|
|
1670
|
+
throw new antlr.NoViableAltException(this);
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
catch (re) {
|
|
1674
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1675
|
+
this.errorHandler.reportError(this, re);
|
|
1676
|
+
this.errorHandler.recover(this, re);
|
|
1677
|
+
}
|
|
1678
|
+
else {
|
|
1679
|
+
throw re;
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
finally {
|
|
1683
|
+
this.exitRule();
|
|
1684
|
+
}
|
|
1685
|
+
return localContext;
|
|
1686
|
+
}
|
|
1687
|
+
curationModifiers() {
|
|
1688
|
+
let localContext = new CurationModifiersContext(this.context, this.state);
|
|
1689
|
+
this.enterRule(localContext, 52, plurnkParser.RULE_curationModifiers);
|
|
1690
|
+
let _la;
|
|
1691
|
+
try {
|
|
1692
|
+
this.state = 397;
|
|
1693
|
+
this.errorHandler.sync(this);
|
|
1694
|
+
switch (this.tokenStream.LA(1)) {
|
|
1695
|
+
case plurnkParser.LBRACKET:
|
|
1696
|
+
this.enterOuterAlt(localContext, 1);
|
|
1697
|
+
{
|
|
1698
|
+
this.state = 389;
|
|
1699
|
+
this.tagSignal();
|
|
1700
|
+
this.state = 391;
|
|
1701
|
+
this.errorHandler.sync(this);
|
|
1702
|
+
_la = this.tokenStream.LA(1);
|
|
1703
|
+
if (_la === 3) {
|
|
1704
|
+
{
|
|
1705
|
+
this.state = 390;
|
|
1706
|
+
this.target();
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
break;
|
|
1711
|
+
case plurnkParser.LPAREN:
|
|
1712
|
+
this.enterOuterAlt(localContext, 2);
|
|
1713
|
+
{
|
|
1714
|
+
this.state = 393;
|
|
1715
|
+
this.target();
|
|
1716
|
+
this.state = 395;
|
|
1717
|
+
this.errorHandler.sync(this);
|
|
1718
|
+
_la = this.tokenStream.LA(1);
|
|
1719
|
+
if (_la === 1) {
|
|
1720
|
+
{
|
|
1721
|
+
this.state = 394;
|
|
1722
|
+
this.tagSignal();
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
break;
|
|
1727
|
+
default:
|
|
1728
|
+
throw new antlr.NoViableAltException(this);
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
catch (re) {
|
|
1732
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1733
|
+
this.errorHandler.reportError(this, re);
|
|
1734
|
+
this.errorHandler.recover(this, re);
|
|
1735
|
+
}
|
|
1736
|
+
else {
|
|
1737
|
+
throw re;
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
finally {
|
|
1741
|
+
this.exitRule();
|
|
1742
|
+
}
|
|
1743
|
+
return localContext;
|
|
1744
|
+
}
|
|
1745
|
+
intOpModifiers() {
|
|
1746
|
+
let localContext = new IntOpModifiersContext(this.context, this.state);
|
|
1747
|
+
this.enterRule(localContext, 54, plurnkParser.RULE_intOpModifiers);
|
|
1748
|
+
let _la;
|
|
1749
|
+
try {
|
|
1750
|
+
this.state = 407;
|
|
1751
|
+
this.errorHandler.sync(this);
|
|
1752
|
+
switch (this.tokenStream.LA(1)) {
|
|
1753
|
+
case plurnkParser.LBRACKET:
|
|
1754
|
+
this.enterOuterAlt(localContext, 1);
|
|
1755
|
+
{
|
|
1756
|
+
this.state = 399;
|
|
1757
|
+
this.intSignal();
|
|
1758
|
+
this.state = 401;
|
|
1759
|
+
this.errorHandler.sync(this);
|
|
1760
|
+
_la = this.tokenStream.LA(1);
|
|
1761
|
+
if (_la === 3) {
|
|
1762
|
+
{
|
|
1763
|
+
this.state = 400;
|
|
1764
|
+
this.target();
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
break;
|
|
1769
|
+
case plurnkParser.LPAREN:
|
|
1770
|
+
this.enterOuterAlt(localContext, 2);
|
|
1771
|
+
{
|
|
1772
|
+
this.state = 403;
|
|
1773
|
+
this.target();
|
|
1774
|
+
this.state = 405;
|
|
1775
|
+
this.errorHandler.sync(this);
|
|
1776
|
+
_la = this.tokenStream.LA(1);
|
|
1777
|
+
if (_la === 1) {
|
|
1778
|
+
{
|
|
1779
|
+
this.state = 404;
|
|
1780
|
+
this.intSignal();
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
break;
|
|
1785
|
+
default:
|
|
1786
|
+
throw new antlr.NoViableAltException(this);
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
catch (re) {
|
|
1790
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1791
|
+
this.errorHandler.reportError(this, re);
|
|
1792
|
+
this.errorHandler.recover(this, re);
|
|
1793
|
+
}
|
|
1794
|
+
else {
|
|
1795
|
+
throw re;
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
finally {
|
|
1799
|
+
this.exitRule();
|
|
1800
|
+
}
|
|
1801
|
+
return localContext;
|
|
1802
|
+
}
|
|
1803
|
+
branchModifiers() {
|
|
1804
|
+
let localContext = new BranchModifiersContext(this.context, this.state);
|
|
1805
|
+
this.enterRule(localContext, 56, plurnkParser.RULE_branchModifiers);
|
|
1806
|
+
let _la;
|
|
1807
|
+
try {
|
|
1808
|
+
this.state = 417;
|
|
1809
|
+
this.errorHandler.sync(this);
|
|
1810
|
+
switch (this.tokenStream.LA(1)) {
|
|
1811
|
+
case plurnkParser.LBRACKET:
|
|
1812
|
+
this.enterOuterAlt(localContext, 1);
|
|
1813
|
+
{
|
|
1814
|
+
this.state = 409;
|
|
1815
|
+
this.branchSignal();
|
|
1816
|
+
this.state = 411;
|
|
1817
|
+
this.errorHandler.sync(this);
|
|
1818
|
+
_la = this.tokenStream.LA(1);
|
|
1819
|
+
if (_la === 3) {
|
|
1820
|
+
{
|
|
1821
|
+
this.state = 410;
|
|
1822
|
+
this.target();
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
break;
|
|
1827
|
+
case plurnkParser.LPAREN:
|
|
1828
|
+
this.enterOuterAlt(localContext, 2);
|
|
1829
|
+
{
|
|
1830
|
+
this.state = 413;
|
|
1831
|
+
this.target();
|
|
1832
|
+
this.state = 415;
|
|
1833
|
+
this.errorHandler.sync(this);
|
|
1834
|
+
_la = this.tokenStream.LA(1);
|
|
1835
|
+
if (_la === 1) {
|
|
1836
|
+
{
|
|
1837
|
+
this.state = 414;
|
|
1838
|
+
this.branchSignal();
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
break;
|
|
1843
|
+
default:
|
|
1844
|
+
throw new antlr.NoViableAltException(this);
|
|
1845
|
+
}
|
|
1846
|
+
}
|
|
1847
|
+
catch (re) {
|
|
1848
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1849
|
+
this.errorHandler.reportError(this, re);
|
|
1850
|
+
this.errorHandler.recover(this, re);
|
|
1851
|
+
}
|
|
1852
|
+
else {
|
|
1853
|
+
throw re;
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
finally {
|
|
1857
|
+
this.exitRule();
|
|
1858
|
+
}
|
|
1859
|
+
return localContext;
|
|
1860
|
+
}
|
|
1861
|
+
termModifiers() {
|
|
1862
|
+
let localContext = new TermModifiersContext(this.context, this.state);
|
|
1863
|
+
this.enterRule(localContext, 58, plurnkParser.RULE_termModifiers);
|
|
1864
|
+
let _la;
|
|
1865
|
+
try {
|
|
1866
|
+
this.state = 431;
|
|
1867
|
+
this.errorHandler.sync(this);
|
|
1868
|
+
switch (this.tokenStream.LA(1)) {
|
|
1869
|
+
case plurnkParser.LBRACKET:
|
|
1870
|
+
this.enterOuterAlt(localContext, 1);
|
|
1871
|
+
{
|
|
1872
|
+
this.state = 419;
|
|
1873
|
+
this.dispSignal();
|
|
1874
|
+
this.state = 421;
|
|
1875
|
+
this.errorHandler.sync(this);
|
|
1876
|
+
_la = this.tokenStream.LA(1);
|
|
1877
|
+
if (_la === 3) {
|
|
1878
|
+
{
|
|
1879
|
+
this.state = 420;
|
|
1880
|
+
this.target();
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
this.state = 424;
|
|
1884
|
+
this.errorHandler.sync(this);
|
|
1885
|
+
_la = this.tokenStream.LA(1);
|
|
1886
|
+
if (_la === 5) {
|
|
1887
|
+
{
|
|
1888
|
+
this.state = 423;
|
|
1889
|
+
this.lineMarker();
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
break;
|
|
1894
|
+
case plurnkParser.LPAREN:
|
|
1895
|
+
this.enterOuterAlt(localContext, 2);
|
|
1896
|
+
{
|
|
1897
|
+
this.state = 426;
|
|
1898
|
+
this.target();
|
|
1899
|
+
this.state = 427;
|
|
1900
|
+
this.dispSignal();
|
|
1901
|
+
this.state = 429;
|
|
1902
|
+
this.errorHandler.sync(this);
|
|
1903
|
+
_la = this.tokenStream.LA(1);
|
|
1904
|
+
if (_la === 5) {
|
|
1905
|
+
{
|
|
1906
|
+
this.state = 428;
|
|
1907
|
+
this.lineMarker();
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
break;
|
|
1912
|
+
default:
|
|
1913
|
+
throw new antlr.NoViableAltException(this);
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
catch (re) {
|
|
1917
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1918
|
+
this.errorHandler.reportError(this, re);
|
|
1919
|
+
this.errorHandler.recover(this, re);
|
|
1920
|
+
}
|
|
1921
|
+
else {
|
|
1922
|
+
throw re;
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
finally {
|
|
1926
|
+
this.exitRule();
|
|
1927
|
+
}
|
|
1928
|
+
return localContext;
|
|
1929
|
+
}
|
|
1930
|
+
midModifiers() {
|
|
1931
|
+
let localContext = new MidModifiersContext(this.context, this.state);
|
|
1932
|
+
this.enterRule(localContext, 60, plurnkParser.RULE_midModifiers);
|
|
1933
|
+
let _la;
|
|
1934
|
+
try {
|
|
1935
|
+
this.state = 441;
|
|
1936
|
+
this.errorHandler.sync(this);
|
|
1937
|
+
switch (this.tokenStream.LA(1)) {
|
|
1938
|
+
case plurnkParser.LBRACKET:
|
|
1939
|
+
this.enterOuterAlt(localContext, 1);
|
|
1940
|
+
{
|
|
1941
|
+
this.state = 433;
|
|
1942
|
+
this.midSignal();
|
|
1943
|
+
this.state = 435;
|
|
1944
|
+
this.errorHandler.sync(this);
|
|
1945
|
+
_la = this.tokenStream.LA(1);
|
|
1946
|
+
if (_la === 3) {
|
|
1947
|
+
{
|
|
1948
|
+
this.state = 434;
|
|
1949
|
+
this.target();
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
break;
|
|
1954
|
+
case plurnkParser.LPAREN:
|
|
1955
|
+
this.enterOuterAlt(localContext, 2);
|
|
1956
|
+
{
|
|
1957
|
+
this.state = 437;
|
|
1958
|
+
this.target();
|
|
1959
|
+
this.state = 439;
|
|
1960
|
+
this.errorHandler.sync(this);
|
|
1961
|
+
_la = this.tokenStream.LA(1);
|
|
1962
|
+
if (_la === 1) {
|
|
1963
|
+
{
|
|
1964
|
+
this.state = 438;
|
|
1965
|
+
this.midSignal();
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
break;
|
|
1970
|
+
default:
|
|
1971
|
+
throw new antlr.NoViableAltException(this);
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
catch (re) {
|
|
1975
|
+
if (re instanceof antlr.RecognitionException) {
|
|
1976
|
+
this.errorHandler.reportError(this, re);
|
|
1977
|
+
this.errorHandler.recover(this, re);
|
|
1978
|
+
}
|
|
1979
|
+
else {
|
|
1980
|
+
throw re;
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
finally {
|
|
1984
|
+
this.exitRule();
|
|
1985
|
+
}
|
|
1986
|
+
return localContext;
|
|
1987
|
+
}
|
|
1988
|
+
execModifiers() {
|
|
1989
|
+
let localContext = new ExecModifiersContext(this.context, this.state);
|
|
1990
|
+
this.enterRule(localContext, 62, plurnkParser.RULE_execModifiers);
|
|
1991
|
+
let _la;
|
|
1992
|
+
try {
|
|
1993
|
+
this.state = 476;
|
|
1994
|
+
this.errorHandler.sync(this);
|
|
1995
|
+
switch (this.tokenStream.LA(1)) {
|
|
1996
|
+
case plurnkParser.LBRACKET:
|
|
1997
|
+
this.enterOuterAlt(localContext, 1);
|
|
1998
|
+
{
|
|
1999
|
+
this.state = 443;
|
|
2000
|
+
this.identSignal();
|
|
2001
|
+
this.state = 452;
|
|
2002
|
+
this.errorHandler.sync(this);
|
|
2003
|
+
switch (this.tokenStream.LA(1)) {
|
|
2004
|
+
case plurnkParser.LPAREN:
|
|
2005
|
+
{
|
|
2006
|
+
this.state = 444;
|
|
2007
|
+
this.target();
|
|
2008
|
+
this.state = 446;
|
|
2009
|
+
this.errorHandler.sync(this);
|
|
2010
|
+
_la = this.tokenStream.LA(1);
|
|
2011
|
+
if (_la === 5) {
|
|
2012
|
+
{
|
|
2013
|
+
this.state = 445;
|
|
2014
|
+
this.lineMarker();
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
}
|
|
2018
|
+
break;
|
|
2019
|
+
case plurnkParser.L_MARKER:
|
|
2020
|
+
{
|
|
2021
|
+
this.state = 448;
|
|
2022
|
+
this.lineMarker();
|
|
2023
|
+
this.state = 450;
|
|
2024
|
+
this.errorHandler.sync(this);
|
|
2025
|
+
_la = this.tokenStream.LA(1);
|
|
2026
|
+
if (_la === 3) {
|
|
2027
|
+
{
|
|
2028
|
+
this.state = 449;
|
|
2029
|
+
this.target();
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
break;
|
|
2034
|
+
case plurnkParser.COLON:
|
|
2035
|
+
case plurnkParser.BODY_TEXT:
|
|
2036
|
+
case plurnkParser.CLOSE_TAG:
|
|
2037
|
+
break;
|
|
2038
|
+
default:
|
|
2039
|
+
break;
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
break;
|
|
2043
|
+
case plurnkParser.LPAREN:
|
|
2044
|
+
this.enterOuterAlt(localContext, 2);
|
|
2045
|
+
{
|
|
2046
|
+
this.state = 454;
|
|
2047
|
+
this.target();
|
|
2048
|
+
this.state = 463;
|
|
2049
|
+
this.errorHandler.sync(this);
|
|
2050
|
+
switch (this.tokenStream.LA(1)) {
|
|
2051
|
+
case plurnkParser.LBRACKET:
|
|
2052
|
+
{
|
|
2053
|
+
this.state = 455;
|
|
2054
|
+
this.identSignal();
|
|
2055
|
+
this.state = 457;
|
|
2056
|
+
this.errorHandler.sync(this);
|
|
2057
|
+
_la = this.tokenStream.LA(1);
|
|
2058
|
+
if (_la === 5) {
|
|
2059
|
+
{
|
|
2060
|
+
this.state = 456;
|
|
2061
|
+
this.lineMarker();
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
break;
|
|
2066
|
+
case plurnkParser.L_MARKER:
|
|
2067
|
+
{
|
|
2068
|
+
this.state = 459;
|
|
2069
|
+
this.lineMarker();
|
|
2070
|
+
this.state = 461;
|
|
2071
|
+
this.errorHandler.sync(this);
|
|
2072
|
+
_la = this.tokenStream.LA(1);
|
|
2073
|
+
if (_la === 1) {
|
|
2074
|
+
{
|
|
2075
|
+
this.state = 460;
|
|
2076
|
+
this.identSignal();
|
|
2077
|
+
}
|
|
2078
|
+
}
|
|
2079
|
+
}
|
|
2080
|
+
break;
|
|
2081
|
+
case plurnkParser.COLON:
|
|
2082
|
+
case plurnkParser.BODY_TEXT:
|
|
2083
|
+
case plurnkParser.CLOSE_TAG:
|
|
2084
|
+
break;
|
|
2085
|
+
default:
|
|
2086
|
+
break;
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
break;
|
|
2090
|
+
case plurnkParser.L_MARKER:
|
|
2091
|
+
this.enterOuterAlt(localContext, 3);
|
|
2092
|
+
{
|
|
2093
|
+
this.state = 465;
|
|
2094
|
+
this.lineMarker();
|
|
2095
|
+
this.state = 474;
|
|
2096
|
+
this.errorHandler.sync(this);
|
|
2097
|
+
switch (this.tokenStream.LA(1)) {
|
|
2098
|
+
case plurnkParser.LBRACKET:
|
|
2099
|
+
{
|
|
2100
|
+
this.state = 466;
|
|
2101
|
+
this.identSignal();
|
|
2102
|
+
this.state = 468;
|
|
2103
|
+
this.errorHandler.sync(this);
|
|
2104
|
+
_la = this.tokenStream.LA(1);
|
|
2105
|
+
if (_la === 3) {
|
|
2106
|
+
{
|
|
2107
|
+
this.state = 467;
|
|
2108
|
+
this.target();
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
break;
|
|
2113
|
+
case plurnkParser.LPAREN:
|
|
2114
|
+
{
|
|
2115
|
+
this.state = 470;
|
|
2116
|
+
this.target();
|
|
2117
|
+
this.state = 472;
|
|
2118
|
+
this.errorHandler.sync(this);
|
|
2119
|
+
_la = this.tokenStream.LA(1);
|
|
2120
|
+
if (_la === 1) {
|
|
2121
|
+
{
|
|
2122
|
+
this.state = 471;
|
|
2123
|
+
this.identSignal();
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2127
|
+
break;
|
|
2128
|
+
case plurnkParser.COLON:
|
|
2129
|
+
case plurnkParser.BODY_TEXT:
|
|
2130
|
+
case plurnkParser.CLOSE_TAG:
|
|
2131
|
+
break;
|
|
2132
|
+
default:
|
|
2133
|
+
break;
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
break;
|
|
2137
|
+
default:
|
|
2138
|
+
throw new antlr.NoViableAltException(this);
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
catch (re) {
|
|
2142
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2143
|
+
this.errorHandler.reportError(this, re);
|
|
2144
|
+
this.errorHandler.recover(this, re);
|
|
2145
|
+
}
|
|
2146
|
+
else {
|
|
2147
|
+
throw re;
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
finally {
|
|
2151
|
+
this.exitRule();
|
|
2152
|
+
}
|
|
2153
|
+
return localContext;
|
|
2154
|
+
}
|
|
2155
|
+
tagSignal() {
|
|
2156
|
+
let localContext = new TagSignalContext(this.context, this.state);
|
|
2157
|
+
this.enterRule(localContext, 64, plurnkParser.RULE_tagSignal);
|
|
2158
|
+
let _la;
|
|
2159
|
+
try {
|
|
2160
|
+
this.enterOuterAlt(localContext, 1);
|
|
2161
|
+
{
|
|
2162
|
+
this.state = 478;
|
|
2163
|
+
this.match(plurnkParser.LBRACKET);
|
|
2164
|
+
this.state = 482;
|
|
2165
|
+
this.errorHandler.sync(this);
|
|
2166
|
+
_la = this.tokenStream.LA(1);
|
|
2167
|
+
while (_la === 7 || _la === 11) {
|
|
2168
|
+
{
|
|
2169
|
+
{
|
|
2170
|
+
this.state = 479;
|
|
2171
|
+
_la = this.tokenStream.LA(1);
|
|
2172
|
+
if (!(_la === 7 || _la === 11)) {
|
|
2173
|
+
this.errorHandler.recoverInline(this);
|
|
2174
|
+
}
|
|
2175
|
+
else {
|
|
2176
|
+
this.errorHandler.reportMatch(this);
|
|
2177
|
+
this.consume();
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
this.state = 484;
|
|
2182
|
+
this.errorHandler.sync(this);
|
|
2183
|
+
_la = this.tokenStream.LA(1);
|
|
2184
|
+
}
|
|
2185
|
+
this.state = 485;
|
|
2186
|
+
this.match(plurnkParser.RBRACKET);
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
catch (re) {
|
|
2190
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2191
|
+
this.errorHandler.reportError(this, re);
|
|
2192
|
+
this.errorHandler.recover(this, re);
|
|
2193
|
+
}
|
|
2194
|
+
else {
|
|
2195
|
+
throw re;
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
finally {
|
|
2199
|
+
this.exitRule();
|
|
2200
|
+
}
|
|
2201
|
+
return localContext;
|
|
2202
|
+
}
|
|
2203
|
+
branchSignal() {
|
|
2204
|
+
let localContext = new BranchSignalContext(this.context, this.state);
|
|
2205
|
+
this.enterRule(localContext, 66, plurnkParser.RULE_branchSignal);
|
|
2206
|
+
try {
|
|
2207
|
+
this.enterOuterAlt(localContext, 1);
|
|
2208
|
+
{
|
|
2209
|
+
this.state = 487;
|
|
2210
|
+
this.match(plurnkParser.LBRACKET);
|
|
2211
|
+
this.state = 488;
|
|
2212
|
+
this.match(plurnkParser.TAG);
|
|
2213
|
+
this.state = 489;
|
|
2214
|
+
this.match(plurnkParser.RBRACKET);
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
catch (re) {
|
|
2218
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2219
|
+
this.errorHandler.reportError(this, re);
|
|
2220
|
+
this.errorHandler.recover(this, re);
|
|
2221
|
+
}
|
|
2222
|
+
else {
|
|
2223
|
+
throw re;
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
finally {
|
|
2227
|
+
this.exitRule();
|
|
2228
|
+
}
|
|
2229
|
+
return localContext;
|
|
2230
|
+
}
|
|
2231
|
+
intSignal() {
|
|
2232
|
+
let localContext = new IntSignalContext(this.context, this.state);
|
|
2233
|
+
this.enterRule(localContext, 68, plurnkParser.RULE_intSignal);
|
|
2234
|
+
let _la;
|
|
2235
|
+
try {
|
|
2236
|
+
this.enterOuterAlt(localContext, 1);
|
|
2237
|
+
{
|
|
2238
|
+
this.state = 491;
|
|
2239
|
+
this.match(plurnkParser.LBRACKET);
|
|
2240
|
+
this.state = 493;
|
|
2241
|
+
this.errorHandler.sync(this);
|
|
2242
|
+
_la = this.tokenStream.LA(1);
|
|
2243
|
+
if (_la === 8 || _la === 9) {
|
|
2244
|
+
{
|
|
2245
|
+
this.state = 492;
|
|
2246
|
+
_la = this.tokenStream.LA(1);
|
|
2247
|
+
if (!(_la === 8 || _la === 9)) {
|
|
2248
|
+
this.errorHandler.recoverInline(this);
|
|
2249
|
+
}
|
|
2250
|
+
else {
|
|
2251
|
+
this.errorHandler.reportMatch(this);
|
|
2252
|
+
this.consume();
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
this.state = 495;
|
|
2257
|
+
this.match(plurnkParser.RBRACKET);
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
catch (re) {
|
|
2261
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2262
|
+
this.errorHandler.reportError(this, re);
|
|
2263
|
+
this.errorHandler.recover(this, re);
|
|
2264
|
+
}
|
|
2265
|
+
else {
|
|
2266
|
+
throw re;
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
finally {
|
|
2270
|
+
this.exitRule();
|
|
2271
|
+
}
|
|
2272
|
+
return localContext;
|
|
2273
|
+
}
|
|
2274
|
+
midSignal() {
|
|
2275
|
+
let localContext = new MidSignalContext(this.context, this.state);
|
|
2276
|
+
this.enterRule(localContext, 70, plurnkParser.RULE_midSignal);
|
|
2277
|
+
let _la;
|
|
2278
|
+
try {
|
|
2279
|
+
this.enterOuterAlt(localContext, 1);
|
|
2280
|
+
{
|
|
2281
|
+
this.state = 497;
|
|
2282
|
+
this.match(plurnkParser.LBRACKET);
|
|
2283
|
+
this.state = 499;
|
|
2284
|
+
this.errorHandler.sync(this);
|
|
2285
|
+
_la = this.tokenStream.LA(1);
|
|
2286
|
+
if (_la === 8) {
|
|
2287
|
+
{
|
|
2288
|
+
this.state = 498;
|
|
2289
|
+
this.match(plurnkParser.INT);
|
|
2290
|
+
}
|
|
2291
|
+
}
|
|
2292
|
+
this.state = 501;
|
|
2293
|
+
this.match(plurnkParser.RBRACKET);
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
catch (re) {
|
|
2297
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2298
|
+
this.errorHandler.reportError(this, re);
|
|
2299
|
+
this.errorHandler.recover(this, re);
|
|
2300
|
+
}
|
|
2301
|
+
else {
|
|
2302
|
+
throw re;
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
finally {
|
|
2306
|
+
this.exitRule();
|
|
2307
|
+
}
|
|
2308
|
+
return localContext;
|
|
2309
|
+
}
|
|
2310
|
+
dispSignal() {
|
|
2311
|
+
let localContext = new DispSignalContext(this.context, this.state);
|
|
2312
|
+
this.enterRule(localContext, 72, plurnkParser.RULE_dispSignal);
|
|
2313
|
+
try {
|
|
2314
|
+
this.enterOuterAlt(localContext, 1);
|
|
2315
|
+
{
|
|
2316
|
+
this.state = 503;
|
|
2317
|
+
this.match(plurnkParser.LBRACKET);
|
|
2318
|
+
this.state = 504;
|
|
2319
|
+
this.match(plurnkParser.DISPOSITION);
|
|
2320
|
+
this.state = 505;
|
|
2321
|
+
this.match(plurnkParser.RBRACKET);
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
catch (re) {
|
|
2325
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2326
|
+
this.errorHandler.reportError(this, re);
|
|
2327
|
+
this.errorHandler.recover(this, re);
|
|
2328
|
+
}
|
|
2329
|
+
else {
|
|
2330
|
+
throw re;
|
|
2331
|
+
}
|
|
2332
|
+
}
|
|
2333
|
+
finally {
|
|
2334
|
+
this.exitRule();
|
|
2335
|
+
}
|
|
2336
|
+
return localContext;
|
|
2337
|
+
}
|
|
2338
|
+
identSignal() {
|
|
2339
|
+
let localContext = new IdentSignalContext(this.context, this.state);
|
|
2340
|
+
this.enterRule(localContext, 74, plurnkParser.RULE_identSignal);
|
|
2341
|
+
let _la;
|
|
2342
|
+
try {
|
|
2343
|
+
this.enterOuterAlt(localContext, 1);
|
|
2344
|
+
{
|
|
2345
|
+
this.state = 507;
|
|
2346
|
+
this.match(plurnkParser.LBRACKET);
|
|
2347
|
+
this.state = 509;
|
|
2348
|
+
this.errorHandler.sync(this);
|
|
2349
|
+
_la = this.tokenStream.LA(1);
|
|
2350
|
+
if (_la === 10) {
|
|
2351
|
+
{
|
|
2352
|
+
this.state = 508;
|
|
2353
|
+
this.match(plurnkParser.IDENT);
|
|
2354
|
+
}
|
|
2355
|
+
}
|
|
2356
|
+
this.state = 511;
|
|
2357
|
+
this.match(plurnkParser.RBRACKET);
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
catch (re) {
|
|
2361
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2362
|
+
this.errorHandler.reportError(this, re);
|
|
2363
|
+
this.errorHandler.recover(this, re);
|
|
2364
|
+
}
|
|
2365
|
+
else {
|
|
2366
|
+
throw re;
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
finally {
|
|
2370
|
+
this.exitRule();
|
|
2371
|
+
}
|
|
2372
|
+
return localContext;
|
|
2373
|
+
}
|
|
2374
|
+
target() {
|
|
2375
|
+
let localContext = new TargetContext(this.context, this.state);
|
|
2376
|
+
this.enterRule(localContext, 76, plurnkParser.RULE_target);
|
|
2377
|
+
let _la;
|
|
2378
|
+
try {
|
|
2379
|
+
this.enterOuterAlt(localContext, 1);
|
|
2380
|
+
{
|
|
2381
|
+
this.state = 513;
|
|
2382
|
+
this.match(plurnkParser.LPAREN);
|
|
2383
|
+
this.state = 517;
|
|
2384
|
+
this.errorHandler.sync(this);
|
|
2385
|
+
_la = this.tokenStream.LA(1);
|
|
2386
|
+
while (_la === 12) {
|
|
2387
|
+
{
|
|
2388
|
+
{
|
|
2389
|
+
this.state = 514;
|
|
2390
|
+
this.match(plurnkParser.TARGET_TEXT);
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
this.state = 519;
|
|
2394
|
+
this.errorHandler.sync(this);
|
|
2395
|
+
_la = this.tokenStream.LA(1);
|
|
2396
|
+
}
|
|
2397
|
+
this.state = 520;
|
|
2398
|
+
this.match(plurnkParser.RPAREN);
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
catch (re) {
|
|
2402
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2403
|
+
this.errorHandler.reportError(this, re);
|
|
2404
|
+
this.errorHandler.recover(this, re);
|
|
2405
|
+
}
|
|
2406
|
+
else {
|
|
2407
|
+
throw re;
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
finally {
|
|
2411
|
+
this.exitRule();
|
|
2412
|
+
}
|
|
2413
|
+
return localContext;
|
|
2414
|
+
}
|
|
2415
|
+
lineMarker() {
|
|
2416
|
+
let localContext = new LineMarkerContext(this.context, this.state);
|
|
2417
|
+
this.enterRule(localContext, 78, plurnkParser.RULE_lineMarker);
|
|
2418
|
+
try {
|
|
2419
|
+
this.enterOuterAlt(localContext, 1);
|
|
2420
|
+
{
|
|
2421
|
+
this.state = 522;
|
|
2422
|
+
this.match(plurnkParser.L_MARKER);
|
|
2423
|
+
}
|
|
2424
|
+
}
|
|
2425
|
+
catch (re) {
|
|
2426
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2427
|
+
this.errorHandler.reportError(this, re);
|
|
2428
|
+
this.errorHandler.recover(this, re);
|
|
2429
|
+
}
|
|
2430
|
+
else {
|
|
2431
|
+
throw re;
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
finally {
|
|
2435
|
+
this.exitRule();
|
|
2436
|
+
}
|
|
2437
|
+
return localContext;
|
|
2438
|
+
}
|
|
2439
|
+
body() {
|
|
2440
|
+
let localContext = new BodyContext(this.context, this.state);
|
|
2441
|
+
this.enterRule(localContext, 80, plurnkParser.RULE_body);
|
|
2442
|
+
let _la;
|
|
2443
|
+
try {
|
|
2444
|
+
this.enterOuterAlt(localContext, 1);
|
|
2445
|
+
{
|
|
2446
|
+
this.state = 525;
|
|
2447
|
+
this.errorHandler.sync(this);
|
|
2448
|
+
_la = this.tokenStream.LA(1);
|
|
2449
|
+
do {
|
|
2450
|
+
{
|
|
2451
|
+
{
|
|
2452
|
+
this.state = 524;
|
|
2453
|
+
this.match(plurnkParser.BODY_TEXT);
|
|
2454
|
+
}
|
|
2455
|
+
}
|
|
2456
|
+
this.state = 527;
|
|
2457
|
+
this.errorHandler.sync(this);
|
|
2458
|
+
_la = this.tokenStream.LA(1);
|
|
2459
|
+
} while (_la === 13);
|
|
2460
|
+
}
|
|
2461
|
+
}
|
|
2462
|
+
catch (re) {
|
|
2463
|
+
if (re instanceof antlr.RecognitionException) {
|
|
2464
|
+
this.errorHandler.reportError(this, re);
|
|
2465
|
+
this.errorHandler.recover(this, re);
|
|
2466
|
+
}
|
|
2467
|
+
else {
|
|
2468
|
+
throw re;
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
finally {
|
|
2472
|
+
this.exitRule();
|
|
2473
|
+
}
|
|
2474
|
+
return localContext;
|
|
2475
|
+
}
|
|
2476
|
+
static _serializedATN = [
|
|
2477
|
+
4, 1, 40, 530, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7,
|
|
2478
|
+
6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13,
|
|
2479
|
+
2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20,
|
|
2480
|
+
7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26,
|
|
2481
|
+
2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33,
|
|
2482
|
+
7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39,
|
|
2483
|
+
2, 40, 7, 40, 1, 0, 1, 0, 1, 0, 1, 1, 4, 1, 87, 8, 1, 11, 1, 12, 1, 88, 1, 1, 1, 1, 1, 2, 1,
|
|
2484
|
+
2, 3, 2, 95, 8, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 5, 3, 102, 8, 3, 10, 3, 12, 3, 105, 9, 3, 1,
|
|
2485
|
+
3, 1, 3, 1, 3, 5, 3, 110, 8, 3, 10, 3, 12, 3, 113, 9, 3, 1, 3, 1, 3, 5, 3, 117, 8, 3, 10, 3,
|
|
2486
|
+
12, 3, 120, 9, 3, 1, 4, 5, 4, 123, 8, 4, 10, 4, 12, 4, 126, 9, 4, 1, 4, 1, 4, 1, 5, 5, 5, 131,
|
|
2487
|
+
8, 5, 10, 5, 12, 5, 134, 9, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 3, 6, 141, 8, 6, 1, 7, 1, 7, 1,
|
|
2488
|
+
7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 1, 7, 3, 7, 157, 8, 7, 1, 8, 1,
|
|
2489
|
+
8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 171, 8, 8, 1, 9, 1, 9, 3,
|
|
2490
|
+
9, 175, 8, 9, 1, 9, 3, 9, 178, 8, 9, 1, 9, 3, 9, 181, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 3, 10,
|
|
2491
|
+
187, 8, 10, 1, 10, 3, 10, 190, 8, 10, 1, 10, 3, 10, 193, 8, 10, 1, 10, 1, 10, 1, 11, 1,
|
|
2492
|
+
11, 3, 11, 199, 8, 11, 1, 11, 3, 11, 202, 8, 11, 1, 11, 3, 11, 205, 8, 11, 1, 11, 1, 11,
|
|
2493
|
+
1, 12, 1, 12, 3, 12, 211, 8, 12, 1, 12, 3, 12, 214, 8, 12, 1, 12, 3, 12, 217, 8, 12, 1,
|
|
2494
|
+
12, 1, 12, 1, 13, 1, 13, 3, 13, 223, 8, 13, 1, 13, 3, 13, 226, 8, 13, 1, 13, 3, 13, 229,
|
|
2495
|
+
8, 13, 1, 13, 1, 13, 1, 14, 1, 14, 3, 14, 235, 8, 14, 1, 14, 3, 14, 238, 8, 14, 1, 14, 3,
|
|
2496
|
+
14, 241, 8, 14, 1, 14, 1, 14, 1, 15, 1, 15, 3, 15, 247, 8, 15, 1, 15, 3, 15, 250, 8, 15,
|
|
2497
|
+
1, 15, 3, 15, 253, 8, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 3, 16, 260, 8, 16, 1, 16, 3,
|
|
2498
|
+
16, 263, 8, 16, 1, 16, 1, 16, 1, 17, 1, 17, 3, 17, 269, 8, 17, 1, 17, 3, 17, 272, 8, 17,
|
|
2499
|
+
1, 17, 3, 17, 275, 8, 17, 1, 17, 1, 17, 1, 18, 1, 18, 3, 18, 281, 8, 18, 1, 18, 3, 18, 284,
|
|
2500
|
+
8, 18, 1, 18, 3, 18, 287, 8, 18, 1, 18, 1, 18, 1, 19, 1, 19, 3, 19, 293, 8, 19, 1, 19, 1,
|
|
2501
|
+
19, 1, 19, 1, 19, 1, 20, 1, 20, 3, 20, 301, 8, 20, 1, 20, 1, 20, 1, 20, 1, 20, 1, 21, 1,
|
|
2502
|
+
21, 3, 21, 309, 8, 21, 1, 21, 3, 21, 312, 8, 21, 1, 21, 3, 21, 315, 8, 21, 1, 21, 1, 21,
|
|
2503
|
+
1, 22, 1, 22, 3, 22, 321, 8, 22, 1, 22, 3, 22, 324, 8, 22, 1, 22, 3, 22, 327, 8, 22, 1,
|
|
2504
|
+
22, 1, 22, 1, 23, 1, 23, 3, 23, 333, 8, 23, 1, 23, 3, 23, 336, 8, 23, 1, 23, 3, 23, 339,
|
|
2505
|
+
8, 23, 1, 23, 1, 23, 1, 24, 1, 24, 3, 24, 345, 8, 24, 1, 24, 3, 24, 348, 8, 24, 1, 24, 3,
|
|
2506
|
+
24, 351, 8, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 3, 25, 358, 8, 25, 1, 25, 1, 25, 3, 25,
|
|
2507
|
+
362, 8, 25, 3, 25, 364, 8, 25, 1, 25, 1, 25, 1, 25, 3, 25, 369, 8, 25, 1, 25, 1, 25, 3,
|
|
2508
|
+
25, 373, 8, 25, 3, 25, 375, 8, 25, 1, 25, 1, 25, 1, 25, 3, 25, 380, 8, 25, 1, 25, 1, 25,
|
|
2509
|
+
3, 25, 384, 8, 25, 3, 25, 386, 8, 25, 3, 25, 388, 8, 25, 1, 26, 1, 26, 3, 26, 392, 8, 26,
|
|
2510
|
+
1, 26, 1, 26, 3, 26, 396, 8, 26, 3, 26, 398, 8, 26, 1, 27, 1, 27, 3, 27, 402, 8, 27, 1,
|
|
2511
|
+
27, 1, 27, 3, 27, 406, 8, 27, 3, 27, 408, 8, 27, 1, 28, 1, 28, 3, 28, 412, 8, 28, 1, 28,
|
|
2512
|
+
1, 28, 3, 28, 416, 8, 28, 3, 28, 418, 8, 28, 1, 29, 1, 29, 3, 29, 422, 8, 29, 1, 29, 3,
|
|
2513
|
+
29, 425, 8, 29, 1, 29, 1, 29, 1, 29, 3, 29, 430, 8, 29, 3, 29, 432, 8, 29, 1, 30, 1, 30,
|
|
2514
|
+
3, 30, 436, 8, 30, 1, 30, 1, 30, 3, 30, 440, 8, 30, 3, 30, 442, 8, 30, 1, 31, 1, 31, 1,
|
|
2515
|
+
31, 3, 31, 447, 8, 31, 1, 31, 1, 31, 3, 31, 451, 8, 31, 3, 31, 453, 8, 31, 1, 31, 1, 31,
|
|
2516
|
+
1, 31, 3, 31, 458, 8, 31, 1, 31, 1, 31, 3, 31, 462, 8, 31, 3, 31, 464, 8, 31, 1, 31, 1,
|
|
2517
|
+
31, 1, 31, 3, 31, 469, 8, 31, 1, 31, 1, 31, 3, 31, 473, 8, 31, 3, 31, 475, 8, 31, 3, 31,
|
|
2518
|
+
477, 8, 31, 1, 32, 1, 32, 5, 32, 481, 8, 32, 10, 32, 12, 32, 484, 9, 32, 1, 32, 1, 32,
|
|
2519
|
+
1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 3, 34, 494, 8, 34, 1, 34, 1, 34, 1, 35, 1, 35,
|
|
2520
|
+
3, 35, 500, 8, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 36, 1, 37, 1, 37, 3, 37, 510, 8,
|
|
2521
|
+
37, 1, 37, 1, 37, 1, 38, 1, 38, 5, 38, 516, 8, 38, 10, 38, 12, 38, 519, 9, 38, 1, 38, 1,
|
|
2522
|
+
38, 1, 39, 1, 39, 1, 40, 4, 40, 526, 8, 40, 11, 40, 12, 40, 527, 1, 40, 0, 0, 41, 0, 2,
|
|
2523
|
+
4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48,
|
|
2524
|
+
50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 0, 2, 2, 0, 7, 7, 11, 11,
|
|
2525
|
+
1, 0, 8, 9, 615, 0, 82, 1, 0, 0, 0, 2, 86, 1, 0, 0, 0, 4, 92, 1, 0, 0, 0, 6, 103, 1, 0, 0, 0,
|
|
2526
|
+
8, 124, 1, 0, 0, 0, 10, 132, 1, 0, 0, 0, 12, 140, 1, 0, 0, 0, 14, 156, 1, 0, 0, 0, 16, 170,
|
|
2527
|
+
1, 0, 0, 0, 18, 172, 1, 0, 0, 0, 20, 184, 1, 0, 0, 0, 22, 196, 1, 0, 0, 0, 24, 208, 1, 0,
|
|
2528
|
+
0, 0, 26, 220, 1, 0, 0, 0, 28, 232, 1, 0, 0, 0, 30, 244, 1, 0, 0, 0, 32, 256, 1, 0, 0, 0,
|
|
2529
|
+
34, 266, 1, 0, 0, 0, 36, 278, 1, 0, 0, 0, 38, 290, 1, 0, 0, 0, 40, 298, 1, 0, 0, 0, 42, 306,
|
|
2530
|
+
1, 0, 0, 0, 44, 318, 1, 0, 0, 0, 46, 330, 1, 0, 0, 0, 48, 342, 1, 0, 0, 0, 50, 387, 1, 0,
|
|
2531
|
+
0, 0, 52, 397, 1, 0, 0, 0, 54, 407, 1, 0, 0, 0, 56, 417, 1, 0, 0, 0, 58, 431, 1, 0, 0, 0,
|
|
2532
|
+
60, 441, 1, 0, 0, 0, 62, 476, 1, 0, 0, 0, 64, 478, 1, 0, 0, 0, 66, 487, 1, 0, 0, 0, 68, 491,
|
|
2533
|
+
1, 0, 0, 0, 70, 497, 1, 0, 0, 0, 72, 503, 1, 0, 0, 0, 74, 507, 1, 0, 0, 0, 76, 513, 1, 0,
|
|
2534
|
+
0, 0, 78, 522, 1, 0, 0, 0, 80, 525, 1, 0, 0, 0, 82, 83, 3, 6, 3, 0, 83, 84, 5, 0, 0, 1, 84,
|
|
2535
|
+
1, 1, 0, 0, 0, 85, 87, 3, 4, 2, 0, 86, 85, 1, 0, 0, 0, 87, 88, 1, 0, 0, 0, 88, 86, 1, 0, 0,
|
|
2536
|
+
0, 88, 89, 1, 0, 0, 0, 89, 90, 1, 0, 0, 0, 90, 91, 5, 0, 0, 1, 91, 3, 1, 0, 0, 0, 92, 94, 5,
|
|
2537
|
+
16, 0, 0, 93, 95, 3, 50, 25, 0, 94, 93, 1, 0, 0, 0, 94, 95, 1, 0, 0, 0, 95, 96, 1, 0, 0, 0,
|
|
2538
|
+
96, 97, 5, 6, 0, 0, 97, 98, 3, 6, 3, 0, 98, 99, 5, 17, 0, 0, 99, 5, 1, 0, 0, 0, 100, 102,
|
|
2539
|
+
5, 15, 0, 0, 101, 100, 1, 0, 0, 0, 102, 105, 1, 0, 0, 0, 103, 101, 1, 0, 0, 0, 103, 104,
|
|
2540
|
+
1, 0, 0, 0, 104, 106, 1, 0, 0, 0, 105, 103, 1, 0, 0, 0, 106, 111, 3, 44, 22, 0, 107, 110,
|
|
2541
|
+
3, 16, 8, 0, 108, 110, 5, 15, 0, 0, 109, 107, 1, 0, 0, 0, 109, 108, 1, 0, 0, 0, 110, 113,
|
|
2542
|
+
1, 0, 0, 0, 111, 109, 1, 0, 0, 0, 111, 112, 1, 0, 0, 0, 112, 114, 1, 0, 0, 0, 113, 111,
|
|
2543
|
+
1, 0, 0, 0, 114, 118, 3, 32, 16, 0, 115, 117, 5, 15, 0, 0, 116, 115, 1, 0, 0, 0, 117, 120,
|
|
2544
|
+
1, 0, 0, 0, 118, 116, 1, 0, 0, 0, 118, 119, 1, 0, 0, 0, 119, 7, 1, 0, 0, 0, 120, 118, 1,
|
|
2545
|
+
0, 0, 0, 121, 123, 3, 14, 7, 0, 122, 121, 1, 0, 0, 0, 123, 126, 1, 0, 0, 0, 124, 122, 1,
|
|
2546
|
+
0, 0, 0, 124, 125, 1, 0, 0, 0, 125, 127, 1, 0, 0, 0, 126, 124, 1, 0, 0, 0, 127, 128, 5,
|
|
2547
|
+
0, 0, 1, 128, 9, 1, 0, 0, 0, 129, 131, 3, 12, 6, 0, 130, 129, 1, 0, 0, 0, 131, 134, 1, 0,
|
|
2548
|
+
0, 0, 132, 130, 1, 0, 0, 0, 132, 133, 1, 0, 0, 0, 133, 135, 1, 0, 0, 0, 134, 132, 1, 0,
|
|
2549
|
+
0, 0, 135, 136, 5, 0, 0, 1, 136, 11, 1, 0, 0, 0, 137, 141, 3, 14, 7, 0, 138, 141, 3, 46,
|
|
2550
|
+
23, 0, 139, 141, 3, 48, 24, 0, 140, 137, 1, 0, 0, 0, 140, 138, 1, 0, 0, 0, 140, 139, 1,
|
|
2551
|
+
0, 0, 0, 141, 13, 1, 0, 0, 0, 142, 157, 3, 18, 9, 0, 143, 157, 3, 20, 10, 0, 144, 157,
|
|
2552
|
+
3, 22, 11, 0, 145, 157, 3, 24, 12, 0, 146, 157, 3, 26, 13, 0, 147, 157, 3, 28, 14, 0,
|
|
2553
|
+
148, 157, 3, 30, 15, 0, 149, 157, 3, 32, 16, 0, 150, 157, 3, 34, 17, 0, 151, 157, 3,
|
|
2554
|
+
36, 18, 0, 152, 157, 3, 38, 19, 0, 153, 157, 3, 40, 20, 0, 154, 157, 3, 42, 21, 0, 155,
|
|
2555
|
+
157, 3, 44, 22, 0, 156, 142, 1, 0, 0, 0, 156, 143, 1, 0, 0, 0, 156, 144, 1, 0, 0, 0, 156,
|
|
2556
|
+
145, 1, 0, 0, 0, 156, 146, 1, 0, 0, 0, 156, 147, 1, 0, 0, 0, 156, 148, 1, 0, 0, 0, 156,
|
|
2557
|
+
149, 1, 0, 0, 0, 156, 150, 1, 0, 0, 0, 156, 151, 1, 0, 0, 0, 156, 152, 1, 0, 0, 0, 156,
|
|
2558
|
+
153, 1, 0, 0, 0, 156, 154, 1, 0, 0, 0, 156, 155, 1, 0, 0, 0, 157, 15, 1, 0, 0, 0, 158, 171,
|
|
2559
|
+
3, 18, 9, 0, 159, 171, 3, 20, 10, 0, 160, 171, 3, 22, 11, 0, 161, 171, 3, 24, 12, 0, 162,
|
|
2560
|
+
171, 3, 26, 13, 0, 163, 171, 3, 28, 14, 0, 164, 171, 3, 30, 15, 0, 165, 171, 3, 34, 17,
|
|
2561
|
+
0, 166, 171, 3, 36, 18, 0, 167, 171, 3, 38, 19, 0, 168, 171, 3, 40, 20, 0, 169, 171,
|
|
2562
|
+
3, 42, 21, 0, 170, 158, 1, 0, 0, 0, 170, 159, 1, 0, 0, 0, 170, 160, 1, 0, 0, 0, 170, 161,
|
|
2563
|
+
1, 0, 0, 0, 170, 162, 1, 0, 0, 0, 170, 163, 1, 0, 0, 0, 170, 164, 1, 0, 0, 0, 170, 165,
|
|
2564
|
+
1, 0, 0, 0, 170, 166, 1, 0, 0, 0, 170, 167, 1, 0, 0, 0, 170, 168, 1, 0, 0, 0, 170, 169,
|
|
2565
|
+
1, 0, 0, 0, 171, 17, 1, 0, 0, 0, 172, 174, 5, 18, 0, 0, 173, 175, 3, 50, 25, 0, 174, 173,
|
|
2566
|
+
1, 0, 0, 0, 174, 175, 1, 0, 0, 0, 175, 177, 1, 0, 0, 0, 176, 178, 5, 6, 0, 0, 177, 176,
|
|
2567
|
+
1, 0, 0, 0, 177, 178, 1, 0, 0, 0, 178, 180, 1, 0, 0, 0, 179, 181, 3, 80, 40, 0, 180, 179,
|
|
2568
|
+
1, 0, 0, 0, 180, 181, 1, 0, 0, 0, 181, 182, 1, 0, 0, 0, 182, 183, 5, 14, 0, 0, 183, 19,
|
|
2569
|
+
1, 0, 0, 0, 184, 186, 5, 19, 0, 0, 185, 187, 3, 50, 25, 0, 186, 185, 1, 0, 0, 0, 186, 187,
|
|
2570
|
+
1, 0, 0, 0, 187, 189, 1, 0, 0, 0, 188, 190, 5, 6, 0, 0, 189, 188, 1, 0, 0, 0, 189, 190,
|
|
2571
|
+
1, 0, 0, 0, 190, 192, 1, 0, 0, 0, 191, 193, 3, 80, 40, 0, 192, 191, 1, 0, 0, 0, 192, 193,
|
|
2572
|
+
1, 0, 0, 0, 193, 194, 1, 0, 0, 0, 194, 195, 5, 14, 0, 0, 195, 21, 1, 0, 0, 0, 196, 198,
|
|
2573
|
+
5, 20, 0, 0, 197, 199, 3, 50, 25, 0, 198, 197, 1, 0, 0, 0, 198, 199, 1, 0, 0, 0, 199, 201,
|
|
2574
|
+
1, 0, 0, 0, 200, 202, 5, 6, 0, 0, 201, 200, 1, 0, 0, 0, 201, 202, 1, 0, 0, 0, 202, 204,
|
|
2575
|
+
1, 0, 0, 0, 203, 205, 3, 80, 40, 0, 204, 203, 1, 0, 0, 0, 204, 205, 1, 0, 0, 0, 205, 206,
|
|
2576
|
+
1, 0, 0, 0, 206, 207, 5, 14, 0, 0, 207, 23, 1, 0, 0, 0, 208, 210, 5, 21, 0, 0, 209, 211,
|
|
2577
|
+
3, 50, 25, 0, 210, 209, 1, 0, 0, 0, 210, 211, 1, 0, 0, 0, 211, 213, 1, 0, 0, 0, 212, 214,
|
|
2578
|
+
5, 6, 0, 0, 213, 212, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214, 216, 1, 0, 0, 0, 215, 217,
|
|
2579
|
+
3, 80, 40, 0, 216, 215, 1, 0, 0, 0, 216, 217, 1, 0, 0, 0, 217, 218, 1, 0, 0, 0, 218, 219,
|
|
2580
|
+
5, 14, 0, 0, 219, 25, 1, 0, 0, 0, 220, 222, 5, 22, 0, 0, 221, 223, 3, 50, 25, 0, 222, 221,
|
|
2581
|
+
1, 0, 0, 0, 222, 223, 1, 0, 0, 0, 223, 225, 1, 0, 0, 0, 224, 226, 5, 6, 0, 0, 225, 224,
|
|
2582
|
+
1, 0, 0, 0, 225, 226, 1, 0, 0, 0, 226, 228, 1, 0, 0, 0, 227, 229, 3, 80, 40, 0, 228, 227,
|
|
2583
|
+
1, 0, 0, 0, 228, 229, 1, 0, 0, 0, 229, 230, 1, 0, 0, 0, 230, 231, 5, 14, 0, 0, 231, 27,
|
|
2584
|
+
1, 0, 0, 0, 232, 234, 5, 23, 0, 0, 233, 235, 3, 52, 26, 0, 234, 233, 1, 0, 0, 0, 234, 235,
|
|
2585
|
+
1, 0, 0, 0, 235, 237, 1, 0, 0, 0, 236, 238, 5, 6, 0, 0, 237, 236, 1, 0, 0, 0, 237, 238,
|
|
2586
|
+
1, 0, 0, 0, 238, 240, 1, 0, 0, 0, 239, 241, 3, 80, 40, 0, 240, 239, 1, 0, 0, 0, 240, 241,
|
|
2587
|
+
1, 0, 0, 0, 241, 242, 1, 0, 0, 0, 242, 243, 5, 14, 0, 0, 243, 29, 1, 0, 0, 0, 244, 246,
|
|
2588
|
+
5, 24, 0, 0, 245, 247, 3, 52, 26, 0, 246, 245, 1, 0, 0, 0, 246, 247, 1, 0, 0, 0, 247, 249,
|
|
2589
|
+
1, 0, 0, 0, 248, 250, 5, 6, 0, 0, 249, 248, 1, 0, 0, 0, 249, 250, 1, 0, 0, 0, 250, 252,
|
|
2590
|
+
1, 0, 0, 0, 251, 253, 3, 80, 40, 0, 252, 251, 1, 0, 0, 0, 252, 253, 1, 0, 0, 0, 253, 254,
|
|
2591
|
+
1, 0, 0, 0, 254, 255, 5, 14, 0, 0, 255, 31, 1, 0, 0, 0, 256, 257, 5, 25, 0, 0, 257, 259,
|
|
2592
|
+
3, 58, 29, 0, 258, 260, 5, 6, 0, 0, 259, 258, 1, 0, 0, 0, 259, 260, 1, 0, 0, 0, 260, 262,
|
|
2593
|
+
1, 0, 0, 0, 261, 263, 3, 80, 40, 0, 262, 261, 1, 0, 0, 0, 262, 263, 1, 0, 0, 0, 263, 264,
|
|
2594
|
+
1, 0, 0, 0, 264, 265, 5, 14, 0, 0, 265, 33, 1, 0, 0, 0, 266, 268, 5, 25, 0, 0, 267, 269,
|
|
2595
|
+
3, 60, 30, 0, 268, 267, 1, 0, 0, 0, 268, 269, 1, 0, 0, 0, 269, 271, 1, 0, 0, 0, 270, 272,
|
|
2596
|
+
5, 6, 0, 0, 271, 270, 1, 0, 0, 0, 271, 272, 1, 0, 0, 0, 272, 274, 1, 0, 0, 0, 273, 275,
|
|
2597
|
+
3, 80, 40, 0, 274, 273, 1, 0, 0, 0, 274, 275, 1, 0, 0, 0, 275, 276, 1, 0, 0, 0, 276, 277,
|
|
2598
|
+
5, 14, 0, 0, 277, 35, 1, 0, 0, 0, 278, 280, 5, 26, 0, 0, 279, 281, 3, 62, 31, 0, 280, 279,
|
|
2599
|
+
1, 0, 0, 0, 280, 281, 1, 0, 0, 0, 281, 283, 1, 0, 0, 0, 282, 284, 5, 6, 0, 0, 283, 282,
|
|
2600
|
+
1, 0, 0, 0, 283, 284, 1, 0, 0, 0, 284, 286, 1, 0, 0, 0, 285, 287, 3, 80, 40, 0, 286, 285,
|
|
2601
|
+
1, 0, 0, 0, 286, 287, 1, 0, 0, 0, 287, 288, 1, 0, 0, 0, 288, 289, 5, 14, 0, 0, 289, 37,
|
|
2602
|
+
1, 0, 0, 0, 290, 292, 5, 27, 0, 0, 291, 293, 3, 56, 28, 0, 292, 291, 1, 0, 0, 0, 292, 293,
|
|
2603
|
+
1, 0, 0, 0, 293, 294, 1, 0, 0, 0, 294, 295, 5, 6, 0, 0, 295, 296, 3, 80, 40, 0, 296, 297,
|
|
2604
|
+
5, 14, 0, 0, 297, 39, 1, 0, 0, 0, 298, 300, 5, 28, 0, 0, 299, 301, 3, 56, 28, 0, 300, 299,
|
|
2605
|
+
1, 0, 0, 0, 300, 301, 1, 0, 0, 0, 301, 302, 1, 0, 0, 0, 302, 303, 5, 6, 0, 0, 303, 304,
|
|
2606
|
+
3, 80, 40, 0, 304, 305, 5, 14, 0, 0, 305, 41, 1, 0, 0, 0, 306, 308, 5, 29, 0, 0, 307, 309,
|
|
2607
|
+
3, 54, 27, 0, 308, 307, 1, 0, 0, 0, 308, 309, 1, 0, 0, 0, 309, 311, 1, 0, 0, 0, 310, 312,
|
|
2608
|
+
5, 6, 0, 0, 311, 310, 1, 0, 0, 0, 311, 312, 1, 0, 0, 0, 312, 314, 1, 0, 0, 0, 313, 315,
|
|
2609
|
+
3, 80, 40, 0, 314, 313, 1, 0, 0, 0, 314, 315, 1, 0, 0, 0, 315, 316, 1, 0, 0, 0, 316, 317,
|
|
2610
|
+
5, 14, 0, 0, 317, 43, 1, 0, 0, 0, 318, 320, 5, 30, 0, 0, 319, 321, 3, 50, 25, 0, 320, 319,
|
|
2611
|
+
1, 0, 0, 0, 320, 321, 1, 0, 0, 0, 321, 323, 1, 0, 0, 0, 322, 324, 5, 6, 0, 0, 323, 322,
|
|
2612
|
+
1, 0, 0, 0, 323, 324, 1, 0, 0, 0, 324, 326, 1, 0, 0, 0, 325, 327, 3, 80, 40, 0, 326, 325,
|
|
2613
|
+
1, 0, 0, 0, 326, 327, 1, 0, 0, 0, 327, 328, 1, 0, 0, 0, 328, 329, 5, 14, 0, 0, 329, 45,
|
|
2614
|
+
1, 0, 0, 0, 330, 332, 5, 31, 0, 0, 331, 333, 3, 50, 25, 0, 332, 331, 1, 0, 0, 0, 332, 333,
|
|
2615
|
+
1, 0, 0, 0, 333, 335, 1, 0, 0, 0, 334, 336, 5, 6, 0, 0, 335, 334, 1, 0, 0, 0, 335, 336,
|
|
2616
|
+
1, 0, 0, 0, 336, 338, 1, 0, 0, 0, 337, 339, 3, 80, 40, 0, 338, 337, 1, 0, 0, 0, 338, 339,
|
|
2617
|
+
1, 0, 0, 0, 339, 340, 1, 0, 0, 0, 340, 341, 5, 14, 0, 0, 341, 47, 1, 0, 0, 0, 342, 344,
|
|
2618
|
+
5, 32, 0, 0, 343, 345, 3, 50, 25, 0, 344, 343, 1, 0, 0, 0, 344, 345, 1, 0, 0, 0, 345, 347,
|
|
2619
|
+
1, 0, 0, 0, 346, 348, 5, 6, 0, 0, 347, 346, 1, 0, 0, 0, 347, 348, 1, 0, 0, 0, 348, 350,
|
|
2620
|
+
1, 0, 0, 0, 349, 351, 3, 80, 40, 0, 350, 349, 1, 0, 0, 0, 350, 351, 1, 0, 0, 0, 351, 352,
|
|
2621
|
+
1, 0, 0, 0, 352, 353, 5, 14, 0, 0, 353, 49, 1, 0, 0, 0, 354, 363, 3, 64, 32, 0, 355, 357,
|
|
2622
|
+
3, 76, 38, 0, 356, 358, 3, 78, 39, 0, 357, 356, 1, 0, 0, 0, 357, 358, 1, 0, 0, 0, 358,
|
|
2623
|
+
364, 1, 0, 0, 0, 359, 361, 3, 78, 39, 0, 360, 362, 3, 76, 38, 0, 361, 360, 1, 0, 0, 0,
|
|
2624
|
+
361, 362, 1, 0, 0, 0, 362, 364, 1, 0, 0, 0, 363, 355, 1, 0, 0, 0, 363, 359, 1, 0, 0, 0,
|
|
2625
|
+
363, 364, 1, 0, 0, 0, 364, 388, 1, 0, 0, 0, 365, 374, 3, 76, 38, 0, 366, 368, 3, 64, 32,
|
|
2626
|
+
0, 367, 369, 3, 78, 39, 0, 368, 367, 1, 0, 0, 0, 368, 369, 1, 0, 0, 0, 369, 375, 1, 0,
|
|
2627
|
+
0, 0, 370, 372, 3, 78, 39, 0, 371, 373, 3, 64, 32, 0, 372, 371, 1, 0, 0, 0, 372, 373,
|
|
2628
|
+
1, 0, 0, 0, 373, 375, 1, 0, 0, 0, 374, 366, 1, 0, 0, 0, 374, 370, 1, 0, 0, 0, 374, 375,
|
|
2629
|
+
1, 0, 0, 0, 375, 388, 1, 0, 0, 0, 376, 385, 3, 78, 39, 0, 377, 379, 3, 64, 32, 0, 378,
|
|
2630
|
+
380, 3, 76, 38, 0, 379, 378, 1, 0, 0, 0, 379, 380, 1, 0, 0, 0, 380, 386, 1, 0, 0, 0, 381,
|
|
2631
|
+
383, 3, 76, 38, 0, 382, 384, 3, 64, 32, 0, 383, 382, 1, 0, 0, 0, 383, 384, 1, 0, 0, 0,
|
|
2632
|
+
384, 386, 1, 0, 0, 0, 385, 377, 1, 0, 0, 0, 385, 381, 1, 0, 0, 0, 385, 386, 1, 0, 0, 0,
|
|
2633
|
+
386, 388, 1, 0, 0, 0, 387, 354, 1, 0, 0, 0, 387, 365, 1, 0, 0, 0, 387, 376, 1, 0, 0, 0,
|
|
2634
|
+
388, 51, 1, 0, 0, 0, 389, 391, 3, 64, 32, 0, 390, 392, 3, 76, 38, 0, 391, 390, 1, 0, 0,
|
|
2635
|
+
0, 391, 392, 1, 0, 0, 0, 392, 398, 1, 0, 0, 0, 393, 395, 3, 76, 38, 0, 394, 396, 3, 64,
|
|
2636
|
+
32, 0, 395, 394, 1, 0, 0, 0, 395, 396, 1, 0, 0, 0, 396, 398, 1, 0, 0, 0, 397, 389, 1, 0,
|
|
2637
|
+
0, 0, 397, 393, 1, 0, 0, 0, 398, 53, 1, 0, 0, 0, 399, 401, 3, 68, 34, 0, 400, 402, 3, 76,
|
|
2638
|
+
38, 0, 401, 400, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 408, 1, 0, 0, 0, 403, 405, 3, 76,
|
|
2639
|
+
38, 0, 404, 406, 3, 68, 34, 0, 405, 404, 1, 0, 0, 0, 405, 406, 1, 0, 0, 0, 406, 408, 1,
|
|
2640
|
+
0, 0, 0, 407, 399, 1, 0, 0, 0, 407, 403, 1, 0, 0, 0, 408, 55, 1, 0, 0, 0, 409, 411, 3, 66,
|
|
2641
|
+
33, 0, 410, 412, 3, 76, 38, 0, 411, 410, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 418, 1,
|
|
2642
|
+
0, 0, 0, 413, 415, 3, 76, 38, 0, 414, 416, 3, 66, 33, 0, 415, 414, 1, 0, 0, 0, 415, 416,
|
|
2643
|
+
1, 0, 0, 0, 416, 418, 1, 0, 0, 0, 417, 409, 1, 0, 0, 0, 417, 413, 1, 0, 0, 0, 418, 57, 1,
|
|
2644
|
+
0, 0, 0, 419, 421, 3, 72, 36, 0, 420, 422, 3, 76, 38, 0, 421, 420, 1, 0, 0, 0, 421, 422,
|
|
2645
|
+
1, 0, 0, 0, 422, 424, 1, 0, 0, 0, 423, 425, 3, 78, 39, 0, 424, 423, 1, 0, 0, 0, 424, 425,
|
|
2646
|
+
1, 0, 0, 0, 425, 432, 1, 0, 0, 0, 426, 427, 3, 76, 38, 0, 427, 429, 3, 72, 36, 0, 428,
|
|
2647
|
+
430, 3, 78, 39, 0, 429, 428, 1, 0, 0, 0, 429, 430, 1, 0, 0, 0, 430, 432, 1, 0, 0, 0, 431,
|
|
2648
|
+
419, 1, 0, 0, 0, 431, 426, 1, 0, 0, 0, 432, 59, 1, 0, 0, 0, 433, 435, 3, 70, 35, 0, 434,
|
|
2649
|
+
436, 3, 76, 38, 0, 435, 434, 1, 0, 0, 0, 435, 436, 1, 0, 0, 0, 436, 442, 1, 0, 0, 0, 437,
|
|
2650
|
+
439, 3, 76, 38, 0, 438, 440, 3, 70, 35, 0, 439, 438, 1, 0, 0, 0, 439, 440, 1, 0, 0, 0,
|
|
2651
|
+
440, 442, 1, 0, 0, 0, 441, 433, 1, 0, 0, 0, 441, 437, 1, 0, 0, 0, 442, 61, 1, 0, 0, 0, 443,
|
|
2652
|
+
452, 3, 74, 37, 0, 444, 446, 3, 76, 38, 0, 445, 447, 3, 78, 39, 0, 446, 445, 1, 0, 0,
|
|
2653
|
+
0, 446, 447, 1, 0, 0, 0, 447, 453, 1, 0, 0, 0, 448, 450, 3, 78, 39, 0, 449, 451, 3, 76,
|
|
2654
|
+
38, 0, 450, 449, 1, 0, 0, 0, 450, 451, 1, 0, 0, 0, 451, 453, 1, 0, 0, 0, 452, 444, 1, 0,
|
|
2655
|
+
0, 0, 452, 448, 1, 0, 0, 0, 452, 453, 1, 0, 0, 0, 453, 477, 1, 0, 0, 0, 454, 463, 3, 76,
|
|
2656
|
+
38, 0, 455, 457, 3, 74, 37, 0, 456, 458, 3, 78, 39, 0, 457, 456, 1, 0, 0, 0, 457, 458,
|
|
2657
|
+
1, 0, 0, 0, 458, 464, 1, 0, 0, 0, 459, 461, 3, 78, 39, 0, 460, 462, 3, 74, 37, 0, 461,
|
|
2658
|
+
460, 1, 0, 0, 0, 461, 462, 1, 0, 0, 0, 462, 464, 1, 0, 0, 0, 463, 455, 1, 0, 0, 0, 463,
|
|
2659
|
+
459, 1, 0, 0, 0, 463, 464, 1, 0, 0, 0, 464, 477, 1, 0, 0, 0, 465, 474, 3, 78, 39, 0, 466,
|
|
2660
|
+
468, 3, 74, 37, 0, 467, 469, 3, 76, 38, 0, 468, 467, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0,
|
|
2661
|
+
469, 475, 1, 0, 0, 0, 470, 472, 3, 76, 38, 0, 471, 473, 3, 74, 37, 0, 472, 471, 1, 0,
|
|
2662
|
+
0, 0, 472, 473, 1, 0, 0, 0, 473, 475, 1, 0, 0, 0, 474, 466, 1, 0, 0, 0, 474, 470, 1, 0,
|
|
2663
|
+
0, 0, 474, 475, 1, 0, 0, 0, 475, 477, 1, 0, 0, 0, 476, 443, 1, 0, 0, 0, 476, 454, 1, 0,
|
|
2664
|
+
0, 0, 476, 465, 1, 0, 0, 0, 477, 63, 1, 0, 0, 0, 478, 482, 5, 1, 0, 0, 479, 481, 7, 0, 0,
|
|
2665
|
+
0, 480, 479, 1, 0, 0, 0, 481, 484, 1, 0, 0, 0, 482, 480, 1, 0, 0, 0, 482, 483, 1, 0, 0,
|
|
2666
|
+
0, 483, 485, 1, 0, 0, 0, 484, 482, 1, 0, 0, 0, 485, 486, 5, 2, 0, 0, 486, 65, 1, 0, 0, 0,
|
|
2667
|
+
487, 488, 5, 1, 0, 0, 488, 489, 5, 11, 0, 0, 489, 490, 5, 2, 0, 0, 490, 67, 1, 0, 0, 0,
|
|
2668
|
+
491, 493, 5, 1, 0, 0, 492, 494, 7, 1, 0, 0, 493, 492, 1, 0, 0, 0, 493, 494, 1, 0, 0, 0,
|
|
2669
|
+
494, 495, 1, 0, 0, 0, 495, 496, 5, 2, 0, 0, 496, 69, 1, 0, 0, 0, 497, 499, 5, 1, 0, 0, 498,
|
|
2670
|
+
500, 5, 8, 0, 0, 499, 498, 1, 0, 0, 0, 499, 500, 1, 0, 0, 0, 500, 501, 1, 0, 0, 0, 501,
|
|
2671
|
+
502, 5, 2, 0, 0, 502, 71, 1, 0, 0, 0, 503, 504, 5, 1, 0, 0, 504, 505, 5, 9, 0, 0, 505, 506,
|
|
2672
|
+
5, 2, 0, 0, 506, 73, 1, 0, 0, 0, 507, 509, 5, 1, 0, 0, 508, 510, 5, 10, 0, 0, 509, 508,
|
|
2673
|
+
1, 0, 0, 0, 509, 510, 1, 0, 0, 0, 510, 511, 1, 0, 0, 0, 511, 512, 5, 2, 0, 0, 512, 75, 1,
|
|
2674
|
+
0, 0, 0, 513, 517, 5, 3, 0, 0, 514, 516, 5, 12, 0, 0, 515, 514, 1, 0, 0, 0, 516, 519, 1,
|
|
2675
|
+
0, 0, 0, 517, 515, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 520, 1, 0, 0, 0, 519, 517, 1,
|
|
2676
|
+
0, 0, 0, 520, 521, 5, 4, 0, 0, 521, 77, 1, 0, 0, 0, 522, 523, 5, 5, 0, 0, 523, 79, 1, 0,
|
|
2677
|
+
0, 0, 524, 526, 5, 13, 0, 0, 525, 524, 1, 0, 0, 0, 526, 527, 1, 0, 0, 0, 527, 525, 1, 0,
|
|
2678
|
+
0, 0, 527, 528, 1, 0, 0, 0, 528, 81, 1, 0, 0, 0, 96, 88, 94, 103, 109, 111, 118, 124,
|
|
2679
|
+
132, 140, 156, 170, 174, 177, 180, 186, 189, 192, 198, 201, 204, 210, 213, 216,
|
|
2680
|
+
222, 225, 228, 234, 237, 240, 246, 249, 252, 259, 262, 268, 271, 274, 280, 283,
|
|
2681
|
+
286, 292, 300, 308, 311, 314, 320, 323, 326, 332, 335, 338, 344, 347, 350, 357,
|
|
2682
|
+
361, 363, 368, 372, 374, 379, 383, 385, 387, 391, 395, 397, 401, 405, 407, 411,
|
|
2683
|
+
415, 417, 421, 424, 429, 431, 435, 439, 441, 446, 450, 452, 457, 461, 463, 468,
|
|
2684
|
+
472, 474, 476, 482, 493, 499, 509, 517, 527
|
|
2685
|
+
];
|
|
2686
|
+
static __ATN;
|
|
2687
|
+
static get _ATN() {
|
|
2688
|
+
if (!plurnkParser.__ATN) {
|
|
2689
|
+
plurnkParser.__ATN = new antlr.ATNDeserializer().deserialize(plurnkParser._serializedATN);
|
|
2690
|
+
}
|
|
2691
|
+
return plurnkParser.__ATN;
|
|
2692
|
+
}
|
|
2693
|
+
static vocabulary = new antlr.Vocabulary(plurnkParser.literalNames, plurnkParser.symbolicNames, []);
|
|
2694
|
+
get vocabulary() {
|
|
2695
|
+
return plurnkParser.vocabulary;
|
|
2696
|
+
}
|
|
2697
|
+
static decisionsToDFA = plurnkParser._ATN.decisionToState.map((ds, index) => new antlr.DFA(ds, index));
|
|
2698
|
+
}
|
|
2699
|
+
export class DocumentContext extends antlr.ParserRuleContext {
|
|
2700
|
+
constructor(parent, invokingState) {
|
|
2701
|
+
super(parent, invokingState);
|
|
2702
|
+
}
|
|
2703
|
+
turnContent() {
|
|
2704
|
+
return this.getRuleContext(0, TurnContentContext);
|
|
2705
|
+
}
|
|
2706
|
+
EOF() {
|
|
2707
|
+
return this.getToken(plurnkParser.EOF, 0);
|
|
2708
|
+
}
|
|
2709
|
+
get ruleIndex() {
|
|
2710
|
+
return plurnkParser.RULE_document;
|
|
2711
|
+
}
|
|
2712
|
+
accept(visitor) {
|
|
2713
|
+
if (visitor.visitDocument) {
|
|
2714
|
+
return visitor.visitDocument(this);
|
|
2715
|
+
}
|
|
2716
|
+
else {
|
|
2717
|
+
return visitor.visitChildren(this);
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
export class LogContext extends antlr.ParserRuleContext {
|
|
2722
|
+
constructor(parent, invokingState) {
|
|
2723
|
+
super(parent, invokingState);
|
|
2724
|
+
}
|
|
2725
|
+
EOF() {
|
|
2726
|
+
return this.getToken(plurnkParser.EOF, 0);
|
|
2727
|
+
}
|
|
2728
|
+
turnStatement(i) {
|
|
2729
|
+
if (i === undefined) {
|
|
2730
|
+
return this.getRuleContexts(TurnStatementContext);
|
|
2731
|
+
}
|
|
2732
|
+
return this.getRuleContext(i, TurnStatementContext);
|
|
2733
|
+
}
|
|
2734
|
+
get ruleIndex() {
|
|
2735
|
+
return plurnkParser.RULE_log;
|
|
2736
|
+
}
|
|
2737
|
+
accept(visitor) {
|
|
2738
|
+
if (visitor.visitLog) {
|
|
2739
|
+
return visitor.visitLog(this);
|
|
2740
|
+
}
|
|
2741
|
+
else {
|
|
2742
|
+
return visitor.visitChildren(this);
|
|
2743
|
+
}
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
export class TurnStatementContext extends antlr.ParserRuleContext {
|
|
2747
|
+
constructor(parent, invokingState) {
|
|
2748
|
+
super(parent, invokingState);
|
|
2749
|
+
}
|
|
2750
|
+
OPEN_TURN() {
|
|
2751
|
+
return this.getToken(plurnkParser.OPEN_TURN, 0);
|
|
2752
|
+
}
|
|
2753
|
+
COLON() {
|
|
2754
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
2755
|
+
}
|
|
2756
|
+
turnContent() {
|
|
2757
|
+
return this.getRuleContext(0, TurnContentContext);
|
|
2758
|
+
}
|
|
2759
|
+
CLOSE_TURN() {
|
|
2760
|
+
return this.getToken(plurnkParser.CLOSE_TURN, 0);
|
|
2761
|
+
}
|
|
2762
|
+
tagOpModifiers() {
|
|
2763
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
2764
|
+
}
|
|
2765
|
+
get ruleIndex() {
|
|
2766
|
+
return plurnkParser.RULE_turnStatement;
|
|
2767
|
+
}
|
|
2768
|
+
accept(visitor) {
|
|
2769
|
+
if (visitor.visitTurnStatement) {
|
|
2770
|
+
return visitor.visitTurnStatement(this);
|
|
2771
|
+
}
|
|
2772
|
+
else {
|
|
2773
|
+
return visitor.visitChildren(this);
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
export class TurnContentContext extends antlr.ParserRuleContext {
|
|
2778
|
+
constructor(parent, invokingState) {
|
|
2779
|
+
super(parent, invokingState);
|
|
2780
|
+
}
|
|
2781
|
+
planStatement() {
|
|
2782
|
+
return this.getRuleContext(0, PlanStatementContext);
|
|
2783
|
+
}
|
|
2784
|
+
sendStatement() {
|
|
2785
|
+
return this.getRuleContext(0, SendStatementContext);
|
|
2786
|
+
}
|
|
2787
|
+
TEXT(i) {
|
|
2788
|
+
if (i === undefined) {
|
|
2789
|
+
return this.getTokens(plurnkParser.TEXT);
|
|
2790
|
+
}
|
|
2791
|
+
else {
|
|
2792
|
+
return this.getToken(plurnkParser.TEXT, i);
|
|
2793
|
+
}
|
|
2794
|
+
}
|
|
2795
|
+
midStatement(i) {
|
|
2796
|
+
if (i === undefined) {
|
|
2797
|
+
return this.getRuleContexts(MidStatementContext);
|
|
2798
|
+
}
|
|
2799
|
+
return this.getRuleContext(i, MidStatementContext);
|
|
2800
|
+
}
|
|
2801
|
+
get ruleIndex() {
|
|
2802
|
+
return plurnkParser.RULE_turnContent;
|
|
2803
|
+
}
|
|
2804
|
+
accept(visitor) {
|
|
2805
|
+
if (visitor.visitTurnContent) {
|
|
2806
|
+
return visitor.visitTurnContent(this);
|
|
2807
|
+
}
|
|
2808
|
+
else {
|
|
2809
|
+
return visitor.visitChildren(this);
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2813
|
+
export class StatementSeqContext extends antlr.ParserRuleContext {
|
|
2814
|
+
constructor(parent, invokingState) {
|
|
2815
|
+
super(parent, invokingState);
|
|
2816
|
+
}
|
|
2817
|
+
EOF() {
|
|
2818
|
+
return this.getToken(plurnkParser.EOF, 0);
|
|
2819
|
+
}
|
|
2820
|
+
statement(i) {
|
|
2821
|
+
if (i === undefined) {
|
|
2822
|
+
return this.getRuleContexts(StatementContext);
|
|
2823
|
+
}
|
|
2824
|
+
return this.getRuleContext(i, StatementContext);
|
|
2825
|
+
}
|
|
2826
|
+
get ruleIndex() {
|
|
2827
|
+
return plurnkParser.RULE_statementSeq;
|
|
2828
|
+
}
|
|
2829
|
+
accept(visitor) {
|
|
2830
|
+
if (visitor.visitStatementSeq) {
|
|
2831
|
+
return visitor.visitStatementSeq(this);
|
|
2832
|
+
}
|
|
2833
|
+
else {
|
|
2834
|
+
return visitor.visitChildren(this);
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
export class ClientStatementSeqContext extends antlr.ParserRuleContext {
|
|
2839
|
+
constructor(parent, invokingState) {
|
|
2840
|
+
super(parent, invokingState);
|
|
2841
|
+
}
|
|
2842
|
+
EOF() {
|
|
2843
|
+
return this.getToken(plurnkParser.EOF, 0);
|
|
2844
|
+
}
|
|
2845
|
+
clientStatement(i) {
|
|
2846
|
+
if (i === undefined) {
|
|
2847
|
+
return this.getRuleContexts(ClientStatementContext);
|
|
2848
|
+
}
|
|
2849
|
+
return this.getRuleContext(i, ClientStatementContext);
|
|
2850
|
+
}
|
|
2851
|
+
get ruleIndex() {
|
|
2852
|
+
return plurnkParser.RULE_clientStatementSeq;
|
|
2853
|
+
}
|
|
2854
|
+
accept(visitor) {
|
|
2855
|
+
if (visitor.visitClientStatementSeq) {
|
|
2856
|
+
return visitor.visitClientStatementSeq(this);
|
|
2857
|
+
}
|
|
2858
|
+
else {
|
|
2859
|
+
return visitor.visitChildren(this);
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
export class ClientStatementContext extends antlr.ParserRuleContext {
|
|
2864
|
+
constructor(parent, invokingState) {
|
|
2865
|
+
super(parent, invokingState);
|
|
2866
|
+
}
|
|
2867
|
+
statement() {
|
|
2868
|
+
return this.getRuleContext(0, StatementContext);
|
|
2869
|
+
}
|
|
2870
|
+
lookStatement() {
|
|
2871
|
+
return this.getRuleContext(0, LookStatementContext);
|
|
2872
|
+
}
|
|
2873
|
+
buffStatement() {
|
|
2874
|
+
return this.getRuleContext(0, BuffStatementContext);
|
|
2875
|
+
}
|
|
2876
|
+
get ruleIndex() {
|
|
2877
|
+
return plurnkParser.RULE_clientStatement;
|
|
2878
|
+
}
|
|
2879
|
+
accept(visitor) {
|
|
2880
|
+
if (visitor.visitClientStatement) {
|
|
2881
|
+
return visitor.visitClientStatement(this);
|
|
2882
|
+
}
|
|
2883
|
+
else {
|
|
2884
|
+
return visitor.visitChildren(this);
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
export class StatementContext extends antlr.ParserRuleContext {
|
|
2889
|
+
constructor(parent, invokingState) {
|
|
2890
|
+
super(parent, invokingState);
|
|
2891
|
+
}
|
|
2892
|
+
findStatement() {
|
|
2893
|
+
return this.getRuleContext(0, FindStatementContext);
|
|
2894
|
+
}
|
|
2895
|
+
readStatement() {
|
|
2896
|
+
return this.getRuleContext(0, ReadStatementContext);
|
|
2897
|
+
}
|
|
2898
|
+
editStatement() {
|
|
2899
|
+
return this.getRuleContext(0, EditStatementContext);
|
|
2900
|
+
}
|
|
2901
|
+
copyStatement() {
|
|
2902
|
+
return this.getRuleContext(0, CopyStatementContext);
|
|
2903
|
+
}
|
|
2904
|
+
moveStatement() {
|
|
2905
|
+
return this.getRuleContext(0, MoveStatementContext);
|
|
2906
|
+
}
|
|
2907
|
+
openStatement() {
|
|
2908
|
+
return this.getRuleContext(0, OpenStatementContext);
|
|
2909
|
+
}
|
|
2910
|
+
foldStatement() {
|
|
2911
|
+
return this.getRuleContext(0, FoldStatementContext);
|
|
2912
|
+
}
|
|
2913
|
+
sendStatement() {
|
|
2914
|
+
return this.getRuleContext(0, SendStatementContext);
|
|
2915
|
+
}
|
|
2916
|
+
midSend() {
|
|
2917
|
+
return this.getRuleContext(0, MidSendContext);
|
|
2918
|
+
}
|
|
2919
|
+
execStatement() {
|
|
2920
|
+
return this.getRuleContext(0, ExecStatementContext);
|
|
2921
|
+
}
|
|
2922
|
+
workStatement() {
|
|
2923
|
+
return this.getRuleContext(0, WorkStatementContext);
|
|
2924
|
+
}
|
|
2925
|
+
forkStatement() {
|
|
2926
|
+
return this.getRuleContext(0, ForkStatementContext);
|
|
2927
|
+
}
|
|
2928
|
+
killStatement() {
|
|
2929
|
+
return this.getRuleContext(0, KillStatementContext);
|
|
2930
|
+
}
|
|
2931
|
+
planStatement() {
|
|
2932
|
+
return this.getRuleContext(0, PlanStatementContext);
|
|
2933
|
+
}
|
|
2934
|
+
get ruleIndex() {
|
|
2935
|
+
return plurnkParser.RULE_statement;
|
|
2936
|
+
}
|
|
2937
|
+
accept(visitor) {
|
|
2938
|
+
if (visitor.visitStatement) {
|
|
2939
|
+
return visitor.visitStatement(this);
|
|
2940
|
+
}
|
|
2941
|
+
else {
|
|
2942
|
+
return visitor.visitChildren(this);
|
|
2943
|
+
}
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
export class MidStatementContext extends antlr.ParserRuleContext {
|
|
2947
|
+
constructor(parent, invokingState) {
|
|
2948
|
+
super(parent, invokingState);
|
|
2949
|
+
}
|
|
2950
|
+
findStatement() {
|
|
2951
|
+
return this.getRuleContext(0, FindStatementContext);
|
|
2952
|
+
}
|
|
2953
|
+
readStatement() {
|
|
2954
|
+
return this.getRuleContext(0, ReadStatementContext);
|
|
2955
|
+
}
|
|
2956
|
+
editStatement() {
|
|
2957
|
+
return this.getRuleContext(0, EditStatementContext);
|
|
2958
|
+
}
|
|
2959
|
+
copyStatement() {
|
|
2960
|
+
return this.getRuleContext(0, CopyStatementContext);
|
|
2961
|
+
}
|
|
2962
|
+
moveStatement() {
|
|
2963
|
+
return this.getRuleContext(0, MoveStatementContext);
|
|
2964
|
+
}
|
|
2965
|
+
openStatement() {
|
|
2966
|
+
return this.getRuleContext(0, OpenStatementContext);
|
|
2967
|
+
}
|
|
2968
|
+
foldStatement() {
|
|
2969
|
+
return this.getRuleContext(0, FoldStatementContext);
|
|
2970
|
+
}
|
|
2971
|
+
midSend() {
|
|
2972
|
+
return this.getRuleContext(0, MidSendContext);
|
|
2973
|
+
}
|
|
2974
|
+
execStatement() {
|
|
2975
|
+
return this.getRuleContext(0, ExecStatementContext);
|
|
2976
|
+
}
|
|
2977
|
+
workStatement() {
|
|
2978
|
+
return this.getRuleContext(0, WorkStatementContext);
|
|
2979
|
+
}
|
|
2980
|
+
forkStatement() {
|
|
2981
|
+
return this.getRuleContext(0, ForkStatementContext);
|
|
2982
|
+
}
|
|
2983
|
+
killStatement() {
|
|
2984
|
+
return this.getRuleContext(0, KillStatementContext);
|
|
2985
|
+
}
|
|
2986
|
+
get ruleIndex() {
|
|
2987
|
+
return plurnkParser.RULE_midStatement;
|
|
2988
|
+
}
|
|
2989
|
+
accept(visitor) {
|
|
2990
|
+
if (visitor.visitMidStatement) {
|
|
2991
|
+
return visitor.visitMidStatement(this);
|
|
2992
|
+
}
|
|
2993
|
+
else {
|
|
2994
|
+
return visitor.visitChildren(this);
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
export class FindStatementContext extends antlr.ParserRuleContext {
|
|
2999
|
+
constructor(parent, invokingState) {
|
|
3000
|
+
super(parent, invokingState);
|
|
3001
|
+
}
|
|
3002
|
+
OPEN_FIND() {
|
|
3003
|
+
return this.getToken(plurnkParser.OPEN_FIND, 0);
|
|
3004
|
+
}
|
|
3005
|
+
CLOSE_TAG() {
|
|
3006
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3007
|
+
}
|
|
3008
|
+
tagOpModifiers() {
|
|
3009
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
3010
|
+
}
|
|
3011
|
+
COLON() {
|
|
3012
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3013
|
+
}
|
|
3014
|
+
body() {
|
|
3015
|
+
return this.getRuleContext(0, BodyContext);
|
|
3016
|
+
}
|
|
3017
|
+
get ruleIndex() {
|
|
3018
|
+
return plurnkParser.RULE_findStatement;
|
|
3019
|
+
}
|
|
3020
|
+
accept(visitor) {
|
|
3021
|
+
if (visitor.visitFindStatement) {
|
|
3022
|
+
return visitor.visitFindStatement(this);
|
|
3023
|
+
}
|
|
3024
|
+
else {
|
|
3025
|
+
return visitor.visitChildren(this);
|
|
3026
|
+
}
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
3029
|
+
export class ReadStatementContext extends antlr.ParserRuleContext {
|
|
3030
|
+
constructor(parent, invokingState) {
|
|
3031
|
+
super(parent, invokingState);
|
|
3032
|
+
}
|
|
3033
|
+
OPEN_READ() {
|
|
3034
|
+
return this.getToken(plurnkParser.OPEN_READ, 0);
|
|
3035
|
+
}
|
|
3036
|
+
CLOSE_TAG() {
|
|
3037
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3038
|
+
}
|
|
3039
|
+
tagOpModifiers() {
|
|
3040
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
3041
|
+
}
|
|
3042
|
+
COLON() {
|
|
3043
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3044
|
+
}
|
|
3045
|
+
body() {
|
|
3046
|
+
return this.getRuleContext(0, BodyContext);
|
|
3047
|
+
}
|
|
3048
|
+
get ruleIndex() {
|
|
3049
|
+
return plurnkParser.RULE_readStatement;
|
|
3050
|
+
}
|
|
3051
|
+
accept(visitor) {
|
|
3052
|
+
if (visitor.visitReadStatement) {
|
|
3053
|
+
return visitor.visitReadStatement(this);
|
|
3054
|
+
}
|
|
3055
|
+
else {
|
|
3056
|
+
return visitor.visitChildren(this);
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
3059
|
+
}
|
|
3060
|
+
export class EditStatementContext extends antlr.ParserRuleContext {
|
|
3061
|
+
constructor(parent, invokingState) {
|
|
3062
|
+
super(parent, invokingState);
|
|
3063
|
+
}
|
|
3064
|
+
OPEN_EDIT() {
|
|
3065
|
+
return this.getToken(plurnkParser.OPEN_EDIT, 0);
|
|
3066
|
+
}
|
|
3067
|
+
CLOSE_TAG() {
|
|
3068
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3069
|
+
}
|
|
3070
|
+
tagOpModifiers() {
|
|
3071
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
3072
|
+
}
|
|
3073
|
+
COLON() {
|
|
3074
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3075
|
+
}
|
|
3076
|
+
body() {
|
|
3077
|
+
return this.getRuleContext(0, BodyContext);
|
|
3078
|
+
}
|
|
3079
|
+
get ruleIndex() {
|
|
3080
|
+
return plurnkParser.RULE_editStatement;
|
|
3081
|
+
}
|
|
3082
|
+
accept(visitor) {
|
|
3083
|
+
if (visitor.visitEditStatement) {
|
|
3084
|
+
return visitor.visitEditStatement(this);
|
|
3085
|
+
}
|
|
3086
|
+
else {
|
|
3087
|
+
return visitor.visitChildren(this);
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
}
|
|
3091
|
+
export class CopyStatementContext extends antlr.ParserRuleContext {
|
|
3092
|
+
constructor(parent, invokingState) {
|
|
3093
|
+
super(parent, invokingState);
|
|
3094
|
+
}
|
|
3095
|
+
OPEN_COPY() {
|
|
3096
|
+
return this.getToken(plurnkParser.OPEN_COPY, 0);
|
|
3097
|
+
}
|
|
3098
|
+
CLOSE_TAG() {
|
|
3099
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3100
|
+
}
|
|
3101
|
+
tagOpModifiers() {
|
|
3102
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
3103
|
+
}
|
|
3104
|
+
COLON() {
|
|
3105
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3106
|
+
}
|
|
3107
|
+
body() {
|
|
3108
|
+
return this.getRuleContext(0, BodyContext);
|
|
3109
|
+
}
|
|
3110
|
+
get ruleIndex() {
|
|
3111
|
+
return plurnkParser.RULE_copyStatement;
|
|
3112
|
+
}
|
|
3113
|
+
accept(visitor) {
|
|
3114
|
+
if (visitor.visitCopyStatement) {
|
|
3115
|
+
return visitor.visitCopyStatement(this);
|
|
3116
|
+
}
|
|
3117
|
+
else {
|
|
3118
|
+
return visitor.visitChildren(this);
|
|
3119
|
+
}
|
|
3120
|
+
}
|
|
3121
|
+
}
|
|
3122
|
+
export class MoveStatementContext extends antlr.ParserRuleContext {
|
|
3123
|
+
constructor(parent, invokingState) {
|
|
3124
|
+
super(parent, invokingState);
|
|
3125
|
+
}
|
|
3126
|
+
OPEN_MOVE() {
|
|
3127
|
+
return this.getToken(plurnkParser.OPEN_MOVE, 0);
|
|
3128
|
+
}
|
|
3129
|
+
CLOSE_TAG() {
|
|
3130
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3131
|
+
}
|
|
3132
|
+
tagOpModifiers() {
|
|
3133
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
3134
|
+
}
|
|
3135
|
+
COLON() {
|
|
3136
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3137
|
+
}
|
|
3138
|
+
body() {
|
|
3139
|
+
return this.getRuleContext(0, BodyContext);
|
|
3140
|
+
}
|
|
3141
|
+
get ruleIndex() {
|
|
3142
|
+
return plurnkParser.RULE_moveStatement;
|
|
3143
|
+
}
|
|
3144
|
+
accept(visitor) {
|
|
3145
|
+
if (visitor.visitMoveStatement) {
|
|
3146
|
+
return visitor.visitMoveStatement(this);
|
|
3147
|
+
}
|
|
3148
|
+
else {
|
|
3149
|
+
return visitor.visitChildren(this);
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
export class OpenStatementContext extends antlr.ParserRuleContext {
|
|
3154
|
+
constructor(parent, invokingState) {
|
|
3155
|
+
super(parent, invokingState);
|
|
3156
|
+
}
|
|
3157
|
+
OPEN_OPEN() {
|
|
3158
|
+
return this.getToken(plurnkParser.OPEN_OPEN, 0);
|
|
3159
|
+
}
|
|
3160
|
+
CLOSE_TAG() {
|
|
3161
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3162
|
+
}
|
|
3163
|
+
curationModifiers() {
|
|
3164
|
+
return this.getRuleContext(0, CurationModifiersContext);
|
|
3165
|
+
}
|
|
3166
|
+
COLON() {
|
|
3167
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3168
|
+
}
|
|
3169
|
+
body() {
|
|
3170
|
+
return this.getRuleContext(0, BodyContext);
|
|
3171
|
+
}
|
|
3172
|
+
get ruleIndex() {
|
|
3173
|
+
return plurnkParser.RULE_openStatement;
|
|
3174
|
+
}
|
|
3175
|
+
accept(visitor) {
|
|
3176
|
+
if (visitor.visitOpenStatement) {
|
|
3177
|
+
return visitor.visitOpenStatement(this);
|
|
3178
|
+
}
|
|
3179
|
+
else {
|
|
3180
|
+
return visitor.visitChildren(this);
|
|
3181
|
+
}
|
|
3182
|
+
}
|
|
3183
|
+
}
|
|
3184
|
+
export class FoldStatementContext extends antlr.ParserRuleContext {
|
|
3185
|
+
constructor(parent, invokingState) {
|
|
3186
|
+
super(parent, invokingState);
|
|
3187
|
+
}
|
|
3188
|
+
OPEN_FOLD() {
|
|
3189
|
+
return this.getToken(plurnkParser.OPEN_FOLD, 0);
|
|
3190
|
+
}
|
|
3191
|
+
CLOSE_TAG() {
|
|
3192
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3193
|
+
}
|
|
3194
|
+
curationModifiers() {
|
|
3195
|
+
return this.getRuleContext(0, CurationModifiersContext);
|
|
3196
|
+
}
|
|
3197
|
+
COLON() {
|
|
3198
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3199
|
+
}
|
|
3200
|
+
body() {
|
|
3201
|
+
return this.getRuleContext(0, BodyContext);
|
|
3202
|
+
}
|
|
3203
|
+
get ruleIndex() {
|
|
3204
|
+
return plurnkParser.RULE_foldStatement;
|
|
3205
|
+
}
|
|
3206
|
+
accept(visitor) {
|
|
3207
|
+
if (visitor.visitFoldStatement) {
|
|
3208
|
+
return visitor.visitFoldStatement(this);
|
|
3209
|
+
}
|
|
3210
|
+
else {
|
|
3211
|
+
return visitor.visitChildren(this);
|
|
3212
|
+
}
|
|
3213
|
+
}
|
|
3214
|
+
}
|
|
3215
|
+
export class SendStatementContext extends antlr.ParserRuleContext {
|
|
3216
|
+
constructor(parent, invokingState) {
|
|
3217
|
+
super(parent, invokingState);
|
|
3218
|
+
}
|
|
3219
|
+
OPEN_SEND() {
|
|
3220
|
+
return this.getToken(plurnkParser.OPEN_SEND, 0);
|
|
3221
|
+
}
|
|
3222
|
+
termModifiers() {
|
|
3223
|
+
return this.getRuleContext(0, TermModifiersContext);
|
|
3224
|
+
}
|
|
3225
|
+
CLOSE_TAG() {
|
|
3226
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3227
|
+
}
|
|
3228
|
+
COLON() {
|
|
3229
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3230
|
+
}
|
|
3231
|
+
body() {
|
|
3232
|
+
return this.getRuleContext(0, BodyContext);
|
|
3233
|
+
}
|
|
3234
|
+
get ruleIndex() {
|
|
3235
|
+
return plurnkParser.RULE_sendStatement;
|
|
3236
|
+
}
|
|
3237
|
+
accept(visitor) {
|
|
3238
|
+
if (visitor.visitSendStatement) {
|
|
3239
|
+
return visitor.visitSendStatement(this);
|
|
3240
|
+
}
|
|
3241
|
+
else {
|
|
3242
|
+
return visitor.visitChildren(this);
|
|
3243
|
+
}
|
|
3244
|
+
}
|
|
3245
|
+
}
|
|
3246
|
+
export class MidSendContext extends antlr.ParserRuleContext {
|
|
3247
|
+
constructor(parent, invokingState) {
|
|
3248
|
+
super(parent, invokingState);
|
|
3249
|
+
}
|
|
3250
|
+
OPEN_SEND() {
|
|
3251
|
+
return this.getToken(plurnkParser.OPEN_SEND, 0);
|
|
3252
|
+
}
|
|
3253
|
+
CLOSE_TAG() {
|
|
3254
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3255
|
+
}
|
|
3256
|
+
midModifiers() {
|
|
3257
|
+
return this.getRuleContext(0, MidModifiersContext);
|
|
3258
|
+
}
|
|
3259
|
+
COLON() {
|
|
3260
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3261
|
+
}
|
|
3262
|
+
body() {
|
|
3263
|
+
return this.getRuleContext(0, BodyContext);
|
|
3264
|
+
}
|
|
3265
|
+
get ruleIndex() {
|
|
3266
|
+
return plurnkParser.RULE_midSend;
|
|
3267
|
+
}
|
|
3268
|
+
accept(visitor) {
|
|
3269
|
+
if (visitor.visitMidSend) {
|
|
3270
|
+
return visitor.visitMidSend(this);
|
|
3271
|
+
}
|
|
3272
|
+
else {
|
|
3273
|
+
return visitor.visitChildren(this);
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
}
|
|
3277
|
+
export class ExecStatementContext extends antlr.ParserRuleContext {
|
|
3278
|
+
constructor(parent, invokingState) {
|
|
3279
|
+
super(parent, invokingState);
|
|
3280
|
+
}
|
|
3281
|
+
OPEN_EXEC() {
|
|
3282
|
+
return this.getToken(plurnkParser.OPEN_EXEC, 0);
|
|
3283
|
+
}
|
|
3284
|
+
CLOSE_TAG() {
|
|
3285
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3286
|
+
}
|
|
3287
|
+
execModifiers() {
|
|
3288
|
+
return this.getRuleContext(0, ExecModifiersContext);
|
|
3289
|
+
}
|
|
3290
|
+
COLON() {
|
|
3291
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3292
|
+
}
|
|
3293
|
+
body() {
|
|
3294
|
+
return this.getRuleContext(0, BodyContext);
|
|
3295
|
+
}
|
|
3296
|
+
get ruleIndex() {
|
|
3297
|
+
return plurnkParser.RULE_execStatement;
|
|
3298
|
+
}
|
|
3299
|
+
accept(visitor) {
|
|
3300
|
+
if (visitor.visitExecStatement) {
|
|
3301
|
+
return visitor.visitExecStatement(this);
|
|
3302
|
+
}
|
|
3303
|
+
else {
|
|
3304
|
+
return visitor.visitChildren(this);
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
export class WorkStatementContext extends antlr.ParserRuleContext {
|
|
3309
|
+
constructor(parent, invokingState) {
|
|
3310
|
+
super(parent, invokingState);
|
|
3311
|
+
}
|
|
3312
|
+
OPEN_WORK() {
|
|
3313
|
+
return this.getToken(plurnkParser.OPEN_WORK, 0);
|
|
3314
|
+
}
|
|
3315
|
+
COLON() {
|
|
3316
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3317
|
+
}
|
|
3318
|
+
body() {
|
|
3319
|
+
return this.getRuleContext(0, BodyContext);
|
|
3320
|
+
}
|
|
3321
|
+
CLOSE_TAG() {
|
|
3322
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3323
|
+
}
|
|
3324
|
+
branchModifiers() {
|
|
3325
|
+
return this.getRuleContext(0, BranchModifiersContext);
|
|
3326
|
+
}
|
|
3327
|
+
get ruleIndex() {
|
|
3328
|
+
return plurnkParser.RULE_workStatement;
|
|
3329
|
+
}
|
|
3330
|
+
accept(visitor) {
|
|
3331
|
+
if (visitor.visitWorkStatement) {
|
|
3332
|
+
return visitor.visitWorkStatement(this);
|
|
3333
|
+
}
|
|
3334
|
+
else {
|
|
3335
|
+
return visitor.visitChildren(this);
|
|
3336
|
+
}
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
3339
|
+
export class ForkStatementContext extends antlr.ParserRuleContext {
|
|
3340
|
+
constructor(parent, invokingState) {
|
|
3341
|
+
super(parent, invokingState);
|
|
3342
|
+
}
|
|
3343
|
+
OPEN_FORK() {
|
|
3344
|
+
return this.getToken(plurnkParser.OPEN_FORK, 0);
|
|
3345
|
+
}
|
|
3346
|
+
COLON() {
|
|
3347
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3348
|
+
}
|
|
3349
|
+
body() {
|
|
3350
|
+
return this.getRuleContext(0, BodyContext);
|
|
3351
|
+
}
|
|
3352
|
+
CLOSE_TAG() {
|
|
3353
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3354
|
+
}
|
|
3355
|
+
branchModifiers() {
|
|
3356
|
+
return this.getRuleContext(0, BranchModifiersContext);
|
|
3357
|
+
}
|
|
3358
|
+
get ruleIndex() {
|
|
3359
|
+
return plurnkParser.RULE_forkStatement;
|
|
3360
|
+
}
|
|
3361
|
+
accept(visitor) {
|
|
3362
|
+
if (visitor.visitForkStatement) {
|
|
3363
|
+
return visitor.visitForkStatement(this);
|
|
3364
|
+
}
|
|
3365
|
+
else {
|
|
3366
|
+
return visitor.visitChildren(this);
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
export class KillStatementContext extends antlr.ParserRuleContext {
|
|
3371
|
+
constructor(parent, invokingState) {
|
|
3372
|
+
super(parent, invokingState);
|
|
3373
|
+
}
|
|
3374
|
+
OPEN_KILL() {
|
|
3375
|
+
return this.getToken(plurnkParser.OPEN_KILL, 0);
|
|
3376
|
+
}
|
|
3377
|
+
CLOSE_TAG() {
|
|
3378
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3379
|
+
}
|
|
3380
|
+
intOpModifiers() {
|
|
3381
|
+
return this.getRuleContext(0, IntOpModifiersContext);
|
|
3382
|
+
}
|
|
3383
|
+
COLON() {
|
|
3384
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3385
|
+
}
|
|
3386
|
+
body() {
|
|
3387
|
+
return this.getRuleContext(0, BodyContext);
|
|
3388
|
+
}
|
|
3389
|
+
get ruleIndex() {
|
|
3390
|
+
return plurnkParser.RULE_killStatement;
|
|
3391
|
+
}
|
|
3392
|
+
accept(visitor) {
|
|
3393
|
+
if (visitor.visitKillStatement) {
|
|
3394
|
+
return visitor.visitKillStatement(this);
|
|
3395
|
+
}
|
|
3396
|
+
else {
|
|
3397
|
+
return visitor.visitChildren(this);
|
|
3398
|
+
}
|
|
3399
|
+
}
|
|
3400
|
+
}
|
|
3401
|
+
export class PlanStatementContext extends antlr.ParserRuleContext {
|
|
3402
|
+
constructor(parent, invokingState) {
|
|
3403
|
+
super(parent, invokingState);
|
|
3404
|
+
}
|
|
3405
|
+
OPEN_PLAN() {
|
|
3406
|
+
return this.getToken(plurnkParser.OPEN_PLAN, 0);
|
|
3407
|
+
}
|
|
3408
|
+
CLOSE_TAG() {
|
|
3409
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3410
|
+
}
|
|
3411
|
+
tagOpModifiers() {
|
|
3412
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
3413
|
+
}
|
|
3414
|
+
COLON() {
|
|
3415
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3416
|
+
}
|
|
3417
|
+
body() {
|
|
3418
|
+
return this.getRuleContext(0, BodyContext);
|
|
3419
|
+
}
|
|
3420
|
+
get ruleIndex() {
|
|
3421
|
+
return plurnkParser.RULE_planStatement;
|
|
3422
|
+
}
|
|
3423
|
+
accept(visitor) {
|
|
3424
|
+
if (visitor.visitPlanStatement) {
|
|
3425
|
+
return visitor.visitPlanStatement(this);
|
|
3426
|
+
}
|
|
3427
|
+
else {
|
|
3428
|
+
return visitor.visitChildren(this);
|
|
3429
|
+
}
|
|
3430
|
+
}
|
|
3431
|
+
}
|
|
3432
|
+
export class LookStatementContext extends antlr.ParserRuleContext {
|
|
3433
|
+
constructor(parent, invokingState) {
|
|
3434
|
+
super(parent, invokingState);
|
|
3435
|
+
}
|
|
3436
|
+
OPEN_LOOK() {
|
|
3437
|
+
return this.getToken(plurnkParser.OPEN_LOOK, 0);
|
|
3438
|
+
}
|
|
3439
|
+
CLOSE_TAG() {
|
|
3440
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3441
|
+
}
|
|
3442
|
+
tagOpModifiers() {
|
|
3443
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
3444
|
+
}
|
|
3445
|
+
COLON() {
|
|
3446
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3447
|
+
}
|
|
3448
|
+
body() {
|
|
3449
|
+
return this.getRuleContext(0, BodyContext);
|
|
3450
|
+
}
|
|
3451
|
+
get ruleIndex() {
|
|
3452
|
+
return plurnkParser.RULE_lookStatement;
|
|
3453
|
+
}
|
|
3454
|
+
accept(visitor) {
|
|
3455
|
+
if (visitor.visitLookStatement) {
|
|
3456
|
+
return visitor.visitLookStatement(this);
|
|
3457
|
+
}
|
|
3458
|
+
else {
|
|
3459
|
+
return visitor.visitChildren(this);
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3463
|
+
export class BuffStatementContext extends antlr.ParserRuleContext {
|
|
3464
|
+
constructor(parent, invokingState) {
|
|
3465
|
+
super(parent, invokingState);
|
|
3466
|
+
}
|
|
3467
|
+
OPEN_BUFF() {
|
|
3468
|
+
return this.getToken(plurnkParser.OPEN_BUFF, 0);
|
|
3469
|
+
}
|
|
3470
|
+
CLOSE_TAG() {
|
|
3471
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
3472
|
+
}
|
|
3473
|
+
tagOpModifiers() {
|
|
3474
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
3475
|
+
}
|
|
3476
|
+
COLON() {
|
|
3477
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
3478
|
+
}
|
|
3479
|
+
body() {
|
|
3480
|
+
return this.getRuleContext(0, BodyContext);
|
|
3481
|
+
}
|
|
3482
|
+
get ruleIndex() {
|
|
3483
|
+
return plurnkParser.RULE_buffStatement;
|
|
3484
|
+
}
|
|
3485
|
+
accept(visitor) {
|
|
3486
|
+
if (visitor.visitBuffStatement) {
|
|
3487
|
+
return visitor.visitBuffStatement(this);
|
|
3488
|
+
}
|
|
3489
|
+
else {
|
|
3490
|
+
return visitor.visitChildren(this);
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
}
|
|
3494
|
+
export class TagOpModifiersContext extends antlr.ParserRuleContext {
|
|
3495
|
+
constructor(parent, invokingState) {
|
|
3496
|
+
super(parent, invokingState);
|
|
3497
|
+
}
|
|
3498
|
+
tagSignal() {
|
|
3499
|
+
return this.getRuleContext(0, TagSignalContext);
|
|
3500
|
+
}
|
|
3501
|
+
target() {
|
|
3502
|
+
return this.getRuleContext(0, TargetContext);
|
|
3503
|
+
}
|
|
3504
|
+
lineMarker() {
|
|
3505
|
+
return this.getRuleContext(0, LineMarkerContext);
|
|
3506
|
+
}
|
|
3507
|
+
get ruleIndex() {
|
|
3508
|
+
return plurnkParser.RULE_tagOpModifiers;
|
|
3509
|
+
}
|
|
3510
|
+
accept(visitor) {
|
|
3511
|
+
if (visitor.visitTagOpModifiers) {
|
|
3512
|
+
return visitor.visitTagOpModifiers(this);
|
|
3513
|
+
}
|
|
3514
|
+
else {
|
|
3515
|
+
return visitor.visitChildren(this);
|
|
3516
|
+
}
|
|
3517
|
+
}
|
|
3518
|
+
}
|
|
3519
|
+
export class CurationModifiersContext extends antlr.ParserRuleContext {
|
|
3520
|
+
constructor(parent, invokingState) {
|
|
3521
|
+
super(parent, invokingState);
|
|
3522
|
+
}
|
|
3523
|
+
tagSignal() {
|
|
3524
|
+
return this.getRuleContext(0, TagSignalContext);
|
|
3525
|
+
}
|
|
3526
|
+
target() {
|
|
3527
|
+
return this.getRuleContext(0, TargetContext);
|
|
3528
|
+
}
|
|
3529
|
+
get ruleIndex() {
|
|
3530
|
+
return plurnkParser.RULE_curationModifiers;
|
|
3531
|
+
}
|
|
3532
|
+
accept(visitor) {
|
|
3533
|
+
if (visitor.visitCurationModifiers) {
|
|
3534
|
+
return visitor.visitCurationModifiers(this);
|
|
3535
|
+
}
|
|
3536
|
+
else {
|
|
3537
|
+
return visitor.visitChildren(this);
|
|
3538
|
+
}
|
|
3539
|
+
}
|
|
3540
|
+
}
|
|
3541
|
+
export class IntOpModifiersContext extends antlr.ParserRuleContext {
|
|
3542
|
+
constructor(parent, invokingState) {
|
|
3543
|
+
super(parent, invokingState);
|
|
3544
|
+
}
|
|
3545
|
+
intSignal() {
|
|
3546
|
+
return this.getRuleContext(0, IntSignalContext);
|
|
3547
|
+
}
|
|
3548
|
+
target() {
|
|
3549
|
+
return this.getRuleContext(0, TargetContext);
|
|
3550
|
+
}
|
|
3551
|
+
get ruleIndex() {
|
|
3552
|
+
return plurnkParser.RULE_intOpModifiers;
|
|
3553
|
+
}
|
|
3554
|
+
accept(visitor) {
|
|
3555
|
+
if (visitor.visitIntOpModifiers) {
|
|
3556
|
+
return visitor.visitIntOpModifiers(this);
|
|
3557
|
+
}
|
|
3558
|
+
else {
|
|
3559
|
+
return visitor.visitChildren(this);
|
|
3560
|
+
}
|
|
3561
|
+
}
|
|
3562
|
+
}
|
|
3563
|
+
export class BranchModifiersContext extends antlr.ParserRuleContext {
|
|
3564
|
+
constructor(parent, invokingState) {
|
|
3565
|
+
super(parent, invokingState);
|
|
3566
|
+
}
|
|
3567
|
+
branchSignal() {
|
|
3568
|
+
return this.getRuleContext(0, BranchSignalContext);
|
|
3569
|
+
}
|
|
3570
|
+
target() {
|
|
3571
|
+
return this.getRuleContext(0, TargetContext);
|
|
3572
|
+
}
|
|
3573
|
+
get ruleIndex() {
|
|
3574
|
+
return plurnkParser.RULE_branchModifiers;
|
|
3575
|
+
}
|
|
3576
|
+
accept(visitor) {
|
|
3577
|
+
if (visitor.visitBranchModifiers) {
|
|
3578
|
+
return visitor.visitBranchModifiers(this);
|
|
3579
|
+
}
|
|
3580
|
+
else {
|
|
3581
|
+
return visitor.visitChildren(this);
|
|
3582
|
+
}
|
|
3583
|
+
}
|
|
3584
|
+
}
|
|
3585
|
+
export class TermModifiersContext extends antlr.ParserRuleContext {
|
|
3586
|
+
constructor(parent, invokingState) {
|
|
3587
|
+
super(parent, invokingState);
|
|
3588
|
+
}
|
|
3589
|
+
dispSignal() {
|
|
3590
|
+
return this.getRuleContext(0, DispSignalContext);
|
|
3591
|
+
}
|
|
3592
|
+
target() {
|
|
3593
|
+
return this.getRuleContext(0, TargetContext);
|
|
3594
|
+
}
|
|
3595
|
+
lineMarker() {
|
|
3596
|
+
return this.getRuleContext(0, LineMarkerContext);
|
|
3597
|
+
}
|
|
3598
|
+
get ruleIndex() {
|
|
3599
|
+
return plurnkParser.RULE_termModifiers;
|
|
3600
|
+
}
|
|
3601
|
+
accept(visitor) {
|
|
3602
|
+
if (visitor.visitTermModifiers) {
|
|
3603
|
+
return visitor.visitTermModifiers(this);
|
|
3604
|
+
}
|
|
3605
|
+
else {
|
|
3606
|
+
return visitor.visitChildren(this);
|
|
3607
|
+
}
|
|
3608
|
+
}
|
|
3609
|
+
}
|
|
3610
|
+
export class MidModifiersContext extends antlr.ParserRuleContext {
|
|
3611
|
+
constructor(parent, invokingState) {
|
|
3612
|
+
super(parent, invokingState);
|
|
3613
|
+
}
|
|
3614
|
+
midSignal() {
|
|
3615
|
+
return this.getRuleContext(0, MidSignalContext);
|
|
3616
|
+
}
|
|
3617
|
+
target() {
|
|
3618
|
+
return this.getRuleContext(0, TargetContext);
|
|
3619
|
+
}
|
|
3620
|
+
get ruleIndex() {
|
|
3621
|
+
return plurnkParser.RULE_midModifiers;
|
|
3622
|
+
}
|
|
3623
|
+
accept(visitor) {
|
|
3624
|
+
if (visitor.visitMidModifiers) {
|
|
3625
|
+
return visitor.visitMidModifiers(this);
|
|
3626
|
+
}
|
|
3627
|
+
else {
|
|
3628
|
+
return visitor.visitChildren(this);
|
|
3629
|
+
}
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
export class ExecModifiersContext extends antlr.ParserRuleContext {
|
|
3633
|
+
constructor(parent, invokingState) {
|
|
3634
|
+
super(parent, invokingState);
|
|
3635
|
+
}
|
|
3636
|
+
identSignal() {
|
|
3637
|
+
return this.getRuleContext(0, IdentSignalContext);
|
|
3638
|
+
}
|
|
3639
|
+
target() {
|
|
3640
|
+
return this.getRuleContext(0, TargetContext);
|
|
3641
|
+
}
|
|
3642
|
+
lineMarker() {
|
|
3643
|
+
return this.getRuleContext(0, LineMarkerContext);
|
|
3644
|
+
}
|
|
3645
|
+
get ruleIndex() {
|
|
3646
|
+
return plurnkParser.RULE_execModifiers;
|
|
3647
|
+
}
|
|
3648
|
+
accept(visitor) {
|
|
3649
|
+
if (visitor.visitExecModifiers) {
|
|
3650
|
+
return visitor.visitExecModifiers(this);
|
|
3651
|
+
}
|
|
3652
|
+
else {
|
|
3653
|
+
return visitor.visitChildren(this);
|
|
3654
|
+
}
|
|
3655
|
+
}
|
|
3656
|
+
}
|
|
3657
|
+
export class TagSignalContext extends antlr.ParserRuleContext {
|
|
3658
|
+
constructor(parent, invokingState) {
|
|
3659
|
+
super(parent, invokingState);
|
|
3660
|
+
}
|
|
3661
|
+
LBRACKET() {
|
|
3662
|
+
return this.getToken(plurnkParser.LBRACKET, 0);
|
|
3663
|
+
}
|
|
3664
|
+
RBRACKET() {
|
|
3665
|
+
return this.getToken(plurnkParser.RBRACKET, 0);
|
|
3666
|
+
}
|
|
3667
|
+
TAG(i) {
|
|
3668
|
+
if (i === undefined) {
|
|
3669
|
+
return this.getTokens(plurnkParser.TAG);
|
|
3670
|
+
}
|
|
3671
|
+
else {
|
|
3672
|
+
return this.getToken(plurnkParser.TAG, i);
|
|
3673
|
+
}
|
|
3674
|
+
}
|
|
3675
|
+
COMMA(i) {
|
|
3676
|
+
if (i === undefined) {
|
|
3677
|
+
return this.getTokens(plurnkParser.COMMA);
|
|
3678
|
+
}
|
|
3679
|
+
else {
|
|
3680
|
+
return this.getToken(plurnkParser.COMMA, i);
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
get ruleIndex() {
|
|
3684
|
+
return plurnkParser.RULE_tagSignal;
|
|
3685
|
+
}
|
|
3686
|
+
accept(visitor) {
|
|
3687
|
+
if (visitor.visitTagSignal) {
|
|
3688
|
+
return visitor.visitTagSignal(this);
|
|
3689
|
+
}
|
|
3690
|
+
else {
|
|
3691
|
+
return visitor.visitChildren(this);
|
|
3692
|
+
}
|
|
3693
|
+
}
|
|
3694
|
+
}
|
|
3695
|
+
export class BranchSignalContext extends antlr.ParserRuleContext {
|
|
3696
|
+
constructor(parent, invokingState) {
|
|
3697
|
+
super(parent, invokingState);
|
|
3698
|
+
}
|
|
3699
|
+
LBRACKET() {
|
|
3700
|
+
return this.getToken(plurnkParser.LBRACKET, 0);
|
|
3701
|
+
}
|
|
3702
|
+
TAG() {
|
|
3703
|
+
return this.getToken(plurnkParser.TAG, 0);
|
|
3704
|
+
}
|
|
3705
|
+
RBRACKET() {
|
|
3706
|
+
return this.getToken(plurnkParser.RBRACKET, 0);
|
|
3707
|
+
}
|
|
3708
|
+
get ruleIndex() {
|
|
3709
|
+
return plurnkParser.RULE_branchSignal;
|
|
3710
|
+
}
|
|
3711
|
+
accept(visitor) {
|
|
3712
|
+
if (visitor.visitBranchSignal) {
|
|
3713
|
+
return visitor.visitBranchSignal(this);
|
|
3714
|
+
}
|
|
3715
|
+
else {
|
|
3716
|
+
return visitor.visitChildren(this);
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
}
|
|
3720
|
+
export class IntSignalContext extends antlr.ParserRuleContext {
|
|
3721
|
+
constructor(parent, invokingState) {
|
|
3722
|
+
super(parent, invokingState);
|
|
3723
|
+
}
|
|
3724
|
+
LBRACKET() {
|
|
3725
|
+
return this.getToken(plurnkParser.LBRACKET, 0);
|
|
3726
|
+
}
|
|
3727
|
+
RBRACKET() {
|
|
3728
|
+
return this.getToken(plurnkParser.RBRACKET, 0);
|
|
3729
|
+
}
|
|
3730
|
+
INT() {
|
|
3731
|
+
return this.getToken(plurnkParser.INT, 0);
|
|
3732
|
+
}
|
|
3733
|
+
DISPOSITION() {
|
|
3734
|
+
return this.getToken(plurnkParser.DISPOSITION, 0);
|
|
3735
|
+
}
|
|
3736
|
+
get ruleIndex() {
|
|
3737
|
+
return plurnkParser.RULE_intSignal;
|
|
3738
|
+
}
|
|
3739
|
+
accept(visitor) {
|
|
3740
|
+
if (visitor.visitIntSignal) {
|
|
3741
|
+
return visitor.visitIntSignal(this);
|
|
3742
|
+
}
|
|
3743
|
+
else {
|
|
3744
|
+
return visitor.visitChildren(this);
|
|
3745
|
+
}
|
|
3746
|
+
}
|
|
3747
|
+
}
|
|
3748
|
+
export class MidSignalContext extends antlr.ParserRuleContext {
|
|
3749
|
+
constructor(parent, invokingState) {
|
|
3750
|
+
super(parent, invokingState);
|
|
3751
|
+
}
|
|
3752
|
+
LBRACKET() {
|
|
3753
|
+
return this.getToken(plurnkParser.LBRACKET, 0);
|
|
3754
|
+
}
|
|
3755
|
+
RBRACKET() {
|
|
3756
|
+
return this.getToken(plurnkParser.RBRACKET, 0);
|
|
3757
|
+
}
|
|
3758
|
+
INT() {
|
|
3759
|
+
return this.getToken(plurnkParser.INT, 0);
|
|
3760
|
+
}
|
|
3761
|
+
get ruleIndex() {
|
|
3762
|
+
return plurnkParser.RULE_midSignal;
|
|
3763
|
+
}
|
|
3764
|
+
accept(visitor) {
|
|
3765
|
+
if (visitor.visitMidSignal) {
|
|
3766
|
+
return visitor.visitMidSignal(this);
|
|
3767
|
+
}
|
|
3768
|
+
else {
|
|
3769
|
+
return visitor.visitChildren(this);
|
|
3770
|
+
}
|
|
3771
|
+
}
|
|
3772
|
+
}
|
|
3773
|
+
export class DispSignalContext extends antlr.ParserRuleContext {
|
|
3774
|
+
constructor(parent, invokingState) {
|
|
3775
|
+
super(parent, invokingState);
|
|
3776
|
+
}
|
|
3777
|
+
LBRACKET() {
|
|
3778
|
+
return this.getToken(plurnkParser.LBRACKET, 0);
|
|
3779
|
+
}
|
|
3780
|
+
DISPOSITION() {
|
|
3781
|
+
return this.getToken(plurnkParser.DISPOSITION, 0);
|
|
3782
|
+
}
|
|
3783
|
+
RBRACKET() {
|
|
3784
|
+
return this.getToken(plurnkParser.RBRACKET, 0);
|
|
3785
|
+
}
|
|
3786
|
+
get ruleIndex() {
|
|
3787
|
+
return plurnkParser.RULE_dispSignal;
|
|
3788
|
+
}
|
|
3789
|
+
accept(visitor) {
|
|
3790
|
+
if (visitor.visitDispSignal) {
|
|
3791
|
+
return visitor.visitDispSignal(this);
|
|
3792
|
+
}
|
|
3793
|
+
else {
|
|
3794
|
+
return visitor.visitChildren(this);
|
|
3795
|
+
}
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
export class IdentSignalContext extends antlr.ParserRuleContext {
|
|
3799
|
+
constructor(parent, invokingState) {
|
|
3800
|
+
super(parent, invokingState);
|
|
3801
|
+
}
|
|
3802
|
+
LBRACKET() {
|
|
3803
|
+
return this.getToken(plurnkParser.LBRACKET, 0);
|
|
3804
|
+
}
|
|
3805
|
+
RBRACKET() {
|
|
3806
|
+
return this.getToken(plurnkParser.RBRACKET, 0);
|
|
3807
|
+
}
|
|
3808
|
+
IDENT() {
|
|
3809
|
+
return this.getToken(plurnkParser.IDENT, 0);
|
|
3810
|
+
}
|
|
3811
|
+
get ruleIndex() {
|
|
3812
|
+
return plurnkParser.RULE_identSignal;
|
|
3813
|
+
}
|
|
3814
|
+
accept(visitor) {
|
|
3815
|
+
if (visitor.visitIdentSignal) {
|
|
3816
|
+
return visitor.visitIdentSignal(this);
|
|
3817
|
+
}
|
|
3818
|
+
else {
|
|
3819
|
+
return visitor.visitChildren(this);
|
|
3820
|
+
}
|
|
3821
|
+
}
|
|
3822
|
+
}
|
|
3823
|
+
export class TargetContext extends antlr.ParserRuleContext {
|
|
3824
|
+
constructor(parent, invokingState) {
|
|
3825
|
+
super(parent, invokingState);
|
|
3826
|
+
}
|
|
3827
|
+
LPAREN() {
|
|
3828
|
+
return this.getToken(plurnkParser.LPAREN, 0);
|
|
3829
|
+
}
|
|
3830
|
+
RPAREN() {
|
|
3831
|
+
return this.getToken(plurnkParser.RPAREN, 0);
|
|
3832
|
+
}
|
|
3833
|
+
TARGET_TEXT(i) {
|
|
3834
|
+
if (i === undefined) {
|
|
3835
|
+
return this.getTokens(plurnkParser.TARGET_TEXT);
|
|
3836
|
+
}
|
|
3837
|
+
else {
|
|
3838
|
+
return this.getToken(plurnkParser.TARGET_TEXT, i);
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
get ruleIndex() {
|
|
3842
|
+
return plurnkParser.RULE_target;
|
|
3843
|
+
}
|
|
3844
|
+
accept(visitor) {
|
|
3845
|
+
if (visitor.visitTarget) {
|
|
3846
|
+
return visitor.visitTarget(this);
|
|
3847
|
+
}
|
|
3848
|
+
else {
|
|
3849
|
+
return visitor.visitChildren(this);
|
|
3850
|
+
}
|
|
3851
|
+
}
|
|
3852
|
+
}
|
|
3853
|
+
export class LineMarkerContext extends antlr.ParserRuleContext {
|
|
3854
|
+
constructor(parent, invokingState) {
|
|
3855
|
+
super(parent, invokingState);
|
|
3856
|
+
}
|
|
3857
|
+
L_MARKER() {
|
|
3858
|
+
return this.getToken(plurnkParser.L_MARKER, 0);
|
|
3859
|
+
}
|
|
3860
|
+
get ruleIndex() {
|
|
3861
|
+
return plurnkParser.RULE_lineMarker;
|
|
3862
|
+
}
|
|
3863
|
+
accept(visitor) {
|
|
3864
|
+
if (visitor.visitLineMarker) {
|
|
3865
|
+
return visitor.visitLineMarker(this);
|
|
3866
|
+
}
|
|
3867
|
+
else {
|
|
3868
|
+
return visitor.visitChildren(this);
|
|
3869
|
+
}
|
|
3870
|
+
}
|
|
3871
|
+
}
|
|
3872
|
+
export class BodyContext extends antlr.ParserRuleContext {
|
|
3873
|
+
constructor(parent, invokingState) {
|
|
3874
|
+
super(parent, invokingState);
|
|
3875
|
+
}
|
|
3876
|
+
BODY_TEXT(i) {
|
|
3877
|
+
if (i === undefined) {
|
|
3878
|
+
return this.getTokens(plurnkParser.BODY_TEXT);
|
|
3879
|
+
}
|
|
3880
|
+
else {
|
|
3881
|
+
return this.getToken(plurnkParser.BODY_TEXT, i);
|
|
3882
|
+
}
|
|
3883
|
+
}
|
|
3884
|
+
get ruleIndex() {
|
|
3885
|
+
return plurnkParser.RULE_body;
|
|
3886
|
+
}
|
|
3887
|
+
accept(visitor) {
|
|
3888
|
+
if (visitor.visitBody) {
|
|
3889
|
+
return visitor.visitBody(this);
|
|
3890
|
+
}
|
|
3891
|
+
else {
|
|
3892
|
+
return visitor.visitChildren(this);
|
|
3893
|
+
}
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3896
|
+
//# sourceMappingURL=plurnkParser.js.map
|