circuitscript 0.0.17 → 0.0.19
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/__tests__/parseScripts.ts +160 -1
- package/__tests__/renderData/script1.cst.svg +1 -1
- package/__tests__/renderData/script5.cst.svg +1 -1
- package/__tests__/renderData/script6.cst +28 -0
- package/__tests__/renderData/script6.cst.svg +1 -0
- package/__tests__/renderData/script7.cst +26 -0
- package/__tests__/renderData/script7.cst.svg +1 -0
- package/__tests__/renderData/script8.cst +37 -0
- package/__tests__/renderData/script8.cst.svg +1 -0
- package/__tests__/testParse.ts +6 -2
- package/__tests__/testRender.ts +4 -1
- package/build/src/antlr/CircuitScriptLexer.js +152 -143
- package/build/src/antlr/CircuitScriptParser.js +731 -619
- package/build/src/antlr/CircuitScriptVisitor.js +2 -2
- package/build/src/draw_symbols.js +5 -2
- package/build/src/execute.js +140 -73
- package/build/src/export.js +2 -2
- package/build/src/globals.js +8 -0
- package/build/src/layout.js +27 -13
- package/build/src/objects/ExecutionScope.js +1 -1
- package/build/src/visitor.js +51 -25
- package/package.json +1 -1
- package/src/antlr/CircuitScript.g4 +9 -7
- package/src/antlr/CircuitScriptLexer.ts +152 -143
- package/src/antlr/CircuitScriptParser.ts +728 -616
- package/src/antlr/CircuitScriptVisitor.ts +6 -6
- package/src/draw_symbols.ts +7 -2
- package/src/execute.ts +185 -91
- package/src/export.ts +2 -2
- package/src/globals.ts +8 -0
- package/src/layout.ts +54 -29
- package/src/objects/ExecutionScope.ts +11 -3
- package/src/visitor.ts +64 -37
|
@@ -33,31 +33,33 @@ export default class CircuitScriptLexer extends Lexer {
|
|
|
33
33
|
public static readonly At = 17;
|
|
34
34
|
public static readonly To = 18;
|
|
35
35
|
public static readonly Point = 19;
|
|
36
|
-
public static readonly
|
|
37
|
-
public static readonly
|
|
38
|
-
public static readonly
|
|
39
|
-
public static readonly
|
|
40
|
-
public static readonly
|
|
41
|
-
public static readonly
|
|
42
|
-
public static readonly
|
|
43
|
-
public static readonly
|
|
44
|
-
public static readonly
|
|
45
|
-
public static readonly
|
|
46
|
-
public static readonly
|
|
47
|
-
public static readonly
|
|
48
|
-
public static readonly
|
|
49
|
-
public static readonly
|
|
50
|
-
public static readonly
|
|
51
|
-
public static readonly
|
|
52
|
-
public static readonly
|
|
53
|
-
public static readonly
|
|
54
|
-
public static readonly
|
|
55
|
-
public static readonly
|
|
56
|
-
public static readonly
|
|
57
|
-
public static readonly
|
|
58
|
-
public static readonly
|
|
59
|
-
public static readonly
|
|
60
|
-
public static readonly
|
|
36
|
+
public static readonly Join = 20;
|
|
37
|
+
public static readonly Parallel = 21;
|
|
38
|
+
public static readonly Return = 22;
|
|
39
|
+
public static readonly Define = 23;
|
|
40
|
+
public static readonly Import = 24;
|
|
41
|
+
public static readonly If = 25;
|
|
42
|
+
public static readonly Not = 26;
|
|
43
|
+
public static readonly Equals = 27;
|
|
44
|
+
public static readonly NotEquals = 28;
|
|
45
|
+
public static readonly Addition = 29;
|
|
46
|
+
public static readonly Minus = 30;
|
|
47
|
+
public static readonly Divide = 31;
|
|
48
|
+
public static readonly Multiply = 32;
|
|
49
|
+
public static readonly OPEN_PAREN = 33;
|
|
50
|
+
public static readonly CLOSE_PAREN = 34;
|
|
51
|
+
public static readonly NOT_CONNECTED = 35;
|
|
52
|
+
public static readonly BOOLEAN_VALUE = 36;
|
|
53
|
+
public static readonly ID = 37;
|
|
54
|
+
public static readonly INTEGER_VALUE = 38;
|
|
55
|
+
public static readonly DECIMAL_VALUE = 39;
|
|
56
|
+
public static readonly NUMERIC_VALUE = 40;
|
|
57
|
+
public static readonly STRING_VALUE = 41;
|
|
58
|
+
public static readonly PERCENTAGE_VALUE = 42;
|
|
59
|
+
public static readonly ALPHA_NUMERIC = 43;
|
|
60
|
+
public static readonly WS = 44;
|
|
61
|
+
public static readonly NEWLINE = 45;
|
|
62
|
+
public static readonly SKIP_ = 46;
|
|
61
63
|
public static readonly EOF = Token.EOF;
|
|
62
64
|
|
|
63
65
|
public static readonly channelNames: string[] = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN" ];
|
|
@@ -73,6 +75,7 @@ export default class CircuitScriptLexer extends Lexer {
|
|
|
73
75
|
"'wire'", "'pin'",
|
|
74
76
|
"'add'", "'at'",
|
|
75
77
|
"'to'", "'point'",
|
|
78
|
+
"'join'", "'parallel'",
|
|
76
79
|
"'return'",
|
|
77
80
|
"'def'", "'import'",
|
|
78
81
|
"'if'", "'!'",
|
|
@@ -91,6 +94,7 @@ export default class CircuitScriptLexer extends Lexer {
|
|
|
91
94
|
"Wire", "Pin",
|
|
92
95
|
"Add", "At",
|
|
93
96
|
"To", "Point",
|
|
97
|
+
"Join", "Parallel",
|
|
94
98
|
"Return", "Define",
|
|
95
99
|
"Import", "If",
|
|
96
100
|
"Not", "Equals",
|
|
@@ -115,10 +119,10 @@ export default class CircuitScriptLexer extends Lexer {
|
|
|
115
119
|
public static readonly ruleNames: string[] = [
|
|
116
120
|
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "Break",
|
|
117
121
|
"Branch", "Create", "Component", "Graphic", "Wire", "Pin", "Add", "At",
|
|
118
|
-
"To", "Point", "
|
|
119
|
-
"
|
|
120
|
-
"NOT_CONNECTED", "BOOLEAN_VALUE", "ID", "DecimalIntegerLiteral",
|
|
121
|
-
"DECIMAL_VALUE", "NUMERIC_VALUE", "STRING_VALUE", "PERCENTAGE_VALUE",
|
|
122
|
+
"To", "Point", "Join", "Parallel", "Return", "Define", "Import", "If",
|
|
123
|
+
"Not", "Equals", "NotEquals", "Addition", "Minus", "Divide", "Multiply",
|
|
124
|
+
"OPEN_PAREN", "CLOSE_PAREN", "NOT_CONNECTED", "BOOLEAN_VALUE", "ID", "DecimalIntegerLiteral",
|
|
125
|
+
"INTEGER_VALUE", "DECIMAL_VALUE", "NUMERIC_VALUE", "STRING_VALUE", "PERCENTAGE_VALUE",
|
|
122
126
|
"ALPHA_NUMERIC", "WS", "NEWLINE", "SPACES", "COMMENT", "SKIP_",
|
|
123
127
|
];
|
|
124
128
|
|
|
@@ -143,13 +147,13 @@ export default class CircuitScriptLexer extends Lexer {
|
|
|
143
147
|
// @Override
|
|
144
148
|
public action(localctx: RuleContext, ruleIndex: number, actionIndex: number): void {
|
|
145
149
|
switch (ruleIndex) {
|
|
146
|
-
case
|
|
150
|
+
case 32:
|
|
147
151
|
this.OPEN_PAREN_action(localctx, actionIndex);
|
|
148
152
|
break;
|
|
149
|
-
case
|
|
153
|
+
case 33:
|
|
150
154
|
this.CLOSE_PAREN_action(localctx, actionIndex);
|
|
151
155
|
break;
|
|
152
|
-
case
|
|
156
|
+
case 45:
|
|
153
157
|
this.NEWLINE_action(localctx, actionIndex);
|
|
154
158
|
break;
|
|
155
159
|
}
|
|
@@ -176,123 +180,128 @@ export default class CircuitScriptLexer extends Lexer {
|
|
|
176
180
|
}
|
|
177
181
|
}
|
|
178
182
|
|
|
179
|
-
public static readonly _serializedATN: number[] = [4,0,
|
|
183
|
+
public static readonly _serializedATN: number[] = [4,0,46,368,6,-1,2,0,
|
|
180
184
|
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,6,2,7,7,7,2,8,7,8,2,9,
|
|
181
185
|
7,9,2,10,7,10,2,11,7,11,2,12,7,12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,
|
|
182
186
|
16,2,17,7,17,2,18,7,18,2,19,7,19,2,20,7,20,2,21,7,21,2,22,7,22,2,23,7,23,
|
|
183
187
|
2,24,7,24,2,25,7,25,2,26,7,26,2,27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,
|
|
184
188
|
31,7,31,2,32,7,32,2,33,7,33,2,34,7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,
|
|
185
189
|
7,38,2,39,7,39,2,40,7,40,2,41,7,41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,
|
|
186
|
-
45,2,46,7,46,1,0,1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,3,1,
|
|
187
|
-
|
|
188
|
-
9,1,9,1,
|
|
189
|
-
1,11,1,11,1,11,1,11,1,
|
|
190
|
-
13,1,13,1,13,1,
|
|
191
|
-
1,
|
|
192
|
-
19,1,
|
|
193
|
-
1,
|
|
194
|
-
|
|
195
|
-
1,
|
|
196
|
-
34,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
1,
|
|
203
|
-
42,1,42,1,43,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
1,0,0,0,0,
|
|
215
|
-
0,0,
|
|
216
|
-
1,0,0,0,0,
|
|
217
|
-
0,0,
|
|
218
|
-
1,0,0,0,0,
|
|
219
|
-
0,0,
|
|
220
|
-
1,0,0,0,0,
|
|
221
|
-
0,
|
|
222
|
-
0,0,
|
|
223
|
-
1,0,0,0,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
0,0,
|
|
227
|
-
1,0,0,0,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
0,0,
|
|
231
|
-
0,0,
|
|
232
|
-
|
|
233
|
-
0,
|
|
234
|
-
|
|
235
|
-
5,
|
|
236
|
-
|
|
237
|
-
0,0,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
5,
|
|
243
|
-
5,
|
|
244
|
-
0,0,
|
|
245
|
-
0,
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
0,0,
|
|
251
|
-
0,0,
|
|
252
|
-
0,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
5,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
0,0,
|
|
259
|
-
|
|
260
|
-
0,
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
1,0,0,0,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
0,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
0,
|
|
274
|
-
1,0,0,0,
|
|
275
|
-
0,
|
|
276
|
-
|
|
277
|
-
0,0,
|
|
278
|
-
|
|
279
|
-
0,0,
|
|
280
|
-
|
|
281
|
-
0,0,
|
|
282
|
-
|
|
283
|
-
0,0,
|
|
284
|
-
|
|
285
|
-
0,0,
|
|
286
|
-
|
|
287
|
-
1,0,0,0,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
1,0,0,0,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
0,1,
|
|
190
|
+
45,2,46,7,46,2,47,7,47,2,48,7,48,1,0,1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,3,1,
|
|
191
|
+
4,1,4,1,5,1,5,1,6,1,6,1,7,1,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,8,1,
|
|
192
|
+
9,1,9,1,9,1,9,1,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,1,10,1,10,1,11,1,11,
|
|
193
|
+
1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,11,1,12,1,12,1,12,1,12,1,12,1,12,1,
|
|
194
|
+
12,1,12,1,13,1,13,1,13,1,13,1,13,1,14,1,14,1,14,1,14,1,15,1,15,1,15,1,15,
|
|
195
|
+
1,16,1,16,1,16,1,17,1,17,1,17,1,18,1,18,1,18,1,18,1,18,1,18,1,19,1,19,1,
|
|
196
|
+
19,1,19,1,19,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,20,1,21,1,21,1,21,
|
|
197
|
+
1,21,1,21,1,21,1,21,1,22,1,22,1,22,1,22,1,23,1,23,1,23,1,23,1,23,1,23,1,
|
|
198
|
+
23,1,24,1,24,1,24,1,25,1,25,1,26,1,26,1,26,1,27,1,27,1,27,1,28,1,28,1,29,
|
|
199
|
+
1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,32,1,33,1,33,1,33,1,34,1,34,1,34,1,
|
|
200
|
+
34,3,34,245,8,34,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,1,35,3,35,256,
|
|
201
|
+
8,35,1,36,1,36,5,36,260,8,36,10,36,12,36,263,9,36,1,37,1,37,1,37,5,37,268,
|
|
202
|
+
8,37,10,37,12,37,271,9,37,3,37,273,8,37,1,38,4,38,276,8,38,11,38,12,38,
|
|
203
|
+
277,1,38,5,38,281,8,38,10,38,12,38,284,9,38,1,38,3,38,287,8,38,1,39,1,39,
|
|
204
|
+
1,39,1,39,5,39,293,8,39,10,39,12,39,296,9,39,1,40,1,40,3,40,300,8,40,1,
|
|
205
|
+
40,3,40,303,8,40,1,41,1,41,5,41,307,8,41,10,41,12,41,310,9,41,1,41,1,41,
|
|
206
|
+
1,42,4,42,315,8,42,11,42,12,42,316,1,42,5,42,320,8,42,10,42,12,42,323,9,
|
|
207
|
+
42,1,42,1,42,1,43,4,43,328,8,43,11,43,12,43,329,1,44,4,44,333,8,44,11,44,
|
|
208
|
+
12,44,334,1,44,1,44,1,45,3,45,340,8,45,1,45,1,45,3,45,344,8,45,1,45,3,45,
|
|
209
|
+
347,8,45,1,45,1,45,1,46,4,46,352,8,46,11,46,12,46,353,1,47,1,47,5,47,358,
|
|
210
|
+
8,47,10,47,12,47,361,9,47,1,48,1,48,3,48,365,8,48,1,48,1,48,1,308,0,49,
|
|
211
|
+
1,1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,9,19,10,21,11,23,12,25,13,27,14,29,
|
|
212
|
+
15,31,16,33,17,35,18,37,19,39,20,41,21,43,22,45,23,47,24,49,25,51,26,53,
|
|
213
|
+
27,55,28,57,29,59,30,61,31,63,32,65,33,67,34,69,35,71,36,73,37,75,0,77,
|
|
214
|
+
38,79,39,81,40,83,41,85,42,87,43,89,44,91,45,93,0,95,0,97,46,1,0,10,3,0,
|
|
215
|
+
65,90,95,95,97,122,4,0,48,57,65,90,95,95,97,122,1,0,49,57,2,0,48,57,95,
|
|
216
|
+
95,1,0,48,57,1,0,48,48,5,0,77,77,107,107,109,110,112,112,117,117,3,0,48,
|
|
217
|
+
57,65,90,97,122,2,0,9,9,32,32,2,0,10,10,12,13,386,0,1,1,0,0,0,0,3,1,0,0,
|
|
218
|
+
0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,
|
|
219
|
+
0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,25,1,0,0,0,
|
|
220
|
+
0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,0,0,0,37,1,
|
|
221
|
+
0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,1,0,0,0,
|
|
222
|
+
0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,0,59,1,
|
|
223
|
+
0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,0,0,0,
|
|
224
|
+
0,71,1,0,0,0,0,73,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,81,1,0,0,0,0,83,1,
|
|
225
|
+
0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,0,0,0,97,1,0,0,0,
|
|
226
|
+
1,99,1,0,0,0,3,101,1,0,0,0,5,103,1,0,0,0,7,105,1,0,0,0,9,108,1,0,0,0,11,
|
|
227
|
+
110,1,0,0,0,13,112,1,0,0,0,15,114,1,0,0,0,17,120,1,0,0,0,19,126,1,0,0,0,
|
|
228
|
+
21,133,1,0,0,0,23,140,1,0,0,0,25,150,1,0,0,0,27,158,1,0,0,0,29,163,1,0,
|
|
229
|
+
0,0,31,167,1,0,0,0,33,171,1,0,0,0,35,174,1,0,0,0,37,177,1,0,0,0,39,183,
|
|
230
|
+
1,0,0,0,41,188,1,0,0,0,43,197,1,0,0,0,45,204,1,0,0,0,47,208,1,0,0,0,49,
|
|
231
|
+
215,1,0,0,0,51,218,1,0,0,0,53,220,1,0,0,0,55,223,1,0,0,0,57,226,1,0,0,0,
|
|
232
|
+
59,228,1,0,0,0,61,230,1,0,0,0,63,232,1,0,0,0,65,234,1,0,0,0,67,237,1,0,
|
|
233
|
+
0,0,69,244,1,0,0,0,71,255,1,0,0,0,73,257,1,0,0,0,75,272,1,0,0,0,77,286,
|
|
234
|
+
1,0,0,0,79,288,1,0,0,0,81,299,1,0,0,0,83,304,1,0,0,0,85,314,1,0,0,0,87,
|
|
235
|
+
327,1,0,0,0,89,332,1,0,0,0,91,343,1,0,0,0,93,351,1,0,0,0,95,355,1,0,0,0,
|
|
236
|
+
97,364,1,0,0,0,99,100,5,58,0,0,100,2,1,0,0,0,101,102,5,44,0,0,102,4,1,0,
|
|
237
|
+
0,0,103,104,5,61,0,0,104,6,1,0,0,0,105,106,5,46,0,0,106,107,5,46,0,0,107,
|
|
238
|
+
8,1,0,0,0,108,109,5,46,0,0,109,10,1,0,0,0,110,111,5,91,0,0,111,12,1,0,0,
|
|
239
|
+
0,112,113,5,93,0,0,113,14,1,0,0,0,114,115,5,102,0,0,115,116,5,114,0,0,116,
|
|
240
|
+
117,5,97,0,0,117,118,5,109,0,0,118,119,5,101,0,0,119,16,1,0,0,0,120,121,
|
|
241
|
+
5,98,0,0,121,122,5,114,0,0,122,123,5,101,0,0,123,124,5,97,0,0,124,125,5,
|
|
242
|
+
107,0,0,125,18,1,0,0,0,126,127,5,98,0,0,127,128,5,114,0,0,128,129,5,97,
|
|
243
|
+
0,0,129,130,5,110,0,0,130,131,5,99,0,0,131,132,5,104,0,0,132,20,1,0,0,0,
|
|
244
|
+
133,134,5,99,0,0,134,135,5,114,0,0,135,136,5,101,0,0,136,137,5,97,0,0,137,
|
|
245
|
+
138,5,116,0,0,138,139,5,101,0,0,139,22,1,0,0,0,140,141,5,99,0,0,141,142,
|
|
246
|
+
5,111,0,0,142,143,5,109,0,0,143,144,5,112,0,0,144,145,5,111,0,0,145,146,
|
|
247
|
+
5,110,0,0,146,147,5,101,0,0,147,148,5,110,0,0,148,149,5,116,0,0,149,24,
|
|
248
|
+
1,0,0,0,150,151,5,103,0,0,151,152,5,114,0,0,152,153,5,97,0,0,153,154,5,
|
|
249
|
+
112,0,0,154,155,5,104,0,0,155,156,5,105,0,0,156,157,5,99,0,0,157,26,1,0,
|
|
250
|
+
0,0,158,159,5,119,0,0,159,160,5,105,0,0,160,161,5,114,0,0,161,162,5,101,
|
|
251
|
+
0,0,162,28,1,0,0,0,163,164,5,112,0,0,164,165,5,105,0,0,165,166,5,110,0,
|
|
252
|
+
0,166,30,1,0,0,0,167,168,5,97,0,0,168,169,5,100,0,0,169,170,5,100,0,0,170,
|
|
253
|
+
32,1,0,0,0,171,172,5,97,0,0,172,173,5,116,0,0,173,34,1,0,0,0,174,175,5,
|
|
254
|
+
116,0,0,175,176,5,111,0,0,176,36,1,0,0,0,177,178,5,112,0,0,178,179,5,111,
|
|
255
|
+
0,0,179,180,5,105,0,0,180,181,5,110,0,0,181,182,5,116,0,0,182,38,1,0,0,
|
|
256
|
+
0,183,184,5,106,0,0,184,185,5,111,0,0,185,186,5,105,0,0,186,187,5,110,0,
|
|
257
|
+
0,187,40,1,0,0,0,188,189,5,112,0,0,189,190,5,97,0,0,190,191,5,114,0,0,191,
|
|
258
|
+
192,5,97,0,0,192,193,5,108,0,0,193,194,5,108,0,0,194,195,5,101,0,0,195,
|
|
259
|
+
196,5,108,0,0,196,42,1,0,0,0,197,198,5,114,0,0,198,199,5,101,0,0,199,200,
|
|
260
|
+
5,116,0,0,200,201,5,117,0,0,201,202,5,114,0,0,202,203,5,110,0,0,203,44,
|
|
261
|
+
1,0,0,0,204,205,5,100,0,0,205,206,5,101,0,0,206,207,5,102,0,0,207,46,1,
|
|
262
|
+
0,0,0,208,209,5,105,0,0,209,210,5,109,0,0,210,211,5,112,0,0,211,212,5,111,
|
|
263
|
+
0,0,212,213,5,114,0,0,213,214,5,116,0,0,214,48,1,0,0,0,215,216,5,105,0,
|
|
264
|
+
0,216,217,5,102,0,0,217,50,1,0,0,0,218,219,5,33,0,0,219,52,1,0,0,0,220,
|
|
265
|
+
221,5,61,0,0,221,222,5,61,0,0,222,54,1,0,0,0,223,224,5,33,0,0,224,225,5,
|
|
266
|
+
61,0,0,225,56,1,0,0,0,226,227,5,43,0,0,227,58,1,0,0,0,228,229,5,45,0,0,
|
|
267
|
+
229,60,1,0,0,0,230,231,5,47,0,0,231,62,1,0,0,0,232,233,5,42,0,0,233,64,
|
|
268
|
+
1,0,0,0,234,235,5,40,0,0,235,236,6,32,0,0,236,66,1,0,0,0,237,238,5,41,0,
|
|
269
|
+
0,238,239,6,33,1,0,239,68,1,0,0,0,240,241,5,110,0,0,241,245,5,99,0,0,242,
|
|
270
|
+
243,5,78,0,0,243,245,5,67,0,0,244,240,1,0,0,0,244,242,1,0,0,0,245,70,1,
|
|
271
|
+
0,0,0,246,247,5,116,0,0,247,248,5,114,0,0,248,249,5,117,0,0,249,256,5,101,
|
|
272
|
+
0,0,250,251,5,102,0,0,251,252,5,97,0,0,252,253,5,108,0,0,253,254,5,115,
|
|
273
|
+
0,0,254,256,5,101,0,0,255,246,1,0,0,0,255,250,1,0,0,0,256,72,1,0,0,0,257,
|
|
274
|
+
261,7,0,0,0,258,260,7,1,0,0,259,258,1,0,0,0,260,263,1,0,0,0,261,259,1,0,
|
|
275
|
+
0,0,261,262,1,0,0,0,262,74,1,0,0,0,263,261,1,0,0,0,264,273,5,48,0,0,265,
|
|
276
|
+
269,7,2,0,0,266,268,7,3,0,0,267,266,1,0,0,0,268,271,1,0,0,0,269,267,1,0,
|
|
277
|
+
0,0,269,270,1,0,0,0,270,273,1,0,0,0,271,269,1,0,0,0,272,264,1,0,0,0,272,
|
|
278
|
+
265,1,0,0,0,273,76,1,0,0,0,274,276,7,2,0,0,275,274,1,0,0,0,276,277,1,0,
|
|
279
|
+
0,0,277,275,1,0,0,0,277,278,1,0,0,0,278,282,1,0,0,0,279,281,7,4,0,0,280,
|
|
280
|
+
279,1,0,0,0,281,284,1,0,0,0,282,280,1,0,0,0,282,283,1,0,0,0,283,287,1,0,
|
|
281
|
+
0,0,284,282,1,0,0,0,285,287,7,5,0,0,286,275,1,0,0,0,286,285,1,0,0,0,287,
|
|
282
|
+
78,1,0,0,0,288,289,3,75,37,0,289,290,5,46,0,0,290,294,7,4,0,0,291,293,7,
|
|
283
|
+
3,0,0,292,291,1,0,0,0,293,296,1,0,0,0,294,292,1,0,0,0,294,295,1,0,0,0,295,
|
|
284
|
+
80,1,0,0,0,296,294,1,0,0,0,297,300,3,77,38,0,298,300,3,79,39,0,299,297,
|
|
285
|
+
1,0,0,0,299,298,1,0,0,0,300,302,1,0,0,0,301,303,7,6,0,0,302,301,1,0,0,0,
|
|
286
|
+
302,303,1,0,0,0,303,82,1,0,0,0,304,308,5,34,0,0,305,307,9,0,0,0,306,305,
|
|
287
|
+
1,0,0,0,307,310,1,0,0,0,308,309,1,0,0,0,308,306,1,0,0,0,309,311,1,0,0,0,
|
|
288
|
+
310,308,1,0,0,0,311,312,5,34,0,0,312,84,1,0,0,0,313,315,7,2,0,0,314,313,
|
|
289
|
+
1,0,0,0,315,316,1,0,0,0,316,314,1,0,0,0,316,317,1,0,0,0,317,321,1,0,0,0,
|
|
290
|
+
318,320,7,4,0,0,319,318,1,0,0,0,320,323,1,0,0,0,321,319,1,0,0,0,321,322,
|
|
291
|
+
1,0,0,0,322,324,1,0,0,0,323,321,1,0,0,0,324,325,5,37,0,0,325,86,1,0,0,0,
|
|
292
|
+
326,328,7,7,0,0,327,326,1,0,0,0,328,329,1,0,0,0,329,327,1,0,0,0,329,330,
|
|
293
|
+
1,0,0,0,330,88,1,0,0,0,331,333,7,8,0,0,332,331,1,0,0,0,333,334,1,0,0,0,
|
|
294
|
+
334,332,1,0,0,0,334,335,1,0,0,0,335,336,1,0,0,0,336,337,6,44,2,0,337,90,
|
|
295
|
+
1,0,0,0,338,340,5,13,0,0,339,338,1,0,0,0,339,340,1,0,0,0,340,341,1,0,0,
|
|
296
|
+
0,341,344,5,10,0,0,342,344,2,12,13,0,343,339,1,0,0,0,343,342,1,0,0,0,344,
|
|
297
|
+
346,1,0,0,0,345,347,3,93,46,0,346,345,1,0,0,0,346,347,1,0,0,0,347,348,1,
|
|
298
|
+
0,0,0,348,349,6,45,3,0,349,92,1,0,0,0,350,352,7,8,0,0,351,350,1,0,0,0,352,
|
|
299
|
+
353,1,0,0,0,353,351,1,0,0,0,353,354,1,0,0,0,354,94,1,0,0,0,355,359,5,35,
|
|
300
|
+
0,0,356,358,8,9,0,0,357,356,1,0,0,0,358,361,1,0,0,0,359,357,1,0,0,0,359,
|
|
301
|
+
360,1,0,0,0,360,96,1,0,0,0,361,359,1,0,0,0,362,365,3,89,44,0,363,365,3,
|
|
302
|
+
95,47,0,364,362,1,0,0,0,364,363,1,0,0,0,365,366,1,0,0,0,366,367,6,48,2,
|
|
303
|
+
0,367,98,1,0,0,0,23,0,244,255,261,269,272,277,282,286,294,299,302,308,316,
|
|
304
|
+
321,329,334,339,343,346,353,359,364,4,1,32,0,1,33,1,6,0,0,1,45,2];
|
|
296
305
|
|
|
297
306
|
private static __ATN: ATN;
|
|
298
307
|
public static get _ATN(): ATN {
|