circuitscript 0.1.5 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseVisitor.js +127 -73
- package/dist/cjs/SemanticTokenVisitor.js +19 -13
- package/dist/cjs/antlr/CircuitScriptParser.js +711 -671
- package/dist/cjs/builtinMethods.js +29 -25
- package/dist/cjs/environment.js +118 -0
- package/dist/cjs/execute.js +53 -12
- package/dist/cjs/export.js +0 -5
- package/dist/cjs/geometry.js +1 -0
- package/dist/cjs/globals.js +11 -6
- package/dist/cjs/helpers.js +152 -127
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/layout.js +86 -44
- package/dist/cjs/main.js +31 -19
- package/dist/cjs/objects/ExecutionScope.js +33 -0
- package/dist/cjs/objects/ParamDefinition.js +15 -15
- package/dist/cjs/parser.js +27 -21
- package/dist/cjs/regenerate-tests.js +14 -10
- package/dist/cjs/render.js +3 -1
- package/dist/cjs/sizing.js +5 -58
- package/dist/cjs/utils.js +85 -30
- package/dist/cjs/validate/SymbolTable.js +96 -0
- package/dist/cjs/validate/SymbolValidatorResolveVisitor.js +14 -0
- package/dist/cjs/validate/SymbolValidatorVisitor.js +170 -0
- package/dist/cjs/validate.js +71 -44
- package/dist/cjs/visitor.js +140 -24
- package/dist/esm/{BaseVisitor.mjs → BaseVisitor.js} +98 -45
- package/dist/esm/{SemanticTokenVisitor.mjs → SemanticTokenVisitor.js} +17 -11
- package/dist/esm/antlr/{CircuitScriptParser.mjs → CircuitScriptParser.js} +711 -671
- package/dist/esm/{builtinMethods.mjs → builtinMethods.js} +20 -16
- package/dist/esm/{draw_symbols.mjs → draw_symbols.js} +7 -7
- package/dist/esm/environment.js +110 -0
- package/dist/esm/{execute.mjs → execute.js} +66 -25
- package/dist/esm/{export.mjs → export.js} +2 -7
- package/dist/esm/{geometry.mjs → geometry.js} +6 -5
- package/dist/esm/{globals.mjs → globals.js} +6 -1
- package/dist/esm/helpers.js +394 -0
- package/dist/esm/index.js +20 -0
- package/dist/esm/{layout.mjs → layout.js} +72 -53
- package/dist/esm/{lexer.mjs → lexer.js} +2 -2
- package/dist/esm/{main.mjs → main.js} +33 -21
- package/dist/esm/objects/{ClassComponent.mjs → ClassComponent.js} +5 -4
- package/dist/esm/objects/{ExecutionScope.mjs → ExecutionScope.js} +33 -0
- package/dist/esm/objects/{Frame.mjs → Frame.js} +1 -1
- package/dist/esm/objects/{ParamDefinition.mjs → ParamDefinition.js} +1 -1
- package/dist/esm/objects/{PinDefinition.mjs → PinDefinition.js} +1 -1
- package/dist/esm/parser.js +71 -0
- package/dist/esm/{regenerate-tests.mjs → regenerate-tests.js} +15 -11
- package/dist/esm/{render.mjs → render.js} +11 -9
- package/dist/esm/{sizing.mjs → sizing.js} +6 -34
- package/dist/esm/{utils.mjs → utils.js} +61 -17
- package/dist/esm/validate/SymbolTable.js +90 -0
- package/dist/esm/validate/SymbolValidatorResolveVisitor.js +10 -0
- package/dist/esm/validate/SymbolValidatorVisitor.js +163 -0
- package/dist/esm/validate.js +105 -0
- package/dist/esm/{visitor.mjs → visitor.js} +151 -35
- package/dist/fonts/Arial.ttf +0 -0
- package/dist/fonts/Inter-Bold.ttf +0 -0
- package/dist/fonts/Inter-Regular.ttf +0 -0
- package/dist/fonts/OpenSans-Regular.ttf +0 -0
- package/dist/fonts/Roboto-Regular.ttf +0 -0
- package/dist/libs/lib.cst +423 -0
- package/dist/types/BaseVisitor.d.ts +34 -21
- package/dist/types/SemanticTokenVisitor.d.ts +6 -5
- package/dist/types/antlr/CircuitScriptParser.d.ts +4 -2
- package/dist/types/builtinMethods.d.ts +3 -2
- package/dist/types/environment.d.ts +31 -0
- package/dist/types/globals.d.ts +4 -1
- package/dist/types/helpers.d.ts +12 -14
- package/dist/types/index.d.ts +5 -0
- package/dist/types/layout.d.ts +2 -2
- package/dist/types/objects/ClassComponent.d.ts +1 -0
- package/dist/types/objects/ExecutionScope.d.ts +11 -0
- package/dist/types/objects/types.d.ts +6 -1
- package/dist/types/parser.d.ts +7 -11
- package/dist/types/sizing.d.ts +0 -3
- package/dist/types/utils.d.ts +30 -6
- package/dist/types/validate/SymbolTable.d.ts +40 -0
- package/dist/types/validate/SymbolValidatorResolveVisitor.d.ts +7 -0
- package/dist/types/validate/SymbolValidatorVisitor.d.ts +32 -0
- package/dist/types/validate.d.ts +1 -1
- package/package.json +15 -14
- package/dist/cjs/SymbolValidatorVisitor.js +0 -233
- package/dist/esm/SymbolValidatorVisitor.mjs +0 -222
- package/dist/esm/helpers.mjs +0 -364
- package/dist/esm/index.mjs +0 -15
- package/dist/esm/parser.mjs +0 -64
- package/dist/esm/validate.mjs +0 -74
- package/dist/types/SymbolValidatorVisitor.d.ts +0 -61
- /package/dist/esm/antlr/{CircuitScriptLexer.mjs → CircuitScriptLexer.js} +0 -0
- /package/dist/esm/antlr/{CircuitScriptVisitor.mjs → CircuitScriptVisitor.js} +0 -0
- /package/dist/esm/{fonts.mjs → fonts.js} +0 -0
- /package/dist/esm/{logger.mjs → logger.js} +0 -0
- /package/dist/esm/objects/{Net.mjs → Net.js} +0 -0
- /package/dist/esm/objects/{PinTypes.mjs → PinTypes.js} +0 -0
- /package/dist/esm/objects/{Wire.mjs → Wire.js} +0 -0
- /package/dist/esm/objects/{types.mjs → types.js} +0 -0
- /package/dist/esm/{server.mjs → server.js} +0 -0
|
@@ -44,14 +44,45 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
44
44
|
this.enterRule(localContext, 0, CircuitScriptParser.RULE_script);
|
|
45
45
|
let _la;
|
|
46
46
|
try {
|
|
47
|
+
let alternative;
|
|
47
48
|
this.enterOuterAlt(localContext, 1);
|
|
48
49
|
{
|
|
49
|
-
this.state =
|
|
50
|
+
this.state = 132;
|
|
51
|
+
this.errorHandler.sync(this);
|
|
52
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 1, this.context);
|
|
53
|
+
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
54
|
+
if (alternative === 1) {
|
|
55
|
+
{
|
|
56
|
+
this.state = 130;
|
|
57
|
+
this.errorHandler.sync(this);
|
|
58
|
+
switch (this.tokenStream.LA(1)) {
|
|
59
|
+
case CircuitScriptParser.Import:
|
|
60
|
+
{
|
|
61
|
+
this.state = 128;
|
|
62
|
+
this.import_expr();
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
case CircuitScriptParser.NEWLINE:
|
|
66
|
+
{
|
|
67
|
+
this.state = 129;
|
|
68
|
+
this.match(CircuitScriptParser.NEWLINE);
|
|
69
|
+
}
|
|
70
|
+
break;
|
|
71
|
+
default:
|
|
72
|
+
throw new antlr.NoViableAltException(this);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
this.state = 134;
|
|
77
|
+
this.errorHandler.sync(this);
|
|
78
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 1, this.context);
|
|
79
|
+
}
|
|
80
|
+
this.state = 137;
|
|
50
81
|
this.errorHandler.sync(this);
|
|
51
82
|
_la = this.tokenStream.LA(1);
|
|
52
83
|
do {
|
|
53
84
|
{
|
|
54
|
-
this.state =
|
|
85
|
+
this.state = 137;
|
|
55
86
|
this.errorHandler.sync(this);
|
|
56
87
|
switch (this.tokenStream.LA(1)) {
|
|
57
88
|
case CircuitScriptParser.T__3:
|
|
@@ -76,13 +107,13 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
76
107
|
case CircuitScriptParser.Divide:
|
|
77
108
|
case CircuitScriptParser.ID:
|
|
78
109
|
{
|
|
79
|
-
this.state =
|
|
110
|
+
this.state = 135;
|
|
80
111
|
this.expression();
|
|
81
112
|
}
|
|
82
113
|
break;
|
|
83
114
|
case CircuitScriptParser.NEWLINE:
|
|
84
115
|
{
|
|
85
|
-
this.state =
|
|
116
|
+
this.state = 136;
|
|
86
117
|
this.match(CircuitScriptParser.NEWLINE);
|
|
87
118
|
}
|
|
88
119
|
break;
|
|
@@ -90,11 +121,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
90
121
|
throw new antlr.NoViableAltException(this);
|
|
91
122
|
}
|
|
92
123
|
}
|
|
93
|
-
this.state =
|
|
124
|
+
this.state = 139;
|
|
94
125
|
this.errorHandler.sync(this);
|
|
95
126
|
_la = this.tokenStream.LA(1);
|
|
96
127
|
} while (((((_la - 4)) & ~0x1F) === 0 && ((1 << (_la - 4)) & 867955761) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 4210693) !== 0));
|
|
97
|
-
this.state =
|
|
128
|
+
this.state = 141;
|
|
98
129
|
this.match(CircuitScriptParser.EOF);
|
|
99
130
|
}
|
|
100
131
|
}
|
|
@@ -116,160 +147,160 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
116
147
|
let localContext = new ExpressionContext(this.context, this.state);
|
|
117
148
|
this.enterRule(localContext, 2, CircuitScriptParser.RULE_expression);
|
|
118
149
|
try {
|
|
119
|
-
this.state =
|
|
150
|
+
this.state = 165;
|
|
120
151
|
this.errorHandler.sync(this);
|
|
121
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
152
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 4, this.context)) {
|
|
122
153
|
case 1:
|
|
123
154
|
this.enterOuterAlt(localContext, 1);
|
|
124
155
|
{
|
|
125
|
-
this.state =
|
|
156
|
+
this.state = 143;
|
|
126
157
|
this.add_component_expr();
|
|
127
158
|
}
|
|
128
159
|
break;
|
|
129
160
|
case 2:
|
|
130
161
|
this.enterOuterAlt(localContext, 2);
|
|
131
162
|
{
|
|
132
|
-
this.state =
|
|
163
|
+
this.state = 144;
|
|
133
164
|
this.to_component_expr();
|
|
134
165
|
}
|
|
135
166
|
break;
|
|
136
167
|
case 3:
|
|
137
168
|
this.enterOuterAlt(localContext, 3);
|
|
138
169
|
{
|
|
139
|
-
this.state =
|
|
170
|
+
this.state = 145;
|
|
140
171
|
this.at_component_expr();
|
|
141
172
|
}
|
|
142
173
|
break;
|
|
143
174
|
case 4:
|
|
144
175
|
this.enterOuterAlt(localContext, 4);
|
|
145
176
|
{
|
|
146
|
-
this.state =
|
|
177
|
+
this.state = 146;
|
|
147
178
|
this.assignment_expr();
|
|
148
179
|
}
|
|
149
180
|
break;
|
|
150
181
|
case 5:
|
|
151
182
|
this.enterOuterAlt(localContext, 5);
|
|
152
183
|
{
|
|
153
|
-
this.state =
|
|
184
|
+
this.state = 147;
|
|
154
185
|
this.operator_assignment_expr();
|
|
155
186
|
}
|
|
156
187
|
break;
|
|
157
188
|
case 6:
|
|
158
189
|
this.enterOuterAlt(localContext, 6);
|
|
159
190
|
{
|
|
160
|
-
this.state =
|
|
191
|
+
this.state = 148;
|
|
161
192
|
this.property_set_expr();
|
|
162
193
|
}
|
|
163
194
|
break;
|
|
164
195
|
case 7:
|
|
165
196
|
this.enterOuterAlt(localContext, 7);
|
|
166
197
|
{
|
|
167
|
-
this.state =
|
|
198
|
+
this.state = 149;
|
|
168
199
|
this.property_set_expr2();
|
|
169
200
|
}
|
|
170
201
|
break;
|
|
171
202
|
case 8:
|
|
172
203
|
this.enterOuterAlt(localContext, 8);
|
|
173
204
|
{
|
|
174
|
-
this.state =
|
|
205
|
+
this.state = 150;
|
|
175
206
|
this.double_dot_property_set_expr();
|
|
176
207
|
}
|
|
177
208
|
break;
|
|
178
209
|
case 9:
|
|
179
210
|
this.enterOuterAlt(localContext, 9);
|
|
180
211
|
{
|
|
181
|
-
this.state =
|
|
212
|
+
this.state = 151;
|
|
182
213
|
this.break_keyword();
|
|
183
214
|
}
|
|
184
215
|
break;
|
|
185
216
|
case 10:
|
|
186
217
|
this.enterOuterAlt(localContext, 10);
|
|
187
218
|
{
|
|
188
|
-
this.state =
|
|
219
|
+
this.state = 152;
|
|
189
220
|
this.continue_keyword();
|
|
190
221
|
}
|
|
191
222
|
break;
|
|
192
223
|
case 11:
|
|
193
224
|
this.enterOuterAlt(localContext, 11);
|
|
194
225
|
{
|
|
195
|
-
this.state =
|
|
226
|
+
this.state = 153;
|
|
196
227
|
this.function_def_expr();
|
|
197
228
|
}
|
|
198
229
|
break;
|
|
199
230
|
case 12:
|
|
200
231
|
this.enterOuterAlt(localContext, 12);
|
|
201
232
|
{
|
|
202
|
-
this.state =
|
|
233
|
+
this.state = 154;
|
|
203
234
|
this.function_call_expr();
|
|
204
235
|
}
|
|
205
236
|
break;
|
|
206
237
|
case 13:
|
|
207
238
|
this.enterOuterAlt(localContext, 13);
|
|
208
239
|
{
|
|
209
|
-
this.state =
|
|
240
|
+
this.state = 155;
|
|
210
241
|
this.wire_expr();
|
|
211
242
|
}
|
|
212
243
|
break;
|
|
213
244
|
case 14:
|
|
214
245
|
this.enterOuterAlt(localContext, 14);
|
|
215
246
|
{
|
|
216
|
-
this.state =
|
|
247
|
+
this.state = 156;
|
|
217
248
|
this.import_expr();
|
|
218
249
|
}
|
|
219
250
|
break;
|
|
220
251
|
case 15:
|
|
221
252
|
this.enterOuterAlt(localContext, 15);
|
|
222
253
|
{
|
|
223
|
-
this.state =
|
|
254
|
+
this.state = 157;
|
|
224
255
|
this.frame_expr();
|
|
225
256
|
}
|
|
226
257
|
break;
|
|
227
258
|
case 16:
|
|
228
259
|
this.enterOuterAlt(localContext, 16);
|
|
229
260
|
{
|
|
230
|
-
this.state =
|
|
261
|
+
this.state = 158;
|
|
231
262
|
this.atom_expr();
|
|
232
263
|
}
|
|
233
264
|
break;
|
|
234
265
|
case 17:
|
|
235
266
|
this.enterOuterAlt(localContext, 17);
|
|
236
267
|
{
|
|
237
|
-
this.state =
|
|
268
|
+
this.state = 159;
|
|
238
269
|
this.at_block();
|
|
239
270
|
}
|
|
240
271
|
break;
|
|
241
272
|
case 18:
|
|
242
273
|
this.enterOuterAlt(localContext, 18);
|
|
243
274
|
{
|
|
244
|
-
this.state =
|
|
275
|
+
this.state = 160;
|
|
245
276
|
this.path_blocks();
|
|
246
277
|
}
|
|
247
278
|
break;
|
|
248
279
|
case 19:
|
|
249
280
|
this.enterOuterAlt(localContext, 19);
|
|
250
281
|
{
|
|
251
|
-
this.state =
|
|
282
|
+
this.state = 161;
|
|
252
283
|
this.point_expr();
|
|
253
284
|
}
|
|
254
285
|
break;
|
|
255
286
|
case 20:
|
|
256
287
|
this.enterOuterAlt(localContext, 20);
|
|
257
288
|
{
|
|
258
|
-
this.state =
|
|
289
|
+
this.state = 162;
|
|
259
290
|
this.if_expr();
|
|
260
291
|
}
|
|
261
292
|
break;
|
|
262
293
|
case 21:
|
|
263
294
|
this.enterOuterAlt(localContext, 21);
|
|
264
295
|
{
|
|
265
|
-
this.state =
|
|
296
|
+
this.state = 163;
|
|
266
297
|
this.while_expr();
|
|
267
298
|
}
|
|
268
299
|
break;
|
|
269
300
|
case 22:
|
|
270
301
|
this.enterOuterAlt(localContext, 22);
|
|
271
302
|
{
|
|
272
|
-
this.state =
|
|
303
|
+
this.state = 164;
|
|
273
304
|
this.for_expr();
|
|
274
305
|
}
|
|
275
306
|
break;
|
|
@@ -296,21 +327,21 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
296
327
|
try {
|
|
297
328
|
this.enterOuterAlt(localContext, 1);
|
|
298
329
|
{
|
|
299
|
-
this.state =
|
|
330
|
+
this.state = 167;
|
|
300
331
|
this.match(CircuitScriptParser.NEWLINE);
|
|
301
|
-
this.state =
|
|
332
|
+
this.state = 168;
|
|
302
333
|
this.match(CircuitScriptParser.INDENT);
|
|
303
|
-
this.state =
|
|
334
|
+
this.state = 171;
|
|
304
335
|
this.errorHandler.sync(this);
|
|
305
336
|
_la = this.tokenStream.LA(1);
|
|
306
337
|
do {
|
|
307
338
|
{
|
|
308
|
-
this.state =
|
|
339
|
+
this.state = 171;
|
|
309
340
|
this.errorHandler.sync(this);
|
|
310
341
|
switch (this.tokenStream.LA(1)) {
|
|
311
342
|
case CircuitScriptParser.NEWLINE:
|
|
312
343
|
{
|
|
313
|
-
this.state =
|
|
344
|
+
this.state = 169;
|
|
314
345
|
this.match(CircuitScriptParser.NEWLINE);
|
|
315
346
|
}
|
|
316
347
|
break;
|
|
@@ -336,7 +367,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
336
367
|
case CircuitScriptParser.Divide:
|
|
337
368
|
case CircuitScriptParser.ID:
|
|
338
369
|
{
|
|
339
|
-
this.state =
|
|
370
|
+
this.state = 170;
|
|
340
371
|
this.expression();
|
|
341
372
|
}
|
|
342
373
|
break;
|
|
@@ -344,11 +375,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
344
375
|
throw new antlr.NoViableAltException(this);
|
|
345
376
|
}
|
|
346
377
|
}
|
|
347
|
-
this.state =
|
|
378
|
+
this.state = 173;
|
|
348
379
|
this.errorHandler.sync(this);
|
|
349
380
|
_la = this.tokenStream.LA(1);
|
|
350
381
|
} while (((((_la - 4)) & ~0x1F) === 0 && ((1 << (_la - 4)) & 867955761) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 4210693) !== 0));
|
|
351
|
-
this.state =
|
|
382
|
+
this.state = 175;
|
|
352
383
|
this.match(CircuitScriptParser.DEDENT);
|
|
353
384
|
}
|
|
354
385
|
}
|
|
@@ -373,7 +404,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
373
404
|
let alternative;
|
|
374
405
|
this.enterOuterAlt(localContext, 1);
|
|
375
406
|
{
|
|
376
|
-
this.state =
|
|
407
|
+
this.state = 178;
|
|
377
408
|
this.errorHandler.sync(this);
|
|
378
409
|
alternative = 1;
|
|
379
410
|
do {
|
|
@@ -381,7 +412,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
381
412
|
case 1:
|
|
382
413
|
{
|
|
383
414
|
{
|
|
384
|
-
this.state =
|
|
415
|
+
this.state = 177;
|
|
385
416
|
this.path_block_inner();
|
|
386
417
|
}
|
|
387
418
|
}
|
|
@@ -389,9 +420,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
389
420
|
default:
|
|
390
421
|
throw new antlr.NoViableAltException(this);
|
|
391
422
|
}
|
|
392
|
-
this.state =
|
|
423
|
+
this.state = 180;
|
|
393
424
|
this.errorHandler.sync(this);
|
|
394
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
425
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 7, this.context);
|
|
395
426
|
} while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER);
|
|
396
427
|
}
|
|
397
428
|
}
|
|
@@ -416,7 +447,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
416
447
|
try {
|
|
417
448
|
this.enterOuterAlt(localContext, 1);
|
|
418
449
|
{
|
|
419
|
-
this.state =
|
|
450
|
+
this.state = 182;
|
|
420
451
|
_la = this.tokenStream.LA(1);
|
|
421
452
|
if (!((((_la) & ~0x1F) === 0 && ((1 << _la) & 3670528) !== 0))) {
|
|
422
453
|
this.errorHandler.recoverInline(this);
|
|
@@ -425,9 +456,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
425
456
|
this.errorHandler.reportMatch(this);
|
|
426
457
|
this.consume();
|
|
427
458
|
}
|
|
428
|
-
this.state =
|
|
459
|
+
this.state = 183;
|
|
429
460
|
this.match(CircuitScriptParser.T__0);
|
|
430
|
-
this.state =
|
|
461
|
+
this.state = 184;
|
|
431
462
|
this.expressions_block();
|
|
432
463
|
}
|
|
433
464
|
}
|
|
@@ -452,32 +483,32 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
452
483
|
try {
|
|
453
484
|
this.enterOuterAlt(localContext, 1);
|
|
454
485
|
{
|
|
455
|
-
this.state =
|
|
486
|
+
this.state = 186;
|
|
456
487
|
this.atom_expr();
|
|
457
|
-
this.state =
|
|
488
|
+
this.state = 187;
|
|
458
489
|
this.match(CircuitScriptParser.T__0);
|
|
459
|
-
this.state =
|
|
490
|
+
this.state = 188;
|
|
460
491
|
this.match(CircuitScriptParser.NEWLINE);
|
|
461
|
-
this.state =
|
|
492
|
+
this.state = 189;
|
|
462
493
|
this.match(CircuitScriptParser.INDENT);
|
|
463
|
-
this.state =
|
|
494
|
+
this.state = 192;
|
|
464
495
|
this.errorHandler.sync(this);
|
|
465
496
|
_la = this.tokenStream.LA(1);
|
|
466
497
|
do {
|
|
467
498
|
{
|
|
468
|
-
this.state =
|
|
499
|
+
this.state = 192;
|
|
469
500
|
this.errorHandler.sync(this);
|
|
470
501
|
switch (this.tokenStream.LA(1)) {
|
|
471
502
|
case CircuitScriptParser.NEWLINE:
|
|
472
503
|
{
|
|
473
|
-
this.state =
|
|
504
|
+
this.state = 190;
|
|
474
505
|
this.match(CircuitScriptParser.NEWLINE);
|
|
475
506
|
}
|
|
476
507
|
break;
|
|
477
508
|
case CircuitScriptParser.ID:
|
|
478
509
|
case CircuitScriptParser.INTEGER_VALUE:
|
|
479
510
|
{
|
|
480
|
-
this.state =
|
|
511
|
+
this.state = 191;
|
|
481
512
|
this.assignment_expr2();
|
|
482
513
|
}
|
|
483
514
|
break;
|
|
@@ -485,11 +516,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
485
516
|
throw new antlr.NoViableAltException(this);
|
|
486
517
|
}
|
|
487
518
|
}
|
|
488
|
-
this.state =
|
|
519
|
+
this.state = 194;
|
|
489
520
|
this.errorHandler.sync(this);
|
|
490
521
|
_la = this.tokenStream.LA(1);
|
|
491
522
|
} while (((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 259) !== 0));
|
|
492
|
-
this.state =
|
|
523
|
+
this.state = 196;
|
|
493
524
|
this.match(CircuitScriptParser.DEDENT);
|
|
494
525
|
}
|
|
495
526
|
}
|
|
@@ -514,7 +545,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
514
545
|
try {
|
|
515
546
|
this.enterOuterAlt(localContext, 1);
|
|
516
547
|
{
|
|
517
|
-
this.state =
|
|
548
|
+
this.state = 198;
|
|
518
549
|
_la = this.tokenStream.LA(1);
|
|
519
550
|
if (!(_la === 56 || _la === 57)) {
|
|
520
551
|
this.errorHandler.recoverInline(this);
|
|
@@ -523,9 +554,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
523
554
|
this.errorHandler.reportMatch(this);
|
|
524
555
|
this.consume();
|
|
525
556
|
}
|
|
526
|
-
this.state =
|
|
557
|
+
this.state = 199;
|
|
527
558
|
this.match(CircuitScriptParser.T__0);
|
|
528
|
-
this.state =
|
|
559
|
+
this.state = 200;
|
|
529
560
|
this.value_expr();
|
|
530
561
|
}
|
|
531
562
|
}
|
|
@@ -550,9 +581,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
550
581
|
try {
|
|
551
582
|
this.enterOuterAlt(localContext, 1);
|
|
552
583
|
{
|
|
553
|
-
this.state =
|
|
584
|
+
this.state = 202;
|
|
554
585
|
this.match(CircuitScriptParser.Pin);
|
|
555
|
-
this.state =
|
|
586
|
+
this.state = 203;
|
|
556
587
|
_la = this.tokenStream.LA(1);
|
|
557
588
|
if (!(_la === 57 || _la === 60)) {
|
|
558
589
|
this.errorHandler.recoverInline(this);
|
|
@@ -583,11 +614,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
583
614
|
try {
|
|
584
615
|
this.enterOuterAlt(localContext, 1);
|
|
585
616
|
{
|
|
586
|
-
this.state =
|
|
617
|
+
this.state = 205;
|
|
587
618
|
this.match(CircuitScriptParser.ID);
|
|
588
|
-
this.state =
|
|
619
|
+
this.state = 206;
|
|
589
620
|
this.match(CircuitScriptParser.T__0);
|
|
590
|
-
this.state =
|
|
621
|
+
this.state = 209;
|
|
591
622
|
this.errorHandler.sync(this);
|
|
592
623
|
switch (this.tokenStream.LA(1)) {
|
|
593
624
|
case CircuitScriptParser.Minus:
|
|
@@ -598,13 +629,13 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
598
629
|
case CircuitScriptParser.STRING_VALUE:
|
|
599
630
|
case CircuitScriptParser.PERCENTAGE_VALUE:
|
|
600
631
|
{
|
|
601
|
-
this.state =
|
|
632
|
+
this.state = 207;
|
|
602
633
|
this.value_expr();
|
|
603
634
|
}
|
|
604
635
|
break;
|
|
605
636
|
case CircuitScriptParser.ID:
|
|
606
637
|
{
|
|
607
|
-
this.state =
|
|
638
|
+
this.state = 208;
|
|
608
639
|
this.match(CircuitScriptParser.ID);
|
|
609
640
|
}
|
|
610
641
|
break;
|
|
@@ -635,44 +666,44 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
635
666
|
let alternative;
|
|
636
667
|
this.enterOuterAlt(localContext, 1);
|
|
637
668
|
{
|
|
638
|
-
this.state =
|
|
669
|
+
this.state = 213;
|
|
639
670
|
this.errorHandler.sync(this);
|
|
640
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
671
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 11, this.context)) {
|
|
641
672
|
case 1:
|
|
642
673
|
{
|
|
643
|
-
this.state =
|
|
674
|
+
this.state = 211;
|
|
644
675
|
this.data_expr(0);
|
|
645
676
|
}
|
|
646
677
|
break;
|
|
647
678
|
case 2:
|
|
648
679
|
{
|
|
649
|
-
this.state =
|
|
680
|
+
this.state = 212;
|
|
650
681
|
this.assignment_expr();
|
|
651
682
|
}
|
|
652
683
|
break;
|
|
653
684
|
}
|
|
654
|
-
this.state =
|
|
685
|
+
this.state = 218;
|
|
655
686
|
this.errorHandler.sync(this);
|
|
656
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
687
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 12, this.context);
|
|
657
688
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
658
689
|
if (alternative === 1) {
|
|
659
690
|
{
|
|
660
691
|
{
|
|
661
|
-
this.state =
|
|
692
|
+
this.state = 215;
|
|
662
693
|
this.component_modifier_expr();
|
|
663
694
|
}
|
|
664
695
|
}
|
|
665
696
|
}
|
|
666
|
-
this.state =
|
|
697
|
+
this.state = 220;
|
|
667
698
|
this.errorHandler.sync(this);
|
|
668
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
699
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 12, this.context);
|
|
669
700
|
}
|
|
670
|
-
this.state =
|
|
701
|
+
this.state = 222;
|
|
671
702
|
this.errorHandler.sync(this);
|
|
672
703
|
_la = this.tokenStream.LA(1);
|
|
673
704
|
if (_la === 15) {
|
|
674
705
|
{
|
|
675
|
-
this.state =
|
|
706
|
+
this.state = 221;
|
|
676
707
|
this.pin_select_expr();
|
|
677
708
|
}
|
|
678
709
|
}
|
|
@@ -698,9 +729,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
698
729
|
try {
|
|
699
730
|
this.enterOuterAlt(localContext, 1);
|
|
700
731
|
{
|
|
701
|
-
this.state =
|
|
732
|
+
this.state = 224;
|
|
702
733
|
this.match(CircuitScriptParser.Add);
|
|
703
|
-
this.state =
|
|
734
|
+
this.state = 225;
|
|
704
735
|
this.data_expr_with_assignment();
|
|
705
736
|
}
|
|
706
737
|
}
|
|
@@ -722,7 +753,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
722
753
|
let localContext = new Component_select_exprContext(this.context, this.state);
|
|
723
754
|
this.enterRule(localContext, 22, CircuitScriptParser.RULE_component_select_expr);
|
|
724
755
|
try {
|
|
725
|
-
this.state =
|
|
756
|
+
this.state = 230;
|
|
726
757
|
this.errorHandler.sync(this);
|
|
727
758
|
switch (this.tokenStream.LA(1)) {
|
|
728
759
|
case CircuitScriptParser.T__5:
|
|
@@ -741,21 +772,21 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
741
772
|
case CircuitScriptParser.PERCENTAGE_VALUE:
|
|
742
773
|
this.enterOuterAlt(localContext, 1);
|
|
743
774
|
{
|
|
744
|
-
this.state =
|
|
775
|
+
this.state = 227;
|
|
745
776
|
this.data_expr_with_assignment();
|
|
746
777
|
}
|
|
747
778
|
break;
|
|
748
779
|
case CircuitScriptParser.Pin:
|
|
749
780
|
this.enterOuterAlt(localContext, 2);
|
|
750
781
|
{
|
|
751
|
-
this.state =
|
|
782
|
+
this.state = 228;
|
|
752
783
|
this.pin_select_expr();
|
|
753
784
|
}
|
|
754
785
|
break;
|
|
755
786
|
case CircuitScriptParser.Point:
|
|
756
787
|
this.enterOuterAlt(localContext, 3);
|
|
757
788
|
{
|
|
758
|
-
this.state =
|
|
789
|
+
this.state = 229;
|
|
759
790
|
this.match(CircuitScriptParser.Point);
|
|
760
791
|
}
|
|
761
792
|
break;
|
|
@@ -784,7 +815,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
784
815
|
try {
|
|
785
816
|
this.enterOuterAlt(localContext, 1);
|
|
786
817
|
{
|
|
787
|
-
this.state =
|
|
818
|
+
this.state = 232;
|
|
788
819
|
_la = this.tokenStream.LA(1);
|
|
789
820
|
if (!(_la === 57 || _la === 60)) {
|
|
790
821
|
this.errorHandler.recoverInline(this);
|
|
@@ -815,9 +846,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
815
846
|
try {
|
|
816
847
|
this.enterOuterAlt(localContext, 1);
|
|
817
848
|
{
|
|
818
|
-
this.state =
|
|
849
|
+
this.state = 234;
|
|
819
850
|
this.match(CircuitScriptParser.At);
|
|
820
|
-
this.state =
|
|
851
|
+
this.state = 235;
|
|
821
852
|
this.component_select_expr();
|
|
822
853
|
}
|
|
823
854
|
}
|
|
@@ -842,24 +873,24 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
842
873
|
try {
|
|
843
874
|
this.enterOuterAlt(localContext, 1);
|
|
844
875
|
{
|
|
845
|
-
this.state =
|
|
876
|
+
this.state = 237;
|
|
846
877
|
this.match(CircuitScriptParser.To);
|
|
847
878
|
{
|
|
848
|
-
this.state =
|
|
879
|
+
this.state = 238;
|
|
849
880
|
this.component_select_expr();
|
|
850
|
-
this.state =
|
|
881
|
+
this.state = 243;
|
|
851
882
|
this.errorHandler.sync(this);
|
|
852
883
|
_la = this.tokenStream.LA(1);
|
|
853
884
|
while (_la === 2) {
|
|
854
885
|
{
|
|
855
886
|
{
|
|
856
|
-
this.state =
|
|
887
|
+
this.state = 239;
|
|
857
888
|
this.match(CircuitScriptParser.T__1);
|
|
858
|
-
this.state =
|
|
889
|
+
this.state = 240;
|
|
859
890
|
this.component_select_expr();
|
|
860
891
|
}
|
|
861
892
|
}
|
|
862
|
-
this.state =
|
|
893
|
+
this.state = 245;
|
|
863
894
|
this.errorHandler.sync(this);
|
|
864
895
|
_la = this.tokenStream.LA(1);
|
|
865
896
|
}
|
|
@@ -887,54 +918,54 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
887
918
|
try {
|
|
888
919
|
this.enterOuterAlt(localContext, 1);
|
|
889
920
|
{
|
|
890
|
-
this.state =
|
|
921
|
+
this.state = 246;
|
|
891
922
|
this.match(CircuitScriptParser.At);
|
|
892
|
-
this.state =
|
|
923
|
+
this.state = 247;
|
|
893
924
|
this.component_select_expr();
|
|
894
|
-
this.state =
|
|
925
|
+
this.state = 248;
|
|
895
926
|
this.match(CircuitScriptParser.To);
|
|
896
|
-
this.state =
|
|
927
|
+
this.state = 249;
|
|
897
928
|
this.component_select_expr();
|
|
898
|
-
this.state =
|
|
929
|
+
this.state = 254;
|
|
899
930
|
this.errorHandler.sync(this);
|
|
900
931
|
_la = this.tokenStream.LA(1);
|
|
901
932
|
while (_la === 2) {
|
|
902
933
|
{
|
|
903
934
|
{
|
|
904
|
-
this.state =
|
|
935
|
+
this.state = 250;
|
|
905
936
|
this.match(CircuitScriptParser.T__1);
|
|
906
|
-
this.state =
|
|
937
|
+
this.state = 251;
|
|
907
938
|
this.component_select_expr();
|
|
908
939
|
}
|
|
909
940
|
}
|
|
910
|
-
this.state =
|
|
941
|
+
this.state = 256;
|
|
911
942
|
this.errorHandler.sync(this);
|
|
912
943
|
_la = this.tokenStream.LA(1);
|
|
913
944
|
}
|
|
914
|
-
this.state =
|
|
945
|
+
this.state = 257;
|
|
915
946
|
this.match(CircuitScriptParser.T__0);
|
|
916
|
-
this.state =
|
|
947
|
+
this.state = 258;
|
|
917
948
|
this.match(CircuitScriptParser.NEWLINE);
|
|
918
|
-
this.state =
|
|
949
|
+
this.state = 259;
|
|
919
950
|
this.match(CircuitScriptParser.INDENT);
|
|
920
|
-
this.state =
|
|
951
|
+
this.state = 262;
|
|
921
952
|
this.errorHandler.sync(this);
|
|
922
953
|
_la = this.tokenStream.LA(1);
|
|
923
954
|
do {
|
|
924
955
|
{
|
|
925
|
-
this.state =
|
|
956
|
+
this.state = 262;
|
|
926
957
|
this.errorHandler.sync(this);
|
|
927
958
|
switch (this.tokenStream.LA(1)) {
|
|
928
959
|
case CircuitScriptParser.NEWLINE:
|
|
929
960
|
{
|
|
930
|
-
this.state =
|
|
961
|
+
this.state = 260;
|
|
931
962
|
this.match(CircuitScriptParser.NEWLINE);
|
|
932
963
|
}
|
|
933
964
|
break;
|
|
934
965
|
case CircuitScriptParser.INTEGER_VALUE:
|
|
935
966
|
case CircuitScriptParser.STRING_VALUE:
|
|
936
967
|
{
|
|
937
|
-
this.state =
|
|
968
|
+
this.state = 261;
|
|
938
969
|
this.at_to_multiple_line_expr();
|
|
939
970
|
}
|
|
940
971
|
break;
|
|
@@ -942,11 +973,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
942
973
|
throw new antlr.NoViableAltException(this);
|
|
943
974
|
}
|
|
944
975
|
}
|
|
945
|
-
this.state =
|
|
976
|
+
this.state = 264;
|
|
946
977
|
this.errorHandler.sync(this);
|
|
947
978
|
_la = this.tokenStream.LA(1);
|
|
948
979
|
} while (((((_la - 57)) & ~0x1F) === 0 && ((1 << (_la - 57)) & 137) !== 0));
|
|
949
|
-
this.state =
|
|
980
|
+
this.state = 266;
|
|
950
981
|
this.match(CircuitScriptParser.DEDENT);
|
|
951
982
|
}
|
|
952
983
|
}
|
|
@@ -971,25 +1002,25 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
971
1002
|
try {
|
|
972
1003
|
this.enterOuterAlt(localContext, 1);
|
|
973
1004
|
{
|
|
974
|
-
this.state =
|
|
1005
|
+
this.state = 268;
|
|
975
1006
|
this.pin_select_expr2();
|
|
976
|
-
this.state =
|
|
1007
|
+
this.state = 269;
|
|
977
1008
|
this.match(CircuitScriptParser.T__0);
|
|
978
|
-
this.state =
|
|
1009
|
+
this.state = 270;
|
|
979
1010
|
this.at_to_multiple_line_expr_to_pin();
|
|
980
|
-
this.state =
|
|
1011
|
+
this.state = 275;
|
|
981
1012
|
this.errorHandler.sync(this);
|
|
982
1013
|
_la = this.tokenStream.LA(1);
|
|
983
1014
|
while (_la === 2) {
|
|
984
1015
|
{
|
|
985
1016
|
{
|
|
986
|
-
this.state =
|
|
1017
|
+
this.state = 271;
|
|
987
1018
|
this.match(CircuitScriptParser.T__1);
|
|
988
|
-
this.state =
|
|
1019
|
+
this.state = 272;
|
|
989
1020
|
this.at_to_multiple_line_expr_to_pin();
|
|
990
1021
|
}
|
|
991
1022
|
}
|
|
992
|
-
this.state =
|
|
1023
|
+
this.state = 277;
|
|
993
1024
|
this.errorHandler.sync(this);
|
|
994
1025
|
_la = this.tokenStream.LA(1);
|
|
995
1026
|
}
|
|
@@ -1016,7 +1047,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1016
1047
|
try {
|
|
1017
1048
|
this.enterOuterAlt(localContext, 1);
|
|
1018
1049
|
{
|
|
1019
|
-
this.state =
|
|
1050
|
+
this.state = 278;
|
|
1020
1051
|
_la = this.tokenStream.LA(1);
|
|
1021
1052
|
if (!(_la === 54 || _la === 57)) {
|
|
1022
1053
|
this.errorHandler.recoverInline(this);
|
|
@@ -1048,25 +1079,25 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1048
1079
|
try {
|
|
1049
1080
|
this.enterOuterAlt(localContext, 1);
|
|
1050
1081
|
{
|
|
1051
|
-
this.state =
|
|
1082
|
+
this.state = 280;
|
|
1052
1083
|
this.at_component_expr();
|
|
1053
|
-
this.state =
|
|
1084
|
+
this.state = 281;
|
|
1054
1085
|
this.match(CircuitScriptParser.T__0);
|
|
1055
|
-
this.state =
|
|
1086
|
+
this.state = 282;
|
|
1056
1087
|
this.match(CircuitScriptParser.NEWLINE);
|
|
1057
|
-
this.state =
|
|
1088
|
+
this.state = 283;
|
|
1058
1089
|
this.match(CircuitScriptParser.INDENT);
|
|
1059
|
-
this.state =
|
|
1090
|
+
this.state = 286;
|
|
1060
1091
|
this.errorHandler.sync(this);
|
|
1061
1092
|
_la = this.tokenStream.LA(1);
|
|
1062
1093
|
do {
|
|
1063
1094
|
{
|
|
1064
|
-
this.state =
|
|
1095
|
+
this.state = 286;
|
|
1065
1096
|
this.errorHandler.sync(this);
|
|
1066
1097
|
switch (this.tokenStream.LA(1)) {
|
|
1067
1098
|
case CircuitScriptParser.NEWLINE:
|
|
1068
1099
|
{
|
|
1069
|
-
this.state =
|
|
1100
|
+
this.state = 284;
|
|
1070
1101
|
this.match(CircuitScriptParser.NEWLINE);
|
|
1071
1102
|
}
|
|
1072
1103
|
break;
|
|
@@ -1094,7 +1125,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1094
1125
|
case CircuitScriptParser.INTEGER_VALUE:
|
|
1095
1126
|
case CircuitScriptParser.STRING_VALUE:
|
|
1096
1127
|
{
|
|
1097
|
-
this.state =
|
|
1128
|
+
this.state = 285;
|
|
1098
1129
|
this.at_block_expressions();
|
|
1099
1130
|
}
|
|
1100
1131
|
break;
|
|
@@ -1102,11 +1133,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1102
1133
|
throw new antlr.NoViableAltException(this);
|
|
1103
1134
|
}
|
|
1104
1135
|
}
|
|
1105
|
-
this.state =
|
|
1136
|
+
this.state = 288;
|
|
1106
1137
|
this.errorHandler.sync(this);
|
|
1107
1138
|
_la = this.tokenStream.LA(1);
|
|
1108
1139
|
} while (((((_la - 4)) & ~0x1F) === 0 && ((1 << (_la - 4)) & 867955761) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 4505605) !== 0));
|
|
1109
|
-
this.state =
|
|
1140
|
+
this.state = 290;
|
|
1110
1141
|
this.match(CircuitScriptParser.DEDENT);
|
|
1111
1142
|
}
|
|
1112
1143
|
}
|
|
@@ -1128,7 +1159,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1128
1159
|
let localContext = new At_block_expressionsContext(this.context, this.state);
|
|
1129
1160
|
this.enterRule(localContext, 38, CircuitScriptParser.RULE_at_block_expressions);
|
|
1130
1161
|
try {
|
|
1131
|
-
this.state =
|
|
1162
|
+
this.state = 294;
|
|
1132
1163
|
this.errorHandler.sync(this);
|
|
1133
1164
|
switch (this.tokenStream.LA(1)) {
|
|
1134
1165
|
case CircuitScriptParser.T__3:
|
|
@@ -1154,7 +1185,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1154
1185
|
case CircuitScriptParser.ID:
|
|
1155
1186
|
this.enterOuterAlt(localContext, 1);
|
|
1156
1187
|
{
|
|
1157
|
-
this.state =
|
|
1188
|
+
this.state = 292;
|
|
1158
1189
|
this.expression();
|
|
1159
1190
|
}
|
|
1160
1191
|
break;
|
|
@@ -1162,7 +1193,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1162
1193
|
case CircuitScriptParser.STRING_VALUE:
|
|
1163
1194
|
this.enterOuterAlt(localContext, 2);
|
|
1164
1195
|
{
|
|
1165
|
-
this.state =
|
|
1196
|
+
this.state = 293;
|
|
1166
1197
|
this.at_block_pin_expr();
|
|
1167
1198
|
}
|
|
1168
1199
|
break;
|
|
@@ -1190,11 +1221,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1190
1221
|
try {
|
|
1191
1222
|
this.enterOuterAlt(localContext, 1);
|
|
1192
1223
|
{
|
|
1193
|
-
this.state =
|
|
1224
|
+
this.state = 296;
|
|
1194
1225
|
this.pin_select_expr2();
|
|
1195
|
-
this.state =
|
|
1226
|
+
this.state = 297;
|
|
1196
1227
|
this.match(CircuitScriptParser.T__0);
|
|
1197
|
-
this.state =
|
|
1228
|
+
this.state = 300;
|
|
1198
1229
|
this.errorHandler.sync(this);
|
|
1199
1230
|
switch (this.tokenStream.LA(1)) {
|
|
1200
1231
|
case CircuitScriptParser.T__3:
|
|
@@ -1220,13 +1251,13 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1220
1251
|
case CircuitScriptParser.NOT_CONNECTED:
|
|
1221
1252
|
case CircuitScriptParser.ID:
|
|
1222
1253
|
{
|
|
1223
|
-
this.state =
|
|
1254
|
+
this.state = 298;
|
|
1224
1255
|
this.at_block_pin_expression_simple();
|
|
1225
1256
|
}
|
|
1226
1257
|
break;
|
|
1227
1258
|
case CircuitScriptParser.NEWLINE:
|
|
1228
1259
|
{
|
|
1229
|
-
this.state =
|
|
1260
|
+
this.state = 299;
|
|
1230
1261
|
this.at_block_pin_expression_complex();
|
|
1231
1262
|
}
|
|
1232
1263
|
break;
|
|
@@ -1255,7 +1286,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1255
1286
|
try {
|
|
1256
1287
|
this.enterOuterAlt(localContext, 1);
|
|
1257
1288
|
{
|
|
1258
|
-
this.state =
|
|
1289
|
+
this.state = 304;
|
|
1259
1290
|
this.errorHandler.sync(this);
|
|
1260
1291
|
switch (this.tokenStream.LA(1)) {
|
|
1261
1292
|
case CircuitScriptParser.T__3:
|
|
@@ -1280,13 +1311,13 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1280
1311
|
case CircuitScriptParser.Divide:
|
|
1281
1312
|
case CircuitScriptParser.ID:
|
|
1282
1313
|
{
|
|
1283
|
-
this.state =
|
|
1314
|
+
this.state = 302;
|
|
1284
1315
|
this.expression();
|
|
1285
1316
|
}
|
|
1286
1317
|
break;
|
|
1287
1318
|
case CircuitScriptParser.NOT_CONNECTED:
|
|
1288
1319
|
{
|
|
1289
|
-
this.state =
|
|
1320
|
+
this.state = 303;
|
|
1290
1321
|
this.match(CircuitScriptParser.NOT_CONNECTED);
|
|
1291
1322
|
}
|
|
1292
1323
|
break;
|
|
@@ -1315,7 +1346,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1315
1346
|
try {
|
|
1316
1347
|
this.enterOuterAlt(localContext, 1);
|
|
1317
1348
|
{
|
|
1318
|
-
this.state =
|
|
1349
|
+
this.state = 306;
|
|
1319
1350
|
this.expressions_block();
|
|
1320
1351
|
}
|
|
1321
1352
|
}
|
|
@@ -1339,7 +1370,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1339
1370
|
try {
|
|
1340
1371
|
this.enterOuterAlt(localContext, 1);
|
|
1341
1372
|
{
|
|
1342
|
-
this.state =
|
|
1373
|
+
this.state = 308;
|
|
1343
1374
|
this.match(CircuitScriptParser.Break);
|
|
1344
1375
|
}
|
|
1345
1376
|
}
|
|
@@ -1363,7 +1394,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1363
1394
|
try {
|
|
1364
1395
|
this.enterOuterAlt(localContext, 1);
|
|
1365
1396
|
{
|
|
1366
|
-
this.state =
|
|
1397
|
+
this.state = 310;
|
|
1367
1398
|
this.match(CircuitScriptParser.Continue);
|
|
1368
1399
|
}
|
|
1369
1400
|
}
|
|
@@ -1387,11 +1418,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1387
1418
|
try {
|
|
1388
1419
|
this.enterOuterAlt(localContext, 1);
|
|
1389
1420
|
{
|
|
1390
|
-
this.state =
|
|
1421
|
+
this.state = 312;
|
|
1391
1422
|
this.atom_expr();
|
|
1392
|
-
this.state =
|
|
1423
|
+
this.state = 313;
|
|
1393
1424
|
this.match(CircuitScriptParser.T__2);
|
|
1394
|
-
this.state =
|
|
1425
|
+
this.state = 314;
|
|
1395
1426
|
this.data_expr(0);
|
|
1396
1427
|
}
|
|
1397
1428
|
}
|
|
@@ -1416,9 +1447,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1416
1447
|
try {
|
|
1417
1448
|
this.enterOuterAlt(localContext, 1);
|
|
1418
1449
|
{
|
|
1419
|
-
this.state =
|
|
1450
|
+
this.state = 316;
|
|
1420
1451
|
this.atom_expr();
|
|
1421
|
-
this.state =
|
|
1452
|
+
this.state = 317;
|
|
1422
1453
|
_la = this.tokenStream.LA(1);
|
|
1423
1454
|
if (!(((((_la - 47)) & ~0x1F) === 0 && ((1 << (_la - 47)) & 31) !== 0))) {
|
|
1424
1455
|
this.errorHandler.recoverInline(this);
|
|
@@ -1427,7 +1458,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1427
1458
|
this.errorHandler.reportMatch(this);
|
|
1428
1459
|
this.consume();
|
|
1429
1460
|
}
|
|
1430
|
-
this.state =
|
|
1461
|
+
this.state = 318;
|
|
1431
1462
|
this.data_expr(0);
|
|
1432
1463
|
}
|
|
1433
1464
|
}
|
|
@@ -1451,11 +1482,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1451
1482
|
try {
|
|
1452
1483
|
this.enterOuterAlt(localContext, 1);
|
|
1453
1484
|
{
|
|
1454
|
-
this.state =
|
|
1485
|
+
this.state = 320;
|
|
1455
1486
|
this.match(CircuitScriptParser.ID);
|
|
1456
|
-
this.state =
|
|
1487
|
+
this.state = 321;
|
|
1457
1488
|
this.match(CircuitScriptParser.T__2);
|
|
1458
|
-
this.state =
|
|
1489
|
+
this.state = 322;
|
|
1459
1490
|
this.data_expr(0);
|
|
1460
1491
|
}
|
|
1461
1492
|
}
|
|
@@ -1479,46 +1510,46 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1479
1510
|
let _la;
|
|
1480
1511
|
try {
|
|
1481
1512
|
let alternative;
|
|
1482
|
-
this.state =
|
|
1513
|
+
this.state = 347;
|
|
1483
1514
|
this.errorHandler.sync(this);
|
|
1484
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
1515
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 28, this.context)) {
|
|
1485
1516
|
case 1:
|
|
1486
1517
|
this.enterOuterAlt(localContext, 1);
|
|
1487
1518
|
{
|
|
1488
1519
|
{
|
|
1489
|
-
this.state =
|
|
1520
|
+
this.state = 324;
|
|
1490
1521
|
this.data_expr(0);
|
|
1491
|
-
this.state =
|
|
1522
|
+
this.state = 329;
|
|
1492
1523
|
this.errorHandler.sync(this);
|
|
1493
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
1524
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 25, this.context);
|
|
1494
1525
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
1495
1526
|
if (alternative === 1) {
|
|
1496
1527
|
{
|
|
1497
1528
|
{
|
|
1498
|
-
this.state =
|
|
1529
|
+
this.state = 325;
|
|
1499
1530
|
this.match(CircuitScriptParser.T__1);
|
|
1500
|
-
this.state =
|
|
1531
|
+
this.state = 326;
|
|
1501
1532
|
this.data_expr(0);
|
|
1502
1533
|
}
|
|
1503
1534
|
}
|
|
1504
1535
|
}
|
|
1505
|
-
this.state =
|
|
1536
|
+
this.state = 331;
|
|
1506
1537
|
this.errorHandler.sync(this);
|
|
1507
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
1538
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 25, this.context);
|
|
1508
1539
|
}
|
|
1509
|
-
this.state =
|
|
1540
|
+
this.state = 336;
|
|
1510
1541
|
this.errorHandler.sync(this);
|
|
1511
1542
|
_la = this.tokenStream.LA(1);
|
|
1512
1543
|
while (_la === 2) {
|
|
1513
1544
|
{
|
|
1514
1545
|
{
|
|
1515
|
-
this.state =
|
|
1546
|
+
this.state = 332;
|
|
1516
1547
|
this.match(CircuitScriptParser.T__1);
|
|
1517
|
-
this.state =
|
|
1548
|
+
this.state = 333;
|
|
1518
1549
|
this.keyword_assignment_expr();
|
|
1519
1550
|
}
|
|
1520
1551
|
}
|
|
1521
|
-
this.state =
|
|
1552
|
+
this.state = 338;
|
|
1522
1553
|
this.errorHandler.sync(this);
|
|
1523
1554
|
_la = this.tokenStream.LA(1);
|
|
1524
1555
|
}
|
|
@@ -1529,21 +1560,21 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1529
1560
|
this.enterOuterAlt(localContext, 2);
|
|
1530
1561
|
{
|
|
1531
1562
|
{
|
|
1532
|
-
this.state =
|
|
1563
|
+
this.state = 339;
|
|
1533
1564
|
this.keyword_assignment_expr();
|
|
1534
|
-
this.state =
|
|
1565
|
+
this.state = 344;
|
|
1535
1566
|
this.errorHandler.sync(this);
|
|
1536
1567
|
_la = this.tokenStream.LA(1);
|
|
1537
1568
|
while (_la === 2) {
|
|
1538
1569
|
{
|
|
1539
1570
|
{
|
|
1540
|
-
this.state =
|
|
1571
|
+
this.state = 340;
|
|
1541
1572
|
this.match(CircuitScriptParser.T__1);
|
|
1542
|
-
this.state =
|
|
1573
|
+
this.state = 341;
|
|
1543
1574
|
this.keyword_assignment_expr();
|
|
1544
1575
|
}
|
|
1545
1576
|
}
|
|
1546
|
-
this.state =
|
|
1577
|
+
this.state = 346;
|
|
1547
1578
|
this.errorHandler.sync(this);
|
|
1548
1579
|
_la = this.tokenStream.LA(1);
|
|
1549
1580
|
}
|
|
@@ -1572,11 +1603,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1572
1603
|
try {
|
|
1573
1604
|
this.enterOuterAlt(localContext, 1);
|
|
1574
1605
|
{
|
|
1575
|
-
this.state =
|
|
1606
|
+
this.state = 349;
|
|
1576
1607
|
this.atom_expr();
|
|
1577
|
-
this.state =
|
|
1608
|
+
this.state = 350;
|
|
1578
1609
|
this.match(CircuitScriptParser.T__2);
|
|
1579
|
-
this.state =
|
|
1610
|
+
this.state = 351;
|
|
1580
1611
|
this.data_expr(0);
|
|
1581
1612
|
}
|
|
1582
1613
|
}
|
|
@@ -1600,13 +1631,13 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1600
1631
|
try {
|
|
1601
1632
|
this.enterOuterAlt(localContext, 1);
|
|
1602
1633
|
{
|
|
1603
|
-
this.state =
|
|
1634
|
+
this.state = 353;
|
|
1604
1635
|
this.match(CircuitScriptParser.T__3);
|
|
1605
|
-
this.state =
|
|
1636
|
+
this.state = 354;
|
|
1606
1637
|
this.match(CircuitScriptParser.ID);
|
|
1607
|
-
this.state =
|
|
1638
|
+
this.state = 355;
|
|
1608
1639
|
this.match(CircuitScriptParser.T__2);
|
|
1609
|
-
this.state =
|
|
1640
|
+
this.state = 356;
|
|
1610
1641
|
this.data_expr(0);
|
|
1611
1642
|
}
|
|
1612
1643
|
}
|
|
@@ -1639,19 +1670,19 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1639
1670
|
let alternative;
|
|
1640
1671
|
this.enterOuterAlt(localContext, 1);
|
|
1641
1672
|
{
|
|
1642
|
-
this.state =
|
|
1673
|
+
this.state = 375;
|
|
1643
1674
|
this.errorHandler.sync(this);
|
|
1644
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
1675
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 30, this.context)) {
|
|
1645
1676
|
case 1:
|
|
1646
1677
|
{
|
|
1647
1678
|
localContext = new RoundedBracketsExprContext(localContext);
|
|
1648
1679
|
this.context = localContext;
|
|
1649
1680
|
previousContext = localContext;
|
|
1650
|
-
this.state =
|
|
1681
|
+
this.state = 359;
|
|
1651
1682
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
1652
|
-
this.state =
|
|
1683
|
+
this.state = 360;
|
|
1653
1684
|
this.data_expr(0);
|
|
1654
|
-
this.state =
|
|
1685
|
+
this.state = 361;
|
|
1655
1686
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
1656
1687
|
}
|
|
1657
1688
|
break;
|
|
@@ -1660,7 +1691,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1660
1691
|
localContext = new ValueAtomExprContext(localContext);
|
|
1661
1692
|
this.context = localContext;
|
|
1662
1693
|
previousContext = localContext;
|
|
1663
|
-
this.state =
|
|
1694
|
+
this.state = 365;
|
|
1664
1695
|
this.errorHandler.sync(this);
|
|
1665
1696
|
switch (this.tokenStream.LA(1)) {
|
|
1666
1697
|
case CircuitScriptParser.Minus:
|
|
@@ -1671,13 +1702,13 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1671
1702
|
case CircuitScriptParser.STRING_VALUE:
|
|
1672
1703
|
case CircuitScriptParser.PERCENTAGE_VALUE:
|
|
1673
1704
|
{
|
|
1674
|
-
this.state =
|
|
1705
|
+
this.state = 363;
|
|
1675
1706
|
this.value_expr();
|
|
1676
1707
|
}
|
|
1677
1708
|
break;
|
|
1678
1709
|
case CircuitScriptParser.ID:
|
|
1679
1710
|
{
|
|
1680
|
-
this.state =
|
|
1711
|
+
this.state = 364;
|
|
1681
1712
|
this.atom_expr();
|
|
1682
1713
|
}
|
|
1683
1714
|
break;
|
|
@@ -1691,9 +1722,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1691
1722
|
localContext = new UnaryOperatorExprContext(localContext);
|
|
1692
1723
|
this.context = localContext;
|
|
1693
1724
|
previousContext = localContext;
|
|
1694
|
-
this.state =
|
|
1725
|
+
this.state = 367;
|
|
1695
1726
|
this.unary_operator();
|
|
1696
|
-
this.state =
|
|
1727
|
+
this.state = 368;
|
|
1697
1728
|
this.data_expr(10);
|
|
1698
1729
|
}
|
|
1699
1730
|
break;
|
|
@@ -1702,7 +1733,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1702
1733
|
localContext = new DataExprContext(localContext);
|
|
1703
1734
|
this.context = localContext;
|
|
1704
1735
|
previousContext = localContext;
|
|
1705
|
-
this.state =
|
|
1736
|
+
this.state = 370;
|
|
1706
1737
|
this.create_component_expr();
|
|
1707
1738
|
}
|
|
1708
1739
|
break;
|
|
@@ -1711,7 +1742,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1711
1742
|
localContext = new DataExprContext(localContext);
|
|
1712
1743
|
this.context = localContext;
|
|
1713
1744
|
previousContext = localContext;
|
|
1714
|
-
this.state =
|
|
1745
|
+
this.state = 371;
|
|
1715
1746
|
this.create_graphic_expr();
|
|
1716
1747
|
}
|
|
1717
1748
|
break;
|
|
@@ -1720,7 +1751,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1720
1751
|
localContext = new DataExprContext(localContext);
|
|
1721
1752
|
this.context = localContext;
|
|
1722
1753
|
previousContext = localContext;
|
|
1723
|
-
this.state =
|
|
1754
|
+
this.state = 372;
|
|
1724
1755
|
this.create_module_expr();
|
|
1725
1756
|
}
|
|
1726
1757
|
break;
|
|
@@ -1729,7 +1760,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1729
1760
|
localContext = new FunctionCallExprContext(localContext);
|
|
1730
1761
|
this.context = localContext;
|
|
1731
1762
|
previousContext = localContext;
|
|
1732
|
-
this.state =
|
|
1763
|
+
this.state = 373;
|
|
1733
1764
|
this.function_call_expr();
|
|
1734
1765
|
}
|
|
1735
1766
|
break;
|
|
@@ -1738,15 +1769,15 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1738
1769
|
localContext = new ArrayExprContext(localContext);
|
|
1739
1770
|
this.context = localContext;
|
|
1740
1771
|
previousContext = localContext;
|
|
1741
|
-
this.state =
|
|
1772
|
+
this.state = 374;
|
|
1742
1773
|
this.array_expr();
|
|
1743
1774
|
}
|
|
1744
1775
|
break;
|
|
1745
1776
|
}
|
|
1746
1777
|
this.context.stop = this.tokenStream.LT(-1);
|
|
1747
|
-
this.state =
|
|
1778
|
+
this.state = 392;
|
|
1748
1779
|
this.errorHandler.sync(this);
|
|
1749
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
1780
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 32, this.context);
|
|
1750
1781
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
1751
1782
|
if (alternative === 1) {
|
|
1752
1783
|
if (this.parseListeners != null) {
|
|
@@ -1754,18 +1785,18 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1754
1785
|
}
|
|
1755
1786
|
previousContext = localContext;
|
|
1756
1787
|
{
|
|
1757
|
-
this.state =
|
|
1788
|
+
this.state = 390;
|
|
1758
1789
|
this.errorHandler.sync(this);
|
|
1759
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
1790
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 31, this.context)) {
|
|
1760
1791
|
case 1:
|
|
1761
1792
|
{
|
|
1762
1793
|
localContext = new MultiplyExprContext(new Data_exprContext(parentContext, parentState));
|
|
1763
1794
|
this.pushNewRecursionContext(localContext, _startState, CircuitScriptParser.RULE_data_expr);
|
|
1764
|
-
this.state =
|
|
1795
|
+
this.state = 377;
|
|
1765
1796
|
if (!(this.precpred(this.context, 9))) {
|
|
1766
1797
|
throw this.createFailedPredicateException("this.precpred(this.context, 9)");
|
|
1767
1798
|
}
|
|
1768
|
-
this.state =
|
|
1799
|
+
this.state = 378;
|
|
1769
1800
|
_la = this.tokenStream.LA(1);
|
|
1770
1801
|
if (!(((((_la - 44)) & ~0x1F) === 0 && ((1 << (_la - 44)) & 7) !== 0))) {
|
|
1771
1802
|
this.errorHandler.recoverInline(this);
|
|
@@ -1774,7 +1805,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1774
1805
|
this.errorHandler.reportMatch(this);
|
|
1775
1806
|
this.consume();
|
|
1776
1807
|
}
|
|
1777
|
-
this.state =
|
|
1808
|
+
this.state = 379;
|
|
1778
1809
|
this.data_expr(10);
|
|
1779
1810
|
}
|
|
1780
1811
|
break;
|
|
@@ -1782,11 +1813,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1782
1813
|
{
|
|
1783
1814
|
localContext = new AdditionExprContext(new Data_exprContext(parentContext, parentState));
|
|
1784
1815
|
this.pushNewRecursionContext(localContext, _startState, CircuitScriptParser.RULE_data_expr);
|
|
1785
|
-
this.state =
|
|
1816
|
+
this.state = 380;
|
|
1786
1817
|
if (!(this.precpred(this.context, 8))) {
|
|
1787
1818
|
throw this.createFailedPredicateException("this.precpred(this.context, 8)");
|
|
1788
1819
|
}
|
|
1789
|
-
this.state =
|
|
1820
|
+
this.state = 381;
|
|
1790
1821
|
_la = this.tokenStream.LA(1);
|
|
1791
1822
|
if (!(_la === 42 || _la === 43)) {
|
|
1792
1823
|
this.errorHandler.recoverInline(this);
|
|
@@ -1795,7 +1826,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1795
1826
|
this.errorHandler.reportMatch(this);
|
|
1796
1827
|
this.consume();
|
|
1797
1828
|
}
|
|
1798
|
-
this.state =
|
|
1829
|
+
this.state = 382;
|
|
1799
1830
|
this.data_expr(9);
|
|
1800
1831
|
}
|
|
1801
1832
|
break;
|
|
@@ -1803,13 +1834,13 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1803
1834
|
{
|
|
1804
1835
|
localContext = new BinaryOperatorExprContext(new Data_exprContext(parentContext, parentState));
|
|
1805
1836
|
this.pushNewRecursionContext(localContext, _startState, CircuitScriptParser.RULE_data_expr);
|
|
1806
|
-
this.state =
|
|
1837
|
+
this.state = 383;
|
|
1807
1838
|
if (!(this.precpred(this.context, 7))) {
|
|
1808
1839
|
throw this.createFailedPredicateException("this.precpred(this.context, 7)");
|
|
1809
1840
|
}
|
|
1810
|
-
this.state =
|
|
1841
|
+
this.state = 384;
|
|
1811
1842
|
this.binary_operator();
|
|
1812
|
-
this.state =
|
|
1843
|
+
this.state = 385;
|
|
1813
1844
|
this.data_expr(8);
|
|
1814
1845
|
}
|
|
1815
1846
|
break;
|
|
@@ -1817,11 +1848,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1817
1848
|
{
|
|
1818
1849
|
localContext = new LogicalOperatorExprContext(new Data_exprContext(parentContext, parentState));
|
|
1819
1850
|
this.pushNewRecursionContext(localContext, _startState, CircuitScriptParser.RULE_data_expr);
|
|
1820
|
-
this.state =
|
|
1851
|
+
this.state = 387;
|
|
1821
1852
|
if (!(this.precpred(this.context, 6))) {
|
|
1822
1853
|
throw this.createFailedPredicateException("this.precpred(this.context, 6)");
|
|
1823
1854
|
}
|
|
1824
|
-
this.state =
|
|
1855
|
+
this.state = 388;
|
|
1825
1856
|
_la = this.tokenStream.LA(1);
|
|
1826
1857
|
if (!(_la === 40 || _la === 41)) {
|
|
1827
1858
|
this.errorHandler.recoverInline(this);
|
|
@@ -1830,16 +1861,16 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1830
1861
|
this.errorHandler.reportMatch(this);
|
|
1831
1862
|
this.consume();
|
|
1832
1863
|
}
|
|
1833
|
-
this.state =
|
|
1864
|
+
this.state = 389;
|
|
1834
1865
|
this.data_expr(7);
|
|
1835
1866
|
}
|
|
1836
1867
|
break;
|
|
1837
1868
|
}
|
|
1838
1869
|
}
|
|
1839
1870
|
}
|
|
1840
|
-
this.state =
|
|
1871
|
+
this.state = 394;
|
|
1841
1872
|
this.errorHandler.sync(this);
|
|
1842
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
1873
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 32, this.context);
|
|
1843
1874
|
}
|
|
1844
1875
|
}
|
|
1845
1876
|
}
|
|
@@ -1864,7 +1895,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1864
1895
|
try {
|
|
1865
1896
|
this.enterOuterAlt(localContext, 1);
|
|
1866
1897
|
{
|
|
1867
|
-
this.state =
|
|
1898
|
+
this.state = 395;
|
|
1868
1899
|
_la = this.tokenStream.LA(1);
|
|
1869
1900
|
if (!(((((_la - 34)) & ~0x1F) === 0 && ((1 << (_la - 34)) & 63) !== 0))) {
|
|
1870
1901
|
this.errorHandler.recoverInline(this);
|
|
@@ -1896,7 +1927,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1896
1927
|
try {
|
|
1897
1928
|
this.enterOuterAlt(localContext, 1);
|
|
1898
1929
|
{
|
|
1899
|
-
this.state =
|
|
1930
|
+
this.state = 397;
|
|
1900
1931
|
_la = this.tokenStream.LA(1);
|
|
1901
1932
|
if (!(_la === 31 || _la === 43)) {
|
|
1902
1933
|
this.errorHandler.recoverInline(this);
|
|
@@ -1929,16 +1960,16 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1929
1960
|
this.enterOuterAlt(localContext, 1);
|
|
1930
1961
|
{
|
|
1931
1962
|
{
|
|
1932
|
-
this.state =
|
|
1963
|
+
this.state = 400;
|
|
1933
1964
|
this.errorHandler.sync(this);
|
|
1934
1965
|
_la = this.tokenStream.LA(1);
|
|
1935
1966
|
if (_la === 43) {
|
|
1936
1967
|
{
|
|
1937
|
-
this.state =
|
|
1968
|
+
this.state = 399;
|
|
1938
1969
|
this.match(CircuitScriptParser.Minus);
|
|
1939
1970
|
}
|
|
1940
1971
|
}
|
|
1941
|
-
this.state =
|
|
1972
|
+
this.state = 402;
|
|
1942
1973
|
_la = this.tokenStream.LA(1);
|
|
1943
1974
|
if (!(((((_la - 55)) & ~0x1F) === 0 && ((1 << (_la - 55)) & 125) !== 0))) {
|
|
1944
1975
|
this.errorHandler.recoverInline(this);
|
|
@@ -1971,40 +2002,40 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
1971
2002
|
try {
|
|
1972
2003
|
this.enterOuterAlt(localContext, 1);
|
|
1973
2004
|
{
|
|
1974
|
-
this.state =
|
|
2005
|
+
this.state = 404;
|
|
1975
2006
|
this.match(CircuitScriptParser.Define);
|
|
1976
|
-
this.state =
|
|
2007
|
+
this.state = 405;
|
|
1977
2008
|
this.match(CircuitScriptParser.ID);
|
|
1978
|
-
this.state =
|
|
2009
|
+
this.state = 406;
|
|
1979
2010
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
1980
|
-
this.state =
|
|
2011
|
+
this.state = 408;
|
|
1981
2012
|
this.errorHandler.sync(this);
|
|
1982
2013
|
_la = this.tokenStream.LA(1);
|
|
1983
2014
|
if (_la === 56) {
|
|
1984
2015
|
{
|
|
1985
|
-
this.state =
|
|
2016
|
+
this.state = 407;
|
|
1986
2017
|
this.function_args_expr();
|
|
1987
2018
|
}
|
|
1988
2019
|
}
|
|
1989
|
-
this.state =
|
|
2020
|
+
this.state = 410;
|
|
1990
2021
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
1991
|
-
this.state =
|
|
2022
|
+
this.state = 411;
|
|
1992
2023
|
this.match(CircuitScriptParser.T__0);
|
|
1993
|
-
this.state =
|
|
2024
|
+
this.state = 412;
|
|
1994
2025
|
this.match(CircuitScriptParser.NEWLINE);
|
|
1995
|
-
this.state =
|
|
2026
|
+
this.state = 413;
|
|
1996
2027
|
this.match(CircuitScriptParser.INDENT);
|
|
1997
|
-
this.state =
|
|
2028
|
+
this.state = 416;
|
|
1998
2029
|
this.errorHandler.sync(this);
|
|
1999
2030
|
_la = this.tokenStream.LA(1);
|
|
2000
2031
|
do {
|
|
2001
2032
|
{
|
|
2002
|
-
this.state =
|
|
2033
|
+
this.state = 416;
|
|
2003
2034
|
this.errorHandler.sync(this);
|
|
2004
2035
|
switch (this.tokenStream.LA(1)) {
|
|
2005
2036
|
case CircuitScriptParser.NEWLINE:
|
|
2006
2037
|
{
|
|
2007
|
-
this.state =
|
|
2038
|
+
this.state = 414;
|
|
2008
2039
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2009
2040
|
}
|
|
2010
2041
|
break;
|
|
@@ -2031,7 +2062,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2031
2062
|
case CircuitScriptParser.Divide:
|
|
2032
2063
|
case CircuitScriptParser.ID:
|
|
2033
2064
|
{
|
|
2034
|
-
this.state =
|
|
2065
|
+
this.state = 415;
|
|
2035
2066
|
this.function_expr();
|
|
2036
2067
|
}
|
|
2037
2068
|
break;
|
|
@@ -2039,11 +2070,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2039
2070
|
throw new antlr.NoViableAltException(this);
|
|
2040
2071
|
}
|
|
2041
2072
|
}
|
|
2042
|
-
this.state =
|
|
2073
|
+
this.state = 418;
|
|
2043
2074
|
this.errorHandler.sync(this);
|
|
2044
2075
|
_la = this.tokenStream.LA(1);
|
|
2045
2076
|
} while (((((_la - 4)) & ~0x1F) === 0 && ((1 << (_la - 4)) & 868217905) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 4210693) !== 0));
|
|
2046
|
-
this.state =
|
|
2077
|
+
this.state = 420;
|
|
2047
2078
|
this.match(CircuitScriptParser.DEDENT);
|
|
2048
2079
|
}
|
|
2049
2080
|
}
|
|
@@ -2065,7 +2096,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2065
2096
|
let localContext = new Function_exprContext(this.context, this.state);
|
|
2066
2097
|
this.enterRule(localContext, 72, CircuitScriptParser.RULE_function_expr);
|
|
2067
2098
|
try {
|
|
2068
|
-
this.state =
|
|
2099
|
+
this.state = 424;
|
|
2069
2100
|
this.errorHandler.sync(this);
|
|
2070
2101
|
switch (this.tokenStream.LA(1)) {
|
|
2071
2102
|
case CircuitScriptParser.T__3:
|
|
@@ -2091,14 +2122,14 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2091
2122
|
case CircuitScriptParser.ID:
|
|
2092
2123
|
this.enterOuterAlt(localContext, 1);
|
|
2093
2124
|
{
|
|
2094
|
-
this.state =
|
|
2125
|
+
this.state = 422;
|
|
2095
2126
|
this.expression();
|
|
2096
2127
|
}
|
|
2097
2128
|
break;
|
|
2098
2129
|
case CircuitScriptParser.Return:
|
|
2099
2130
|
this.enterOuterAlt(localContext, 2);
|
|
2100
2131
|
{
|
|
2101
|
-
this.state =
|
|
2132
|
+
this.state = 423;
|
|
2102
2133
|
this.function_return_expr();
|
|
2103
2134
|
}
|
|
2104
2135
|
break;
|
|
@@ -2126,49 +2157,49 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2126
2157
|
let _la;
|
|
2127
2158
|
try {
|
|
2128
2159
|
let alternative;
|
|
2129
|
-
this.state =
|
|
2160
|
+
this.state = 455;
|
|
2130
2161
|
this.errorHandler.sync(this);
|
|
2131
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
2162
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 41, this.context)) {
|
|
2132
2163
|
case 1:
|
|
2133
2164
|
this.enterOuterAlt(localContext, 1);
|
|
2134
2165
|
{
|
|
2135
|
-
this.state =
|
|
2166
|
+
this.state = 426;
|
|
2136
2167
|
this.match(CircuitScriptParser.ID);
|
|
2137
|
-
this.state =
|
|
2168
|
+
this.state = 431;
|
|
2138
2169
|
this.errorHandler.sync(this);
|
|
2139
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2170
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 38, this.context);
|
|
2140
2171
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
2141
2172
|
if (alternative === 1) {
|
|
2142
2173
|
{
|
|
2143
2174
|
{
|
|
2144
|
-
this.state =
|
|
2175
|
+
this.state = 427;
|
|
2145
2176
|
this.match(CircuitScriptParser.T__1);
|
|
2146
|
-
this.state =
|
|
2177
|
+
this.state = 428;
|
|
2147
2178
|
this.match(CircuitScriptParser.ID);
|
|
2148
2179
|
}
|
|
2149
2180
|
}
|
|
2150
2181
|
}
|
|
2151
|
-
this.state =
|
|
2182
|
+
this.state = 433;
|
|
2152
2183
|
this.errorHandler.sync(this);
|
|
2153
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2184
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 38, this.context);
|
|
2154
2185
|
}
|
|
2155
|
-
this.state =
|
|
2186
|
+
this.state = 440;
|
|
2156
2187
|
this.errorHandler.sync(this);
|
|
2157
2188
|
_la = this.tokenStream.LA(1);
|
|
2158
2189
|
while (_la === 2) {
|
|
2159
2190
|
{
|
|
2160
2191
|
{
|
|
2161
|
-
this.state =
|
|
2192
|
+
this.state = 434;
|
|
2162
2193
|
this.match(CircuitScriptParser.T__1);
|
|
2163
|
-
this.state =
|
|
2194
|
+
this.state = 435;
|
|
2164
2195
|
this.match(CircuitScriptParser.ID);
|
|
2165
|
-
this.state =
|
|
2196
|
+
this.state = 436;
|
|
2166
2197
|
this.match(CircuitScriptParser.T__2);
|
|
2167
|
-
this.state =
|
|
2198
|
+
this.state = 437;
|
|
2168
2199
|
this.value_expr();
|
|
2169
2200
|
}
|
|
2170
2201
|
}
|
|
2171
|
-
this.state =
|
|
2202
|
+
this.state = 442;
|
|
2172
2203
|
this.errorHandler.sync(this);
|
|
2173
2204
|
_la = this.tokenStream.LA(1);
|
|
2174
2205
|
}
|
|
@@ -2177,29 +2208,29 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2177
2208
|
case 2:
|
|
2178
2209
|
this.enterOuterAlt(localContext, 2);
|
|
2179
2210
|
{
|
|
2180
|
-
this.state =
|
|
2211
|
+
this.state = 443;
|
|
2181
2212
|
this.match(CircuitScriptParser.ID);
|
|
2182
|
-
this.state =
|
|
2213
|
+
this.state = 444;
|
|
2183
2214
|
this.match(CircuitScriptParser.T__2);
|
|
2184
|
-
this.state = 438;
|
|
2185
|
-
this.value_expr();
|
|
2186
2215
|
this.state = 445;
|
|
2216
|
+
this.value_expr();
|
|
2217
|
+
this.state = 452;
|
|
2187
2218
|
this.errorHandler.sync(this);
|
|
2188
2219
|
_la = this.tokenStream.LA(1);
|
|
2189
2220
|
while (_la === 2) {
|
|
2190
2221
|
{
|
|
2191
2222
|
{
|
|
2192
|
-
this.state =
|
|
2223
|
+
this.state = 446;
|
|
2193
2224
|
this.match(CircuitScriptParser.T__1);
|
|
2194
|
-
this.state =
|
|
2225
|
+
this.state = 447;
|
|
2195
2226
|
this.match(CircuitScriptParser.ID);
|
|
2196
|
-
this.state =
|
|
2227
|
+
this.state = 448;
|
|
2197
2228
|
this.match(CircuitScriptParser.T__2);
|
|
2198
|
-
this.state =
|
|
2229
|
+
this.state = 449;
|
|
2199
2230
|
this.value_expr();
|
|
2200
2231
|
}
|
|
2201
2232
|
}
|
|
2202
|
-
this.state =
|
|
2233
|
+
this.state = 454;
|
|
2203
2234
|
this.errorHandler.sync(this);
|
|
2204
2235
|
_la = this.tokenStream.LA(1);
|
|
2205
2236
|
}
|
|
@@ -2228,25 +2259,25 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2228
2259
|
let alternative;
|
|
2229
2260
|
this.enterOuterAlt(localContext, 1);
|
|
2230
2261
|
{
|
|
2231
|
-
this.state =
|
|
2262
|
+
this.state = 457;
|
|
2232
2263
|
this.match(CircuitScriptParser.ID);
|
|
2233
|
-
this.state =
|
|
2264
|
+
this.state = 462;
|
|
2234
2265
|
this.errorHandler.sync(this);
|
|
2235
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2266
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 42, this.context);
|
|
2236
2267
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
2237
2268
|
if (alternative === 1) {
|
|
2238
2269
|
{
|
|
2239
2270
|
{
|
|
2240
|
-
this.state =
|
|
2271
|
+
this.state = 458;
|
|
2241
2272
|
this.match(CircuitScriptParser.T__4);
|
|
2242
|
-
this.state =
|
|
2273
|
+
this.state = 459;
|
|
2243
2274
|
this.match(CircuitScriptParser.ID);
|
|
2244
2275
|
}
|
|
2245
2276
|
}
|
|
2246
2277
|
}
|
|
2247
|
-
this.state =
|
|
2278
|
+
this.state = 464;
|
|
2248
2279
|
this.errorHandler.sync(this);
|
|
2249
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2280
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 42, this.context);
|
|
2250
2281
|
}
|
|
2251
2282
|
}
|
|
2252
2283
|
}
|
|
@@ -2269,33 +2300,33 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2269
2300
|
this.enterRule(localContext, 78, CircuitScriptParser.RULE_trailer_expr);
|
|
2270
2301
|
let _la;
|
|
2271
2302
|
try {
|
|
2272
|
-
this.state =
|
|
2303
|
+
this.state = 472;
|
|
2273
2304
|
this.errorHandler.sync(this);
|
|
2274
2305
|
switch (this.tokenStream.LA(1)) {
|
|
2275
2306
|
case CircuitScriptParser.OPEN_PAREN:
|
|
2276
2307
|
this.enterOuterAlt(localContext, 1);
|
|
2277
2308
|
{
|
|
2278
|
-
this.state =
|
|
2309
|
+
this.state = 465;
|
|
2279
2310
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
2280
|
-
this.state =
|
|
2311
|
+
this.state = 467;
|
|
2281
2312
|
this.errorHandler.sync(this);
|
|
2282
2313
|
_la = this.tokenStream.LA(1);
|
|
2283
2314
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 2147484736) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 1041415) !== 0)) {
|
|
2284
2315
|
{
|
|
2285
|
-
this.state =
|
|
2316
|
+
this.state = 466;
|
|
2286
2317
|
this.parameters();
|
|
2287
2318
|
}
|
|
2288
2319
|
}
|
|
2289
|
-
this.state =
|
|
2320
|
+
this.state = 469;
|
|
2290
2321
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
2291
2322
|
}
|
|
2292
2323
|
break;
|
|
2293
2324
|
case CircuitScriptParser.T__4:
|
|
2294
2325
|
this.enterOuterAlt(localContext, 2);
|
|
2295
2326
|
{
|
|
2296
|
-
this.state =
|
|
2327
|
+
this.state = 470;
|
|
2297
2328
|
this.match(CircuitScriptParser.T__4);
|
|
2298
|
-
this.state =
|
|
2329
|
+
this.state = 471;
|
|
2299
2330
|
this.match(CircuitScriptParser.ID);
|
|
2300
2331
|
}
|
|
2301
2332
|
break;
|
|
@@ -2325,18 +2356,18 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2325
2356
|
let alternative;
|
|
2326
2357
|
this.enterOuterAlt(localContext, 1);
|
|
2327
2358
|
{
|
|
2328
|
-
this.state =
|
|
2359
|
+
this.state = 475;
|
|
2329
2360
|
this.errorHandler.sync(this);
|
|
2330
2361
|
_la = this.tokenStream.LA(1);
|
|
2331
2362
|
if (_la === 42 || _la === 44) {
|
|
2332
2363
|
{
|
|
2333
|
-
this.state =
|
|
2364
|
+
this.state = 474;
|
|
2334
2365
|
this.net_namespace_expr();
|
|
2335
2366
|
}
|
|
2336
2367
|
}
|
|
2337
|
-
this.state =
|
|
2368
|
+
this.state = 477;
|
|
2338
2369
|
this.match(CircuitScriptParser.ID);
|
|
2339
|
-
this.state =
|
|
2370
|
+
this.state = 479;
|
|
2340
2371
|
this.errorHandler.sync(this);
|
|
2341
2372
|
alternative = 1;
|
|
2342
2373
|
do {
|
|
@@ -2344,7 +2375,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2344
2375
|
case 1:
|
|
2345
2376
|
{
|
|
2346
2377
|
{
|
|
2347
|
-
this.state =
|
|
2378
|
+
this.state = 478;
|
|
2348
2379
|
this.trailer_expr();
|
|
2349
2380
|
}
|
|
2350
2381
|
}
|
|
@@ -2352,9 +2383,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2352
2383
|
default:
|
|
2353
2384
|
throw new antlr.NoViableAltException(this);
|
|
2354
2385
|
}
|
|
2355
|
-
this.state =
|
|
2386
|
+
this.state = 481;
|
|
2356
2387
|
this.errorHandler.sync(this);
|
|
2357
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2388
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 46, this.context);
|
|
2358
2389
|
} while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER);
|
|
2359
2390
|
}
|
|
2360
2391
|
}
|
|
@@ -2379,23 +2410,23 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2379
2410
|
try {
|
|
2380
2411
|
this.enterOuterAlt(localContext, 1);
|
|
2381
2412
|
{
|
|
2382
|
-
this.state =
|
|
2413
|
+
this.state = 484;
|
|
2383
2414
|
this.errorHandler.sync(this);
|
|
2384
2415
|
_la = this.tokenStream.LA(1);
|
|
2385
2416
|
if (_la === 42) {
|
|
2386
2417
|
{
|
|
2387
|
-
this.state =
|
|
2418
|
+
this.state = 483;
|
|
2388
2419
|
this.match(CircuitScriptParser.Addition);
|
|
2389
2420
|
}
|
|
2390
2421
|
}
|
|
2391
|
-
this.state =
|
|
2422
|
+
this.state = 486;
|
|
2392
2423
|
this.match(CircuitScriptParser.Divide);
|
|
2393
|
-
this.state =
|
|
2424
|
+
this.state = 488;
|
|
2394
2425
|
this.errorHandler.sync(this);
|
|
2395
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
2426
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 48, this.context)) {
|
|
2396
2427
|
case 1:
|
|
2397
2428
|
{
|
|
2398
|
-
this.state =
|
|
2429
|
+
this.state = 487;
|
|
2399
2430
|
this.data_expr(0);
|
|
2400
2431
|
}
|
|
2401
2432
|
break;
|
|
@@ -2422,9 +2453,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2422
2453
|
try {
|
|
2423
2454
|
this.enterOuterAlt(localContext, 1);
|
|
2424
2455
|
{
|
|
2425
|
-
this.state =
|
|
2456
|
+
this.state = 490;
|
|
2426
2457
|
this.match(CircuitScriptParser.Return);
|
|
2427
|
-
this.state =
|
|
2458
|
+
this.state = 491;
|
|
2428
2459
|
this.data_expr(0);
|
|
2429
2460
|
}
|
|
2430
2461
|
}
|
|
@@ -2448,11 +2479,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2448
2479
|
try {
|
|
2449
2480
|
this.enterOuterAlt(localContext, 1);
|
|
2450
2481
|
{
|
|
2451
|
-
this.state =
|
|
2482
|
+
this.state = 493;
|
|
2452
2483
|
this.property_key_expr();
|
|
2453
|
-
this.state =
|
|
2484
|
+
this.state = 494;
|
|
2454
2485
|
this.match(CircuitScriptParser.T__0);
|
|
2455
|
-
this.state =
|
|
2486
|
+
this.state = 495;
|
|
2456
2487
|
this.expressions_block();
|
|
2457
2488
|
}
|
|
2458
2489
|
}
|
|
@@ -2477,27 +2508,27 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2477
2508
|
try {
|
|
2478
2509
|
this.enterOuterAlt(localContext, 1);
|
|
2479
2510
|
{
|
|
2480
|
-
this.state =
|
|
2511
|
+
this.state = 497;
|
|
2481
2512
|
this.match(CircuitScriptParser.Create);
|
|
2482
|
-
this.state =
|
|
2513
|
+
this.state = 498;
|
|
2483
2514
|
this.match(CircuitScriptParser.Component);
|
|
2484
|
-
this.state =
|
|
2515
|
+
this.state = 499;
|
|
2485
2516
|
this.match(CircuitScriptParser.T__0);
|
|
2486
|
-
this.state =
|
|
2517
|
+
this.state = 500;
|
|
2487
2518
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2488
|
-
this.state =
|
|
2519
|
+
this.state = 501;
|
|
2489
2520
|
this.match(CircuitScriptParser.INDENT);
|
|
2490
|
-
this.state =
|
|
2521
|
+
this.state = 504;
|
|
2491
2522
|
this.errorHandler.sync(this);
|
|
2492
2523
|
_la = this.tokenStream.LA(1);
|
|
2493
2524
|
do {
|
|
2494
2525
|
{
|
|
2495
|
-
this.state =
|
|
2526
|
+
this.state = 504;
|
|
2496
2527
|
this.errorHandler.sync(this);
|
|
2497
2528
|
switch (this.tokenStream.LA(1)) {
|
|
2498
2529
|
case CircuitScriptParser.NEWLINE:
|
|
2499
2530
|
{
|
|
2500
|
-
this.state =
|
|
2531
|
+
this.state = 502;
|
|
2501
2532
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2502
2533
|
}
|
|
2503
2534
|
break;
|
|
@@ -2505,7 +2536,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2505
2536
|
case CircuitScriptParser.INTEGER_VALUE:
|
|
2506
2537
|
case CircuitScriptParser.STRING_VALUE:
|
|
2507
2538
|
{
|
|
2508
|
-
this.state =
|
|
2539
|
+
this.state = 503;
|
|
2509
2540
|
this.property_expr();
|
|
2510
2541
|
}
|
|
2511
2542
|
break;
|
|
@@ -2513,11 +2544,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2513
2544
|
throw new antlr.NoViableAltException(this);
|
|
2514
2545
|
}
|
|
2515
2546
|
}
|
|
2516
|
-
this.state =
|
|
2547
|
+
this.state = 506;
|
|
2517
2548
|
this.errorHandler.sync(this);
|
|
2518
2549
|
_la = this.tokenStream.LA(1);
|
|
2519
2550
|
} while (((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 275) !== 0));
|
|
2520
|
-
this.state =
|
|
2551
|
+
this.state = 508;
|
|
2521
2552
|
this.match(CircuitScriptParser.DEDENT);
|
|
2522
2553
|
}
|
|
2523
2554
|
}
|
|
@@ -2542,21 +2573,21 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2542
2573
|
try {
|
|
2543
2574
|
this.enterOuterAlt(localContext, 1);
|
|
2544
2575
|
{
|
|
2545
|
-
this.state =
|
|
2576
|
+
this.state = 510;
|
|
2546
2577
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2547
|
-
this.state =
|
|
2578
|
+
this.state = 511;
|
|
2548
2579
|
this.match(CircuitScriptParser.INDENT);
|
|
2549
|
-
this.state =
|
|
2580
|
+
this.state = 514;
|
|
2550
2581
|
this.errorHandler.sync(this);
|
|
2551
2582
|
_la = this.tokenStream.LA(1);
|
|
2552
2583
|
do {
|
|
2553
2584
|
{
|
|
2554
|
-
this.state =
|
|
2585
|
+
this.state = 514;
|
|
2555
2586
|
this.errorHandler.sync(this);
|
|
2556
2587
|
switch (this.tokenStream.LA(1)) {
|
|
2557
2588
|
case CircuitScriptParser.NEWLINE:
|
|
2558
2589
|
{
|
|
2559
|
-
this.state =
|
|
2590
|
+
this.state = 512;
|
|
2560
2591
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2561
2592
|
}
|
|
2562
2593
|
break;
|
|
@@ -2564,7 +2595,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2564
2595
|
case CircuitScriptParser.For:
|
|
2565
2596
|
case CircuitScriptParser.ID:
|
|
2566
2597
|
{
|
|
2567
|
-
this.state =
|
|
2598
|
+
this.state = 513;
|
|
2568
2599
|
this.graphic_expr();
|
|
2569
2600
|
}
|
|
2570
2601
|
break;
|
|
@@ -2572,11 +2603,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2572
2603
|
throw new antlr.NoViableAltException(this);
|
|
2573
2604
|
}
|
|
2574
2605
|
}
|
|
2575
|
-
this.state =
|
|
2606
|
+
this.state = 516;
|
|
2576
2607
|
this.errorHandler.sync(this);
|
|
2577
2608
|
_la = this.tokenStream.LA(1);
|
|
2578
2609
|
} while (_la === 15 || _la === 25 || _la === 56 || _la === 64);
|
|
2579
|
-
this.state =
|
|
2610
|
+
this.state = 518;
|
|
2580
2611
|
this.match(CircuitScriptParser.DEDENT);
|
|
2581
2612
|
}
|
|
2582
2613
|
}
|
|
@@ -2601,26 +2632,26 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2601
2632
|
try {
|
|
2602
2633
|
this.enterOuterAlt(localContext, 1);
|
|
2603
2634
|
{
|
|
2604
|
-
this.state =
|
|
2635
|
+
this.state = 520;
|
|
2605
2636
|
this.match(CircuitScriptParser.Create);
|
|
2606
|
-
this.state =
|
|
2637
|
+
this.state = 521;
|
|
2607
2638
|
this.match(CircuitScriptParser.Graphic);
|
|
2608
|
-
this.state =
|
|
2639
|
+
this.state = 525;
|
|
2609
2640
|
this.errorHandler.sync(this);
|
|
2610
2641
|
_la = this.tokenStream.LA(1);
|
|
2611
2642
|
if (_la === 52) {
|
|
2612
2643
|
{
|
|
2613
|
-
this.state =
|
|
2644
|
+
this.state = 522;
|
|
2614
2645
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
2615
|
-
this.state =
|
|
2646
|
+
this.state = 523;
|
|
2616
2647
|
this.match(CircuitScriptParser.ID);
|
|
2617
|
-
this.state =
|
|
2648
|
+
this.state = 524;
|
|
2618
2649
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
2619
2650
|
}
|
|
2620
2651
|
}
|
|
2621
|
-
this.state =
|
|
2652
|
+
this.state = 527;
|
|
2622
2653
|
this.match(CircuitScriptParser.T__0);
|
|
2623
|
-
this.state =
|
|
2654
|
+
this.state = 528;
|
|
2624
2655
|
this.graphic_expressions_block();
|
|
2625
2656
|
}
|
|
2626
2657
|
}
|
|
@@ -2645,49 +2676,49 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2645
2676
|
try {
|
|
2646
2677
|
this.enterOuterAlt(localContext, 1);
|
|
2647
2678
|
{
|
|
2648
|
-
this.state =
|
|
2679
|
+
this.state = 530;
|
|
2649
2680
|
this.match(CircuitScriptParser.Create);
|
|
2650
|
-
this.state =
|
|
2681
|
+
this.state = 531;
|
|
2651
2682
|
this.match(CircuitScriptParser.Module);
|
|
2652
|
-
this.state =
|
|
2683
|
+
this.state = 532;
|
|
2653
2684
|
this.match(CircuitScriptParser.T__0);
|
|
2654
|
-
this.state =
|
|
2685
|
+
this.state = 533;
|
|
2655
2686
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2656
|
-
this.state =
|
|
2687
|
+
this.state = 534;
|
|
2657
2688
|
this.match(CircuitScriptParser.INDENT);
|
|
2658
|
-
this.state =
|
|
2689
|
+
this.state = 538;
|
|
2659
2690
|
this.errorHandler.sync(this);
|
|
2660
2691
|
_la = this.tokenStream.LA(1);
|
|
2661
2692
|
do {
|
|
2662
2693
|
{
|
|
2663
|
-
this.state =
|
|
2694
|
+
this.state = 538;
|
|
2664
2695
|
this.errorHandler.sync(this);
|
|
2665
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
2696
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 54, this.context)) {
|
|
2666
2697
|
case 1:
|
|
2667
2698
|
{
|
|
2668
|
-
this.state =
|
|
2699
|
+
this.state = 535;
|
|
2669
2700
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2670
2701
|
}
|
|
2671
2702
|
break;
|
|
2672
2703
|
case 2:
|
|
2673
2704
|
{
|
|
2674
|
-
this.state =
|
|
2705
|
+
this.state = 536;
|
|
2675
2706
|
this.property_expr();
|
|
2676
2707
|
}
|
|
2677
2708
|
break;
|
|
2678
2709
|
case 3:
|
|
2679
2710
|
{
|
|
2680
|
-
this.state =
|
|
2711
|
+
this.state = 537;
|
|
2681
2712
|
this.property_block_expr();
|
|
2682
2713
|
}
|
|
2683
2714
|
break;
|
|
2684
2715
|
}
|
|
2685
2716
|
}
|
|
2686
|
-
this.state =
|
|
2717
|
+
this.state = 540;
|
|
2687
2718
|
this.errorHandler.sync(this);
|
|
2688
2719
|
_la = this.tokenStream.LA(1);
|
|
2689
2720
|
} while (((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 275) !== 0));
|
|
2690
|
-
this.state =
|
|
2721
|
+
this.state = 542;
|
|
2691
2722
|
this.match(CircuitScriptParser.DEDENT);
|
|
2692
2723
|
}
|
|
2693
2724
|
}
|
|
@@ -2713,21 +2744,21 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2713
2744
|
this.enterOuterAlt(localContext, 1);
|
|
2714
2745
|
{
|
|
2715
2746
|
{
|
|
2716
|
-
this.state =
|
|
2747
|
+
this.state = 544;
|
|
2717
2748
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2718
|
-
this.state =
|
|
2749
|
+
this.state = 545;
|
|
2719
2750
|
this.match(CircuitScriptParser.INDENT);
|
|
2720
|
-
this.state =
|
|
2751
|
+
this.state = 548;
|
|
2721
2752
|
this.errorHandler.sync(this);
|
|
2722
2753
|
_la = this.tokenStream.LA(1);
|
|
2723
2754
|
do {
|
|
2724
2755
|
{
|
|
2725
|
-
this.state =
|
|
2756
|
+
this.state = 548;
|
|
2726
2757
|
this.errorHandler.sync(this);
|
|
2727
2758
|
switch (this.tokenStream.LA(1)) {
|
|
2728
2759
|
case CircuitScriptParser.NEWLINE:
|
|
2729
2760
|
{
|
|
2730
|
-
this.state =
|
|
2761
|
+
this.state = 546;
|
|
2731
2762
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2732
2763
|
}
|
|
2733
2764
|
break;
|
|
@@ -2735,7 +2766,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2735
2766
|
case CircuitScriptParser.INTEGER_VALUE:
|
|
2736
2767
|
case CircuitScriptParser.STRING_VALUE:
|
|
2737
2768
|
{
|
|
2738
|
-
this.state =
|
|
2769
|
+
this.state = 547;
|
|
2739
2770
|
this.property_expr();
|
|
2740
2771
|
}
|
|
2741
2772
|
break;
|
|
@@ -2743,11 +2774,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2743
2774
|
throw new antlr.NoViableAltException(this);
|
|
2744
2775
|
}
|
|
2745
2776
|
}
|
|
2746
|
-
this.state =
|
|
2777
|
+
this.state = 550;
|
|
2747
2778
|
this.errorHandler.sync(this);
|
|
2748
2779
|
_la = this.tokenStream.LA(1);
|
|
2749
2780
|
} while (((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 275) !== 0));
|
|
2750
|
-
this.state =
|
|
2781
|
+
this.state = 552;
|
|
2751
2782
|
this.match(CircuitScriptParser.DEDENT);
|
|
2752
2783
|
}
|
|
2753
2784
|
}
|
|
@@ -2771,7 +2802,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2771
2802
|
this.enterRule(localContext, 98, CircuitScriptParser.RULE_graphic_expr);
|
|
2772
2803
|
let _la;
|
|
2773
2804
|
try {
|
|
2774
|
-
this.state =
|
|
2805
|
+
this.state = 580;
|
|
2775
2806
|
this.errorHandler.sync(this);
|
|
2776
2807
|
switch (this.tokenStream.LA(1)) {
|
|
2777
2808
|
case CircuitScriptParser.Pin:
|
|
@@ -2779,7 +2810,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2779
2810
|
localContext = new GraphicCommandExprContext(localContext);
|
|
2780
2811
|
this.enterOuterAlt(localContext, 1);
|
|
2781
2812
|
{
|
|
2782
|
-
this.state =
|
|
2813
|
+
this.state = 554;
|
|
2783
2814
|
localContext._command = this.tokenStream.LT(1);
|
|
2784
2815
|
_la = this.tokenStream.LA(1);
|
|
2785
2816
|
if (!(_la === 15 || _la === 56)) {
|
|
@@ -2789,37 +2820,37 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2789
2820
|
this.errorHandler.reportMatch(this);
|
|
2790
2821
|
this.consume();
|
|
2791
2822
|
}
|
|
2792
|
-
this.state =
|
|
2823
|
+
this.state = 556;
|
|
2793
2824
|
this.errorHandler.sync(this);
|
|
2794
2825
|
_la = this.tokenStream.LA(1);
|
|
2795
2826
|
if (_la === 1) {
|
|
2796
2827
|
{
|
|
2797
|
-
this.state =
|
|
2828
|
+
this.state = 555;
|
|
2798
2829
|
this.match(CircuitScriptParser.T__0);
|
|
2799
2830
|
}
|
|
2800
2831
|
}
|
|
2801
|
-
this.state =
|
|
2832
|
+
this.state = 564;
|
|
2802
2833
|
this.errorHandler.sync(this);
|
|
2803
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
2834
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 59, this.context)) {
|
|
2804
2835
|
case 1:
|
|
2805
2836
|
{
|
|
2806
|
-
this.state =
|
|
2837
|
+
this.state = 558;
|
|
2807
2838
|
this.parameters();
|
|
2808
2839
|
}
|
|
2809
2840
|
break;
|
|
2810
2841
|
case 2:
|
|
2811
2842
|
{
|
|
2812
|
-
this.state =
|
|
2843
|
+
this.state = 559;
|
|
2813
2844
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
2814
|
-
this.state =
|
|
2845
|
+
this.state = 560;
|
|
2815
2846
|
this.parameters();
|
|
2816
|
-
this.state =
|
|
2847
|
+
this.state = 561;
|
|
2817
2848
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
2818
2849
|
}
|
|
2819
2850
|
break;
|
|
2820
2851
|
case 3:
|
|
2821
2852
|
{
|
|
2822
|
-
this.state =
|
|
2853
|
+
this.state = 563;
|
|
2823
2854
|
this.nested_properties_inner();
|
|
2824
2855
|
}
|
|
2825
2856
|
break;
|
|
@@ -2830,33 +2861,33 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2830
2861
|
localContext = new GraphicForExprContext(localContext);
|
|
2831
2862
|
this.enterOuterAlt(localContext, 2);
|
|
2832
2863
|
{
|
|
2833
|
-
this.state =
|
|
2864
|
+
this.state = 566;
|
|
2834
2865
|
this.match(CircuitScriptParser.For);
|
|
2835
|
-
this.state =
|
|
2866
|
+
this.state = 567;
|
|
2836
2867
|
this.match(CircuitScriptParser.ID);
|
|
2837
|
-
this.state =
|
|
2868
|
+
this.state = 572;
|
|
2838
2869
|
this.errorHandler.sync(this);
|
|
2839
2870
|
_la = this.tokenStream.LA(1);
|
|
2840
2871
|
while (_la === 2) {
|
|
2841
2872
|
{
|
|
2842
2873
|
{
|
|
2843
|
-
this.state =
|
|
2874
|
+
this.state = 568;
|
|
2844
2875
|
this.match(CircuitScriptParser.T__1);
|
|
2845
|
-
this.state =
|
|
2876
|
+
this.state = 569;
|
|
2846
2877
|
this.match(CircuitScriptParser.ID);
|
|
2847
2878
|
}
|
|
2848
2879
|
}
|
|
2849
|
-
this.state =
|
|
2880
|
+
this.state = 574;
|
|
2850
2881
|
this.errorHandler.sync(this);
|
|
2851
2882
|
_la = this.tokenStream.LA(1);
|
|
2852
2883
|
}
|
|
2853
|
-
this.state =
|
|
2884
|
+
this.state = 575;
|
|
2854
2885
|
this.match(CircuitScriptParser.In);
|
|
2855
|
-
this.state =
|
|
2886
|
+
this.state = 576;
|
|
2856
2887
|
this.data_expr(0);
|
|
2857
|
-
this.state =
|
|
2888
|
+
this.state = 577;
|
|
2858
2889
|
this.match(CircuitScriptParser.T__0);
|
|
2859
|
-
this.state =
|
|
2890
|
+
this.state = 578;
|
|
2860
2891
|
this.graphic_expressions_block();
|
|
2861
2892
|
}
|
|
2862
2893
|
break;
|
|
@@ -2884,11 +2915,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2884
2915
|
try {
|
|
2885
2916
|
this.enterOuterAlt(localContext, 1);
|
|
2886
2917
|
{
|
|
2887
|
-
this.state =
|
|
2918
|
+
this.state = 582;
|
|
2888
2919
|
this.property_key_expr();
|
|
2889
|
-
this.state =
|
|
2920
|
+
this.state = 583;
|
|
2890
2921
|
this.match(CircuitScriptParser.T__0);
|
|
2891
|
-
this.state =
|
|
2922
|
+
this.state = 584;
|
|
2892
2923
|
this.property_value_expr();
|
|
2893
2924
|
}
|
|
2894
2925
|
}
|
|
@@ -2913,7 +2944,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2913
2944
|
try {
|
|
2914
2945
|
this.enterOuterAlt(localContext, 1);
|
|
2915
2946
|
{
|
|
2916
|
-
this.state =
|
|
2947
|
+
this.state = 586;
|
|
2917
2948
|
_la = this.tokenStream.LA(1);
|
|
2918
2949
|
if (!(((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 19) !== 0))) {
|
|
2919
2950
|
this.errorHandler.recoverInline(this);
|
|
@@ -2943,14 +2974,14 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2943
2974
|
this.enterRule(localContext, 104, CircuitScriptParser.RULE_property_value_expr);
|
|
2944
2975
|
let _la;
|
|
2945
2976
|
try {
|
|
2946
|
-
this.state =
|
|
2977
|
+
this.state = 597;
|
|
2947
2978
|
this.errorHandler.sync(this);
|
|
2948
2979
|
switch (this.tokenStream.LA(1)) {
|
|
2949
2980
|
case CircuitScriptParser.NEWLINE:
|
|
2950
2981
|
localContext = new Nested_propertiesContext(localContext);
|
|
2951
2982
|
this.enterOuterAlt(localContext, 1);
|
|
2952
2983
|
{
|
|
2953
|
-
this.state =
|
|
2984
|
+
this.state = 588;
|
|
2954
2985
|
this.nested_properties_inner();
|
|
2955
2986
|
}
|
|
2956
2987
|
break;
|
|
@@ -2971,21 +3002,21 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
2971
3002
|
localContext = new Single_line_propertyContext(localContext);
|
|
2972
3003
|
this.enterOuterAlt(localContext, 2);
|
|
2973
3004
|
{
|
|
2974
|
-
this.state =
|
|
3005
|
+
this.state = 589;
|
|
2975
3006
|
this.data_expr(0);
|
|
2976
|
-
this.state =
|
|
3007
|
+
this.state = 594;
|
|
2977
3008
|
this.errorHandler.sync(this);
|
|
2978
3009
|
_la = this.tokenStream.LA(1);
|
|
2979
3010
|
while (_la === 2) {
|
|
2980
3011
|
{
|
|
2981
3012
|
{
|
|
2982
|
-
this.state =
|
|
3013
|
+
this.state = 590;
|
|
2983
3014
|
this.match(CircuitScriptParser.T__1);
|
|
2984
|
-
this.state =
|
|
3015
|
+
this.state = 591;
|
|
2985
3016
|
this.data_expr(0);
|
|
2986
3017
|
}
|
|
2987
3018
|
}
|
|
2988
|
-
this.state =
|
|
3019
|
+
this.state = 596;
|
|
2989
3020
|
this.errorHandler.sync(this);
|
|
2990
3021
|
_la = this.tokenStream.LA(1);
|
|
2991
3022
|
}
|
|
@@ -3013,27 +3044,27 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3013
3044
|
let localContext = new Wire_atom_exprContext(this.context, this.state);
|
|
3014
3045
|
this.enterRule(localContext, 106, CircuitScriptParser.RULE_wire_atom_expr);
|
|
3015
3046
|
try {
|
|
3016
|
-
this.state =
|
|
3047
|
+
this.state = 605;
|
|
3017
3048
|
this.errorHandler.sync(this);
|
|
3018
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
3049
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 65, this.context)) {
|
|
3019
3050
|
case 1:
|
|
3020
3051
|
localContext = new Wire_expr_direction_valueContext(localContext);
|
|
3021
3052
|
this.enterOuterAlt(localContext, 1);
|
|
3022
3053
|
{
|
|
3023
|
-
this.state =
|
|
3054
|
+
this.state = 599;
|
|
3024
3055
|
this.match(CircuitScriptParser.ID);
|
|
3025
|
-
this.state =
|
|
3056
|
+
this.state = 602;
|
|
3026
3057
|
this.errorHandler.sync(this);
|
|
3027
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
3058
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 64, this.context)) {
|
|
3028
3059
|
case 1:
|
|
3029
3060
|
{
|
|
3030
|
-
this.state =
|
|
3061
|
+
this.state = 600;
|
|
3031
3062
|
this.match(CircuitScriptParser.INTEGER_VALUE);
|
|
3032
3063
|
}
|
|
3033
3064
|
break;
|
|
3034
3065
|
case 2:
|
|
3035
3066
|
{
|
|
3036
|
-
this.state =
|
|
3067
|
+
this.state = 601;
|
|
3037
3068
|
this.data_expr(0);
|
|
3038
3069
|
}
|
|
3039
3070
|
break;
|
|
@@ -3044,7 +3075,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3044
3075
|
localContext = new Wire_expr_direction_onlyContext(localContext);
|
|
3045
3076
|
this.enterOuterAlt(localContext, 2);
|
|
3046
3077
|
{
|
|
3047
|
-
this.state =
|
|
3078
|
+
this.state = 604;
|
|
3048
3079
|
this.match(CircuitScriptParser.ID);
|
|
3049
3080
|
}
|
|
3050
3081
|
break;
|
|
@@ -3071,23 +3102,23 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3071
3102
|
let alternative;
|
|
3072
3103
|
this.enterOuterAlt(localContext, 1);
|
|
3073
3104
|
{
|
|
3074
|
-
this.state =
|
|
3105
|
+
this.state = 607;
|
|
3075
3106
|
this.match(CircuitScriptParser.Wire);
|
|
3076
|
-
this.state =
|
|
3107
|
+
this.state = 611;
|
|
3077
3108
|
this.errorHandler.sync(this);
|
|
3078
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
3109
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 66, this.context);
|
|
3079
3110
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
3080
3111
|
if (alternative === 1) {
|
|
3081
3112
|
{
|
|
3082
3113
|
{
|
|
3083
|
-
this.state =
|
|
3114
|
+
this.state = 608;
|
|
3084
3115
|
this.wire_atom_expr();
|
|
3085
3116
|
}
|
|
3086
3117
|
}
|
|
3087
3118
|
}
|
|
3088
|
-
this.state =
|
|
3119
|
+
this.state = 613;
|
|
3089
3120
|
this.errorHandler.sync(this);
|
|
3090
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
3121
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 66, this.context);
|
|
3091
3122
|
}
|
|
3092
3123
|
}
|
|
3093
3124
|
}
|
|
@@ -3112,39 +3143,39 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3112
3143
|
try {
|
|
3113
3144
|
this.enterOuterAlt(localContext, 1);
|
|
3114
3145
|
{
|
|
3115
|
-
this.state =
|
|
3146
|
+
this.state = 614;
|
|
3116
3147
|
this.match(CircuitScriptParser.T__5);
|
|
3117
|
-
this.state =
|
|
3148
|
+
this.state = 625;
|
|
3118
3149
|
this.errorHandler.sync(this);
|
|
3119
3150
|
_la = this.tokenStream.LA(1);
|
|
3120
3151
|
while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 2147484736) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 1041415) !== 0)) {
|
|
3121
3152
|
{
|
|
3122
3153
|
{
|
|
3123
|
-
this.state =
|
|
3154
|
+
this.state = 615;
|
|
3124
3155
|
this.data_expr(0);
|
|
3125
|
-
this.state =
|
|
3156
|
+
this.state = 620;
|
|
3126
3157
|
this.errorHandler.sync(this);
|
|
3127
3158
|
_la = this.tokenStream.LA(1);
|
|
3128
3159
|
while (_la === 2) {
|
|
3129
3160
|
{
|
|
3130
3161
|
{
|
|
3131
|
-
this.state =
|
|
3162
|
+
this.state = 616;
|
|
3132
3163
|
this.match(CircuitScriptParser.T__1);
|
|
3133
|
-
this.state =
|
|
3164
|
+
this.state = 617;
|
|
3134
3165
|
this.data_expr(0);
|
|
3135
3166
|
}
|
|
3136
3167
|
}
|
|
3137
|
-
this.state =
|
|
3168
|
+
this.state = 622;
|
|
3138
3169
|
this.errorHandler.sync(this);
|
|
3139
3170
|
_la = this.tokenStream.LA(1);
|
|
3140
3171
|
}
|
|
3141
3172
|
}
|
|
3142
3173
|
}
|
|
3143
|
-
this.state =
|
|
3174
|
+
this.state = 627;
|
|
3144
3175
|
this.errorHandler.sync(this);
|
|
3145
3176
|
_la = this.tokenStream.LA(1);
|
|
3146
3177
|
}
|
|
3147
|
-
this.state =
|
|
3178
|
+
this.state = 628;
|
|
3148
3179
|
this.match(CircuitScriptParser.T__6);
|
|
3149
3180
|
}
|
|
3150
3181
|
}
|
|
@@ -3168,9 +3199,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3168
3199
|
try {
|
|
3169
3200
|
this.enterOuterAlt(localContext, 1);
|
|
3170
3201
|
{
|
|
3171
|
-
this.state =
|
|
3202
|
+
this.state = 630;
|
|
3172
3203
|
this.match(CircuitScriptParser.Point);
|
|
3173
|
-
this.state =
|
|
3204
|
+
this.state = 631;
|
|
3174
3205
|
this.match(CircuitScriptParser.ID);
|
|
3175
3206
|
}
|
|
3176
3207
|
}
|
|
@@ -3194,9 +3225,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3194
3225
|
try {
|
|
3195
3226
|
this.enterOuterAlt(localContext, 1);
|
|
3196
3227
|
{
|
|
3197
|
-
this.state =
|
|
3228
|
+
this.state = 633;
|
|
3198
3229
|
this.match(CircuitScriptParser.Import);
|
|
3199
|
-
this.state =
|
|
3230
|
+
this.state = 634;
|
|
3200
3231
|
this.match(CircuitScriptParser.ID);
|
|
3201
3232
|
}
|
|
3202
3233
|
}
|
|
@@ -3221,7 +3252,7 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3221
3252
|
try {
|
|
3222
3253
|
this.enterOuterAlt(localContext, 1);
|
|
3223
3254
|
{
|
|
3224
|
-
this.state =
|
|
3255
|
+
this.state = 636;
|
|
3225
3256
|
_la = this.tokenStream.LA(1);
|
|
3226
3257
|
if (!(_la === 32 || _la === 33)) {
|
|
3227
3258
|
this.errorHandler.recoverInline(this);
|
|
@@ -3230,9 +3261,9 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3230
3261
|
this.errorHandler.reportMatch(this);
|
|
3231
3262
|
this.consume();
|
|
3232
3263
|
}
|
|
3233
|
-
this.state =
|
|
3264
|
+
this.state = 637;
|
|
3234
3265
|
this.match(CircuitScriptParser.T__0);
|
|
3235
|
-
this.state =
|
|
3266
|
+
this.state = 638;
|
|
3236
3267
|
this.expressions_block();
|
|
3237
3268
|
}
|
|
3238
3269
|
}
|
|
@@ -3258,36 +3289,36 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3258
3289
|
let alternative;
|
|
3259
3290
|
this.enterOuterAlt(localContext, 1);
|
|
3260
3291
|
{
|
|
3261
|
-
this.state =
|
|
3292
|
+
this.state = 640;
|
|
3262
3293
|
this.match(CircuitScriptParser.If);
|
|
3263
|
-
this.state =
|
|
3294
|
+
this.state = 641;
|
|
3264
3295
|
this.data_expr(0);
|
|
3265
|
-
this.state =
|
|
3296
|
+
this.state = 642;
|
|
3266
3297
|
this.match(CircuitScriptParser.T__0);
|
|
3267
|
-
this.state =
|
|
3298
|
+
this.state = 643;
|
|
3268
3299
|
this.expressions_block();
|
|
3269
|
-
this.state =
|
|
3300
|
+
this.state = 647;
|
|
3270
3301
|
this.errorHandler.sync(this);
|
|
3271
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
3302
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 69, this.context);
|
|
3272
3303
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
3273
3304
|
if (alternative === 1) {
|
|
3274
3305
|
{
|
|
3275
3306
|
{
|
|
3276
|
-
this.state =
|
|
3307
|
+
this.state = 644;
|
|
3277
3308
|
this.if_inner_expr();
|
|
3278
3309
|
}
|
|
3279
3310
|
}
|
|
3280
3311
|
}
|
|
3281
|
-
this.state =
|
|
3312
|
+
this.state = 649;
|
|
3282
3313
|
this.errorHandler.sync(this);
|
|
3283
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
3314
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 69, this.context);
|
|
3284
3315
|
}
|
|
3285
|
-
this.state =
|
|
3316
|
+
this.state = 651;
|
|
3286
3317
|
this.errorHandler.sync(this);
|
|
3287
3318
|
_la = this.tokenStream.LA(1);
|
|
3288
3319
|
if (_la === 30) {
|
|
3289
3320
|
{
|
|
3290
|
-
this.state =
|
|
3321
|
+
this.state = 650;
|
|
3291
3322
|
this.else_expr();
|
|
3292
3323
|
}
|
|
3293
3324
|
}
|
|
@@ -3313,15 +3344,15 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3313
3344
|
try {
|
|
3314
3345
|
this.enterOuterAlt(localContext, 1);
|
|
3315
3346
|
{
|
|
3316
|
-
this.state =
|
|
3347
|
+
this.state = 653;
|
|
3317
3348
|
this.match(CircuitScriptParser.Else);
|
|
3318
|
-
this.state =
|
|
3349
|
+
this.state = 654;
|
|
3319
3350
|
this.match(CircuitScriptParser.If);
|
|
3320
|
-
this.state =
|
|
3351
|
+
this.state = 655;
|
|
3321
3352
|
this.data_expr(0);
|
|
3322
|
-
this.state =
|
|
3353
|
+
this.state = 656;
|
|
3323
3354
|
this.match(CircuitScriptParser.T__0);
|
|
3324
|
-
this.state =
|
|
3355
|
+
this.state = 657;
|
|
3325
3356
|
this.expressions_block();
|
|
3326
3357
|
}
|
|
3327
3358
|
}
|
|
@@ -3345,11 +3376,11 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3345
3376
|
try {
|
|
3346
3377
|
this.enterOuterAlt(localContext, 1);
|
|
3347
3378
|
{
|
|
3348
|
-
this.state =
|
|
3379
|
+
this.state = 659;
|
|
3349
3380
|
this.match(CircuitScriptParser.Else);
|
|
3350
|
-
this.state =
|
|
3381
|
+
this.state = 660;
|
|
3351
3382
|
this.match(CircuitScriptParser.T__0);
|
|
3352
|
-
this.state =
|
|
3383
|
+
this.state = 661;
|
|
3353
3384
|
this.expressions_block();
|
|
3354
3385
|
}
|
|
3355
3386
|
}
|
|
@@ -3373,13 +3404,13 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3373
3404
|
try {
|
|
3374
3405
|
this.enterOuterAlt(localContext, 1);
|
|
3375
3406
|
{
|
|
3376
|
-
this.state =
|
|
3407
|
+
this.state = 663;
|
|
3377
3408
|
this.match(CircuitScriptParser.While);
|
|
3378
|
-
this.state =
|
|
3409
|
+
this.state = 664;
|
|
3379
3410
|
this.data_expr(0);
|
|
3380
|
-
this.state =
|
|
3411
|
+
this.state = 665;
|
|
3381
3412
|
this.match(CircuitScriptParser.T__0);
|
|
3382
|
-
this.state =
|
|
3413
|
+
this.state = 666;
|
|
3383
3414
|
this.expressions_block();
|
|
3384
3415
|
}
|
|
3385
3416
|
}
|
|
@@ -3404,33 +3435,33 @@ class CircuitScriptParser extends antlr.Parser {
|
|
|
3404
3435
|
try {
|
|
3405
3436
|
this.enterOuterAlt(localContext, 1);
|
|
3406
3437
|
{
|
|
3407
|
-
this.state =
|
|
3438
|
+
this.state = 668;
|
|
3408
3439
|
this.match(CircuitScriptParser.For);
|
|
3409
|
-
this.state =
|
|
3440
|
+
this.state = 669;
|
|
3410
3441
|
this.match(CircuitScriptParser.ID);
|
|
3411
|
-
this.state =
|
|
3442
|
+
this.state = 674;
|
|
3412
3443
|
this.errorHandler.sync(this);
|
|
3413
3444
|
_la = this.tokenStream.LA(1);
|
|
3414
3445
|
while (_la === 2) {
|
|
3415
3446
|
{
|
|
3416
3447
|
{
|
|
3417
|
-
this.state =
|
|
3448
|
+
this.state = 670;
|
|
3418
3449
|
this.match(CircuitScriptParser.T__1);
|
|
3419
|
-
this.state =
|
|
3450
|
+
this.state = 671;
|
|
3420
3451
|
this.match(CircuitScriptParser.ID);
|
|
3421
3452
|
}
|
|
3422
3453
|
}
|
|
3423
|
-
this.state =
|
|
3454
|
+
this.state = 676;
|
|
3424
3455
|
this.errorHandler.sync(this);
|
|
3425
3456
|
_la = this.tokenStream.LA(1);
|
|
3426
3457
|
}
|
|
3427
|
-
this.state =
|
|
3458
|
+
this.state = 677;
|
|
3428
3459
|
this.match(CircuitScriptParser.In);
|
|
3429
|
-
this.state =
|
|
3460
|
+
this.state = 678;
|
|
3430
3461
|
this.data_expr(0);
|
|
3431
|
-
this.state =
|
|
3462
|
+
this.state = 679;
|
|
3432
3463
|
this.match(CircuitScriptParser.T__0);
|
|
3433
|
-
this.state =
|
|
3464
|
+
this.state = 680;
|
|
3434
3465
|
this.expressions_block();
|
|
3435
3466
|
}
|
|
3436
3467
|
}
|
|
@@ -3654,7 +3685,7 @@ CircuitScriptParser.ruleNames = [
|
|
|
3654
3685
|
"for_expr",
|
|
3655
3686
|
];
|
|
3656
3687
|
CircuitScriptParser._serializedATN = [
|
|
3657
|
-
4, 1, 67,
|
|
3688
|
+
4, 1, 67, 683, 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,
|
|
3658
3689
|
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,
|
|
3659
3690
|
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,
|
|
3660
3691
|
7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26,
|
|
@@ -3663,244 +3694,247 @@ CircuitScriptParser._serializedATN = [
|
|
|
3663
3694
|
2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46,
|
|
3664
3695
|
7, 46, 2, 47, 7, 47, 2, 48, 7, 48, 2, 49, 7, 49, 2, 50, 7, 50, 2, 51, 7, 51, 2, 52, 7, 52,
|
|
3665
3696
|
2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7, 58, 2, 59,
|
|
3666
|
-
7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 1, 0, 1, 0,
|
|
3667
|
-
|
|
3668
|
-
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
3669
|
-
|
|
3670
|
-
12,
|
|
3671
|
-
5,
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
1,
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
1, 15, 1, 15,
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
1, 31, 1, 31, 1, 31, 1, 31,
|
|
3687
|
-
1, 31, 1, 31,
|
|
3688
|
-
|
|
3689
|
-
1,
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
8,
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
1,
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
1,
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
1, 49,
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
55, 5, 55,
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
1,
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
1, 0, 0, 0,
|
|
3722
|
-
0,
|
|
3723
|
-
|
|
3724
|
-
1, 0, 0, 0,
|
|
3725
|
-
0, 0,
|
|
3726
|
-
|
|
3727
|
-
1, 0, 0, 0,
|
|
3728
|
-
0, 0,
|
|
3729
|
-
|
|
3730
|
-
1, 0, 0, 0,
|
|
3731
|
-
0, 0,
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
0,
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
0, 0,
|
|
3748
|
-
0, 0,
|
|
3749
|
-
0, 0,
|
|
3750
|
-
0, 0,
|
|
3751
|
-
0, 0, 165,
|
|
3752
|
-
0, 0,
|
|
3753
|
-
0,
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
0,
|
|
3761
|
-
|
|
3762
|
-
0,
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
1, 0, 0, 0,
|
|
3767
|
-
|
|
3768
|
-
1, 0, 0, 0,
|
|
3769
|
-
0, 0, 0,
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
335,
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
0,
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
1, 0, 0, 0,
|
|
3819
|
-
1, 0, 0, 0,
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
5,
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
1, 0, 0, 0,
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
1, 0, 0, 0,
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
1, 0, 0, 0,
|
|
3837
|
-
|
|
3838
|
-
5,
|
|
3839
|
-
1, 0, 0, 0,
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
0, 0, 0,
|
|
3843
|
-
0, 0, 0,
|
|
3844
|
-
1, 0, 0, 0,
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
0, 0,
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
0, 0, 0,
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
0,
|
|
3879
|
-
0,
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
1, 0, 0, 0,
|
|
3884
|
-
1, 0, 0, 0,
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
1, 0, 0, 0,
|
|
3888
|
-
1, 0, 0, 0,
|
|
3889
|
-
|
|
3890
|
-
1, 0, 0, 0,
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
674,
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3697
|
+
7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 1, 0, 1, 0, 5, 0, 131, 8, 0,
|
|
3698
|
+
10, 0, 12, 0, 134, 9, 0, 1, 0, 1, 0, 4, 0, 138, 8, 0, 11, 0, 12, 0, 139, 1, 0, 1, 0, 1, 1,
|
|
3699
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
|
3700
|
+
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 166, 8, 1, 1, 2, 1, 2, 1, 2, 1, 2, 4, 2, 172, 8, 2, 11, 2,
|
|
3701
|
+
12, 2, 173, 1, 2, 1, 2, 1, 3, 4, 3, 179, 8, 3, 11, 3, 12, 3, 180, 1, 4, 1, 4, 1, 4, 1, 4, 1,
|
|
3702
|
+
5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 4, 5, 193, 8, 5, 11, 5, 12, 5, 194, 1, 5, 1, 5, 1, 6, 1, 6,
|
|
3703
|
+
1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 3, 8, 210, 8, 8, 1, 9, 1, 9, 3, 9, 214,
|
|
3704
|
+
8, 9, 1, 9, 5, 9, 217, 8, 9, 10, 9, 12, 9, 220, 9, 9, 1, 9, 3, 9, 223, 8, 9, 1, 10, 1, 10,
|
|
3705
|
+
1, 10, 1, 11, 1, 11, 1, 11, 3, 11, 231, 8, 11, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14,
|
|
3706
|
+
1, 14, 1, 14, 1, 14, 5, 14, 242, 8, 14, 10, 14, 12, 14, 245, 9, 14, 1, 15, 1, 15, 1, 15,
|
|
3707
|
+
1, 15, 1, 15, 1, 15, 5, 15, 253, 8, 15, 10, 15, 12, 15, 256, 9, 15, 1, 15, 1, 15, 1, 15,
|
|
3708
|
+
1, 15, 1, 15, 4, 15, 263, 8, 15, 11, 15, 12, 15, 264, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16,
|
|
3709
|
+
1, 16, 1, 16, 5, 16, 274, 8, 16, 10, 16, 12, 16, 277, 9, 16, 1, 17, 1, 17, 1, 18, 1, 18,
|
|
3710
|
+
1, 18, 1, 18, 1, 18, 1, 18, 4, 18, 287, 8, 18, 11, 18, 12, 18, 288, 1, 18, 1, 18, 1, 19,
|
|
3711
|
+
1, 19, 3, 19, 295, 8, 19, 1, 20, 1, 20, 1, 20, 1, 20, 3, 20, 301, 8, 20, 1, 21, 1, 21, 3,
|
|
3712
|
+
21, 305, 8, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1,
|
|
3713
|
+
26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 5, 28, 328, 8,
|
|
3714
|
+
28, 10, 28, 12, 28, 331, 9, 28, 1, 28, 1, 28, 5, 28, 335, 8, 28, 10, 28, 12, 28, 338,
|
|
3715
|
+
9, 28, 1, 28, 1, 28, 1, 28, 5, 28, 343, 8, 28, 10, 28, 12, 28, 346, 9, 28, 3, 28, 348,
|
|
3716
|
+
8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31,
|
|
3717
|
+
1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 366, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31,
|
|
3718
|
+
1, 31, 1, 31, 3, 31, 376, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31,
|
|
3719
|
+
1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 5, 31, 391, 8, 31, 10, 31, 12, 31, 394, 9, 31, 1, 32,
|
|
3720
|
+
1, 32, 1, 33, 1, 33, 1, 34, 3, 34, 401, 8, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 35,
|
|
3721
|
+
3, 35, 409, 8, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 4, 35, 417, 8, 35, 11, 35,
|
|
3722
|
+
12, 35, 418, 1, 35, 1, 35, 1, 36, 1, 36, 3, 36, 425, 8, 36, 1, 37, 1, 37, 1, 37, 5, 37,
|
|
3723
|
+
430, 8, 37, 10, 37, 12, 37, 433, 9, 37, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 439, 8, 37,
|
|
3724
|
+
10, 37, 12, 37, 442, 9, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37, 5, 37, 451,
|
|
3725
|
+
8, 37, 10, 37, 12, 37, 454, 9, 37, 3, 37, 456, 8, 37, 1, 38, 1, 38, 1, 38, 5, 38, 461,
|
|
3726
|
+
8, 38, 10, 38, 12, 38, 464, 9, 38, 1, 39, 1, 39, 3, 39, 468, 8, 39, 1, 39, 1, 39, 1, 39,
|
|
3727
|
+
3, 39, 473, 8, 39, 1, 40, 3, 40, 476, 8, 40, 1, 40, 1, 40, 4, 40, 480, 8, 40, 11, 40, 12,
|
|
3728
|
+
40, 481, 1, 41, 3, 41, 485, 8, 41, 1, 41, 1, 41, 3, 41, 489, 8, 41, 1, 42, 1, 42, 1, 42,
|
|
3729
|
+
1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44, 4, 44, 505,
|
|
3730
|
+
8, 44, 11, 44, 12, 44, 506, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 4, 45, 515, 8, 45,
|
|
3731
|
+
11, 45, 12, 45, 516, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 3, 46, 526, 8, 46,
|
|
3732
|
+
1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 4, 47, 539,
|
|
3733
|
+
8, 47, 11, 47, 12, 47, 540, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 48, 4, 48, 549, 8, 48,
|
|
3734
|
+
11, 48, 12, 48, 550, 1, 48, 1, 48, 1, 49, 1, 49, 3, 49, 557, 8, 49, 1, 49, 1, 49, 1, 49,
|
|
3735
|
+
1, 49, 1, 49, 1, 49, 3, 49, 565, 8, 49, 1, 49, 1, 49, 1, 49, 1, 49, 5, 49, 571, 8, 49, 10,
|
|
3736
|
+
49, 12, 49, 574, 9, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 581, 8, 49, 1, 50, 1,
|
|
3737
|
+
50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52, 5, 52, 593, 8, 52, 10, 52, 12,
|
|
3738
|
+
52, 596, 9, 52, 3, 52, 598, 8, 52, 1, 53, 1, 53, 1, 53, 3, 53, 603, 8, 53, 1, 53, 3, 53,
|
|
3739
|
+
606, 8, 53, 1, 54, 1, 54, 5, 54, 610, 8, 54, 10, 54, 12, 54, 613, 9, 54, 1, 55, 1, 55,
|
|
3740
|
+
1, 55, 1, 55, 5, 55, 619, 8, 55, 10, 55, 12, 55, 622, 9, 55, 5, 55, 624, 8, 55, 10, 55,
|
|
3741
|
+
12, 55, 627, 9, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1, 57, 1, 57, 1, 57, 1, 58, 1, 58,
|
|
3742
|
+
1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 646, 8, 59, 10, 59, 12, 59, 649,
|
|
3743
|
+
9, 59, 1, 59, 3, 59, 652, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 60, 1, 61, 1, 61,
|
|
3744
|
+
1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1, 63, 1, 63, 5, 63, 673,
|
|
3745
|
+
8, 63, 10, 63, 12, 63, 676, 9, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 1, 63, 0, 1, 62, 64,
|
|
3746
|
+
0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44,
|
|
3747
|
+
46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88,
|
|
3748
|
+
90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124,
|
|
3749
|
+
126, 0, 14, 2, 0, 9, 9, 19, 21, 1, 0, 56, 57, 2, 0, 57, 57, 60, 60, 2, 0, 54, 54, 57, 57,
|
|
3750
|
+
1, 0, 47, 51, 1, 0, 44, 46, 1, 0, 42, 43, 1, 0, 40, 41, 1, 0, 34, 39, 2, 0, 31, 31, 43, 43,
|
|
3751
|
+
2, 0, 55, 55, 57, 61, 2, 0, 15, 15, 56, 56, 2, 0, 56, 57, 60, 60, 1, 0, 32, 33, 721, 0,
|
|
3752
|
+
132, 1, 0, 0, 0, 2, 165, 1, 0, 0, 0, 4, 167, 1, 0, 0, 0, 6, 178, 1, 0, 0, 0, 8, 182, 1, 0,
|
|
3753
|
+
0, 0, 10, 186, 1, 0, 0, 0, 12, 198, 1, 0, 0, 0, 14, 202, 1, 0, 0, 0, 16, 205, 1, 0, 0, 0,
|
|
3754
|
+
18, 213, 1, 0, 0, 0, 20, 224, 1, 0, 0, 0, 22, 230, 1, 0, 0, 0, 24, 232, 1, 0, 0, 0, 26, 234,
|
|
3755
|
+
1, 0, 0, 0, 28, 237, 1, 0, 0, 0, 30, 246, 1, 0, 0, 0, 32, 268, 1, 0, 0, 0, 34, 278, 1, 0,
|
|
3756
|
+
0, 0, 36, 280, 1, 0, 0, 0, 38, 294, 1, 0, 0, 0, 40, 296, 1, 0, 0, 0, 42, 304, 1, 0, 0, 0,
|
|
3757
|
+
44, 306, 1, 0, 0, 0, 46, 308, 1, 0, 0, 0, 48, 310, 1, 0, 0, 0, 50, 312, 1, 0, 0, 0, 52, 316,
|
|
3758
|
+
1, 0, 0, 0, 54, 320, 1, 0, 0, 0, 56, 347, 1, 0, 0, 0, 58, 349, 1, 0, 0, 0, 60, 353, 1, 0,
|
|
3759
|
+
0, 0, 62, 375, 1, 0, 0, 0, 64, 395, 1, 0, 0, 0, 66, 397, 1, 0, 0, 0, 68, 400, 1, 0, 0, 0,
|
|
3760
|
+
70, 404, 1, 0, 0, 0, 72, 424, 1, 0, 0, 0, 74, 455, 1, 0, 0, 0, 76, 457, 1, 0, 0, 0, 78, 472,
|
|
3761
|
+
1, 0, 0, 0, 80, 475, 1, 0, 0, 0, 82, 484, 1, 0, 0, 0, 84, 490, 1, 0, 0, 0, 86, 493, 1, 0,
|
|
3762
|
+
0, 0, 88, 497, 1, 0, 0, 0, 90, 510, 1, 0, 0, 0, 92, 520, 1, 0, 0, 0, 94, 530, 1, 0, 0, 0,
|
|
3763
|
+
96, 544, 1, 0, 0, 0, 98, 580, 1, 0, 0, 0, 100, 582, 1, 0, 0, 0, 102, 586, 1, 0, 0, 0, 104,
|
|
3764
|
+
597, 1, 0, 0, 0, 106, 605, 1, 0, 0, 0, 108, 607, 1, 0, 0, 0, 110, 614, 1, 0, 0, 0, 112,
|
|
3765
|
+
630, 1, 0, 0, 0, 114, 633, 1, 0, 0, 0, 116, 636, 1, 0, 0, 0, 118, 640, 1, 0, 0, 0, 120,
|
|
3766
|
+
653, 1, 0, 0, 0, 122, 659, 1, 0, 0, 0, 124, 663, 1, 0, 0, 0, 126, 668, 1, 0, 0, 0, 128,
|
|
3767
|
+
131, 3, 114, 57, 0, 129, 131, 5, 64, 0, 0, 130, 128, 1, 0, 0, 0, 130, 129, 1, 0, 0, 0,
|
|
3768
|
+
131, 134, 1, 0, 0, 0, 132, 130, 1, 0, 0, 0, 132, 133, 1, 0, 0, 0, 133, 137, 1, 0, 0, 0,
|
|
3769
|
+
134, 132, 1, 0, 0, 0, 135, 138, 3, 2, 1, 0, 136, 138, 5, 64, 0, 0, 137, 135, 1, 0, 0, 0,
|
|
3770
|
+
137, 136, 1, 0, 0, 0, 138, 139, 1, 0, 0, 0, 139, 137, 1, 0, 0, 0, 139, 140, 1, 0, 0, 0,
|
|
3771
|
+
140, 141, 1, 0, 0, 0, 141, 142, 5, 0, 0, 1, 142, 1, 1, 0, 0, 0, 143, 166, 3, 20, 10, 0,
|
|
3772
|
+
144, 166, 3, 28, 14, 0, 145, 166, 3, 26, 13, 0, 146, 166, 3, 50, 25, 0, 147, 166, 3,
|
|
3773
|
+
52, 26, 0, 148, 166, 3, 58, 29, 0, 149, 166, 3, 10, 5, 0, 150, 166, 3, 60, 30, 0, 151,
|
|
3774
|
+
166, 3, 46, 23, 0, 152, 166, 3, 48, 24, 0, 153, 166, 3, 70, 35, 0, 154, 166, 3, 80, 40,
|
|
3775
|
+
0, 155, 166, 3, 108, 54, 0, 156, 166, 3, 114, 57, 0, 157, 166, 3, 116, 58, 0, 158, 166,
|
|
3776
|
+
3, 76, 38, 0, 159, 166, 3, 36, 18, 0, 160, 166, 3, 6, 3, 0, 161, 166, 3, 112, 56, 0, 162,
|
|
3777
|
+
166, 3, 118, 59, 0, 163, 166, 3, 124, 62, 0, 164, 166, 3, 126, 63, 0, 165, 143, 1, 0,
|
|
3778
|
+
0, 0, 165, 144, 1, 0, 0, 0, 165, 145, 1, 0, 0, 0, 165, 146, 1, 0, 0, 0, 165, 147, 1, 0,
|
|
3779
|
+
0, 0, 165, 148, 1, 0, 0, 0, 165, 149, 1, 0, 0, 0, 165, 150, 1, 0, 0, 0, 165, 151, 1, 0,
|
|
3780
|
+
0, 0, 165, 152, 1, 0, 0, 0, 165, 153, 1, 0, 0, 0, 165, 154, 1, 0, 0, 0, 165, 155, 1, 0,
|
|
3781
|
+
0, 0, 165, 156, 1, 0, 0, 0, 165, 157, 1, 0, 0, 0, 165, 158, 1, 0, 0, 0, 165, 159, 1, 0,
|
|
3782
|
+
0, 0, 165, 160, 1, 0, 0, 0, 165, 161, 1, 0, 0, 0, 165, 162, 1, 0, 0, 0, 165, 163, 1, 0,
|
|
3783
|
+
0, 0, 165, 164, 1, 0, 0, 0, 166, 3, 1, 0, 0, 0, 167, 168, 5, 64, 0, 0, 168, 171, 5, 66,
|
|
3784
|
+
0, 0, 169, 172, 5, 64, 0, 0, 170, 172, 3, 2, 1, 0, 171, 169, 1, 0, 0, 0, 171, 170, 1, 0,
|
|
3785
|
+
0, 0, 172, 173, 1, 0, 0, 0, 173, 171, 1, 0, 0, 0, 173, 174, 1, 0, 0, 0, 174, 175, 1, 0,
|
|
3786
|
+
0, 0, 175, 176, 5, 67, 0, 0, 176, 5, 1, 0, 0, 0, 177, 179, 3, 8, 4, 0, 178, 177, 1, 0, 0,
|
|
3787
|
+
0, 179, 180, 1, 0, 0, 0, 180, 178, 1, 0, 0, 0, 180, 181, 1, 0, 0, 0, 181, 7, 1, 0, 0, 0,
|
|
3788
|
+
182, 183, 7, 0, 0, 0, 183, 184, 5, 1, 0, 0, 184, 185, 3, 4, 2, 0, 185, 9, 1, 0, 0, 0, 186,
|
|
3789
|
+
187, 3, 76, 38, 0, 187, 188, 5, 1, 0, 0, 188, 189, 5, 64, 0, 0, 189, 192, 5, 66, 0, 0,
|
|
3790
|
+
190, 193, 5, 64, 0, 0, 191, 193, 3, 12, 6, 0, 192, 190, 1, 0, 0, 0, 192, 191, 1, 0, 0,
|
|
3791
|
+
0, 193, 194, 1, 0, 0, 0, 194, 192, 1, 0, 0, 0, 194, 195, 1, 0, 0, 0, 195, 196, 1, 0, 0,
|
|
3792
|
+
0, 196, 197, 5, 67, 0, 0, 197, 11, 1, 0, 0, 0, 198, 199, 7, 1, 0, 0, 199, 200, 5, 1, 0,
|
|
3793
|
+
0, 200, 201, 3, 68, 34, 0, 201, 13, 1, 0, 0, 0, 202, 203, 5, 15, 0, 0, 203, 204, 7, 2,
|
|
3794
|
+
0, 0, 204, 15, 1, 0, 0, 0, 205, 206, 5, 56, 0, 0, 206, 209, 5, 1, 0, 0, 207, 210, 3, 68,
|
|
3795
|
+
34, 0, 208, 210, 5, 56, 0, 0, 209, 207, 1, 0, 0, 0, 209, 208, 1, 0, 0, 0, 210, 17, 1, 0,
|
|
3796
|
+
0, 0, 211, 214, 3, 62, 31, 0, 212, 214, 3, 50, 25, 0, 213, 211, 1, 0, 0, 0, 213, 212,
|
|
3797
|
+
1, 0, 0, 0, 214, 218, 1, 0, 0, 0, 215, 217, 3, 16, 8, 0, 216, 215, 1, 0, 0, 0, 217, 220,
|
|
3798
|
+
1, 0, 0, 0, 218, 216, 1, 0, 0, 0, 218, 219, 1, 0, 0, 0, 219, 222, 1, 0, 0, 0, 220, 218,
|
|
3799
|
+
1, 0, 0, 0, 221, 223, 3, 14, 7, 0, 222, 221, 1, 0, 0, 0, 222, 223, 1, 0, 0, 0, 223, 19,
|
|
3800
|
+
1, 0, 0, 0, 224, 225, 5, 16, 0, 0, 225, 226, 3, 18, 9, 0, 226, 21, 1, 0, 0, 0, 227, 231,
|
|
3801
|
+
3, 18, 9, 0, 228, 231, 3, 14, 7, 0, 229, 231, 5, 19, 0, 0, 230, 227, 1, 0, 0, 0, 230, 228,
|
|
3802
|
+
1, 0, 0, 0, 230, 229, 1, 0, 0, 0, 231, 23, 1, 0, 0, 0, 232, 233, 7, 2, 0, 0, 233, 25, 1,
|
|
3803
|
+
0, 0, 0, 234, 235, 5, 17, 0, 0, 235, 236, 3, 22, 11, 0, 236, 27, 1, 0, 0, 0, 237, 238,
|
|
3804
|
+
5, 18, 0, 0, 238, 243, 3, 22, 11, 0, 239, 240, 5, 2, 0, 0, 240, 242, 3, 22, 11, 0, 241,
|
|
3805
|
+
239, 1, 0, 0, 0, 242, 245, 1, 0, 0, 0, 243, 241, 1, 0, 0, 0, 243, 244, 1, 0, 0, 0, 244,
|
|
3806
|
+
29, 1, 0, 0, 0, 245, 243, 1, 0, 0, 0, 246, 247, 5, 17, 0, 0, 247, 248, 3, 22, 11, 0, 248,
|
|
3807
|
+
249, 5, 18, 0, 0, 249, 254, 3, 22, 11, 0, 250, 251, 5, 2, 0, 0, 251, 253, 3, 22, 11, 0,
|
|
3808
|
+
252, 250, 1, 0, 0, 0, 253, 256, 1, 0, 0, 0, 254, 252, 1, 0, 0, 0, 254, 255, 1, 0, 0, 0,
|
|
3809
|
+
255, 257, 1, 0, 0, 0, 256, 254, 1, 0, 0, 0, 257, 258, 5, 1, 0, 0, 258, 259, 5, 64, 0, 0,
|
|
3810
|
+
259, 262, 5, 66, 0, 0, 260, 263, 5, 64, 0, 0, 261, 263, 3, 32, 16, 0, 262, 260, 1, 0,
|
|
3811
|
+
0, 0, 262, 261, 1, 0, 0, 0, 263, 264, 1, 0, 0, 0, 264, 262, 1, 0, 0, 0, 264, 265, 1, 0,
|
|
3812
|
+
0, 0, 265, 266, 1, 0, 0, 0, 266, 267, 5, 67, 0, 0, 267, 31, 1, 0, 0, 0, 268, 269, 3, 24,
|
|
3813
|
+
12, 0, 269, 270, 5, 1, 0, 0, 270, 275, 3, 34, 17, 0, 271, 272, 5, 2, 0, 0, 272, 274, 3,
|
|
3814
|
+
34, 17, 0, 273, 271, 1, 0, 0, 0, 274, 277, 1, 0, 0, 0, 275, 273, 1, 0, 0, 0, 275, 276,
|
|
3815
|
+
1, 0, 0, 0, 276, 33, 1, 0, 0, 0, 277, 275, 1, 0, 0, 0, 278, 279, 7, 3, 0, 0, 279, 35, 1,
|
|
3816
|
+
0, 0, 0, 280, 281, 3, 26, 13, 0, 281, 282, 5, 1, 0, 0, 282, 283, 5, 64, 0, 0, 283, 286,
|
|
3817
|
+
5, 66, 0, 0, 284, 287, 5, 64, 0, 0, 285, 287, 3, 38, 19, 0, 286, 284, 1, 0, 0, 0, 286,
|
|
3818
|
+
285, 1, 0, 0, 0, 287, 288, 1, 0, 0, 0, 288, 286, 1, 0, 0, 0, 288, 289, 1, 0, 0, 0, 289,
|
|
3819
|
+
290, 1, 0, 0, 0, 290, 291, 5, 67, 0, 0, 291, 37, 1, 0, 0, 0, 292, 295, 3, 2, 1, 0, 293,
|
|
3820
|
+
295, 3, 40, 20, 0, 294, 292, 1, 0, 0, 0, 294, 293, 1, 0, 0, 0, 295, 39, 1, 0, 0, 0, 296,
|
|
3821
|
+
297, 3, 24, 12, 0, 297, 300, 5, 1, 0, 0, 298, 301, 3, 42, 21, 0, 299, 301, 3, 44, 22,
|
|
3822
|
+
0, 300, 298, 1, 0, 0, 0, 300, 299, 1, 0, 0, 0, 301, 41, 1, 0, 0, 0, 302, 305, 3, 2, 1, 0,
|
|
3823
|
+
303, 305, 5, 54, 0, 0, 304, 302, 1, 0, 0, 0, 304, 303, 1, 0, 0, 0, 305, 43, 1, 0, 0, 0,
|
|
3824
|
+
306, 307, 3, 4, 2, 0, 307, 45, 1, 0, 0, 0, 308, 309, 5, 8, 0, 0, 309, 47, 1, 0, 0, 0, 310,
|
|
3825
|
+
311, 5, 28, 0, 0, 311, 49, 1, 0, 0, 0, 312, 313, 3, 76, 38, 0, 313, 314, 5, 3, 0, 0, 314,
|
|
3826
|
+
315, 3, 62, 31, 0, 315, 51, 1, 0, 0, 0, 316, 317, 3, 76, 38, 0, 317, 318, 7, 4, 0, 0, 318,
|
|
3827
|
+
319, 3, 62, 31, 0, 319, 53, 1, 0, 0, 0, 320, 321, 5, 56, 0, 0, 321, 322, 5, 3, 0, 0, 322,
|
|
3828
|
+
323, 3, 62, 31, 0, 323, 55, 1, 0, 0, 0, 324, 329, 3, 62, 31, 0, 325, 326, 5, 2, 0, 0, 326,
|
|
3829
|
+
328, 3, 62, 31, 0, 327, 325, 1, 0, 0, 0, 328, 331, 1, 0, 0, 0, 329, 327, 1, 0, 0, 0, 329,
|
|
3830
|
+
330, 1, 0, 0, 0, 330, 336, 1, 0, 0, 0, 331, 329, 1, 0, 0, 0, 332, 333, 5, 2, 0, 0, 333,
|
|
3831
|
+
335, 3, 54, 27, 0, 334, 332, 1, 0, 0, 0, 335, 338, 1, 0, 0, 0, 336, 334, 1, 0, 0, 0, 336,
|
|
3832
|
+
337, 1, 0, 0, 0, 337, 348, 1, 0, 0, 0, 338, 336, 1, 0, 0, 0, 339, 344, 3, 54, 27, 0, 340,
|
|
3833
|
+
341, 5, 2, 0, 0, 341, 343, 3, 54, 27, 0, 342, 340, 1, 0, 0, 0, 343, 346, 1, 0, 0, 0, 344,
|
|
3834
|
+
342, 1, 0, 0, 0, 344, 345, 1, 0, 0, 0, 345, 348, 1, 0, 0, 0, 346, 344, 1, 0, 0, 0, 347,
|
|
3835
|
+
324, 1, 0, 0, 0, 347, 339, 1, 0, 0, 0, 348, 57, 1, 0, 0, 0, 349, 350, 3, 76, 38, 0, 350,
|
|
3836
|
+
351, 5, 3, 0, 0, 351, 352, 3, 62, 31, 0, 352, 59, 1, 0, 0, 0, 353, 354, 5, 4, 0, 0, 354,
|
|
3837
|
+
355, 5, 56, 0, 0, 355, 356, 5, 3, 0, 0, 356, 357, 3, 62, 31, 0, 357, 61, 1, 0, 0, 0, 358,
|
|
3838
|
+
359, 6, 31, -1, 0, 359, 360, 5, 52, 0, 0, 360, 361, 3, 62, 31, 0, 361, 362, 5, 53, 0,
|
|
3839
|
+
0, 362, 376, 1, 0, 0, 0, 363, 366, 3, 68, 34, 0, 364, 366, 3, 76, 38, 0, 365, 363, 1,
|
|
3840
|
+
0, 0, 0, 365, 364, 1, 0, 0, 0, 366, 376, 1, 0, 0, 0, 367, 368, 3, 66, 33, 0, 368, 369,
|
|
3841
|
+
3, 62, 31, 10, 369, 376, 1, 0, 0, 0, 370, 376, 3, 88, 44, 0, 371, 376, 3, 92, 46, 0, 372,
|
|
3842
|
+
376, 3, 94, 47, 0, 373, 376, 3, 80, 40, 0, 374, 376, 3, 110, 55, 0, 375, 358, 1, 0, 0,
|
|
3843
|
+
0, 375, 365, 1, 0, 0, 0, 375, 367, 1, 0, 0, 0, 375, 370, 1, 0, 0, 0, 375, 371, 1, 0, 0,
|
|
3844
|
+
0, 375, 372, 1, 0, 0, 0, 375, 373, 1, 0, 0, 0, 375, 374, 1, 0, 0, 0, 376, 392, 1, 0, 0,
|
|
3845
|
+
0, 377, 378, 10, 9, 0, 0, 378, 379, 7, 5, 0, 0, 379, 391, 3, 62, 31, 10, 380, 381, 10,
|
|
3846
|
+
8, 0, 0, 381, 382, 7, 6, 0, 0, 382, 391, 3, 62, 31, 9, 383, 384, 10, 7, 0, 0, 384, 385,
|
|
3847
|
+
3, 64, 32, 0, 385, 386, 3, 62, 31, 8, 386, 391, 1, 0, 0, 0, 387, 388, 10, 6, 0, 0, 388,
|
|
3848
|
+
389, 7, 7, 0, 0, 389, 391, 3, 62, 31, 7, 390, 377, 1, 0, 0, 0, 390, 380, 1, 0, 0, 0, 390,
|
|
3849
|
+
383, 1, 0, 0, 0, 390, 387, 1, 0, 0, 0, 391, 394, 1, 0, 0, 0, 392, 390, 1, 0, 0, 0, 392,
|
|
3850
|
+
393, 1, 0, 0, 0, 393, 63, 1, 0, 0, 0, 394, 392, 1, 0, 0, 0, 395, 396, 7, 8, 0, 0, 396, 65,
|
|
3851
|
+
1, 0, 0, 0, 397, 398, 7, 9, 0, 0, 398, 67, 1, 0, 0, 0, 399, 401, 5, 43, 0, 0, 400, 399,
|
|
3852
|
+
1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 403, 7, 10, 0, 0, 403, 69,
|
|
3853
|
+
1, 0, 0, 0, 404, 405, 5, 23, 0, 0, 405, 406, 5, 56, 0, 0, 406, 408, 5, 52, 0, 0, 407, 409,
|
|
3854
|
+
3, 74, 37, 0, 408, 407, 1, 0, 0, 0, 408, 409, 1, 0, 0, 0, 409, 410, 1, 0, 0, 0, 410, 411,
|
|
3855
|
+
5, 53, 0, 0, 411, 412, 5, 1, 0, 0, 412, 413, 5, 64, 0, 0, 413, 416, 5, 66, 0, 0, 414, 417,
|
|
3856
|
+
5, 64, 0, 0, 415, 417, 3, 72, 36, 0, 416, 414, 1, 0, 0, 0, 416, 415, 1, 0, 0, 0, 417, 418,
|
|
3857
|
+
1, 0, 0, 0, 418, 416, 1, 0, 0, 0, 418, 419, 1, 0, 0, 0, 419, 420, 1, 0, 0, 0, 420, 421,
|
|
3858
|
+
5, 67, 0, 0, 421, 71, 1, 0, 0, 0, 422, 425, 3, 2, 1, 0, 423, 425, 3, 84, 42, 0, 424, 422,
|
|
3859
|
+
1, 0, 0, 0, 424, 423, 1, 0, 0, 0, 425, 73, 1, 0, 0, 0, 426, 431, 5, 56, 0, 0, 427, 428,
|
|
3860
|
+
5, 2, 0, 0, 428, 430, 5, 56, 0, 0, 429, 427, 1, 0, 0, 0, 430, 433, 1, 0, 0, 0, 431, 429,
|
|
3861
|
+
1, 0, 0, 0, 431, 432, 1, 0, 0, 0, 432, 440, 1, 0, 0, 0, 433, 431, 1, 0, 0, 0, 434, 435,
|
|
3862
|
+
5, 2, 0, 0, 435, 436, 5, 56, 0, 0, 436, 437, 5, 3, 0, 0, 437, 439, 3, 68, 34, 0, 438, 434,
|
|
3863
|
+
1, 0, 0, 0, 439, 442, 1, 0, 0, 0, 440, 438, 1, 0, 0, 0, 440, 441, 1, 0, 0, 0, 441, 456,
|
|
3864
|
+
1, 0, 0, 0, 442, 440, 1, 0, 0, 0, 443, 444, 5, 56, 0, 0, 444, 445, 5, 3, 0, 0, 445, 452,
|
|
3865
|
+
3, 68, 34, 0, 446, 447, 5, 2, 0, 0, 447, 448, 5, 56, 0, 0, 448, 449, 5, 3, 0, 0, 449, 451,
|
|
3866
|
+
3, 68, 34, 0, 450, 446, 1, 0, 0, 0, 451, 454, 1, 0, 0, 0, 452, 450, 1, 0, 0, 0, 452, 453,
|
|
3867
|
+
1, 0, 0, 0, 453, 456, 1, 0, 0, 0, 454, 452, 1, 0, 0, 0, 455, 426, 1, 0, 0, 0, 455, 443,
|
|
3868
|
+
1, 0, 0, 0, 456, 75, 1, 0, 0, 0, 457, 462, 5, 56, 0, 0, 458, 459, 5, 5, 0, 0, 459, 461,
|
|
3869
|
+
5, 56, 0, 0, 460, 458, 1, 0, 0, 0, 461, 464, 1, 0, 0, 0, 462, 460, 1, 0, 0, 0, 462, 463,
|
|
3870
|
+
1, 0, 0, 0, 463, 77, 1, 0, 0, 0, 464, 462, 1, 0, 0, 0, 465, 467, 5, 52, 0, 0, 466, 468,
|
|
3871
|
+
3, 56, 28, 0, 467, 466, 1, 0, 0, 0, 467, 468, 1, 0, 0, 0, 468, 469, 1, 0, 0, 0, 469, 473,
|
|
3872
|
+
5, 53, 0, 0, 470, 471, 5, 5, 0, 0, 471, 473, 5, 56, 0, 0, 472, 465, 1, 0, 0, 0, 472, 470,
|
|
3873
|
+
1, 0, 0, 0, 473, 79, 1, 0, 0, 0, 474, 476, 3, 82, 41, 0, 475, 474, 1, 0, 0, 0, 475, 476,
|
|
3874
|
+
1, 0, 0, 0, 476, 477, 1, 0, 0, 0, 477, 479, 5, 56, 0, 0, 478, 480, 3, 78, 39, 0, 479, 478,
|
|
3875
|
+
1, 0, 0, 0, 480, 481, 1, 0, 0, 0, 481, 479, 1, 0, 0, 0, 481, 482, 1, 0, 0, 0, 482, 81, 1,
|
|
3876
|
+
0, 0, 0, 483, 485, 5, 42, 0, 0, 484, 483, 1, 0, 0, 0, 484, 485, 1, 0, 0, 0, 485, 486, 1,
|
|
3877
|
+
0, 0, 0, 486, 488, 5, 44, 0, 0, 487, 489, 3, 62, 31, 0, 488, 487, 1, 0, 0, 0, 488, 489,
|
|
3878
|
+
1, 0, 0, 0, 489, 83, 1, 0, 0, 0, 490, 491, 5, 22, 0, 0, 491, 492, 3, 62, 31, 0, 492, 85,
|
|
3879
|
+
1, 0, 0, 0, 493, 494, 3, 102, 51, 0, 494, 495, 5, 1, 0, 0, 495, 496, 3, 4, 2, 0, 496, 87,
|
|
3880
|
+
1, 0, 0, 0, 497, 498, 5, 10, 0, 0, 498, 499, 5, 11, 0, 0, 499, 500, 5, 1, 0, 0, 500, 501,
|
|
3881
|
+
5, 64, 0, 0, 501, 504, 5, 66, 0, 0, 502, 505, 5, 64, 0, 0, 503, 505, 3, 100, 50, 0, 504,
|
|
3882
|
+
502, 1, 0, 0, 0, 504, 503, 1, 0, 0, 0, 505, 506, 1, 0, 0, 0, 506, 504, 1, 0, 0, 0, 506,
|
|
3883
|
+
507, 1, 0, 0, 0, 507, 508, 1, 0, 0, 0, 508, 509, 5, 67, 0, 0, 509, 89, 1, 0, 0, 0, 510,
|
|
3884
|
+
511, 5, 64, 0, 0, 511, 514, 5, 66, 0, 0, 512, 515, 5, 64, 0, 0, 513, 515, 3, 98, 49, 0,
|
|
3885
|
+
514, 512, 1, 0, 0, 0, 514, 513, 1, 0, 0, 0, 515, 516, 1, 0, 0, 0, 516, 514, 1, 0, 0, 0,
|
|
3886
|
+
516, 517, 1, 0, 0, 0, 517, 518, 1, 0, 0, 0, 518, 519, 5, 67, 0, 0, 519, 91, 1, 0, 0, 0,
|
|
3887
|
+
520, 521, 5, 10, 0, 0, 521, 525, 5, 12, 0, 0, 522, 523, 5, 52, 0, 0, 523, 524, 5, 56,
|
|
3888
|
+
0, 0, 524, 526, 5, 53, 0, 0, 525, 522, 1, 0, 0, 0, 525, 526, 1, 0, 0, 0, 526, 527, 1, 0,
|
|
3889
|
+
0, 0, 527, 528, 5, 1, 0, 0, 528, 529, 3, 90, 45, 0, 529, 93, 1, 0, 0, 0, 530, 531, 5, 10,
|
|
3890
|
+
0, 0, 531, 532, 5, 13, 0, 0, 532, 533, 5, 1, 0, 0, 533, 534, 5, 64, 0, 0, 534, 538, 5,
|
|
3891
|
+
66, 0, 0, 535, 539, 5, 64, 0, 0, 536, 539, 3, 100, 50, 0, 537, 539, 3, 86, 43, 0, 538,
|
|
3892
|
+
535, 1, 0, 0, 0, 538, 536, 1, 0, 0, 0, 538, 537, 1, 0, 0, 0, 539, 540, 1, 0, 0, 0, 540,
|
|
3893
|
+
538, 1, 0, 0, 0, 540, 541, 1, 0, 0, 0, 541, 542, 1, 0, 0, 0, 542, 543, 5, 67, 0, 0, 543,
|
|
3894
|
+
95, 1, 0, 0, 0, 544, 545, 5, 64, 0, 0, 545, 548, 5, 66, 0, 0, 546, 549, 5, 64, 0, 0, 547,
|
|
3895
|
+
549, 3, 100, 50, 0, 548, 546, 1, 0, 0, 0, 548, 547, 1, 0, 0, 0, 549, 550, 1, 0, 0, 0, 550,
|
|
3896
|
+
548, 1, 0, 0, 0, 550, 551, 1, 0, 0, 0, 551, 552, 1, 0, 0, 0, 552, 553, 5, 67, 0, 0, 553,
|
|
3897
|
+
97, 1, 0, 0, 0, 554, 556, 7, 11, 0, 0, 555, 557, 5, 1, 0, 0, 556, 555, 1, 0, 0, 0, 556,
|
|
3898
|
+
557, 1, 0, 0, 0, 557, 564, 1, 0, 0, 0, 558, 565, 3, 56, 28, 0, 559, 560, 5, 52, 0, 0, 560,
|
|
3899
|
+
561, 3, 56, 28, 0, 561, 562, 5, 53, 0, 0, 562, 565, 1, 0, 0, 0, 563, 565, 3, 96, 48, 0,
|
|
3900
|
+
564, 558, 1, 0, 0, 0, 564, 559, 1, 0, 0, 0, 564, 563, 1, 0, 0, 0, 565, 581, 1, 0, 0, 0,
|
|
3901
|
+
566, 567, 5, 25, 0, 0, 567, 572, 5, 56, 0, 0, 568, 569, 5, 2, 0, 0, 569, 571, 5, 56, 0,
|
|
3902
|
+
0, 570, 568, 1, 0, 0, 0, 571, 574, 1, 0, 0, 0, 572, 570, 1, 0, 0, 0, 572, 573, 1, 0, 0,
|
|
3903
|
+
0, 573, 575, 1, 0, 0, 0, 574, 572, 1, 0, 0, 0, 575, 576, 5, 26, 0, 0, 576, 577, 3, 62,
|
|
3904
|
+
31, 0, 577, 578, 5, 1, 0, 0, 578, 579, 3, 90, 45, 0, 579, 581, 1, 0, 0, 0, 580, 554, 1,
|
|
3905
|
+
0, 0, 0, 580, 566, 1, 0, 0, 0, 581, 99, 1, 0, 0, 0, 582, 583, 3, 102, 51, 0, 583, 584,
|
|
3906
|
+
5, 1, 0, 0, 584, 585, 3, 104, 52, 0, 585, 101, 1, 0, 0, 0, 586, 587, 7, 12, 0, 0, 587,
|
|
3907
|
+
103, 1, 0, 0, 0, 588, 598, 3, 96, 48, 0, 589, 594, 3, 62, 31, 0, 590, 591, 5, 2, 0, 0,
|
|
3908
|
+
591, 593, 3, 62, 31, 0, 592, 590, 1, 0, 0, 0, 593, 596, 1, 0, 0, 0, 594, 592, 1, 0, 0,
|
|
3909
|
+
0, 594, 595, 1, 0, 0, 0, 595, 598, 1, 0, 0, 0, 596, 594, 1, 0, 0, 0, 597, 588, 1, 0, 0,
|
|
3910
|
+
0, 597, 589, 1, 0, 0, 0, 598, 105, 1, 0, 0, 0, 599, 602, 5, 56, 0, 0, 600, 603, 5, 57,
|
|
3911
|
+
0, 0, 601, 603, 3, 62, 31, 0, 602, 600, 1, 0, 0, 0, 602, 601, 1, 0, 0, 0, 603, 606, 1,
|
|
3912
|
+
0, 0, 0, 604, 606, 5, 56, 0, 0, 605, 599, 1, 0, 0, 0, 605, 604, 1, 0, 0, 0, 606, 107, 1,
|
|
3913
|
+
0, 0, 0, 607, 611, 5, 14, 0, 0, 608, 610, 3, 106, 53, 0, 609, 608, 1, 0, 0, 0, 610, 613,
|
|
3914
|
+
1, 0, 0, 0, 611, 609, 1, 0, 0, 0, 611, 612, 1, 0, 0, 0, 612, 109, 1, 0, 0, 0, 613, 611,
|
|
3915
|
+
1, 0, 0, 0, 614, 625, 5, 6, 0, 0, 615, 620, 3, 62, 31, 0, 616, 617, 5, 2, 0, 0, 617, 619,
|
|
3916
|
+
3, 62, 31, 0, 618, 616, 1, 0, 0, 0, 619, 622, 1, 0, 0, 0, 620, 618, 1, 0, 0, 0, 620, 621,
|
|
3917
|
+
1, 0, 0, 0, 621, 624, 1, 0, 0, 0, 622, 620, 1, 0, 0, 0, 623, 615, 1, 0, 0, 0, 624, 627,
|
|
3918
|
+
1, 0, 0, 0, 625, 623, 1, 0, 0, 0, 625, 626, 1, 0, 0, 0, 626, 628, 1, 0, 0, 0, 627, 625,
|
|
3919
|
+
1, 0, 0, 0, 628, 629, 5, 7, 0, 0, 629, 111, 1, 0, 0, 0, 630, 631, 5, 19, 0, 0, 631, 632,
|
|
3920
|
+
5, 56, 0, 0, 632, 113, 1, 0, 0, 0, 633, 634, 5, 24, 0, 0, 634, 635, 5, 56, 0, 0, 635, 115,
|
|
3921
|
+
1, 0, 0, 0, 636, 637, 7, 13, 0, 0, 637, 638, 5, 1, 0, 0, 638, 639, 3, 4, 2, 0, 639, 117,
|
|
3922
|
+
1, 0, 0, 0, 640, 641, 5, 29, 0, 0, 641, 642, 3, 62, 31, 0, 642, 643, 5, 1, 0, 0, 643, 647,
|
|
3923
|
+
3, 4, 2, 0, 644, 646, 3, 120, 60, 0, 645, 644, 1, 0, 0, 0, 646, 649, 1, 0, 0, 0, 647, 645,
|
|
3924
|
+
1, 0, 0, 0, 647, 648, 1, 0, 0, 0, 648, 651, 1, 0, 0, 0, 649, 647, 1, 0, 0, 0, 650, 652,
|
|
3925
|
+
3, 122, 61, 0, 651, 650, 1, 0, 0, 0, 651, 652, 1, 0, 0, 0, 652, 119, 1, 0, 0, 0, 653, 654,
|
|
3926
|
+
5, 30, 0, 0, 654, 655, 5, 29, 0, 0, 655, 656, 3, 62, 31, 0, 656, 657, 5, 1, 0, 0, 657,
|
|
3927
|
+
658, 3, 4, 2, 0, 658, 121, 1, 0, 0, 0, 659, 660, 5, 30, 0, 0, 660, 661, 5, 1, 0, 0, 661,
|
|
3928
|
+
662, 3, 4, 2, 0, 662, 123, 1, 0, 0, 0, 663, 664, 5, 27, 0, 0, 664, 665, 3, 62, 31, 0, 665,
|
|
3929
|
+
666, 5, 1, 0, 0, 666, 667, 3, 4, 2, 0, 667, 125, 1, 0, 0, 0, 668, 669, 5, 25, 0, 0, 669,
|
|
3930
|
+
674, 5, 56, 0, 0, 670, 671, 5, 2, 0, 0, 671, 673, 5, 56, 0, 0, 672, 670, 1, 0, 0, 0, 673,
|
|
3931
|
+
676, 1, 0, 0, 0, 674, 672, 1, 0, 0, 0, 674, 675, 1, 0, 0, 0, 675, 677, 1, 0, 0, 0, 676,
|
|
3932
|
+
674, 1, 0, 0, 0, 677, 678, 5, 26, 0, 0, 678, 679, 3, 62, 31, 0, 679, 680, 5, 1, 0, 0, 680,
|
|
3933
|
+
681, 3, 4, 2, 0, 681, 127, 1, 0, 0, 0, 72, 130, 132, 137, 139, 165, 171, 173, 180, 192,
|
|
3934
|
+
194, 209, 213, 218, 222, 230, 243, 254, 262, 264, 275, 286, 288, 294, 300, 304,
|
|
3935
|
+
329, 336, 344, 347, 365, 375, 390, 392, 400, 408, 416, 418, 424, 431, 440, 452,
|
|
3936
|
+
455, 462, 467, 472, 475, 481, 484, 488, 504, 506, 514, 516, 525, 538, 540, 548,
|
|
3937
|
+
550, 556, 564, 572, 580, 594, 597, 602, 605, 611, 620, 625, 647, 651, 674
|
|
3904
3938
|
];
|
|
3905
3939
|
CircuitScriptParser.vocabulary = new antlr.Vocabulary(CircuitScriptParser.literalNames, CircuitScriptParser.symbolicNames, []);
|
|
3906
3940
|
CircuitScriptParser.decisionsToDFA = CircuitScriptParser._ATN.decisionToState.map((ds, index) => new antlr.DFA(ds, index));
|
|
@@ -3911,11 +3945,11 @@ class ScriptContext extends antlr.ParserRuleContext {
|
|
|
3911
3945
|
EOF() {
|
|
3912
3946
|
return this.getToken(CircuitScriptParser.EOF, 0);
|
|
3913
3947
|
}
|
|
3914
|
-
|
|
3948
|
+
import_expr(i) {
|
|
3915
3949
|
if (i === undefined) {
|
|
3916
|
-
return this.getRuleContexts(
|
|
3950
|
+
return this.getRuleContexts(Import_exprContext);
|
|
3917
3951
|
}
|
|
3918
|
-
return this.getRuleContext(i,
|
|
3952
|
+
return this.getRuleContext(i, Import_exprContext);
|
|
3919
3953
|
}
|
|
3920
3954
|
NEWLINE(i) {
|
|
3921
3955
|
if (i === undefined) {
|
|
@@ -3925,6 +3959,12 @@ class ScriptContext extends antlr.ParserRuleContext {
|
|
|
3925
3959
|
return this.getToken(CircuitScriptParser.NEWLINE, i);
|
|
3926
3960
|
}
|
|
3927
3961
|
}
|
|
3962
|
+
expression(i) {
|
|
3963
|
+
if (i === undefined) {
|
|
3964
|
+
return this.getRuleContexts(ExpressionContext);
|
|
3965
|
+
}
|
|
3966
|
+
return this.getRuleContext(i, ExpressionContext);
|
|
3967
|
+
}
|
|
3928
3968
|
get ruleIndex() {
|
|
3929
3969
|
return CircuitScriptParser.RULE_script;
|
|
3930
3970
|
}
|