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