circuitscript 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseVisitor.js +394 -262
- package/dist/cjs/LexerDiagnosticListener.js +375 -0
- package/dist/cjs/{ComponentAnnotater.js → annotate/ComponentAnnotater.js} +29 -15
- package/dist/cjs/annotate/DefaultPostAnnotationCallback.js +126 -0
- package/dist/cjs/{RefdesAnnotationVisitor.js → annotate/RefdesAnnotationVisitor.js} +10 -84
- package/dist/cjs/annotate/utils.js +70 -0
- package/dist/cjs/antlr/CircuitScriptLexer.js +279 -286
- package/dist/cjs/antlr/CircuitScriptParser.js +1954 -3535
- package/dist/cjs/antlr/CircuitScriptParserVisitor.js +7 -0
- package/dist/cjs/cache/deserializer.js +34 -0
- package/dist/cjs/cache/hash.js +8 -0
- package/dist/cjs/cache/serializer.js +122 -0
- package/dist/cjs/cache/storage.js +45 -0
- package/dist/cjs/cache/types.js +4 -0
- package/dist/cjs/{environment.js → environment/environment.js} +18 -6
- package/dist/cjs/environment/esm-environment.js +21 -0
- package/dist/cjs/environment/helpers.js +8 -0
- package/dist/cjs/execute.js +49 -15
- package/dist/cjs/globals.js +9 -1
- package/dist/cjs/helpers.js +3 -467
- package/dist/cjs/importResolver.js +102 -0
- package/dist/cjs/index.js +7 -6
- package/dist/cjs/lexer.js +48 -12
- package/dist/cjs/main.js +14 -4
- package/dist/cjs/objects/ClassComponent.js +1 -1
- package/dist/cjs/objects/ExecutionScope.js +0 -1
- package/dist/cjs/objects/types.js +17 -1
- package/dist/cjs/parser.js +18 -4
- package/dist/cjs/pipeline.js +284 -0
- package/dist/cjs/regenerate-tests.js +4 -3
- package/dist/cjs/render/KiCadNetListOutputHandler.js +30 -0
- package/dist/cjs/render/PaperSizes.js +46 -0
- package/dist/cjs/{draw_symbols.js → render/draw_symbols.js} +58 -36
- package/dist/cjs/{export.js → render/export.js} +2 -2
- package/dist/cjs/{geometry.js → render/geometry.js} +5 -5
- package/dist/cjs/{graph.js → render/graph.js} +7 -7
- package/dist/cjs/{layout.js → render/layout.js} +8 -8
- package/dist/cjs/{render.js → render/render.js} +9 -8
- package/dist/cjs/rules-check/no-connect-on-connected-pin.js +1 -1
- package/dist/cjs/rules-check/unconnected-pins.js +1 -1
- package/dist/cjs/{SemanticTokenVisitor.js → semantic-tokens/SemanticTokenVisitor.js} +12 -14
- package/dist/cjs/semantic-tokens/getSemanticTokens.js +55 -0
- package/dist/cjs/sizing.js +2 -2
- package/dist/cjs/utils.js +2 -2
- package/dist/cjs/validate/SymbolValidatorResolveVisitor.js +6 -0
- package/dist/cjs/validate/SymbolValidatorVisitor.js +34 -39
- package/dist/cjs/validate/validateScript.js +54 -0
- package/dist/cjs/validate.js +5 -4
- package/dist/cjs/visitor.js +158 -212
- package/dist/esm/BaseVisitor.js +396 -264
- package/dist/esm/LexerDiagnosticListener.js +371 -0
- package/dist/esm/{ComponentAnnotater.js → annotate/ComponentAnnotater.js} +29 -15
- package/dist/esm/annotate/DefaultPostAnnotationCallback.js +122 -0
- package/dist/esm/{RefdesAnnotationVisitor.js → annotate/RefdesAnnotationVisitor.js} +10 -84
- package/dist/esm/annotate/utils.js +66 -0
- package/dist/esm/antlr/CircuitScriptLexer.js +279 -286
- package/dist/esm/antlr/CircuitScriptParser.js +1962 -3522
- package/dist/esm/antlr/{CircuitScriptVisitor.js → CircuitScriptParserVisitor.js} +14 -35
- package/dist/esm/cache/deserializer.js +30 -0
- package/dist/esm/cache/hash.js +4 -0
- package/dist/esm/cache/serializer.js +118 -0
- package/dist/esm/cache/storage.js +39 -0
- package/dist/esm/cache/types.js +1 -0
- package/dist/esm/{environment.js → environment/environment.js} +18 -6
- package/dist/esm/environment/esm-environment.js +17 -0
- package/dist/esm/environment/helpers.js +4 -0
- package/dist/esm/execute.js +49 -15
- package/dist/esm/globals.js +8 -0
- package/dist/esm/helpers.js +5 -456
- package/dist/esm/importResolver.js +96 -0
- package/dist/esm/index.js +7 -6
- package/dist/esm/lexer.js +51 -12
- package/dist/esm/main.js +13 -3
- package/dist/esm/objects/ClassComponent.js +1 -1
- package/dist/esm/objects/ExecutionScope.js +0 -1
- package/dist/esm/objects/types.js +21 -1
- package/dist/esm/parser.js +19 -5
- package/dist/esm/pipeline.js +276 -0
- package/dist/esm/regenerate-tests.js +3 -2
- package/dist/esm/render/KiCadNetListOutputHandler.js +20 -0
- package/dist/esm/render/PaperSizes.js +41 -0
- package/dist/esm/{draw_symbols.js → render/draw_symbols.js} +58 -36
- package/dist/esm/{export.js → render/export.js} +2 -2
- package/dist/esm/{geometry.js → render/geometry.js} +5 -5
- package/dist/esm/{graph.js → render/graph.js} +7 -7
- package/dist/esm/{layout.js → render/layout.js} +8 -8
- package/dist/esm/{render.js → render/render.js} +8 -7
- package/dist/esm/rules-check/no-connect-on-connected-pin.js +1 -1
- package/dist/esm/rules-check/unconnected-pins.js +1 -1
- package/dist/esm/{SemanticTokenVisitor.js → semantic-tokens/SemanticTokenVisitor.js} +12 -14
- package/dist/esm/semantic-tokens/getSemanticTokens.js +51 -0
- package/dist/esm/sizing.js +2 -2
- package/dist/esm/utils.js +2 -2
- package/dist/esm/validate/SymbolValidatorResolveVisitor.js +3 -0
- package/dist/esm/validate/SymbolValidatorVisitor.js +36 -41
- package/dist/esm/validate/validateScript.js +50 -0
- package/dist/esm/validate.js +4 -3
- package/dist/esm/visitor.js +160 -214
- package/dist/libs/std.cst +15 -19
- package/dist/types/BaseVisitor.d.ts +25 -18
- package/dist/types/BomGeneration.d.ts +1 -1
- package/dist/types/LexerDiagnosticListener.d.ts +85 -0
- package/dist/types/{ComponentAnnotater.d.ts → annotate/ComponentAnnotater.d.ts} +1 -1
- package/dist/types/annotate/DefaultPostAnnotationCallback.d.ts +7 -0
- package/dist/types/{RefdesAnnotationVisitor.d.ts → annotate/RefdesAnnotationVisitor.d.ts} +7 -9
- package/dist/types/annotate/utils.d.ts +6 -0
- package/dist/types/antlr/CircuitScriptLexer.d.ts +71 -70
- package/dist/types/antlr/CircuitScriptParser.d.ts +357 -515
- package/dist/types/antlr/{CircuitScriptVisitor.d.ts → CircuitScriptParserVisitor.d.ts} +27 -69
- package/dist/types/cache/deserializer.d.ts +5 -0
- package/dist/types/cache/hash.d.ts +1 -0
- package/dist/types/cache/serializer.d.ts +3 -0
- package/dist/types/cache/storage.d.ts +4 -0
- package/dist/types/cache/types.d.ts +20 -0
- package/dist/types/{environment.d.ts → environment/environment.d.ts} +5 -4
- package/dist/types/environment/esm-environment.d.ts +4 -0
- package/dist/types/environment/helpers.d.ts +2 -0
- package/dist/types/execute.d.ts +3 -2
- package/dist/types/globals.d.ts +1 -0
- package/dist/types/helpers.d.ts +31 -36
- package/dist/types/importResolver.d.ts +4 -0
- package/dist/types/index.d.ts +7 -6
- package/dist/types/lexer.d.ts +9 -5
- package/dist/types/objects/ClassComponent.d.ts +1 -1
- package/dist/types/objects/ExecutionScope.d.ts +1 -4
- package/dist/types/objects/types.d.ts +16 -2
- package/dist/types/parser.d.ts +9 -2
- package/dist/types/pipeline.d.ts +9 -0
- package/dist/types/render/KiCadNetListOutputHandler.d.ts +10 -0
- package/dist/types/render/PaperSizes.d.ts +12 -0
- package/dist/types/{draw_symbols.d.ts → render/draw_symbols.d.ts} +4 -4
- package/dist/types/{export.d.ts → render/export.d.ts} +1 -1
- package/dist/types/{geometry.d.ts → render/geometry.d.ts} +2 -2
- package/dist/types/{graph.d.ts → render/graph.d.ts} +6 -6
- package/dist/types/{layout.d.ts → render/layout.d.ts} +10 -10
- package/dist/types/{render.d.ts → render/render.d.ts} +1 -1
- package/dist/types/{SemanticTokenVisitor.d.ts → semantic-tokens/SemanticTokenVisitor.d.ts} +6 -6
- package/dist/types/semantic-tokens/getSemanticTokens.d.ts +6 -0
- package/dist/types/sizing.d.ts +1 -1
- package/dist/types/utils.d.ts +1 -1
- package/dist/types/validate/SymbolValidatorResolveVisitor.d.ts +3 -0
- package/dist/types/validate/SymbolValidatorVisitor.d.ts +8 -8
- package/dist/types/validate/validateScript.d.ts +3 -0
- package/dist/types/visitor.d.ts +8 -14
- package/libs/std.cst +15 -19
- package/package.json +3 -6
- package/dist/cjs/antlr/CircuitScriptVisitor.js +0 -7
|
@@ -30,7 +30,7 @@ class CircuitScriptLexer extends antlr.Lexer {
|
|
|
30
30
|
super(input);
|
|
31
31
|
this.interpreter = new antlr.LexerATNSimulator(this, CircuitScriptLexer._ATN, CircuitScriptLexer.decisionsToDFA, new antlr.PredictionContextCache());
|
|
32
32
|
}
|
|
33
|
-
get grammarFileName() { return "
|
|
33
|
+
get grammarFileName() { return "CircuitScriptLexer.g4"; }
|
|
34
34
|
get literalNames() { return CircuitScriptLexer.literalNames; }
|
|
35
35
|
get symbolicNames() { return CircuitScriptLexer.symbolicNames; }
|
|
36
36
|
get ruleNames() { return CircuitScriptLexer.ruleNames; }
|
|
@@ -39,35 +39,35 @@ class CircuitScriptLexer extends antlr.Lexer {
|
|
|
39
39
|
get modeNames() { return CircuitScriptLexer.modeNames; }
|
|
40
40
|
action(localContext, ruleIndex, actionIndex) {
|
|
41
41
|
switch (ruleIndex) {
|
|
42
|
-
case
|
|
43
|
-
this.
|
|
42
|
+
case 53:
|
|
43
|
+
this.NEWLINE_action(localContext, actionIndex);
|
|
44
44
|
break;
|
|
45
|
-
case
|
|
46
|
-
this.
|
|
45
|
+
case 58:
|
|
46
|
+
this.LParen_action(localContext, actionIndex);
|
|
47
47
|
break;
|
|
48
|
-
case
|
|
49
|
-
this.
|
|
48
|
+
case 59:
|
|
49
|
+
this.RParen_action(localContext, actionIndex);
|
|
50
50
|
break;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
NEWLINE_action(localContext, actionIndex) {
|
|
54
54
|
switch (actionIndex) {
|
|
55
55
|
case 0:
|
|
56
|
-
this.
|
|
56
|
+
this.onNewLine();
|
|
57
57
|
break;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
LParen_action(localContext, actionIndex) {
|
|
61
61
|
switch (actionIndex) {
|
|
62
62
|
case 1:
|
|
63
|
-
this.
|
|
63
|
+
this.openBrace();
|
|
64
64
|
break;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
RParen_action(localContext, actionIndex) {
|
|
68
68
|
switch (actionIndex) {
|
|
69
69
|
case 2:
|
|
70
|
-
this.
|
|
70
|
+
this.closeBrace();
|
|
71
71
|
break;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -82,120 +82,122 @@ class CircuitScriptLexer extends antlr.Lexer {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
exports.CircuitScriptLexer = CircuitScriptLexer;
|
|
85
|
-
CircuitScriptLexer.
|
|
86
|
-
CircuitScriptLexer.
|
|
87
|
-
CircuitScriptLexer.
|
|
88
|
-
CircuitScriptLexer.
|
|
89
|
-
CircuitScriptLexer.
|
|
90
|
-
CircuitScriptLexer.
|
|
91
|
-
CircuitScriptLexer.
|
|
92
|
-
CircuitScriptLexer.
|
|
93
|
-
CircuitScriptLexer.
|
|
94
|
-
CircuitScriptLexer.
|
|
95
|
-
CircuitScriptLexer.
|
|
96
|
-
CircuitScriptLexer.
|
|
97
|
-
CircuitScriptLexer.
|
|
98
|
-
CircuitScriptLexer.
|
|
99
|
-
CircuitScriptLexer.
|
|
100
|
-
CircuitScriptLexer.
|
|
101
|
-
CircuitScriptLexer.
|
|
102
|
-
CircuitScriptLexer.
|
|
103
|
-
CircuitScriptLexer.
|
|
104
|
-
CircuitScriptLexer.
|
|
105
|
-
CircuitScriptLexer.
|
|
106
|
-
CircuitScriptLexer.
|
|
107
|
-
CircuitScriptLexer.
|
|
108
|
-
CircuitScriptLexer.
|
|
109
|
-
CircuitScriptLexer.
|
|
110
|
-
CircuitScriptLexer.
|
|
111
|
-
CircuitScriptLexer.
|
|
112
|
-
CircuitScriptLexer.
|
|
113
|
-
CircuitScriptLexer.
|
|
114
|
-
CircuitScriptLexer.
|
|
115
|
-
CircuitScriptLexer.
|
|
116
|
-
CircuitScriptLexer.
|
|
117
|
-
CircuitScriptLexer.
|
|
118
|
-
CircuitScriptLexer.
|
|
119
|
-
CircuitScriptLexer.
|
|
120
|
-
CircuitScriptLexer.
|
|
121
|
-
CircuitScriptLexer.
|
|
122
|
-
CircuitScriptLexer.
|
|
123
|
-
CircuitScriptLexer.
|
|
124
|
-
CircuitScriptLexer.
|
|
125
|
-
CircuitScriptLexer.
|
|
126
|
-
CircuitScriptLexer.
|
|
127
|
-
CircuitScriptLexer.
|
|
128
|
-
CircuitScriptLexer.
|
|
129
|
-
CircuitScriptLexer.
|
|
130
|
-
CircuitScriptLexer.
|
|
131
|
-
CircuitScriptLexer.
|
|
132
|
-
CircuitScriptLexer.
|
|
133
|
-
CircuitScriptLexer.
|
|
134
|
-
CircuitScriptLexer.
|
|
135
|
-
CircuitScriptLexer.
|
|
136
|
-
CircuitScriptLexer.
|
|
137
|
-
CircuitScriptLexer.
|
|
138
|
-
CircuitScriptLexer.
|
|
139
|
-
CircuitScriptLexer.
|
|
140
|
-
CircuitScriptLexer.
|
|
141
|
-
CircuitScriptLexer.
|
|
142
|
-
CircuitScriptLexer.
|
|
143
|
-
CircuitScriptLexer.
|
|
144
|
-
CircuitScriptLexer.
|
|
145
|
-
CircuitScriptLexer.
|
|
146
|
-
CircuitScriptLexer.
|
|
147
|
-
CircuitScriptLexer.
|
|
148
|
-
CircuitScriptLexer.
|
|
149
|
-
CircuitScriptLexer.
|
|
150
|
-
CircuitScriptLexer.
|
|
151
|
-
CircuitScriptLexer.
|
|
152
|
-
CircuitScriptLexer.
|
|
85
|
+
CircuitScriptLexer.INDENT = 1;
|
|
86
|
+
CircuitScriptLexer.DEDENT = 2;
|
|
87
|
+
CircuitScriptLexer.Break = 3;
|
|
88
|
+
CircuitScriptLexer.Branch = 4;
|
|
89
|
+
CircuitScriptLexer.Create = 5;
|
|
90
|
+
CircuitScriptLexer.Component = 6;
|
|
91
|
+
CircuitScriptLexer.Graphic = 7;
|
|
92
|
+
CircuitScriptLexer.Module = 8;
|
|
93
|
+
CircuitScriptLexer.Wire = 9;
|
|
94
|
+
CircuitScriptLexer.Pin = 10;
|
|
95
|
+
CircuitScriptLexer.Add = 11;
|
|
96
|
+
CircuitScriptLexer.At = 12;
|
|
97
|
+
CircuitScriptLexer.To = 13;
|
|
98
|
+
CircuitScriptLexer.Point = 14;
|
|
99
|
+
CircuitScriptLexer.Join = 15;
|
|
100
|
+
CircuitScriptLexer.Parallel = 16;
|
|
101
|
+
CircuitScriptLexer.Return = 17;
|
|
102
|
+
CircuitScriptLexer.Define = 18;
|
|
103
|
+
CircuitScriptLexer.Import = 19;
|
|
104
|
+
CircuitScriptLexer.From = 20;
|
|
105
|
+
CircuitScriptLexer.For = 21;
|
|
106
|
+
CircuitScriptLexer.In = 22;
|
|
107
|
+
CircuitScriptLexer.While = 23;
|
|
108
|
+
CircuitScriptLexer.Continue = 24;
|
|
109
|
+
CircuitScriptLexer.If = 25;
|
|
110
|
+
CircuitScriptLexer.Else = 26;
|
|
111
|
+
CircuitScriptLexer.Not = 27;
|
|
112
|
+
CircuitScriptLexer.Frame = 28;
|
|
113
|
+
CircuitScriptLexer.Sheet = 29;
|
|
114
|
+
CircuitScriptLexer.Set = 30;
|
|
115
|
+
CircuitScriptLexer.Colon = 31;
|
|
116
|
+
CircuitScriptLexer.Comma = 32;
|
|
117
|
+
CircuitScriptLexer.Dot = 33;
|
|
118
|
+
CircuitScriptLexer.DoubleDot = 34;
|
|
119
|
+
CircuitScriptLexer.LSquare = 35;
|
|
120
|
+
CircuitScriptLexer.RSquare = 36;
|
|
121
|
+
CircuitScriptLexer.Assign = 37;
|
|
122
|
+
CircuitScriptLexer.Equals = 38;
|
|
123
|
+
CircuitScriptLexer.NotEquals = 39;
|
|
124
|
+
CircuitScriptLexer.GreaterThan = 40;
|
|
125
|
+
CircuitScriptLexer.GreatOrEqualThan = 41;
|
|
126
|
+
CircuitScriptLexer.LessThan = 42;
|
|
127
|
+
CircuitScriptLexer.LessOrEqualThan = 43;
|
|
128
|
+
CircuitScriptLexer.LogicalAnd = 44;
|
|
129
|
+
CircuitScriptLexer.LogicalOr = 45;
|
|
130
|
+
CircuitScriptLexer.Addition = 46;
|
|
131
|
+
CircuitScriptLexer.Minus = 47;
|
|
132
|
+
CircuitScriptLexer.Divide = 48;
|
|
133
|
+
CircuitScriptLexer.Multiply = 49;
|
|
134
|
+
CircuitScriptLexer.Modulus = 50;
|
|
135
|
+
CircuitScriptLexer.AdditionAssign = 51;
|
|
136
|
+
CircuitScriptLexer.MinusAssign = 52;
|
|
137
|
+
CircuitScriptLexer.DivideAssign = 53;
|
|
138
|
+
CircuitScriptLexer.MultiplyAssign = 54;
|
|
139
|
+
CircuitScriptLexer.ModulusAssign = 55;
|
|
140
|
+
CircuitScriptLexer.NEWLINE = 56;
|
|
141
|
+
CircuitScriptLexer.WS = 57;
|
|
142
|
+
CircuitScriptLexer.COMMENT = 58;
|
|
143
|
+
CircuitScriptLexer.LParen = 59;
|
|
144
|
+
CircuitScriptLexer.RParen = 60;
|
|
145
|
+
CircuitScriptLexer.NOT_CONNECTED = 61;
|
|
146
|
+
CircuitScriptLexer.BOOLEAN_VALUE = 62;
|
|
147
|
+
CircuitScriptLexer.ANNOTATION_START = 63;
|
|
148
|
+
CircuitScriptLexer.INTEGER_VALUE = 64;
|
|
149
|
+
CircuitScriptLexer.DECIMAL_VALUE = 65;
|
|
150
|
+
CircuitScriptLexer.NUMERIC_VALUE = 66;
|
|
151
|
+
CircuitScriptLexer.PERCENTAGE_VALUE = 67;
|
|
152
|
+
CircuitScriptLexer.STRING_VALUE = 68;
|
|
153
|
+
CircuitScriptLexer.ID = 69;
|
|
153
154
|
CircuitScriptLexer.channelNames = [
|
|
154
155
|
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
|
|
155
156
|
];
|
|
156
157
|
CircuitScriptLexer.literalNames = [
|
|
157
|
-
null,
|
|
158
|
-
"'
|
|
159
|
-
"'
|
|
160
|
-
"'
|
|
161
|
-
"'
|
|
162
|
-
"'
|
|
163
|
-
"'+'", "'-'", "'/'", "'*'", "'%'", "'+='", "'-='", "'/='",
|
|
164
|
-
"'
|
|
158
|
+
null, null, null, "'break'", "'branch'", "'create'", "'component'",
|
|
159
|
+
"'graphic'", "'module'", "'wire'", "'pin'", "'add'", "'at'", "'to'",
|
|
160
|
+
"'point'", "'join'", "'parallel'", "'return'", "'def'", "'import'",
|
|
161
|
+
"'from'", "'for'", "'in'", "'while'", "'continue'", "'if'", "'else'",
|
|
162
|
+
null, "'frame'", "'sheet'", "'set'", "':'", "','", "'.'", "'..'",
|
|
163
|
+
"'['", "']'", "'='", "'=='", "'!='", "'>'", "'>='", "'<'", "'<='",
|
|
164
|
+
null, null, "'+'", "'-'", "'/'", "'*'", "'%'", "'+='", "'-='", "'/='",
|
|
165
|
+
"'*='", "'%='", null, null, null, "'('", "')'", null, null, "'#='"
|
|
165
166
|
];
|
|
166
167
|
CircuitScriptLexer.symbolicNames = [
|
|
167
|
-
null,
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
168
|
+
null, "INDENT", "DEDENT", "Break", "Branch", "Create", "Component",
|
|
169
|
+
"Graphic", "Module", "Wire", "Pin", "Add", "At", "To", "Point",
|
|
170
|
+
"Join", "Parallel", "Return", "Define", "Import", "From", "For",
|
|
171
|
+
"In", "While", "Continue", "If", "Else", "Not", "Frame", "Sheet",
|
|
172
|
+
"Set", "Colon", "Comma", "Dot", "DoubleDot", "LSquare", "RSquare",
|
|
173
|
+
"Assign", "Equals", "NotEquals", "GreaterThan", "GreatOrEqualThan",
|
|
172
174
|
"LessThan", "LessOrEqualThan", "LogicalAnd", "LogicalOr", "Addition",
|
|
173
175
|
"Minus", "Divide", "Multiply", "Modulus", "AdditionAssign", "MinusAssign",
|
|
174
|
-
"DivideAssign", "MultiplyAssign", "ModulusAssign", "
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"PERCENTAGE_VALUE", "
|
|
176
|
+
"DivideAssign", "MultiplyAssign", "ModulusAssign", "NEWLINE", "WS",
|
|
177
|
+
"COMMENT", "LParen", "RParen", "NOT_CONNECTED", "BOOLEAN_VALUE",
|
|
178
|
+
"ANNOTATION_START", "INTEGER_VALUE", "DECIMAL_VALUE", "NUMERIC_VALUE",
|
|
179
|
+
"PERCENTAGE_VALUE", "STRING_VALUE", "ID"
|
|
178
180
|
];
|
|
179
181
|
CircuitScriptLexer.modeNames = [
|
|
180
182
|
"DEFAULT_MODE",
|
|
181
183
|
];
|
|
182
184
|
CircuitScriptLexer.ruleNames = [
|
|
183
|
-
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7",
|
|
184
185
|
"Break", "Branch", "Create", "Component", "Graphic", "Module", "Wire",
|
|
185
186
|
"Pin", "Add", "At", "To", "Point", "Join", "Parallel", "Return",
|
|
186
187
|
"Define", "Import", "From", "For", "In", "While", "Continue", "If",
|
|
187
|
-
"Else", "Not", "Frame", "Sheet", "
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"
|
|
188
|
+
"Else", "Not", "Frame", "Sheet", "Set", "Colon", "Comma", "Dot",
|
|
189
|
+
"DoubleDot", "LSquare", "RSquare", "Assign", "Equals", "NotEquals",
|
|
190
|
+
"GreaterThan", "GreatOrEqualThan", "LessThan", "LessOrEqualThan",
|
|
191
|
+
"LogicalAnd", "LogicalOr", "Addition", "Minus", "Divide", "Multiply",
|
|
192
|
+
"Modulus", "AdditionAssign", "MinusAssign", "DivideAssign", "MultiplyAssign",
|
|
193
|
+
"ModulusAssign", "NEWLINE", "WS", "SPACES", "COMMENT_FRAGMENT",
|
|
194
|
+
"COMMENT", "LParen", "RParen", "NOT_CONNECTED", "BOOLEAN_VALUE",
|
|
195
|
+
"ANNOTATION_START", "DecimalIntegerLiteral", "DecimalLiteral", "INTEGER_VALUE",
|
|
196
|
+
"DECIMAL_VALUE", "NUMERIC_VALUE", "PERCENTAGE_VALUE", "STRING_VALUE",
|
|
197
|
+
"ID",
|
|
196
198
|
];
|
|
197
199
|
CircuitScriptLexer._serializedATN = [
|
|
198
|
-
4, 0,
|
|
200
|
+
4, 0, 69, 494, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5,
|
|
199
201
|
2, 6, 7, 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,
|
|
200
202
|
13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7,
|
|
201
203
|
19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2,
|
|
@@ -206,183 +208,174 @@ CircuitScriptLexer._serializedATN = [
|
|
|
206
208
|
52, 7, 52, 2, 53, 7, 53, 2, 54, 7, 54, 2, 55, 7, 55, 2, 56, 7, 56, 2, 57, 7, 57, 2, 58, 7,
|
|
207
209
|
58, 2, 59, 7, 59, 2, 60, 7, 60, 2, 61, 7, 61, 2, 62, 7, 62, 2, 63, 7, 63, 2, 64, 7, 64, 2,
|
|
208
210
|
65, 7, 65, 2, 66, 7, 66, 2, 67, 7, 67, 2, 68, 7, 68, 2, 69, 7, 69, 2, 70, 7, 70, 1, 0, 1,
|
|
209
|
-
0, 1,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
59, 1,
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
0,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
1, 0, 0, 0, 0,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
0, 0,
|
|
263
|
-
|
|
264
|
-
0, 0,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
1, 0, 0, 0,
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
0,
|
|
280
|
-
0,
|
|
281
|
-
0,
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
0, 0,
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
0, 0,
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
0, 0,
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
0, 0,
|
|
302
|
-
|
|
303
|
-
5,
|
|
304
|
-
|
|
305
|
-
0, 0,
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
5,
|
|
311
|
-
|
|
312
|
-
0, 0,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
0,
|
|
317
|
-
5,
|
|
318
|
-
|
|
319
|
-
0, 0,
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
0, 0,
|
|
324
|
-
0, 0,
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
0, 0,
|
|
328
|
-
0, 0,
|
|
329
|
-
0, 0,
|
|
330
|
-
0, 0,
|
|
331
|
-
0, 0,
|
|
332
|
-
0, 0,
|
|
333
|
-
|
|
334
|
-
5,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
0,
|
|
346
|
-
0, 0,
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
0, 0,
|
|
363
|
-
0, 0,
|
|
364
|
-
0, 0,
|
|
365
|
-
|
|
366
|
-
0, 0,
|
|
367
|
-
0, 0,
|
|
368
|
-
|
|
369
|
-
0, 0,
|
|
370
|
-
0, 0,
|
|
371
|
-
|
|
372
|
-
0, 0,
|
|
373
|
-
0, 0, 0,
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
1, 0, 0, 0, 493, 491, 1, 0, 0, 0, 493, 494, 1, 0, 0, 0, 494, 138, 1, 0, 0, 0, 495, 496,
|
|
378
|
-
5, 35, 0, 0, 496, 500, 8, 9, 0, 0, 497, 499, 8, 10, 0, 0, 498, 497, 1, 0, 0, 0, 499, 502,
|
|
379
|
-
1, 0, 0, 0, 500, 498, 1, 0, 0, 0, 500, 501, 1, 0, 0, 0, 501, 505, 1, 0, 0, 0, 502, 500,
|
|
380
|
-
1, 0, 0, 0, 503, 505, 5, 35, 0, 0, 504, 495, 1, 0, 0, 0, 504, 503, 1, 0, 0, 0, 505, 140,
|
|
381
|
-
1, 0, 0, 0, 506, 509, 3, 133, 66, 0, 507, 509, 3, 139, 69, 0, 508, 506, 1, 0, 0, 0, 508,
|
|
382
|
-
507, 1, 0, 0, 0, 509, 510, 1, 0, 0, 0, 510, 511, 6, 70, 4, 0, 511, 142, 1, 0, 0, 0, 27,
|
|
383
|
-
0, 303, 338, 344, 384, 395, 401, 409, 412, 417, 422, 426, 434, 439, 442, 448, 456,
|
|
384
|
-
461, 469, 474, 479, 483, 486, 493, 500, 504, 508, 5, 1, 54, 0, 1, 55, 1, 6, 0, 0, 1,
|
|
385
|
-
67, 2, 0, 2, 0
|
|
211
|
+
0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1,
|
|
212
|
+
2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1,
|
|
213
|
+
4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1,
|
|
214
|
+
6, 1, 7, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 11,
|
|
215
|
+
1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13,
|
|
216
|
+
1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14,
|
|
217
|
+
1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17,
|
|
218
|
+
1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20,
|
|
219
|
+
1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 21, 1, 22,
|
|
220
|
+
1, 22, 1, 22, 1, 23, 1, 23, 1, 23, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 24, 3, 24, 285,
|
|
221
|
+
8, 24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26, 1, 26,
|
|
222
|
+
1, 27, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 29, 1, 29, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31,
|
|
223
|
+
1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 1, 35, 1, 35, 1, 36, 1, 36, 1, 36, 1, 37,
|
|
224
|
+
1, 37, 1, 38, 1, 38, 1, 38, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41,
|
|
225
|
+
1, 41, 3, 41, 339, 8, 41, 1, 42, 1, 42, 1, 42, 1, 42, 3, 42, 345, 8, 42, 1, 43, 1, 43, 1,
|
|
226
|
+
44, 1, 44, 1, 45, 1, 45, 1, 46, 1, 46, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48, 1, 49, 1, 49, 1,
|
|
227
|
+
49, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 53, 3, 53, 373, 8,
|
|
228
|
+
53, 1, 53, 1, 53, 3, 53, 377, 8, 53, 1, 53, 3, 53, 380, 8, 53, 1, 53, 1, 53, 1, 54, 4, 54,
|
|
229
|
+
385, 8, 54, 11, 54, 12, 54, 386, 1, 54, 1, 54, 1, 55, 4, 55, 392, 8, 55, 11, 55, 12, 55,
|
|
230
|
+
393, 1, 56, 1, 56, 1, 56, 5, 56, 399, 8, 56, 10, 56, 12, 56, 402, 9, 56, 1, 56, 3, 56,
|
|
231
|
+
405, 8, 56, 1, 57, 1, 57, 3, 57, 409, 8, 57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 59, 1,
|
|
232
|
+
59, 1, 59, 1, 60, 1, 60, 1, 60, 1, 60, 3, 60, 423, 8, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1,
|
|
233
|
+
61, 1, 61, 1, 61, 1, 61, 1, 61, 3, 61, 434, 8, 61, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63, 1,
|
|
234
|
+
63, 5, 63, 442, 8, 63, 10, 63, 12, 63, 445, 9, 63, 3, 63, 447, 8, 63, 1, 64, 1, 64, 1,
|
|
235
|
+
64, 1, 64, 5, 64, 453, 8, 64, 10, 64, 12, 64, 456, 9, 64, 1, 65, 1, 65, 1, 66, 1, 66, 1,
|
|
236
|
+
67, 1, 67, 3, 67, 464, 8, 67, 1, 67, 1, 67, 1, 68, 1, 68, 5, 68, 470, 8, 68, 10, 68, 12,
|
|
237
|
+
68, 473, 9, 68, 1, 68, 1, 68, 1, 69, 1, 69, 1, 69, 1, 69, 5, 69, 481, 8, 69, 10, 69, 12,
|
|
238
|
+
69, 484, 9, 69, 1, 69, 1, 69, 1, 70, 1, 70, 5, 70, 490, 8, 70, 10, 70, 12, 70, 493, 9,
|
|
239
|
+
70, 0, 0, 71, 1, 3, 3, 4, 5, 5, 7, 6, 9, 7, 11, 8, 13, 9, 15, 10, 17, 11, 19, 12, 21, 13,
|
|
240
|
+
23, 14, 25, 15, 27, 16, 29, 17, 31, 18, 33, 19, 35, 20, 37, 21, 39, 22, 41, 23, 43, 24,
|
|
241
|
+
45, 25, 47, 26, 49, 27, 51, 28, 53, 29, 55, 30, 57, 31, 59, 32, 61, 33, 63, 34, 65, 35,
|
|
242
|
+
67, 36, 69, 37, 71, 38, 73, 39, 75, 40, 77, 41, 79, 42, 81, 43, 83, 44, 85, 45, 87, 46,
|
|
243
|
+
89, 47, 91, 48, 93, 49, 95, 50, 97, 51, 99, 52, 101, 53, 103, 54, 105, 55, 107, 56,
|
|
244
|
+
109, 57, 111, 0, 113, 0, 115, 58, 117, 59, 119, 60, 121, 61, 123, 62, 125, 63, 127,
|
|
245
|
+
0, 129, 0, 131, 64, 133, 65, 135, 66, 137, 67, 139, 68, 141, 69, 1, 0, 10, 2, 0, 9, 9,
|
|
246
|
+
32, 32, 3, 0, 10, 10, 12, 13, 61, 61, 2, 0, 10, 10, 12, 13, 1, 0, 49, 57, 2, 0, 48, 57,
|
|
247
|
+
95, 95, 1, 0, 48, 57, 8, 0, 71, 71, 75, 75, 77, 77, 102, 102, 107, 107, 109, 110, 112,
|
|
248
|
+
112, 117, 117, 2, 0, 34, 34, 92, 92, 3, 0, 65, 90, 95, 95, 97, 122, 4, 0, 48, 57, 65,
|
|
249
|
+
90, 95, 95, 97, 122, 510, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0,
|
|
250
|
+
0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0,
|
|
251
|
+
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, 0, 27, 1, 0,
|
|
252
|
+
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, 0,
|
|
253
|
+
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,
|
|
254
|
+
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,
|
|
255
|
+
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,
|
|
256
|
+
0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0,
|
|
257
|
+
0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0,
|
|
258
|
+
0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 0, 97, 1, 0,
|
|
259
|
+
0, 0, 0, 99, 1, 0, 0, 0, 0, 101, 1, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 105, 1, 0, 0, 0, 0, 107,
|
|
260
|
+
1, 0, 0, 0, 0, 109, 1, 0, 0, 0, 0, 115, 1, 0, 0, 0, 0, 117, 1, 0, 0, 0, 0, 119, 1, 0, 0, 0,
|
|
261
|
+
0, 121, 1, 0, 0, 0, 0, 123, 1, 0, 0, 0, 0, 125, 1, 0, 0, 0, 0, 131, 1, 0, 0, 0, 0, 133, 1,
|
|
262
|
+
0, 0, 0, 0, 135, 1, 0, 0, 0, 0, 137, 1, 0, 0, 0, 0, 139, 1, 0, 0, 0, 0, 141, 1, 0, 0, 0, 1,
|
|
263
|
+
143, 1, 0, 0, 0, 3, 149, 1, 0, 0, 0, 5, 156, 1, 0, 0, 0, 7, 163, 1, 0, 0, 0, 9, 173, 1, 0,
|
|
264
|
+
0, 0, 11, 181, 1, 0, 0, 0, 13, 188, 1, 0, 0, 0, 15, 193, 1, 0, 0, 0, 17, 197, 1, 0, 0, 0,
|
|
265
|
+
19, 201, 1, 0, 0, 0, 21, 204, 1, 0, 0, 0, 23, 207, 1, 0, 0, 0, 25, 213, 1, 0, 0, 0, 27, 218,
|
|
266
|
+
1, 0, 0, 0, 29, 227, 1, 0, 0, 0, 31, 234, 1, 0, 0, 0, 33, 238, 1, 0, 0, 0, 35, 245, 1, 0,
|
|
267
|
+
0, 0, 37, 250, 1, 0, 0, 0, 39, 254, 1, 0, 0, 0, 41, 257, 1, 0, 0, 0, 43, 263, 1, 0, 0, 0,
|
|
268
|
+
45, 272, 1, 0, 0, 0, 47, 275, 1, 0, 0, 0, 49, 284, 1, 0, 0, 0, 51, 286, 1, 0, 0, 0, 53, 292,
|
|
269
|
+
1, 0, 0, 0, 55, 298, 1, 0, 0, 0, 57, 302, 1, 0, 0, 0, 59, 304, 1, 0, 0, 0, 61, 306, 1, 0,
|
|
270
|
+
0, 0, 63, 308, 1, 0, 0, 0, 65, 311, 1, 0, 0, 0, 67, 313, 1, 0, 0, 0, 69, 315, 1, 0, 0, 0,
|
|
271
|
+
71, 317, 1, 0, 0, 0, 73, 320, 1, 0, 0, 0, 75, 323, 1, 0, 0, 0, 77, 325, 1, 0, 0, 0, 79, 328,
|
|
272
|
+
1, 0, 0, 0, 81, 330, 1, 0, 0, 0, 83, 338, 1, 0, 0, 0, 85, 344, 1, 0, 0, 0, 87, 346, 1, 0,
|
|
273
|
+
0, 0, 89, 348, 1, 0, 0, 0, 91, 350, 1, 0, 0, 0, 93, 352, 1, 0, 0, 0, 95, 354, 1, 0, 0, 0,
|
|
274
|
+
97, 356, 1, 0, 0, 0, 99, 359, 1, 0, 0, 0, 101, 362, 1, 0, 0, 0, 103, 365, 1, 0, 0, 0, 105,
|
|
275
|
+
368, 1, 0, 0, 0, 107, 376, 1, 0, 0, 0, 109, 384, 1, 0, 0, 0, 111, 391, 1, 0, 0, 0, 113,
|
|
276
|
+
404, 1, 0, 0, 0, 115, 408, 1, 0, 0, 0, 117, 412, 1, 0, 0, 0, 119, 415, 1, 0, 0, 0, 121,
|
|
277
|
+
422, 1, 0, 0, 0, 123, 433, 1, 0, 0, 0, 125, 435, 1, 0, 0, 0, 127, 446, 1, 0, 0, 0, 129,
|
|
278
|
+
448, 1, 0, 0, 0, 131, 457, 1, 0, 0, 0, 133, 459, 1, 0, 0, 0, 135, 463, 1, 0, 0, 0, 137,
|
|
279
|
+
467, 1, 0, 0, 0, 139, 476, 1, 0, 0, 0, 141, 487, 1, 0, 0, 0, 143, 144, 5, 98, 0, 0, 144,
|
|
280
|
+
145, 5, 114, 0, 0, 145, 146, 5, 101, 0, 0, 146, 147, 5, 97, 0, 0, 147, 148, 5, 107, 0,
|
|
281
|
+
0, 148, 2, 1, 0, 0, 0, 149, 150, 5, 98, 0, 0, 150, 151, 5, 114, 0, 0, 151, 152, 5, 97,
|
|
282
|
+
0, 0, 152, 153, 5, 110, 0, 0, 153, 154, 5, 99, 0, 0, 154, 155, 5, 104, 0, 0, 155, 4, 1,
|
|
283
|
+
0, 0, 0, 156, 157, 5, 99, 0, 0, 157, 158, 5, 114, 0, 0, 158, 159, 5, 101, 0, 0, 159, 160,
|
|
284
|
+
5, 97, 0, 0, 160, 161, 5, 116, 0, 0, 161, 162, 5, 101, 0, 0, 162, 6, 1, 0, 0, 0, 163, 164,
|
|
285
|
+
5, 99, 0, 0, 164, 165, 5, 111, 0, 0, 165, 166, 5, 109, 0, 0, 166, 167, 5, 112, 0, 0, 167,
|
|
286
|
+
168, 5, 111, 0, 0, 168, 169, 5, 110, 0, 0, 169, 170, 5, 101, 0, 0, 170, 171, 5, 110,
|
|
287
|
+
0, 0, 171, 172, 5, 116, 0, 0, 172, 8, 1, 0, 0, 0, 173, 174, 5, 103, 0, 0, 174, 175, 5,
|
|
288
|
+
114, 0, 0, 175, 176, 5, 97, 0, 0, 176, 177, 5, 112, 0, 0, 177, 178, 5, 104, 0, 0, 178,
|
|
289
|
+
179, 5, 105, 0, 0, 179, 180, 5, 99, 0, 0, 180, 10, 1, 0, 0, 0, 181, 182, 5, 109, 0, 0,
|
|
290
|
+
182, 183, 5, 111, 0, 0, 183, 184, 5, 100, 0, 0, 184, 185, 5, 117, 0, 0, 185, 186, 5,
|
|
291
|
+
108, 0, 0, 186, 187, 5, 101, 0, 0, 187, 12, 1, 0, 0, 0, 188, 189, 5, 119, 0, 0, 189, 190,
|
|
292
|
+
5, 105, 0, 0, 190, 191, 5, 114, 0, 0, 191, 192, 5, 101, 0, 0, 192, 14, 1, 0, 0, 0, 193,
|
|
293
|
+
194, 5, 112, 0, 0, 194, 195, 5, 105, 0, 0, 195, 196, 5, 110, 0, 0, 196, 16, 1, 0, 0, 0,
|
|
294
|
+
197, 198, 5, 97, 0, 0, 198, 199, 5, 100, 0, 0, 199, 200, 5, 100, 0, 0, 200, 18, 1, 0,
|
|
295
|
+
0, 0, 201, 202, 5, 97, 0, 0, 202, 203, 5, 116, 0, 0, 203, 20, 1, 0, 0, 0, 204, 205, 5,
|
|
296
|
+
116, 0, 0, 205, 206, 5, 111, 0, 0, 206, 22, 1, 0, 0, 0, 207, 208, 5, 112, 0, 0, 208, 209,
|
|
297
|
+
5, 111, 0, 0, 209, 210, 5, 105, 0, 0, 210, 211, 5, 110, 0, 0, 211, 212, 5, 116, 0, 0,
|
|
298
|
+
212, 24, 1, 0, 0, 0, 213, 214, 5, 106, 0, 0, 214, 215, 5, 111, 0, 0, 215, 216, 5, 105,
|
|
299
|
+
0, 0, 216, 217, 5, 110, 0, 0, 217, 26, 1, 0, 0, 0, 218, 219, 5, 112, 0, 0, 219, 220, 5,
|
|
300
|
+
97, 0, 0, 220, 221, 5, 114, 0, 0, 221, 222, 5, 97, 0, 0, 222, 223, 5, 108, 0, 0, 223,
|
|
301
|
+
224, 5, 108, 0, 0, 224, 225, 5, 101, 0, 0, 225, 226, 5, 108, 0, 0, 226, 28, 1, 0, 0, 0,
|
|
302
|
+
227, 228, 5, 114, 0, 0, 228, 229, 5, 101, 0, 0, 229, 230, 5, 116, 0, 0, 230, 231, 5,
|
|
303
|
+
117, 0, 0, 231, 232, 5, 114, 0, 0, 232, 233, 5, 110, 0, 0, 233, 30, 1, 0, 0, 0, 234, 235,
|
|
304
|
+
5, 100, 0, 0, 235, 236, 5, 101, 0, 0, 236, 237, 5, 102, 0, 0, 237, 32, 1, 0, 0, 0, 238,
|
|
305
|
+
239, 5, 105, 0, 0, 239, 240, 5, 109, 0, 0, 240, 241, 5, 112, 0, 0, 241, 242, 5, 111,
|
|
306
|
+
0, 0, 242, 243, 5, 114, 0, 0, 243, 244, 5, 116, 0, 0, 244, 34, 1, 0, 0, 0, 245, 246, 5,
|
|
307
|
+
102, 0, 0, 246, 247, 5, 114, 0, 0, 247, 248, 5, 111, 0, 0, 248, 249, 5, 109, 0, 0, 249,
|
|
308
|
+
36, 1, 0, 0, 0, 250, 251, 5, 102, 0, 0, 251, 252, 5, 111, 0, 0, 252, 253, 5, 114, 0, 0,
|
|
309
|
+
253, 38, 1, 0, 0, 0, 254, 255, 5, 105, 0, 0, 255, 256, 5, 110, 0, 0, 256, 40, 1, 0, 0,
|
|
310
|
+
0, 257, 258, 5, 119, 0, 0, 258, 259, 5, 104, 0, 0, 259, 260, 5, 105, 0, 0, 260, 261,
|
|
311
|
+
5, 108, 0, 0, 261, 262, 5, 101, 0, 0, 262, 42, 1, 0, 0, 0, 263, 264, 5, 99, 0, 0, 264,
|
|
312
|
+
265, 5, 111, 0, 0, 265, 266, 5, 110, 0, 0, 266, 267, 5, 116, 0, 0, 267, 268, 5, 105,
|
|
313
|
+
0, 0, 268, 269, 5, 110, 0, 0, 269, 270, 5, 117, 0, 0, 270, 271, 5, 101, 0, 0, 271, 44,
|
|
314
|
+
1, 0, 0, 0, 272, 273, 5, 105, 0, 0, 273, 274, 5, 102, 0, 0, 274, 46, 1, 0, 0, 0, 275, 276,
|
|
315
|
+
5, 101, 0, 0, 276, 277, 5, 108, 0, 0, 277, 278, 5, 115, 0, 0, 278, 279, 5, 101, 0, 0,
|
|
316
|
+
279, 48, 1, 0, 0, 0, 280, 285, 5, 33, 0, 0, 281, 282, 5, 110, 0, 0, 282, 283, 5, 111,
|
|
317
|
+
0, 0, 283, 285, 5, 116, 0, 0, 284, 280, 1, 0, 0, 0, 284, 281, 1, 0, 0, 0, 285, 50, 1, 0,
|
|
318
|
+
0, 0, 286, 287, 5, 102, 0, 0, 287, 288, 5, 114, 0, 0, 288, 289, 5, 97, 0, 0, 289, 290,
|
|
319
|
+
5, 109, 0, 0, 290, 291, 5, 101, 0, 0, 291, 52, 1, 0, 0, 0, 292, 293, 5, 115, 0, 0, 293,
|
|
320
|
+
294, 5, 104, 0, 0, 294, 295, 5, 101, 0, 0, 295, 296, 5, 101, 0, 0, 296, 297, 5, 116,
|
|
321
|
+
0, 0, 297, 54, 1, 0, 0, 0, 298, 299, 5, 115, 0, 0, 299, 300, 5, 101, 0, 0, 300, 301, 5,
|
|
322
|
+
116, 0, 0, 301, 56, 1, 0, 0, 0, 302, 303, 5, 58, 0, 0, 303, 58, 1, 0, 0, 0, 304, 305, 5,
|
|
323
|
+
44, 0, 0, 305, 60, 1, 0, 0, 0, 306, 307, 5, 46, 0, 0, 307, 62, 1, 0, 0, 0, 308, 309, 5,
|
|
324
|
+
46, 0, 0, 309, 310, 5, 46, 0, 0, 310, 64, 1, 0, 0, 0, 311, 312, 5, 91, 0, 0, 312, 66, 1,
|
|
325
|
+
0, 0, 0, 313, 314, 5, 93, 0, 0, 314, 68, 1, 0, 0, 0, 315, 316, 5, 61, 0, 0, 316, 70, 1,
|
|
326
|
+
0, 0, 0, 317, 318, 5, 61, 0, 0, 318, 319, 5, 61, 0, 0, 319, 72, 1, 0, 0, 0, 320, 321, 5,
|
|
327
|
+
33, 0, 0, 321, 322, 5, 61, 0, 0, 322, 74, 1, 0, 0, 0, 323, 324, 5, 62, 0, 0, 324, 76, 1,
|
|
328
|
+
0, 0, 0, 325, 326, 5, 62, 0, 0, 326, 327, 5, 61, 0, 0, 327, 78, 1, 0, 0, 0, 328, 329, 5,
|
|
329
|
+
60, 0, 0, 329, 80, 1, 0, 0, 0, 330, 331, 5, 60, 0, 0, 331, 332, 5, 61, 0, 0, 332, 82, 1,
|
|
330
|
+
0, 0, 0, 333, 334, 5, 38, 0, 0, 334, 339, 5, 38, 0, 0, 335, 336, 5, 97, 0, 0, 336, 337,
|
|
331
|
+
5, 110, 0, 0, 337, 339, 5, 100, 0, 0, 338, 333, 1, 0, 0, 0, 338, 335, 1, 0, 0, 0, 339,
|
|
332
|
+
84, 1, 0, 0, 0, 340, 341, 5, 124, 0, 0, 341, 345, 5, 124, 0, 0, 342, 343, 5, 111, 0, 0,
|
|
333
|
+
343, 345, 5, 114, 0, 0, 344, 340, 1, 0, 0, 0, 344, 342, 1, 0, 0, 0, 345, 86, 1, 0, 0, 0,
|
|
334
|
+
346, 347, 5, 43, 0, 0, 347, 88, 1, 0, 0, 0, 348, 349, 5, 45, 0, 0, 349, 90, 1, 0, 0, 0,
|
|
335
|
+
350, 351, 5, 47, 0, 0, 351, 92, 1, 0, 0, 0, 352, 353, 5, 42, 0, 0, 353, 94, 1, 0, 0, 0,
|
|
336
|
+
354, 355, 5, 37, 0, 0, 355, 96, 1, 0, 0, 0, 356, 357, 5, 43, 0, 0, 357, 358, 5, 61, 0,
|
|
337
|
+
0, 358, 98, 1, 0, 0, 0, 359, 360, 5, 45, 0, 0, 360, 361, 5, 61, 0, 0, 361, 100, 1, 0, 0,
|
|
338
|
+
0, 362, 363, 5, 47, 0, 0, 363, 364, 5, 61, 0, 0, 364, 102, 1, 0, 0, 0, 365, 366, 5, 42,
|
|
339
|
+
0, 0, 366, 367, 5, 61, 0, 0, 367, 104, 1, 0, 0, 0, 368, 369, 5, 37, 0, 0, 369, 370, 5,
|
|
340
|
+
61, 0, 0, 370, 106, 1, 0, 0, 0, 371, 373, 5, 13, 0, 0, 372, 371, 1, 0, 0, 0, 372, 373,
|
|
341
|
+
1, 0, 0, 0, 373, 374, 1, 0, 0, 0, 374, 377, 5, 10, 0, 0, 375, 377, 2, 12, 13, 0, 376, 372,
|
|
342
|
+
1, 0, 0, 0, 376, 375, 1, 0, 0, 0, 377, 379, 1, 0, 0, 0, 378, 380, 3, 111, 55, 0, 379, 378,
|
|
343
|
+
1, 0, 0, 0, 379, 380, 1, 0, 0, 0, 380, 381, 1, 0, 0, 0, 381, 382, 6, 53, 0, 0, 382, 108,
|
|
344
|
+
1, 0, 0, 0, 383, 385, 7, 0, 0, 0, 384, 383, 1, 0, 0, 0, 385, 386, 1, 0, 0, 0, 386, 384,
|
|
345
|
+
1, 0, 0, 0, 386, 387, 1, 0, 0, 0, 387, 388, 1, 0, 0, 0, 388, 389, 6, 54, 1, 0, 389, 110,
|
|
346
|
+
1, 0, 0, 0, 390, 392, 7, 0, 0, 0, 391, 390, 1, 0, 0, 0, 392, 393, 1, 0, 0, 0, 393, 391,
|
|
347
|
+
1, 0, 0, 0, 393, 394, 1, 0, 0, 0, 394, 112, 1, 0, 0, 0, 395, 396, 5, 35, 0, 0, 396, 400,
|
|
348
|
+
8, 1, 0, 0, 397, 399, 8, 2, 0, 0, 398, 397, 1, 0, 0, 0, 399, 402, 1, 0, 0, 0, 400, 398,
|
|
349
|
+
1, 0, 0, 0, 400, 401, 1, 0, 0, 0, 401, 405, 1, 0, 0, 0, 402, 400, 1, 0, 0, 0, 403, 405,
|
|
350
|
+
5, 35, 0, 0, 404, 395, 1, 0, 0, 0, 404, 403, 1, 0, 0, 0, 405, 114, 1, 0, 0, 0, 406, 409,
|
|
351
|
+
3, 109, 54, 0, 407, 409, 3, 113, 56, 0, 408, 406, 1, 0, 0, 0, 408, 407, 1, 0, 0, 0, 409,
|
|
352
|
+
410, 1, 0, 0, 0, 410, 411, 6, 57, 2, 0, 411, 116, 1, 0, 0, 0, 412, 413, 5, 40, 0, 0, 413,
|
|
353
|
+
414, 6, 58, 3, 0, 414, 118, 1, 0, 0, 0, 415, 416, 5, 41, 0, 0, 416, 417, 6, 59, 4, 0, 417,
|
|
354
|
+
120, 1, 0, 0, 0, 418, 419, 5, 110, 0, 0, 419, 423, 5, 99, 0, 0, 420, 421, 5, 78, 0, 0,
|
|
355
|
+
421, 423, 5, 67, 0, 0, 422, 418, 1, 0, 0, 0, 422, 420, 1, 0, 0, 0, 423, 122, 1, 0, 0, 0,
|
|
356
|
+
424, 425, 5, 116, 0, 0, 425, 426, 5, 114, 0, 0, 426, 427, 5, 117, 0, 0, 427, 434, 5,
|
|
357
|
+
101, 0, 0, 428, 429, 5, 102, 0, 0, 429, 430, 5, 97, 0, 0, 430, 431, 5, 108, 0, 0, 431,
|
|
358
|
+
432, 5, 115, 0, 0, 432, 434, 5, 101, 0, 0, 433, 424, 1, 0, 0, 0, 433, 428, 1, 0, 0, 0,
|
|
359
|
+
434, 124, 1, 0, 0, 0, 435, 436, 5, 35, 0, 0, 436, 437, 5, 61, 0, 0, 437, 126, 1, 0, 0,
|
|
360
|
+
0, 438, 447, 5, 48, 0, 0, 439, 443, 7, 3, 0, 0, 440, 442, 7, 4, 0, 0, 441, 440, 1, 0, 0,
|
|
361
|
+
0, 442, 445, 1, 0, 0, 0, 443, 441, 1, 0, 0, 0, 443, 444, 1, 0, 0, 0, 444, 447, 1, 0, 0,
|
|
362
|
+
0, 445, 443, 1, 0, 0, 0, 446, 438, 1, 0, 0, 0, 446, 439, 1, 0, 0, 0, 447, 128, 1, 0, 0,
|
|
363
|
+
0, 448, 449, 3, 127, 63, 0, 449, 450, 5, 46, 0, 0, 450, 454, 7, 5, 0, 0, 451, 453, 7,
|
|
364
|
+
4, 0, 0, 452, 451, 1, 0, 0, 0, 453, 456, 1, 0, 0, 0, 454, 452, 1, 0, 0, 0, 454, 455, 1,
|
|
365
|
+
0, 0, 0, 455, 130, 1, 0, 0, 0, 456, 454, 1, 0, 0, 0, 457, 458, 3, 127, 63, 0, 458, 132,
|
|
366
|
+
1, 0, 0, 0, 459, 460, 3, 129, 64, 0, 460, 134, 1, 0, 0, 0, 461, 464, 3, 127, 63, 0, 462,
|
|
367
|
+
464, 3, 129, 64, 0, 463, 461, 1, 0, 0, 0, 463, 462, 1, 0, 0, 0, 464, 465, 1, 0, 0, 0, 465,
|
|
368
|
+
466, 7, 6, 0, 0, 466, 136, 1, 0, 0, 0, 467, 471, 7, 3, 0, 0, 468, 470, 7, 5, 0, 0, 469,
|
|
369
|
+
468, 1, 0, 0, 0, 470, 473, 1, 0, 0, 0, 471, 469, 1, 0, 0, 0, 471, 472, 1, 0, 0, 0, 472,
|
|
370
|
+
474, 1, 0, 0, 0, 473, 471, 1, 0, 0, 0, 474, 475, 5, 37, 0, 0, 475, 138, 1, 0, 0, 0, 476,
|
|
371
|
+
482, 5, 34, 0, 0, 477, 478, 5, 92, 0, 0, 478, 481, 9, 0, 0, 0, 479, 481, 8, 7, 0, 0, 480,
|
|
372
|
+
477, 1, 0, 0, 0, 480, 479, 1, 0, 0, 0, 481, 484, 1, 0, 0, 0, 482, 480, 1, 0, 0, 0, 482,
|
|
373
|
+
483, 1, 0, 0, 0, 483, 485, 1, 0, 0, 0, 484, 482, 1, 0, 0, 0, 485, 486, 5, 34, 0, 0, 486,
|
|
374
|
+
140, 1, 0, 0, 0, 487, 491, 7, 8, 0, 0, 488, 490, 7, 9, 0, 0, 489, 488, 1, 0, 0, 0, 490,
|
|
375
|
+
493, 1, 0, 0, 0, 491, 489, 1, 0, 0, 0, 491, 492, 1, 0, 0, 0, 492, 142, 1, 0, 0, 0, 493,
|
|
376
|
+
491, 1, 0, 0, 0, 22, 0, 284, 338, 344, 372, 376, 379, 386, 393, 400, 404, 408, 422,
|
|
377
|
+
433, 443, 446, 454, 463, 471, 480, 482, 491, 5, 1, 53, 0, 6, 0, 0, 0, 2, 0, 1, 58, 1,
|
|
378
|
+
1, 59, 2
|
|
386
379
|
];
|
|
387
380
|
CircuitScriptLexer.vocabulary = new antlr.Vocabulary(CircuitScriptLexer.literalNames, CircuitScriptLexer.symbolicNames, []);
|
|
388
381
|
CircuitScriptLexer.decisionsToDFA = CircuitScriptLexer._ATN.decisionToState.map((ds, index) => new antlr.DFA(ds, index));
|