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