@plurnk/plurnk-grammar 0.28.0 → 0.30.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/README.md +14 -5
- package/dist/plurnk-strict.gbnf +834 -0
- package/dist/plurnk.gbnf +111 -2
- package/dist/schema/LogEntry.json +2 -2
- package/dist/schema/PlurnkStatement.json +17 -2
- package/dist/src/AstBuilder.d.ts.map +1 -1
- package/dist/src/AstBuilder.js +14 -0
- package/dist/src/AstBuilder.js.map +1 -1
- package/dist/src/PlurnkErrorStrategy.d.ts.map +1 -1
- package/dist/src/PlurnkErrorStrategy.js +1 -0
- package/dist/src/PlurnkErrorStrategy.js.map +1 -1
- package/dist/src/generated/plurnkLexer.d.ts +8 -6
- package/dist/src/generated/plurnkLexer.d.ts.map +1 -1
- package/dist/src/generated/plurnkLexer.js +179 -161
- package/dist/src/generated/plurnkLexer.js.map +1 -1
- package/dist/src/generated/plurnkParser.d.ts +29 -15
- package/dist/src/generated/plurnkParser.d.ts.map +1 -1
- package/dist/src/generated/plurnkParser.js +366 -269
- package/dist/src/generated/plurnkParser.js.map +1 -1
- package/dist/src/generated/plurnkParserVisitor.d.ts +7 -0
- package/dist/src/generated/plurnkParserVisitor.d.ts.map +1 -1
- package/dist/src/generated/plurnkParserVisitor.js +6 -0
- package/dist/src/generated/plurnkParserVisitor.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types.d.ts +1 -1
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.generated.d.ts +11 -2
- package/dist/src/types.generated.d.ts.map +1 -1
- package/dist/src/types.generated.js.map +1 -1
- package/package.json +3 -2
|
@@ -24,12 +24,13 @@ export class plurnkParser extends antlr.Parser {
|
|
|
24
24
|
static OPEN_SEND = 22;
|
|
25
25
|
static OPEN_EXEC = 23;
|
|
26
26
|
static OPEN_KILL = 24;
|
|
27
|
-
static
|
|
28
|
-
static
|
|
29
|
-
static
|
|
30
|
-
static
|
|
31
|
-
static
|
|
32
|
-
static
|
|
27
|
+
static OPEN_PLAN = 25;
|
|
28
|
+
static SLOTS_WS = 26;
|
|
29
|
+
static ST_WS = 27;
|
|
30
|
+
static SI_WS = 28;
|
|
31
|
+
static SD_WS = 29;
|
|
32
|
+
static ST_COMMA = 30;
|
|
33
|
+
static B_COLON = 31;
|
|
33
34
|
static RULE_document = 0;
|
|
34
35
|
static RULE_statement = 1;
|
|
35
36
|
static RULE_findStatement = 2;
|
|
@@ -42,33 +43,35 @@ export class plurnkParser extends antlr.Parser {
|
|
|
42
43
|
static RULE_sendStatement = 9;
|
|
43
44
|
static RULE_execStatement = 10;
|
|
44
45
|
static RULE_killStatement = 11;
|
|
45
|
-
static
|
|
46
|
-
static
|
|
47
|
-
static
|
|
48
|
-
static
|
|
49
|
-
static
|
|
50
|
-
static
|
|
51
|
-
static
|
|
52
|
-
static
|
|
53
|
-
static
|
|
46
|
+
static RULE_planStatement = 12;
|
|
47
|
+
static RULE_tagOpModifiers = 13;
|
|
48
|
+
static RULE_intOpModifiers = 14;
|
|
49
|
+
static RULE_execModifiers = 15;
|
|
50
|
+
static RULE_tagSignal = 16;
|
|
51
|
+
static RULE_intSignal = 17;
|
|
52
|
+
static RULE_identSignal = 18;
|
|
53
|
+
static RULE_target = 19;
|
|
54
|
+
static RULE_lineMarker = 20;
|
|
55
|
+
static RULE_body = 21;
|
|
54
56
|
static literalNames = [
|
|
55
57
|
null, null, null, null, null, null, null, null, null, null, null,
|
|
56
58
|
null, null, null, null, null, null, null, null, null, null, null,
|
|
57
|
-
null, null, null, null, null, null, null, "','", "':'"
|
|
59
|
+
null, null, null, null, null, null, null, null, "','", "':'"
|
|
58
60
|
];
|
|
59
61
|
static symbolicNames = [
|
|
60
62
|
null, "LBRACKET", "RBRACKET", "LPAREN", "RPAREN", "L_MARKER", "COLON",
|
|
61
63
|
"COMMA", "INT", "IDENT", "TAG", "TARGET_TEXT", "BODY_TEXT", "CLOSE_TAG",
|
|
62
64
|
"TEXT", "OPEN_FIND", "OPEN_READ", "OPEN_EDIT", "OPEN_COPY", "OPEN_MOVE",
|
|
63
65
|
"OPEN_OPEN", "OPEN_FOLD", "OPEN_SEND", "OPEN_EXEC", "OPEN_KILL",
|
|
64
|
-
"SLOTS_WS", "ST_WS", "SI_WS", "SD_WS", "ST_COMMA",
|
|
66
|
+
"OPEN_PLAN", "SLOTS_WS", "ST_WS", "SI_WS", "SD_WS", "ST_COMMA",
|
|
67
|
+
"B_COLON"
|
|
65
68
|
];
|
|
66
69
|
static ruleNames = [
|
|
67
70
|
"document", "statement", "findStatement", "readStatement", "editStatement",
|
|
68
71
|
"copyStatement", "moveStatement", "openStatement", "foldStatement",
|
|
69
|
-
"sendStatement", "execStatement", "killStatement", "
|
|
70
|
-
"
|
|
71
|
-
"target", "lineMarker", "body",
|
|
72
|
+
"sendStatement", "execStatement", "killStatement", "planStatement",
|
|
73
|
+
"tagOpModifiers", "intOpModifiers", "execModifiers", "tagSignal",
|
|
74
|
+
"intSignal", "identSignal", "target", "lineMarker", "body",
|
|
72
75
|
];
|
|
73
76
|
get grammarFileName() { return "plurnkParser.g4"; }
|
|
74
77
|
get literalNames() { return plurnkParser.literalNames; }
|
|
@@ -89,12 +92,12 @@ export class plurnkParser extends antlr.Parser {
|
|
|
89
92
|
try {
|
|
90
93
|
this.enterOuterAlt(localContext, 1);
|
|
91
94
|
{
|
|
92
|
-
this.state =
|
|
95
|
+
this.state = 48;
|
|
93
96
|
this.errorHandler.sync(this);
|
|
94
97
|
_la = this.tokenStream.LA(1);
|
|
95
|
-
while ((((_la) & ~0x1F) === 0 && ((1 << _la) &
|
|
98
|
+
while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 67092480) !== 0)) {
|
|
96
99
|
{
|
|
97
|
-
this.state =
|
|
100
|
+
this.state = 46;
|
|
98
101
|
this.errorHandler.sync(this);
|
|
99
102
|
switch (this.tokenStream.LA(1)) {
|
|
100
103
|
case plurnkParser.OPEN_FIND:
|
|
@@ -107,14 +110,15 @@ export class plurnkParser extends antlr.Parser {
|
|
|
107
110
|
case plurnkParser.OPEN_SEND:
|
|
108
111
|
case plurnkParser.OPEN_EXEC:
|
|
109
112
|
case plurnkParser.OPEN_KILL:
|
|
113
|
+
case plurnkParser.OPEN_PLAN:
|
|
110
114
|
{
|
|
111
|
-
this.state =
|
|
115
|
+
this.state = 44;
|
|
112
116
|
this.statement();
|
|
113
117
|
}
|
|
114
118
|
break;
|
|
115
119
|
case plurnkParser.TEXT:
|
|
116
120
|
{
|
|
117
|
-
this.state =
|
|
121
|
+
this.state = 45;
|
|
118
122
|
this.match(plurnkParser.TEXT);
|
|
119
123
|
}
|
|
120
124
|
break;
|
|
@@ -122,11 +126,11 @@ export class plurnkParser extends antlr.Parser {
|
|
|
122
126
|
throw new antlr.NoViableAltException(this);
|
|
123
127
|
}
|
|
124
128
|
}
|
|
125
|
-
this.state =
|
|
129
|
+
this.state = 50;
|
|
126
130
|
this.errorHandler.sync(this);
|
|
127
131
|
_la = this.tokenStream.LA(1);
|
|
128
132
|
}
|
|
129
|
-
this.state =
|
|
133
|
+
this.state = 51;
|
|
130
134
|
this.match(plurnkParser.EOF);
|
|
131
135
|
}
|
|
132
136
|
}
|
|
@@ -148,79 +152,86 @@ export class plurnkParser extends antlr.Parser {
|
|
|
148
152
|
let localContext = new StatementContext(this.context, this.state);
|
|
149
153
|
this.enterRule(localContext, 2, plurnkParser.RULE_statement);
|
|
150
154
|
try {
|
|
151
|
-
this.state =
|
|
155
|
+
this.state = 64;
|
|
152
156
|
this.errorHandler.sync(this);
|
|
153
157
|
switch (this.tokenStream.LA(1)) {
|
|
154
158
|
case plurnkParser.OPEN_FIND:
|
|
155
159
|
this.enterOuterAlt(localContext, 1);
|
|
156
160
|
{
|
|
157
|
-
this.state =
|
|
161
|
+
this.state = 53;
|
|
158
162
|
this.findStatement();
|
|
159
163
|
}
|
|
160
164
|
break;
|
|
161
165
|
case plurnkParser.OPEN_READ:
|
|
162
166
|
this.enterOuterAlt(localContext, 2);
|
|
163
167
|
{
|
|
164
|
-
this.state =
|
|
168
|
+
this.state = 54;
|
|
165
169
|
this.readStatement();
|
|
166
170
|
}
|
|
167
171
|
break;
|
|
168
172
|
case plurnkParser.OPEN_EDIT:
|
|
169
173
|
this.enterOuterAlt(localContext, 3);
|
|
170
174
|
{
|
|
171
|
-
this.state =
|
|
175
|
+
this.state = 55;
|
|
172
176
|
this.editStatement();
|
|
173
177
|
}
|
|
174
178
|
break;
|
|
175
179
|
case plurnkParser.OPEN_COPY:
|
|
176
180
|
this.enterOuterAlt(localContext, 4);
|
|
177
181
|
{
|
|
178
|
-
this.state =
|
|
182
|
+
this.state = 56;
|
|
179
183
|
this.copyStatement();
|
|
180
184
|
}
|
|
181
185
|
break;
|
|
182
186
|
case plurnkParser.OPEN_MOVE:
|
|
183
187
|
this.enterOuterAlt(localContext, 5);
|
|
184
188
|
{
|
|
185
|
-
this.state =
|
|
189
|
+
this.state = 57;
|
|
186
190
|
this.moveStatement();
|
|
187
191
|
}
|
|
188
192
|
break;
|
|
189
193
|
case plurnkParser.OPEN_OPEN:
|
|
190
194
|
this.enterOuterAlt(localContext, 6);
|
|
191
195
|
{
|
|
192
|
-
this.state =
|
|
196
|
+
this.state = 58;
|
|
193
197
|
this.openStatement();
|
|
194
198
|
}
|
|
195
199
|
break;
|
|
196
200
|
case plurnkParser.OPEN_FOLD:
|
|
197
201
|
this.enterOuterAlt(localContext, 7);
|
|
198
202
|
{
|
|
199
|
-
this.state =
|
|
203
|
+
this.state = 59;
|
|
200
204
|
this.foldStatement();
|
|
201
205
|
}
|
|
202
206
|
break;
|
|
203
207
|
case plurnkParser.OPEN_SEND:
|
|
204
208
|
this.enterOuterAlt(localContext, 8);
|
|
205
209
|
{
|
|
206
|
-
this.state =
|
|
210
|
+
this.state = 60;
|
|
207
211
|
this.sendStatement();
|
|
208
212
|
}
|
|
209
213
|
break;
|
|
210
214
|
case plurnkParser.OPEN_EXEC:
|
|
211
215
|
this.enterOuterAlt(localContext, 9);
|
|
212
216
|
{
|
|
213
|
-
this.state =
|
|
217
|
+
this.state = 61;
|
|
214
218
|
this.execStatement();
|
|
215
219
|
}
|
|
216
220
|
break;
|
|
217
221
|
case plurnkParser.OPEN_KILL:
|
|
218
222
|
this.enterOuterAlt(localContext, 10);
|
|
219
223
|
{
|
|
220
|
-
this.state =
|
|
224
|
+
this.state = 62;
|
|
221
225
|
this.killStatement();
|
|
222
226
|
}
|
|
223
227
|
break;
|
|
228
|
+
case plurnkParser.OPEN_PLAN:
|
|
229
|
+
this.enterOuterAlt(localContext, 11);
|
|
230
|
+
{
|
|
231
|
+
this.state = 63;
|
|
232
|
+
this.planStatement();
|
|
233
|
+
}
|
|
234
|
+
break;
|
|
224
235
|
default:
|
|
225
236
|
throw new antlr.NoViableAltException(this);
|
|
226
237
|
}
|
|
@@ -246,29 +257,29 @@ export class plurnkParser extends antlr.Parser {
|
|
|
246
257
|
try {
|
|
247
258
|
this.enterOuterAlt(localContext, 1);
|
|
248
259
|
{
|
|
249
|
-
this.state =
|
|
260
|
+
this.state = 66;
|
|
250
261
|
this.match(plurnkParser.OPEN_FIND);
|
|
251
|
-
this.state =
|
|
262
|
+
this.state = 68;
|
|
252
263
|
this.errorHandler.sync(this);
|
|
253
264
|
_la = this.tokenStream.LA(1);
|
|
254
265
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
255
266
|
{
|
|
256
|
-
this.state =
|
|
267
|
+
this.state = 67;
|
|
257
268
|
this.tagOpModifiers();
|
|
258
269
|
}
|
|
259
270
|
}
|
|
260
|
-
this.state =
|
|
271
|
+
this.state = 70;
|
|
261
272
|
this.match(plurnkParser.COLON);
|
|
262
|
-
this.state =
|
|
273
|
+
this.state = 72;
|
|
263
274
|
this.errorHandler.sync(this);
|
|
264
275
|
_la = this.tokenStream.LA(1);
|
|
265
276
|
if (_la === 12) {
|
|
266
277
|
{
|
|
267
|
-
this.state =
|
|
278
|
+
this.state = 71;
|
|
268
279
|
this.body();
|
|
269
280
|
}
|
|
270
281
|
}
|
|
271
|
-
this.state =
|
|
282
|
+
this.state = 74;
|
|
272
283
|
this.match(plurnkParser.CLOSE_TAG);
|
|
273
284
|
}
|
|
274
285
|
}
|
|
@@ -293,29 +304,29 @@ export class plurnkParser extends antlr.Parser {
|
|
|
293
304
|
try {
|
|
294
305
|
this.enterOuterAlt(localContext, 1);
|
|
295
306
|
{
|
|
296
|
-
this.state =
|
|
307
|
+
this.state = 76;
|
|
297
308
|
this.match(plurnkParser.OPEN_READ);
|
|
298
|
-
this.state =
|
|
309
|
+
this.state = 78;
|
|
299
310
|
this.errorHandler.sync(this);
|
|
300
311
|
_la = this.tokenStream.LA(1);
|
|
301
312
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
302
313
|
{
|
|
303
|
-
this.state =
|
|
314
|
+
this.state = 77;
|
|
304
315
|
this.tagOpModifiers();
|
|
305
316
|
}
|
|
306
317
|
}
|
|
307
|
-
this.state =
|
|
318
|
+
this.state = 80;
|
|
308
319
|
this.match(plurnkParser.COLON);
|
|
309
|
-
this.state =
|
|
320
|
+
this.state = 82;
|
|
310
321
|
this.errorHandler.sync(this);
|
|
311
322
|
_la = this.tokenStream.LA(1);
|
|
312
323
|
if (_la === 12) {
|
|
313
324
|
{
|
|
314
|
-
this.state =
|
|
325
|
+
this.state = 81;
|
|
315
326
|
this.body();
|
|
316
327
|
}
|
|
317
328
|
}
|
|
318
|
-
this.state =
|
|
329
|
+
this.state = 84;
|
|
319
330
|
this.match(plurnkParser.CLOSE_TAG);
|
|
320
331
|
}
|
|
321
332
|
}
|
|
@@ -340,29 +351,29 @@ export class plurnkParser extends antlr.Parser {
|
|
|
340
351
|
try {
|
|
341
352
|
this.enterOuterAlt(localContext, 1);
|
|
342
353
|
{
|
|
343
|
-
this.state =
|
|
354
|
+
this.state = 86;
|
|
344
355
|
this.match(plurnkParser.OPEN_EDIT);
|
|
345
|
-
this.state =
|
|
356
|
+
this.state = 88;
|
|
346
357
|
this.errorHandler.sync(this);
|
|
347
358
|
_la = this.tokenStream.LA(1);
|
|
348
359
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
349
360
|
{
|
|
350
|
-
this.state =
|
|
361
|
+
this.state = 87;
|
|
351
362
|
this.tagOpModifiers();
|
|
352
363
|
}
|
|
353
364
|
}
|
|
354
|
-
this.state =
|
|
365
|
+
this.state = 90;
|
|
355
366
|
this.match(plurnkParser.COLON);
|
|
356
|
-
this.state =
|
|
367
|
+
this.state = 92;
|
|
357
368
|
this.errorHandler.sync(this);
|
|
358
369
|
_la = this.tokenStream.LA(1);
|
|
359
370
|
if (_la === 12) {
|
|
360
371
|
{
|
|
361
|
-
this.state =
|
|
372
|
+
this.state = 91;
|
|
362
373
|
this.body();
|
|
363
374
|
}
|
|
364
375
|
}
|
|
365
|
-
this.state =
|
|
376
|
+
this.state = 94;
|
|
366
377
|
this.match(plurnkParser.CLOSE_TAG);
|
|
367
378
|
}
|
|
368
379
|
}
|
|
@@ -387,29 +398,29 @@ export class plurnkParser extends antlr.Parser {
|
|
|
387
398
|
try {
|
|
388
399
|
this.enterOuterAlt(localContext, 1);
|
|
389
400
|
{
|
|
390
|
-
this.state =
|
|
401
|
+
this.state = 96;
|
|
391
402
|
this.match(plurnkParser.OPEN_COPY);
|
|
392
|
-
this.state =
|
|
403
|
+
this.state = 98;
|
|
393
404
|
this.errorHandler.sync(this);
|
|
394
405
|
_la = this.tokenStream.LA(1);
|
|
395
406
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
396
407
|
{
|
|
397
|
-
this.state =
|
|
408
|
+
this.state = 97;
|
|
398
409
|
this.tagOpModifiers();
|
|
399
410
|
}
|
|
400
411
|
}
|
|
401
|
-
this.state =
|
|
412
|
+
this.state = 100;
|
|
402
413
|
this.match(plurnkParser.COLON);
|
|
403
|
-
this.state =
|
|
414
|
+
this.state = 102;
|
|
404
415
|
this.errorHandler.sync(this);
|
|
405
416
|
_la = this.tokenStream.LA(1);
|
|
406
417
|
if (_la === 12) {
|
|
407
418
|
{
|
|
408
|
-
this.state =
|
|
419
|
+
this.state = 101;
|
|
409
420
|
this.body();
|
|
410
421
|
}
|
|
411
422
|
}
|
|
412
|
-
this.state =
|
|
423
|
+
this.state = 104;
|
|
413
424
|
this.match(plurnkParser.CLOSE_TAG);
|
|
414
425
|
}
|
|
415
426
|
}
|
|
@@ -434,29 +445,29 @@ export class plurnkParser extends antlr.Parser {
|
|
|
434
445
|
try {
|
|
435
446
|
this.enterOuterAlt(localContext, 1);
|
|
436
447
|
{
|
|
437
|
-
this.state =
|
|
448
|
+
this.state = 106;
|
|
438
449
|
this.match(plurnkParser.OPEN_MOVE);
|
|
439
|
-
this.state =
|
|
450
|
+
this.state = 108;
|
|
440
451
|
this.errorHandler.sync(this);
|
|
441
452
|
_la = this.tokenStream.LA(1);
|
|
442
453
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
443
454
|
{
|
|
444
|
-
this.state =
|
|
455
|
+
this.state = 107;
|
|
445
456
|
this.tagOpModifiers();
|
|
446
457
|
}
|
|
447
458
|
}
|
|
448
|
-
this.state =
|
|
459
|
+
this.state = 110;
|
|
449
460
|
this.match(plurnkParser.COLON);
|
|
450
|
-
this.state =
|
|
461
|
+
this.state = 112;
|
|
451
462
|
this.errorHandler.sync(this);
|
|
452
463
|
_la = this.tokenStream.LA(1);
|
|
453
464
|
if (_la === 12) {
|
|
454
465
|
{
|
|
455
|
-
this.state =
|
|
466
|
+
this.state = 111;
|
|
456
467
|
this.body();
|
|
457
468
|
}
|
|
458
469
|
}
|
|
459
|
-
this.state =
|
|
470
|
+
this.state = 114;
|
|
460
471
|
this.match(plurnkParser.CLOSE_TAG);
|
|
461
472
|
}
|
|
462
473
|
}
|
|
@@ -481,29 +492,29 @@ export class plurnkParser extends antlr.Parser {
|
|
|
481
492
|
try {
|
|
482
493
|
this.enterOuterAlt(localContext, 1);
|
|
483
494
|
{
|
|
484
|
-
this.state =
|
|
495
|
+
this.state = 116;
|
|
485
496
|
this.match(plurnkParser.OPEN_OPEN);
|
|
486
|
-
this.state =
|
|
497
|
+
this.state = 118;
|
|
487
498
|
this.errorHandler.sync(this);
|
|
488
499
|
_la = this.tokenStream.LA(1);
|
|
489
500
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
490
501
|
{
|
|
491
|
-
this.state =
|
|
502
|
+
this.state = 117;
|
|
492
503
|
this.tagOpModifiers();
|
|
493
504
|
}
|
|
494
505
|
}
|
|
495
|
-
this.state =
|
|
506
|
+
this.state = 120;
|
|
496
507
|
this.match(plurnkParser.COLON);
|
|
497
|
-
this.state =
|
|
508
|
+
this.state = 122;
|
|
498
509
|
this.errorHandler.sync(this);
|
|
499
510
|
_la = this.tokenStream.LA(1);
|
|
500
511
|
if (_la === 12) {
|
|
501
512
|
{
|
|
502
|
-
this.state =
|
|
513
|
+
this.state = 121;
|
|
503
514
|
this.body();
|
|
504
515
|
}
|
|
505
516
|
}
|
|
506
|
-
this.state =
|
|
517
|
+
this.state = 124;
|
|
507
518
|
this.match(plurnkParser.CLOSE_TAG);
|
|
508
519
|
}
|
|
509
520
|
}
|
|
@@ -528,29 +539,29 @@ export class plurnkParser extends antlr.Parser {
|
|
|
528
539
|
try {
|
|
529
540
|
this.enterOuterAlt(localContext, 1);
|
|
530
541
|
{
|
|
531
|
-
this.state =
|
|
542
|
+
this.state = 126;
|
|
532
543
|
this.match(plurnkParser.OPEN_FOLD);
|
|
533
|
-
this.state =
|
|
544
|
+
this.state = 128;
|
|
534
545
|
this.errorHandler.sync(this);
|
|
535
546
|
_la = this.tokenStream.LA(1);
|
|
536
547
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
537
548
|
{
|
|
538
|
-
this.state =
|
|
549
|
+
this.state = 127;
|
|
539
550
|
this.tagOpModifiers();
|
|
540
551
|
}
|
|
541
552
|
}
|
|
542
|
-
this.state =
|
|
553
|
+
this.state = 130;
|
|
543
554
|
this.match(plurnkParser.COLON);
|
|
544
|
-
this.state =
|
|
555
|
+
this.state = 132;
|
|
545
556
|
this.errorHandler.sync(this);
|
|
546
557
|
_la = this.tokenStream.LA(1);
|
|
547
558
|
if (_la === 12) {
|
|
548
559
|
{
|
|
549
|
-
this.state =
|
|
560
|
+
this.state = 131;
|
|
550
561
|
this.body();
|
|
551
562
|
}
|
|
552
563
|
}
|
|
553
|
-
this.state =
|
|
564
|
+
this.state = 134;
|
|
554
565
|
this.match(plurnkParser.CLOSE_TAG);
|
|
555
566
|
}
|
|
556
567
|
}
|
|
@@ -575,29 +586,29 @@ export class plurnkParser extends antlr.Parser {
|
|
|
575
586
|
try {
|
|
576
587
|
this.enterOuterAlt(localContext, 1);
|
|
577
588
|
{
|
|
578
|
-
this.state =
|
|
589
|
+
this.state = 136;
|
|
579
590
|
this.match(plurnkParser.OPEN_SEND);
|
|
580
|
-
this.state =
|
|
591
|
+
this.state = 138;
|
|
581
592
|
this.errorHandler.sync(this);
|
|
582
593
|
_la = this.tokenStream.LA(1);
|
|
583
594
|
if (_la === 1 || _la === 3) {
|
|
584
595
|
{
|
|
585
|
-
this.state =
|
|
596
|
+
this.state = 137;
|
|
586
597
|
this.intOpModifiers();
|
|
587
598
|
}
|
|
588
599
|
}
|
|
589
|
-
this.state =
|
|
600
|
+
this.state = 140;
|
|
590
601
|
this.match(plurnkParser.COLON);
|
|
591
|
-
this.state =
|
|
602
|
+
this.state = 142;
|
|
592
603
|
this.errorHandler.sync(this);
|
|
593
604
|
_la = this.tokenStream.LA(1);
|
|
594
605
|
if (_la === 12) {
|
|
595
606
|
{
|
|
596
|
-
this.state =
|
|
607
|
+
this.state = 141;
|
|
597
608
|
this.body();
|
|
598
609
|
}
|
|
599
610
|
}
|
|
600
|
-
this.state =
|
|
611
|
+
this.state = 144;
|
|
601
612
|
this.match(plurnkParser.CLOSE_TAG);
|
|
602
613
|
}
|
|
603
614
|
}
|
|
@@ -622,29 +633,29 @@ export class plurnkParser extends antlr.Parser {
|
|
|
622
633
|
try {
|
|
623
634
|
this.enterOuterAlt(localContext, 1);
|
|
624
635
|
{
|
|
625
|
-
this.state =
|
|
636
|
+
this.state = 146;
|
|
626
637
|
this.match(plurnkParser.OPEN_EXEC);
|
|
627
|
-
this.state =
|
|
638
|
+
this.state = 148;
|
|
628
639
|
this.errorHandler.sync(this);
|
|
629
640
|
_la = this.tokenStream.LA(1);
|
|
630
641
|
if (_la === 1 || _la === 3) {
|
|
631
642
|
{
|
|
632
|
-
this.state =
|
|
643
|
+
this.state = 147;
|
|
633
644
|
this.execModifiers();
|
|
634
645
|
}
|
|
635
646
|
}
|
|
636
|
-
this.state =
|
|
647
|
+
this.state = 150;
|
|
637
648
|
this.match(plurnkParser.COLON);
|
|
638
|
-
this.state =
|
|
649
|
+
this.state = 152;
|
|
639
650
|
this.errorHandler.sync(this);
|
|
640
651
|
_la = this.tokenStream.LA(1);
|
|
641
652
|
if (_la === 12) {
|
|
642
653
|
{
|
|
643
|
-
this.state =
|
|
654
|
+
this.state = 151;
|
|
644
655
|
this.body();
|
|
645
656
|
}
|
|
646
657
|
}
|
|
647
|
-
this.state =
|
|
658
|
+
this.state = 154;
|
|
648
659
|
this.match(plurnkParser.CLOSE_TAG);
|
|
649
660
|
}
|
|
650
661
|
}
|
|
@@ -669,29 +680,76 @@ export class plurnkParser extends antlr.Parser {
|
|
|
669
680
|
try {
|
|
670
681
|
this.enterOuterAlt(localContext, 1);
|
|
671
682
|
{
|
|
672
|
-
this.state =
|
|
683
|
+
this.state = 156;
|
|
673
684
|
this.match(plurnkParser.OPEN_KILL);
|
|
674
|
-
this.state =
|
|
685
|
+
this.state = 158;
|
|
675
686
|
this.errorHandler.sync(this);
|
|
676
687
|
_la = this.tokenStream.LA(1);
|
|
677
688
|
if (_la === 1 || _la === 3) {
|
|
678
689
|
{
|
|
679
|
-
this.state =
|
|
690
|
+
this.state = 157;
|
|
680
691
|
this.intOpModifiers();
|
|
681
692
|
}
|
|
682
693
|
}
|
|
683
|
-
this.state =
|
|
694
|
+
this.state = 160;
|
|
684
695
|
this.match(plurnkParser.COLON);
|
|
685
|
-
this.state =
|
|
696
|
+
this.state = 162;
|
|
686
697
|
this.errorHandler.sync(this);
|
|
687
698
|
_la = this.tokenStream.LA(1);
|
|
688
699
|
if (_la === 12) {
|
|
689
700
|
{
|
|
690
|
-
this.state =
|
|
701
|
+
this.state = 161;
|
|
691
702
|
this.body();
|
|
692
703
|
}
|
|
693
704
|
}
|
|
694
|
-
this.state =
|
|
705
|
+
this.state = 164;
|
|
706
|
+
this.match(plurnkParser.CLOSE_TAG);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
catch (re) {
|
|
710
|
+
if (re instanceof antlr.RecognitionException) {
|
|
711
|
+
this.errorHandler.reportError(this, re);
|
|
712
|
+
this.errorHandler.recover(this, re);
|
|
713
|
+
}
|
|
714
|
+
else {
|
|
715
|
+
throw re;
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
finally {
|
|
719
|
+
this.exitRule();
|
|
720
|
+
}
|
|
721
|
+
return localContext;
|
|
722
|
+
}
|
|
723
|
+
planStatement() {
|
|
724
|
+
let localContext = new PlanStatementContext(this.context, this.state);
|
|
725
|
+
this.enterRule(localContext, 24, plurnkParser.RULE_planStatement);
|
|
726
|
+
let _la;
|
|
727
|
+
try {
|
|
728
|
+
this.enterOuterAlt(localContext, 1);
|
|
729
|
+
{
|
|
730
|
+
this.state = 166;
|
|
731
|
+
this.match(plurnkParser.OPEN_PLAN);
|
|
732
|
+
this.state = 168;
|
|
733
|
+
this.errorHandler.sync(this);
|
|
734
|
+
_la = this.tokenStream.LA(1);
|
|
735
|
+
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 42) !== 0)) {
|
|
736
|
+
{
|
|
737
|
+
this.state = 167;
|
|
738
|
+
this.tagOpModifiers();
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
this.state = 170;
|
|
742
|
+
this.match(plurnkParser.COLON);
|
|
743
|
+
this.state = 172;
|
|
744
|
+
this.errorHandler.sync(this);
|
|
745
|
+
_la = this.tokenStream.LA(1);
|
|
746
|
+
if (_la === 12) {
|
|
747
|
+
{
|
|
748
|
+
this.state = 171;
|
|
749
|
+
this.body();
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
this.state = 174;
|
|
695
753
|
this.match(plurnkParser.CLOSE_TAG);
|
|
696
754
|
}
|
|
697
755
|
}
|
|
@@ -711,30 +769,30 @@ export class plurnkParser extends antlr.Parser {
|
|
|
711
769
|
}
|
|
712
770
|
tagOpModifiers() {
|
|
713
771
|
let localContext = new TagOpModifiersContext(this.context, this.state);
|
|
714
|
-
this.enterRule(localContext,
|
|
772
|
+
this.enterRule(localContext, 26, plurnkParser.RULE_tagOpModifiers);
|
|
715
773
|
let _la;
|
|
716
774
|
try {
|
|
717
|
-
this.state =
|
|
775
|
+
this.state = 209;
|
|
718
776
|
this.errorHandler.sync(this);
|
|
719
777
|
switch (this.tokenStream.LA(1)) {
|
|
720
778
|
case plurnkParser.LBRACKET:
|
|
721
779
|
this.enterOuterAlt(localContext, 1);
|
|
722
780
|
{
|
|
723
|
-
this.state =
|
|
781
|
+
this.state = 176;
|
|
724
782
|
this.tagSignal();
|
|
725
|
-
this.state =
|
|
783
|
+
this.state = 185;
|
|
726
784
|
this.errorHandler.sync(this);
|
|
727
785
|
switch (this.tokenStream.LA(1)) {
|
|
728
786
|
case plurnkParser.LPAREN:
|
|
729
787
|
{
|
|
730
|
-
this.state =
|
|
788
|
+
this.state = 177;
|
|
731
789
|
this.target();
|
|
732
|
-
this.state =
|
|
790
|
+
this.state = 179;
|
|
733
791
|
this.errorHandler.sync(this);
|
|
734
792
|
_la = this.tokenStream.LA(1);
|
|
735
793
|
if (_la === 5) {
|
|
736
794
|
{
|
|
737
|
-
this.state =
|
|
795
|
+
this.state = 178;
|
|
738
796
|
this.lineMarker();
|
|
739
797
|
}
|
|
740
798
|
}
|
|
@@ -742,14 +800,14 @@ export class plurnkParser extends antlr.Parser {
|
|
|
742
800
|
break;
|
|
743
801
|
case plurnkParser.L_MARKER:
|
|
744
802
|
{
|
|
745
|
-
this.state =
|
|
803
|
+
this.state = 181;
|
|
746
804
|
this.lineMarker();
|
|
747
|
-
this.state =
|
|
805
|
+
this.state = 183;
|
|
748
806
|
this.errorHandler.sync(this);
|
|
749
807
|
_la = this.tokenStream.LA(1);
|
|
750
808
|
if (_la === 3) {
|
|
751
809
|
{
|
|
752
|
-
this.state =
|
|
810
|
+
this.state = 182;
|
|
753
811
|
this.target();
|
|
754
812
|
}
|
|
755
813
|
}
|
|
@@ -765,21 +823,21 @@ export class plurnkParser extends antlr.Parser {
|
|
|
765
823
|
case plurnkParser.LPAREN:
|
|
766
824
|
this.enterOuterAlt(localContext, 2);
|
|
767
825
|
{
|
|
768
|
-
this.state =
|
|
826
|
+
this.state = 187;
|
|
769
827
|
this.target();
|
|
770
|
-
this.state =
|
|
828
|
+
this.state = 196;
|
|
771
829
|
this.errorHandler.sync(this);
|
|
772
830
|
switch (this.tokenStream.LA(1)) {
|
|
773
831
|
case plurnkParser.LBRACKET:
|
|
774
832
|
{
|
|
775
|
-
this.state =
|
|
833
|
+
this.state = 188;
|
|
776
834
|
this.tagSignal();
|
|
777
|
-
this.state =
|
|
835
|
+
this.state = 190;
|
|
778
836
|
this.errorHandler.sync(this);
|
|
779
837
|
_la = this.tokenStream.LA(1);
|
|
780
838
|
if (_la === 5) {
|
|
781
839
|
{
|
|
782
|
-
this.state =
|
|
840
|
+
this.state = 189;
|
|
783
841
|
this.lineMarker();
|
|
784
842
|
}
|
|
785
843
|
}
|
|
@@ -787,14 +845,14 @@ export class plurnkParser extends antlr.Parser {
|
|
|
787
845
|
break;
|
|
788
846
|
case plurnkParser.L_MARKER:
|
|
789
847
|
{
|
|
790
|
-
this.state =
|
|
848
|
+
this.state = 192;
|
|
791
849
|
this.lineMarker();
|
|
792
|
-
this.state =
|
|
850
|
+
this.state = 194;
|
|
793
851
|
this.errorHandler.sync(this);
|
|
794
852
|
_la = this.tokenStream.LA(1);
|
|
795
853
|
if (_la === 1) {
|
|
796
854
|
{
|
|
797
|
-
this.state =
|
|
855
|
+
this.state = 193;
|
|
798
856
|
this.tagSignal();
|
|
799
857
|
}
|
|
800
858
|
}
|
|
@@ -810,21 +868,21 @@ export class plurnkParser extends antlr.Parser {
|
|
|
810
868
|
case plurnkParser.L_MARKER:
|
|
811
869
|
this.enterOuterAlt(localContext, 3);
|
|
812
870
|
{
|
|
813
|
-
this.state =
|
|
871
|
+
this.state = 198;
|
|
814
872
|
this.lineMarker();
|
|
815
|
-
this.state =
|
|
873
|
+
this.state = 207;
|
|
816
874
|
this.errorHandler.sync(this);
|
|
817
875
|
switch (this.tokenStream.LA(1)) {
|
|
818
876
|
case plurnkParser.LBRACKET:
|
|
819
877
|
{
|
|
820
|
-
this.state =
|
|
878
|
+
this.state = 199;
|
|
821
879
|
this.tagSignal();
|
|
822
|
-
this.state =
|
|
880
|
+
this.state = 201;
|
|
823
881
|
this.errorHandler.sync(this);
|
|
824
882
|
_la = this.tokenStream.LA(1);
|
|
825
883
|
if (_la === 3) {
|
|
826
884
|
{
|
|
827
|
-
this.state =
|
|
885
|
+
this.state = 200;
|
|
828
886
|
this.target();
|
|
829
887
|
}
|
|
830
888
|
}
|
|
@@ -832,14 +890,14 @@ export class plurnkParser extends antlr.Parser {
|
|
|
832
890
|
break;
|
|
833
891
|
case plurnkParser.LPAREN:
|
|
834
892
|
{
|
|
835
|
-
this.state =
|
|
893
|
+
this.state = 203;
|
|
836
894
|
this.target();
|
|
837
|
-
this.state =
|
|
895
|
+
this.state = 205;
|
|
838
896
|
this.errorHandler.sync(this);
|
|
839
897
|
_la = this.tokenStream.LA(1);
|
|
840
898
|
if (_la === 1) {
|
|
841
899
|
{
|
|
842
|
-
this.state =
|
|
900
|
+
this.state = 204;
|
|
843
901
|
this.tagSignal();
|
|
844
902
|
}
|
|
845
903
|
}
|
|
@@ -872,23 +930,23 @@ export class plurnkParser extends antlr.Parser {
|
|
|
872
930
|
}
|
|
873
931
|
intOpModifiers() {
|
|
874
932
|
let localContext = new IntOpModifiersContext(this.context, this.state);
|
|
875
|
-
this.enterRule(localContext,
|
|
933
|
+
this.enterRule(localContext, 28, plurnkParser.RULE_intOpModifiers);
|
|
876
934
|
let _la;
|
|
877
935
|
try {
|
|
878
|
-
this.state =
|
|
936
|
+
this.state = 219;
|
|
879
937
|
this.errorHandler.sync(this);
|
|
880
938
|
switch (this.tokenStream.LA(1)) {
|
|
881
939
|
case plurnkParser.LBRACKET:
|
|
882
940
|
this.enterOuterAlt(localContext, 1);
|
|
883
941
|
{
|
|
884
|
-
this.state =
|
|
942
|
+
this.state = 211;
|
|
885
943
|
this.intSignal();
|
|
886
|
-
this.state =
|
|
944
|
+
this.state = 213;
|
|
887
945
|
this.errorHandler.sync(this);
|
|
888
946
|
_la = this.tokenStream.LA(1);
|
|
889
947
|
if (_la === 3) {
|
|
890
948
|
{
|
|
891
|
-
this.state =
|
|
949
|
+
this.state = 212;
|
|
892
950
|
this.target();
|
|
893
951
|
}
|
|
894
952
|
}
|
|
@@ -897,14 +955,14 @@ export class plurnkParser extends antlr.Parser {
|
|
|
897
955
|
case plurnkParser.LPAREN:
|
|
898
956
|
this.enterOuterAlt(localContext, 2);
|
|
899
957
|
{
|
|
900
|
-
this.state =
|
|
958
|
+
this.state = 215;
|
|
901
959
|
this.target();
|
|
902
|
-
this.state =
|
|
960
|
+
this.state = 217;
|
|
903
961
|
this.errorHandler.sync(this);
|
|
904
962
|
_la = this.tokenStream.LA(1);
|
|
905
963
|
if (_la === 1) {
|
|
906
964
|
{
|
|
907
|
-
this.state =
|
|
965
|
+
this.state = 216;
|
|
908
966
|
this.intSignal();
|
|
909
967
|
}
|
|
910
968
|
}
|
|
@@ -930,23 +988,23 @@ export class plurnkParser extends antlr.Parser {
|
|
|
930
988
|
}
|
|
931
989
|
execModifiers() {
|
|
932
990
|
let localContext = new ExecModifiersContext(this.context, this.state);
|
|
933
|
-
this.enterRule(localContext,
|
|
991
|
+
this.enterRule(localContext, 30, plurnkParser.RULE_execModifiers);
|
|
934
992
|
let _la;
|
|
935
993
|
try {
|
|
936
|
-
this.state =
|
|
994
|
+
this.state = 229;
|
|
937
995
|
this.errorHandler.sync(this);
|
|
938
996
|
switch (this.tokenStream.LA(1)) {
|
|
939
997
|
case plurnkParser.LBRACKET:
|
|
940
998
|
this.enterOuterAlt(localContext, 1);
|
|
941
999
|
{
|
|
942
|
-
this.state =
|
|
1000
|
+
this.state = 221;
|
|
943
1001
|
this.identSignal();
|
|
944
|
-
this.state =
|
|
1002
|
+
this.state = 223;
|
|
945
1003
|
this.errorHandler.sync(this);
|
|
946
1004
|
_la = this.tokenStream.LA(1);
|
|
947
1005
|
if (_la === 3) {
|
|
948
1006
|
{
|
|
949
|
-
this.state =
|
|
1007
|
+
this.state = 222;
|
|
950
1008
|
this.target();
|
|
951
1009
|
}
|
|
952
1010
|
}
|
|
@@ -955,14 +1013,14 @@ export class plurnkParser extends antlr.Parser {
|
|
|
955
1013
|
case plurnkParser.LPAREN:
|
|
956
1014
|
this.enterOuterAlt(localContext, 2);
|
|
957
1015
|
{
|
|
958
|
-
this.state =
|
|
1016
|
+
this.state = 225;
|
|
959
1017
|
this.target();
|
|
960
|
-
this.state =
|
|
1018
|
+
this.state = 227;
|
|
961
1019
|
this.errorHandler.sync(this);
|
|
962
1020
|
_la = this.tokenStream.LA(1);
|
|
963
1021
|
if (_la === 1) {
|
|
964
1022
|
{
|
|
965
|
-
this.state =
|
|
1023
|
+
this.state = 226;
|
|
966
1024
|
this.identSignal();
|
|
967
1025
|
}
|
|
968
1026
|
}
|
|
@@ -988,20 +1046,20 @@ export class plurnkParser extends antlr.Parser {
|
|
|
988
1046
|
}
|
|
989
1047
|
tagSignal() {
|
|
990
1048
|
let localContext = new TagSignalContext(this.context, this.state);
|
|
991
|
-
this.enterRule(localContext,
|
|
1049
|
+
this.enterRule(localContext, 32, plurnkParser.RULE_tagSignal);
|
|
992
1050
|
let _la;
|
|
993
1051
|
try {
|
|
994
1052
|
this.enterOuterAlt(localContext, 1);
|
|
995
1053
|
{
|
|
996
|
-
this.state =
|
|
1054
|
+
this.state = 231;
|
|
997
1055
|
this.match(plurnkParser.LBRACKET);
|
|
998
|
-
this.state =
|
|
1056
|
+
this.state = 235;
|
|
999
1057
|
this.errorHandler.sync(this);
|
|
1000
1058
|
_la = this.tokenStream.LA(1);
|
|
1001
1059
|
while (_la === 7 || _la === 10) {
|
|
1002
1060
|
{
|
|
1003
1061
|
{
|
|
1004
|
-
this.state =
|
|
1062
|
+
this.state = 232;
|
|
1005
1063
|
_la = this.tokenStream.LA(1);
|
|
1006
1064
|
if (!(_la === 7 || _la === 10)) {
|
|
1007
1065
|
this.errorHandler.recoverInline(this);
|
|
@@ -1012,11 +1070,11 @@ export class plurnkParser extends antlr.Parser {
|
|
|
1012
1070
|
}
|
|
1013
1071
|
}
|
|
1014
1072
|
}
|
|
1015
|
-
this.state =
|
|
1073
|
+
this.state = 237;
|
|
1016
1074
|
this.errorHandler.sync(this);
|
|
1017
1075
|
_la = this.tokenStream.LA(1);
|
|
1018
1076
|
}
|
|
1019
|
-
this.state =
|
|
1077
|
+
this.state = 238;
|
|
1020
1078
|
this.match(plurnkParser.RBRACKET);
|
|
1021
1079
|
}
|
|
1022
1080
|
}
|
|
@@ -1036,23 +1094,23 @@ export class plurnkParser extends antlr.Parser {
|
|
|
1036
1094
|
}
|
|
1037
1095
|
intSignal() {
|
|
1038
1096
|
let localContext = new IntSignalContext(this.context, this.state);
|
|
1039
|
-
this.enterRule(localContext,
|
|
1097
|
+
this.enterRule(localContext, 34, plurnkParser.RULE_intSignal);
|
|
1040
1098
|
let _la;
|
|
1041
1099
|
try {
|
|
1042
1100
|
this.enterOuterAlt(localContext, 1);
|
|
1043
1101
|
{
|
|
1044
|
-
this.state =
|
|
1102
|
+
this.state = 240;
|
|
1045
1103
|
this.match(plurnkParser.LBRACKET);
|
|
1046
|
-
this.state =
|
|
1104
|
+
this.state = 242;
|
|
1047
1105
|
this.errorHandler.sync(this);
|
|
1048
1106
|
_la = this.tokenStream.LA(1);
|
|
1049
1107
|
if (_la === 8) {
|
|
1050
1108
|
{
|
|
1051
|
-
this.state =
|
|
1109
|
+
this.state = 241;
|
|
1052
1110
|
this.match(plurnkParser.INT);
|
|
1053
1111
|
}
|
|
1054
1112
|
}
|
|
1055
|
-
this.state =
|
|
1113
|
+
this.state = 244;
|
|
1056
1114
|
this.match(plurnkParser.RBRACKET);
|
|
1057
1115
|
}
|
|
1058
1116
|
}
|
|
@@ -1072,23 +1130,23 @@ export class plurnkParser extends antlr.Parser {
|
|
|
1072
1130
|
}
|
|
1073
1131
|
identSignal() {
|
|
1074
1132
|
let localContext = new IdentSignalContext(this.context, this.state);
|
|
1075
|
-
this.enterRule(localContext,
|
|
1133
|
+
this.enterRule(localContext, 36, plurnkParser.RULE_identSignal);
|
|
1076
1134
|
let _la;
|
|
1077
1135
|
try {
|
|
1078
1136
|
this.enterOuterAlt(localContext, 1);
|
|
1079
1137
|
{
|
|
1080
|
-
this.state =
|
|
1138
|
+
this.state = 246;
|
|
1081
1139
|
this.match(plurnkParser.LBRACKET);
|
|
1082
|
-
this.state =
|
|
1140
|
+
this.state = 248;
|
|
1083
1141
|
this.errorHandler.sync(this);
|
|
1084
1142
|
_la = this.tokenStream.LA(1);
|
|
1085
1143
|
if (_la === 9) {
|
|
1086
1144
|
{
|
|
1087
|
-
this.state =
|
|
1145
|
+
this.state = 247;
|
|
1088
1146
|
this.match(plurnkParser.IDENT);
|
|
1089
1147
|
}
|
|
1090
1148
|
}
|
|
1091
|
-
this.state =
|
|
1149
|
+
this.state = 250;
|
|
1092
1150
|
this.match(plurnkParser.RBRACKET);
|
|
1093
1151
|
}
|
|
1094
1152
|
}
|
|
@@ -1108,23 +1166,23 @@ export class plurnkParser extends antlr.Parser {
|
|
|
1108
1166
|
}
|
|
1109
1167
|
target() {
|
|
1110
1168
|
let localContext = new TargetContext(this.context, this.state);
|
|
1111
|
-
this.enterRule(localContext,
|
|
1169
|
+
this.enterRule(localContext, 38, plurnkParser.RULE_target);
|
|
1112
1170
|
let _la;
|
|
1113
1171
|
try {
|
|
1114
1172
|
this.enterOuterAlt(localContext, 1);
|
|
1115
1173
|
{
|
|
1116
|
-
this.state =
|
|
1174
|
+
this.state = 252;
|
|
1117
1175
|
this.match(plurnkParser.LPAREN);
|
|
1118
|
-
this.state =
|
|
1176
|
+
this.state = 254;
|
|
1119
1177
|
this.errorHandler.sync(this);
|
|
1120
1178
|
_la = this.tokenStream.LA(1);
|
|
1121
1179
|
if (_la === 11) {
|
|
1122
1180
|
{
|
|
1123
|
-
this.state =
|
|
1181
|
+
this.state = 253;
|
|
1124
1182
|
this.match(plurnkParser.TARGET_TEXT);
|
|
1125
1183
|
}
|
|
1126
1184
|
}
|
|
1127
|
-
this.state =
|
|
1185
|
+
this.state = 256;
|
|
1128
1186
|
this.match(plurnkParser.RPAREN);
|
|
1129
1187
|
}
|
|
1130
1188
|
}
|
|
@@ -1144,11 +1202,11 @@ export class plurnkParser extends antlr.Parser {
|
|
|
1144
1202
|
}
|
|
1145
1203
|
lineMarker() {
|
|
1146
1204
|
let localContext = new LineMarkerContext(this.context, this.state);
|
|
1147
|
-
this.enterRule(localContext,
|
|
1205
|
+
this.enterRule(localContext, 40, plurnkParser.RULE_lineMarker);
|
|
1148
1206
|
try {
|
|
1149
1207
|
this.enterOuterAlt(localContext, 1);
|
|
1150
1208
|
{
|
|
1151
|
-
this.state =
|
|
1209
|
+
this.state = 258;
|
|
1152
1210
|
this.match(plurnkParser.L_MARKER);
|
|
1153
1211
|
}
|
|
1154
1212
|
}
|
|
@@ -1168,22 +1226,22 @@ export class plurnkParser extends antlr.Parser {
|
|
|
1168
1226
|
}
|
|
1169
1227
|
body() {
|
|
1170
1228
|
let localContext = new BodyContext(this.context, this.state);
|
|
1171
|
-
this.enterRule(localContext,
|
|
1229
|
+
this.enterRule(localContext, 42, plurnkParser.RULE_body);
|
|
1172
1230
|
let _la;
|
|
1173
1231
|
try {
|
|
1174
1232
|
this.enterOuterAlt(localContext, 1);
|
|
1175
1233
|
{
|
|
1176
|
-
this.state =
|
|
1234
|
+
this.state = 261;
|
|
1177
1235
|
this.errorHandler.sync(this);
|
|
1178
1236
|
_la = this.tokenStream.LA(1);
|
|
1179
1237
|
do {
|
|
1180
1238
|
{
|
|
1181
1239
|
{
|
|
1182
|
-
this.state =
|
|
1240
|
+
this.state = 260;
|
|
1183
1241
|
this.match(plurnkParser.BODY_TEXT);
|
|
1184
1242
|
}
|
|
1185
1243
|
}
|
|
1186
|
-
this.state =
|
|
1244
|
+
this.state = 263;
|
|
1187
1245
|
this.errorHandler.sync(this);
|
|
1188
1246
|
_la = this.tokenStream.LA(1);
|
|
1189
1247
|
} while (_la === 12);
|
|
@@ -1204,100 +1262,105 @@ export class plurnkParser extends antlr.Parser {
|
|
|
1204
1262
|
return localContext;
|
|
1205
1263
|
}
|
|
1206
1264
|
static _serializedATN = [
|
|
1207
|
-
4, 1,
|
|
1265
|
+
4, 1, 31, 266, 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,
|
|
1208
1266
|
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,
|
|
1209
1267
|
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,
|
|
1210
|
-
7, 20, 1, 0, 1, 0, 5, 0,
|
|
1211
|
-
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
5,
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
11,
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
8,
|
|
1223
|
-
13, 3, 13,
|
|
1224
|
-
3, 14,
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
1, 0, 0, 0,
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
0,
|
|
1245
|
-
1, 0, 0, 0,
|
|
1246
|
-
|
|
1247
|
-
1, 0, 0, 0,
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
0,
|
|
1251
|
-
|
|
1252
|
-
0,
|
|
1253
|
-
0,
|
|
1254
|
-
0, 0,
|
|
1255
|
-
|
|
1256
|
-
0, 0,
|
|
1257
|
-
0, 0, 0,
|
|
1258
|
-
|
|
1259
|
-
5,
|
|
1260
|
-
1, 0, 0, 0,
|
|
1261
|
-
3,
|
|
1262
|
-
5,
|
|
1263
|
-
1, 0, 0, 0,
|
|
1264
|
-
3,
|
|
1265
|
-
5,
|
|
1266
|
-
1, 0, 0, 0,
|
|
1267
|
-
3,
|
|
1268
|
-
5,
|
|
1269
|
-
1, 0, 0, 0,
|
|
1270
|
-
3,
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
172,
|
|
1274
|
-
0,
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
1, 0, 0, 0,
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
193, 195,
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
16, 0,
|
|
1285
|
-
0, 0,
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
0, 0, 0,
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
0,
|
|
1292
|
-
0,
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1268
|
+
7, 20, 2, 21, 7, 21, 1, 0, 1, 0, 5, 0, 47, 8, 0, 10, 0, 12, 0, 50, 9, 0, 1, 0, 1, 0, 1, 1, 1,
|
|
1269
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 65, 8, 1, 1, 2, 1, 2, 3, 2, 69,
|
|
1270
|
+
8, 2, 1, 2, 1, 2, 3, 2, 73, 8, 2, 1, 2, 1, 2, 1, 3, 1, 3, 3, 3, 79, 8, 3, 1, 3, 1, 3, 3, 3, 83,
|
|
1271
|
+
8, 3, 1, 3, 1, 3, 1, 4, 1, 4, 3, 4, 89, 8, 4, 1, 4, 1, 4, 3, 4, 93, 8, 4, 1, 4, 1, 4, 1, 5, 1,
|
|
1272
|
+
5, 3, 5, 99, 8, 5, 1, 5, 1, 5, 3, 5, 103, 8, 5, 1, 5, 1, 5, 1, 6, 1, 6, 3, 6, 109, 8, 6, 1, 6,
|
|
1273
|
+
1, 6, 3, 6, 113, 8, 6, 1, 6, 1, 6, 1, 7, 1, 7, 3, 7, 119, 8, 7, 1, 7, 1, 7, 3, 7, 123, 8, 7,
|
|
1274
|
+
1, 7, 1, 7, 1, 8, 1, 8, 3, 8, 129, 8, 8, 1, 8, 1, 8, 3, 8, 133, 8, 8, 1, 8, 1, 8, 1, 9, 1, 9,
|
|
1275
|
+
3, 9, 139, 8, 9, 1, 9, 1, 9, 3, 9, 143, 8, 9, 1, 9, 1, 9, 1, 10, 1, 10, 3, 10, 149, 8, 10,
|
|
1276
|
+
1, 10, 1, 10, 3, 10, 153, 8, 10, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 159, 8, 11, 1, 11, 1,
|
|
1277
|
+
11, 3, 11, 163, 8, 11, 1, 11, 1, 11, 1, 12, 1, 12, 3, 12, 169, 8, 12, 1, 12, 1, 12, 3, 12,
|
|
1278
|
+
173, 8, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 3, 13, 180, 8, 13, 1, 13, 1, 13, 3, 13, 184,
|
|
1279
|
+
8, 13, 3, 13, 186, 8, 13, 1, 13, 1, 13, 1, 13, 3, 13, 191, 8, 13, 1, 13, 1, 13, 3, 13, 195,
|
|
1280
|
+
8, 13, 3, 13, 197, 8, 13, 1, 13, 1, 13, 1, 13, 3, 13, 202, 8, 13, 1, 13, 1, 13, 3, 13, 206,
|
|
1281
|
+
8, 13, 3, 13, 208, 8, 13, 3, 13, 210, 8, 13, 1, 14, 1, 14, 3, 14, 214, 8, 14, 1, 14, 1,
|
|
1282
|
+
14, 3, 14, 218, 8, 14, 3, 14, 220, 8, 14, 1, 15, 1, 15, 3, 15, 224, 8, 15, 1, 15, 1, 15,
|
|
1283
|
+
3, 15, 228, 8, 15, 3, 15, 230, 8, 15, 1, 16, 1, 16, 5, 16, 234, 8, 16, 10, 16, 12, 16,
|
|
1284
|
+
237, 9, 16, 1, 16, 1, 16, 1, 17, 1, 17, 3, 17, 243, 8, 17, 1, 17, 1, 17, 1, 18, 1, 18, 3,
|
|
1285
|
+
18, 249, 8, 18, 1, 18, 1, 18, 1, 19, 1, 19, 3, 19, 255, 8, 19, 1, 19, 1, 19, 1, 20, 1, 20,
|
|
1286
|
+
1, 21, 4, 21, 262, 8, 21, 11, 21, 12, 21, 263, 1, 21, 0, 0, 22, 0, 2, 4, 6, 8, 10, 12, 14,
|
|
1287
|
+
16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 0, 1, 2, 0, 7, 7, 10, 10, 302,
|
|
1288
|
+
0, 48, 1, 0, 0, 0, 2, 64, 1, 0, 0, 0, 4, 66, 1, 0, 0, 0, 6, 76, 1, 0, 0, 0, 8, 86, 1, 0, 0, 0,
|
|
1289
|
+
10, 96, 1, 0, 0, 0, 12, 106, 1, 0, 0, 0, 14, 116, 1, 0, 0, 0, 16, 126, 1, 0, 0, 0, 18, 136,
|
|
1290
|
+
1, 0, 0, 0, 20, 146, 1, 0, 0, 0, 22, 156, 1, 0, 0, 0, 24, 166, 1, 0, 0, 0, 26, 209, 1, 0,
|
|
1291
|
+
0, 0, 28, 219, 1, 0, 0, 0, 30, 229, 1, 0, 0, 0, 32, 231, 1, 0, 0, 0, 34, 240, 1, 0, 0, 0,
|
|
1292
|
+
36, 246, 1, 0, 0, 0, 38, 252, 1, 0, 0, 0, 40, 258, 1, 0, 0, 0, 42, 261, 1, 0, 0, 0, 44, 47,
|
|
1293
|
+
3, 2, 1, 0, 45, 47, 5, 14, 0, 0, 46, 44, 1, 0, 0, 0, 46, 45, 1, 0, 0, 0, 47, 50, 1, 0, 0, 0,
|
|
1294
|
+
48, 46, 1, 0, 0, 0, 48, 49, 1, 0, 0, 0, 49, 51, 1, 0, 0, 0, 50, 48, 1, 0, 0, 0, 51, 52, 5,
|
|
1295
|
+
0, 0, 1, 52, 1, 1, 0, 0, 0, 53, 65, 3, 4, 2, 0, 54, 65, 3, 6, 3, 0, 55, 65, 3, 8, 4, 0, 56,
|
|
1296
|
+
65, 3, 10, 5, 0, 57, 65, 3, 12, 6, 0, 58, 65, 3, 14, 7, 0, 59, 65, 3, 16, 8, 0, 60, 65, 3,
|
|
1297
|
+
18, 9, 0, 61, 65, 3, 20, 10, 0, 62, 65, 3, 22, 11, 0, 63, 65, 3, 24, 12, 0, 64, 53, 1, 0,
|
|
1298
|
+
0, 0, 64, 54, 1, 0, 0, 0, 64, 55, 1, 0, 0, 0, 64, 56, 1, 0, 0, 0, 64, 57, 1, 0, 0, 0, 64, 58,
|
|
1299
|
+
1, 0, 0, 0, 64, 59, 1, 0, 0, 0, 64, 60, 1, 0, 0, 0, 64, 61, 1, 0, 0, 0, 64, 62, 1, 0, 0, 0,
|
|
1300
|
+
64, 63, 1, 0, 0, 0, 65, 3, 1, 0, 0, 0, 66, 68, 5, 15, 0, 0, 67, 69, 3, 26, 13, 0, 68, 67,
|
|
1301
|
+
1, 0, 0, 0, 68, 69, 1, 0, 0, 0, 69, 70, 1, 0, 0, 0, 70, 72, 5, 6, 0, 0, 71, 73, 3, 42, 21,
|
|
1302
|
+
0, 72, 71, 1, 0, 0, 0, 72, 73, 1, 0, 0, 0, 73, 74, 1, 0, 0, 0, 74, 75, 5, 13, 0, 0, 75, 5,
|
|
1303
|
+
1, 0, 0, 0, 76, 78, 5, 16, 0, 0, 77, 79, 3, 26, 13, 0, 78, 77, 1, 0, 0, 0, 78, 79, 1, 0, 0,
|
|
1304
|
+
0, 79, 80, 1, 0, 0, 0, 80, 82, 5, 6, 0, 0, 81, 83, 3, 42, 21, 0, 82, 81, 1, 0, 0, 0, 82, 83,
|
|
1305
|
+
1, 0, 0, 0, 83, 84, 1, 0, 0, 0, 84, 85, 5, 13, 0, 0, 85, 7, 1, 0, 0, 0, 86, 88, 5, 17, 0, 0,
|
|
1306
|
+
87, 89, 3, 26, 13, 0, 88, 87, 1, 0, 0, 0, 88, 89, 1, 0, 0, 0, 89, 90, 1, 0, 0, 0, 90, 92,
|
|
1307
|
+
5, 6, 0, 0, 91, 93, 3, 42, 21, 0, 92, 91, 1, 0, 0, 0, 92, 93, 1, 0, 0, 0, 93, 94, 1, 0, 0,
|
|
1308
|
+
0, 94, 95, 5, 13, 0, 0, 95, 9, 1, 0, 0, 0, 96, 98, 5, 18, 0, 0, 97, 99, 3, 26, 13, 0, 98,
|
|
1309
|
+
97, 1, 0, 0, 0, 98, 99, 1, 0, 0, 0, 99, 100, 1, 0, 0, 0, 100, 102, 5, 6, 0, 0, 101, 103,
|
|
1310
|
+
3, 42, 21, 0, 102, 101, 1, 0, 0, 0, 102, 103, 1, 0, 0, 0, 103, 104, 1, 0, 0, 0, 104, 105,
|
|
1311
|
+
5, 13, 0, 0, 105, 11, 1, 0, 0, 0, 106, 108, 5, 19, 0, 0, 107, 109, 3, 26, 13, 0, 108, 107,
|
|
1312
|
+
1, 0, 0, 0, 108, 109, 1, 0, 0, 0, 109, 110, 1, 0, 0, 0, 110, 112, 5, 6, 0, 0, 111, 113,
|
|
1313
|
+
3, 42, 21, 0, 112, 111, 1, 0, 0, 0, 112, 113, 1, 0, 0, 0, 113, 114, 1, 0, 0, 0, 114, 115,
|
|
1314
|
+
5, 13, 0, 0, 115, 13, 1, 0, 0, 0, 116, 118, 5, 20, 0, 0, 117, 119, 3, 26, 13, 0, 118, 117,
|
|
1315
|
+
1, 0, 0, 0, 118, 119, 1, 0, 0, 0, 119, 120, 1, 0, 0, 0, 120, 122, 5, 6, 0, 0, 121, 123,
|
|
1316
|
+
3, 42, 21, 0, 122, 121, 1, 0, 0, 0, 122, 123, 1, 0, 0, 0, 123, 124, 1, 0, 0, 0, 124, 125,
|
|
1317
|
+
5, 13, 0, 0, 125, 15, 1, 0, 0, 0, 126, 128, 5, 21, 0, 0, 127, 129, 3, 26, 13, 0, 128, 127,
|
|
1318
|
+
1, 0, 0, 0, 128, 129, 1, 0, 0, 0, 129, 130, 1, 0, 0, 0, 130, 132, 5, 6, 0, 0, 131, 133,
|
|
1319
|
+
3, 42, 21, 0, 132, 131, 1, 0, 0, 0, 132, 133, 1, 0, 0, 0, 133, 134, 1, 0, 0, 0, 134, 135,
|
|
1320
|
+
5, 13, 0, 0, 135, 17, 1, 0, 0, 0, 136, 138, 5, 22, 0, 0, 137, 139, 3, 28, 14, 0, 138, 137,
|
|
1321
|
+
1, 0, 0, 0, 138, 139, 1, 0, 0, 0, 139, 140, 1, 0, 0, 0, 140, 142, 5, 6, 0, 0, 141, 143,
|
|
1322
|
+
3, 42, 21, 0, 142, 141, 1, 0, 0, 0, 142, 143, 1, 0, 0, 0, 143, 144, 1, 0, 0, 0, 144, 145,
|
|
1323
|
+
5, 13, 0, 0, 145, 19, 1, 0, 0, 0, 146, 148, 5, 23, 0, 0, 147, 149, 3, 30, 15, 0, 148, 147,
|
|
1324
|
+
1, 0, 0, 0, 148, 149, 1, 0, 0, 0, 149, 150, 1, 0, 0, 0, 150, 152, 5, 6, 0, 0, 151, 153,
|
|
1325
|
+
3, 42, 21, 0, 152, 151, 1, 0, 0, 0, 152, 153, 1, 0, 0, 0, 153, 154, 1, 0, 0, 0, 154, 155,
|
|
1326
|
+
5, 13, 0, 0, 155, 21, 1, 0, 0, 0, 156, 158, 5, 24, 0, 0, 157, 159, 3, 28, 14, 0, 158, 157,
|
|
1327
|
+
1, 0, 0, 0, 158, 159, 1, 0, 0, 0, 159, 160, 1, 0, 0, 0, 160, 162, 5, 6, 0, 0, 161, 163,
|
|
1328
|
+
3, 42, 21, 0, 162, 161, 1, 0, 0, 0, 162, 163, 1, 0, 0, 0, 163, 164, 1, 0, 0, 0, 164, 165,
|
|
1329
|
+
5, 13, 0, 0, 165, 23, 1, 0, 0, 0, 166, 168, 5, 25, 0, 0, 167, 169, 3, 26, 13, 0, 168, 167,
|
|
1330
|
+
1, 0, 0, 0, 168, 169, 1, 0, 0, 0, 169, 170, 1, 0, 0, 0, 170, 172, 5, 6, 0, 0, 171, 173,
|
|
1331
|
+
3, 42, 21, 0, 172, 171, 1, 0, 0, 0, 172, 173, 1, 0, 0, 0, 173, 174, 1, 0, 0, 0, 174, 175,
|
|
1332
|
+
5, 13, 0, 0, 175, 25, 1, 0, 0, 0, 176, 185, 3, 32, 16, 0, 177, 179, 3, 38, 19, 0, 178,
|
|
1333
|
+
180, 3, 40, 20, 0, 179, 178, 1, 0, 0, 0, 179, 180, 1, 0, 0, 0, 180, 186, 1, 0, 0, 0, 181,
|
|
1334
|
+
183, 3, 40, 20, 0, 182, 184, 3, 38, 19, 0, 183, 182, 1, 0, 0, 0, 183, 184, 1, 0, 0, 0,
|
|
1335
|
+
184, 186, 1, 0, 0, 0, 185, 177, 1, 0, 0, 0, 185, 181, 1, 0, 0, 0, 185, 186, 1, 0, 0, 0,
|
|
1336
|
+
186, 210, 1, 0, 0, 0, 187, 196, 3, 38, 19, 0, 188, 190, 3, 32, 16, 0, 189, 191, 3, 40,
|
|
1337
|
+
20, 0, 190, 189, 1, 0, 0, 0, 190, 191, 1, 0, 0, 0, 191, 197, 1, 0, 0, 0, 192, 194, 3, 40,
|
|
1338
|
+
20, 0, 193, 195, 3, 32, 16, 0, 194, 193, 1, 0, 0, 0, 194, 195, 1, 0, 0, 0, 195, 197, 1,
|
|
1339
|
+
0, 0, 0, 196, 188, 1, 0, 0, 0, 196, 192, 1, 0, 0, 0, 196, 197, 1, 0, 0, 0, 197, 210, 1,
|
|
1340
|
+
0, 0, 0, 198, 207, 3, 40, 20, 0, 199, 201, 3, 32, 16, 0, 200, 202, 3, 38, 19, 0, 201,
|
|
1341
|
+
200, 1, 0, 0, 0, 201, 202, 1, 0, 0, 0, 202, 208, 1, 0, 0, 0, 203, 205, 3, 38, 19, 0, 204,
|
|
1342
|
+
206, 3, 32, 16, 0, 205, 204, 1, 0, 0, 0, 205, 206, 1, 0, 0, 0, 206, 208, 1, 0, 0, 0, 207,
|
|
1343
|
+
199, 1, 0, 0, 0, 207, 203, 1, 0, 0, 0, 207, 208, 1, 0, 0, 0, 208, 210, 1, 0, 0, 0, 209,
|
|
1344
|
+
176, 1, 0, 0, 0, 209, 187, 1, 0, 0, 0, 209, 198, 1, 0, 0, 0, 210, 27, 1, 0, 0, 0, 211, 213,
|
|
1345
|
+
3, 34, 17, 0, 212, 214, 3, 38, 19, 0, 213, 212, 1, 0, 0, 0, 213, 214, 1, 0, 0, 0, 214,
|
|
1346
|
+
220, 1, 0, 0, 0, 215, 217, 3, 38, 19, 0, 216, 218, 3, 34, 17, 0, 217, 216, 1, 0, 0, 0,
|
|
1347
|
+
217, 218, 1, 0, 0, 0, 218, 220, 1, 0, 0, 0, 219, 211, 1, 0, 0, 0, 219, 215, 1, 0, 0, 0,
|
|
1348
|
+
220, 29, 1, 0, 0, 0, 221, 223, 3, 36, 18, 0, 222, 224, 3, 38, 19, 0, 223, 222, 1, 0, 0,
|
|
1349
|
+
0, 223, 224, 1, 0, 0, 0, 224, 230, 1, 0, 0, 0, 225, 227, 3, 38, 19, 0, 226, 228, 3, 36,
|
|
1350
|
+
18, 0, 227, 226, 1, 0, 0, 0, 227, 228, 1, 0, 0, 0, 228, 230, 1, 0, 0, 0, 229, 221, 1, 0,
|
|
1351
|
+
0, 0, 229, 225, 1, 0, 0, 0, 230, 31, 1, 0, 0, 0, 231, 235, 5, 1, 0, 0, 232, 234, 7, 0, 0,
|
|
1352
|
+
0, 233, 232, 1, 0, 0, 0, 234, 237, 1, 0, 0, 0, 235, 233, 1, 0, 0, 0, 235, 236, 1, 0, 0,
|
|
1353
|
+
0, 236, 238, 1, 0, 0, 0, 237, 235, 1, 0, 0, 0, 238, 239, 5, 2, 0, 0, 239, 33, 1, 0, 0, 0,
|
|
1354
|
+
240, 242, 5, 1, 0, 0, 241, 243, 5, 8, 0, 0, 242, 241, 1, 0, 0, 0, 242, 243, 1, 0, 0, 0,
|
|
1355
|
+
243, 244, 1, 0, 0, 0, 244, 245, 5, 2, 0, 0, 245, 35, 1, 0, 0, 0, 246, 248, 5, 1, 0, 0, 247,
|
|
1356
|
+
249, 5, 9, 0, 0, 248, 247, 1, 0, 0, 0, 248, 249, 1, 0, 0, 0, 249, 250, 1, 0, 0, 0, 250,
|
|
1357
|
+
251, 5, 2, 0, 0, 251, 37, 1, 0, 0, 0, 252, 254, 5, 3, 0, 0, 253, 255, 5, 11, 0, 0, 254,
|
|
1358
|
+
253, 1, 0, 0, 0, 254, 255, 1, 0, 0, 0, 255, 256, 1, 0, 0, 0, 256, 257, 5, 4, 0, 0, 257,
|
|
1359
|
+
39, 1, 0, 0, 0, 258, 259, 5, 5, 0, 0, 259, 41, 1, 0, 0, 0, 260, 262, 5, 12, 0, 0, 261, 260,
|
|
1360
|
+
1, 0, 0, 0, 262, 263, 1, 0, 0, 0, 263, 261, 1, 0, 0, 0, 263, 264, 1, 0, 0, 0, 264, 43, 1,
|
|
1361
|
+
0, 0, 0, 46, 46, 48, 64, 68, 72, 78, 82, 88, 92, 98, 102, 108, 112, 118, 122, 128, 132,
|
|
1362
|
+
138, 142, 148, 152, 158, 162, 168, 172, 179, 183, 185, 190, 194, 196, 201, 205,
|
|
1363
|
+
207, 209, 213, 217, 219, 223, 227, 229, 235, 242, 248, 254, 263
|
|
1301
1364
|
];
|
|
1302
1365
|
static __ATN;
|
|
1303
1366
|
static get _ATN() {
|
|
@@ -1379,6 +1442,9 @@ export class StatementContext extends antlr.ParserRuleContext {
|
|
|
1379
1442
|
killStatement() {
|
|
1380
1443
|
return this.getRuleContext(0, KillStatementContext);
|
|
1381
1444
|
}
|
|
1445
|
+
planStatement() {
|
|
1446
|
+
return this.getRuleContext(0, PlanStatementContext);
|
|
1447
|
+
}
|
|
1382
1448
|
get ruleIndex() {
|
|
1383
1449
|
return plurnkParser.RULE_statement;
|
|
1384
1450
|
}
|
|
@@ -1701,6 +1767,37 @@ export class KillStatementContext extends antlr.ParserRuleContext {
|
|
|
1701
1767
|
}
|
|
1702
1768
|
}
|
|
1703
1769
|
}
|
|
1770
|
+
export class PlanStatementContext extends antlr.ParserRuleContext {
|
|
1771
|
+
constructor(parent, invokingState) {
|
|
1772
|
+
super(parent, invokingState);
|
|
1773
|
+
}
|
|
1774
|
+
OPEN_PLAN() {
|
|
1775
|
+
return this.getToken(plurnkParser.OPEN_PLAN, 0);
|
|
1776
|
+
}
|
|
1777
|
+
COLON() {
|
|
1778
|
+
return this.getToken(plurnkParser.COLON, 0);
|
|
1779
|
+
}
|
|
1780
|
+
CLOSE_TAG() {
|
|
1781
|
+
return this.getToken(plurnkParser.CLOSE_TAG, 0);
|
|
1782
|
+
}
|
|
1783
|
+
tagOpModifiers() {
|
|
1784
|
+
return this.getRuleContext(0, TagOpModifiersContext);
|
|
1785
|
+
}
|
|
1786
|
+
body() {
|
|
1787
|
+
return this.getRuleContext(0, BodyContext);
|
|
1788
|
+
}
|
|
1789
|
+
get ruleIndex() {
|
|
1790
|
+
return plurnkParser.RULE_planStatement;
|
|
1791
|
+
}
|
|
1792
|
+
accept(visitor) {
|
|
1793
|
+
if (visitor.visitPlanStatement) {
|
|
1794
|
+
return visitor.visitPlanStatement(this);
|
|
1795
|
+
}
|
|
1796
|
+
else {
|
|
1797
|
+
return visitor.visitChildren(this);
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1704
1801
|
export class TagOpModifiersContext extends antlr.ParserRuleContext {
|
|
1705
1802
|
constructor(parent, invokingState) {
|
|
1706
1803
|
super(parent, invokingState);
|