circuitscript 0.1.0 → 0.1.2
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 +13 -8
- package/dist/cjs/antlr/CircuitScriptLexer.js +80 -80
- package/dist/cjs/antlr/CircuitScriptParser.js +599 -657
- package/dist/cjs/builtinMethods.js +27 -8
- package/dist/cjs/draw_symbols.js +314 -190
- package/dist/cjs/execute.js +113 -115
- package/dist/cjs/export.js +2 -4
- package/dist/cjs/geometry.js +52 -19
- package/dist/cjs/globals.js +12 -8
- package/dist/cjs/helpers.js +16 -3
- package/dist/cjs/layout.js +129 -125
- package/dist/cjs/logger.js +8 -1
- package/dist/cjs/objects/ClassComponent.js +22 -22
- package/dist/cjs/objects/ExecutionScope.js +10 -4
- package/dist/cjs/objects/Frame.js +2 -1
- package/dist/cjs/objects/ParamDefinition.js +120 -4
- package/dist/cjs/objects/PinDefinition.js +1 -4
- package/dist/cjs/render.js +40 -110
- package/dist/cjs/sizing.js +33 -7
- package/dist/cjs/utils.js +68 -2
- package/dist/cjs/visitor.js +214 -254
- package/dist/esm/BaseVisitor.mjs +15 -10
- package/dist/esm/antlr/CircuitScriptLexer.mjs +80 -80
- package/dist/esm/antlr/CircuitScriptParser.mjs +599 -657
- package/dist/esm/builtinMethods.mjs +24 -8
- package/dist/esm/draw_symbols.mjs +316 -193
- package/dist/esm/execute.mjs +115 -117
- package/dist/esm/export.mjs +2 -4
- package/dist/esm/geometry.mjs +52 -19
- package/dist/esm/globals.mjs +12 -8
- package/dist/esm/helpers.mjs +17 -4
- package/dist/esm/layout.mjs +131 -127
- package/dist/esm/logger.mjs +8 -1
- package/dist/esm/objects/ClassComponent.mjs +21 -26
- package/dist/esm/objects/ExecutionScope.mjs +10 -4
- package/dist/esm/objects/Frame.mjs +2 -1
- package/dist/esm/objects/ParamDefinition.mjs +119 -3
- package/dist/esm/objects/PinDefinition.mjs +0 -2
- package/dist/esm/render.mjs +42 -112
- package/dist/esm/sizing.mjs +34 -8
- package/dist/esm/utils.mjs +64 -1
- package/dist/esm/visitor.mjs +216 -256
- package/dist/types/BaseVisitor.d.ts +1 -1
- package/dist/types/antlr/CircuitScriptParser.d.ts +2 -3
- package/dist/types/draw_symbols.d.ts +71 -45
- package/dist/types/execute.d.ts +15 -10
- package/dist/types/geometry.d.ts +31 -19
- package/dist/types/globals.d.ts +14 -10
- package/dist/types/helpers.d.ts +2 -1
- package/dist/types/layout.d.ts +21 -21
- package/dist/types/logger.d.ts +1 -1
- package/dist/types/objects/ClassComponent.d.ts +19 -16
- package/dist/types/objects/ExecutionScope.d.ts +2 -1
- package/dist/types/objects/Frame.d.ts +2 -2
- package/dist/types/objects/ParamDefinition.d.ts +31 -2
- package/dist/types/objects/PinDefinition.d.ts +0 -2
- package/dist/types/render.d.ts +2 -1
- package/dist/types/utils.d.ts +6 -1
- package/dist/types/visitor.d.ts +4 -5
- package/libs/lib.cst +15 -3
- package/package.json +7 -3
|
@@ -869,7 +869,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
869
869
|
let localContext = new Component_select_exprContext(this.context, this.state);
|
|
870
870
|
this.enterRule(localContext, 22, CircuitScriptParser.RULE_component_select_expr);
|
|
871
871
|
try {
|
|
872
|
-
this.state =
|
|
872
|
+
this.state = 223;
|
|
873
873
|
this.errorHandler.sync(this);
|
|
874
874
|
switch (this.tokenStream.LA(1)) {
|
|
875
875
|
case CircuitScriptParser.T__5:
|
|
@@ -899,6 +899,13 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
899
899
|
this.pin_select_expr();
|
|
900
900
|
}
|
|
901
901
|
break;
|
|
902
|
+
case CircuitScriptParser.Point:
|
|
903
|
+
this.enterOuterAlt(localContext, 3);
|
|
904
|
+
{
|
|
905
|
+
this.state = 222;
|
|
906
|
+
this.match(CircuitScriptParser.Point);
|
|
907
|
+
}
|
|
908
|
+
break;
|
|
902
909
|
default:
|
|
903
910
|
throw new antlr.NoViableAltException(this);
|
|
904
911
|
}
|
|
@@ -924,7 +931,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
924
931
|
try {
|
|
925
932
|
this.enterOuterAlt(localContext, 1);
|
|
926
933
|
{
|
|
927
|
-
this.state =
|
|
934
|
+
this.state = 225;
|
|
928
935
|
_la = this.tokenStream.LA(1);
|
|
929
936
|
if (!(_la === 57 || _la === 60)) {
|
|
930
937
|
this.errorHandler.recoverInline(this);
|
|
@@ -955,40 +962,10 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
955
962
|
try {
|
|
956
963
|
this.enterOuterAlt(localContext, 1);
|
|
957
964
|
{
|
|
958
|
-
this.state =
|
|
965
|
+
this.state = 227;
|
|
959
966
|
this.match(CircuitScriptParser.At);
|
|
960
|
-
this.state =
|
|
961
|
-
this.
|
|
962
|
-
switch (this.tokenStream.LA(1)) {
|
|
963
|
-
case CircuitScriptParser.T__5:
|
|
964
|
-
case CircuitScriptParser.Create:
|
|
965
|
-
case CircuitScriptParser.Pin:
|
|
966
|
-
case CircuitScriptParser.Not:
|
|
967
|
-
case CircuitScriptParser.Addition:
|
|
968
|
-
case CircuitScriptParser.Minus:
|
|
969
|
-
case CircuitScriptParser.Divide:
|
|
970
|
-
case CircuitScriptParser.OPEN_PAREN:
|
|
971
|
-
case CircuitScriptParser.BOOLEAN_VALUE:
|
|
972
|
-
case CircuitScriptParser.ID:
|
|
973
|
-
case CircuitScriptParser.INTEGER_VALUE:
|
|
974
|
-
case CircuitScriptParser.DECIMAL_VALUE:
|
|
975
|
-
case CircuitScriptParser.NUMERIC_VALUE:
|
|
976
|
-
case CircuitScriptParser.STRING_VALUE:
|
|
977
|
-
case CircuitScriptParser.PERCENTAGE_VALUE:
|
|
978
|
-
{
|
|
979
|
-
this.state = 227;
|
|
980
|
-
this.component_select_expr();
|
|
981
|
-
}
|
|
982
|
-
break;
|
|
983
|
-
case CircuitScriptParser.Point:
|
|
984
|
-
{
|
|
985
|
-
this.state = 228;
|
|
986
|
-
this.match(CircuitScriptParser.Point);
|
|
987
|
-
}
|
|
988
|
-
break;
|
|
989
|
-
default:
|
|
990
|
-
throw new antlr.NoViableAltException(this);
|
|
991
|
-
}
|
|
967
|
+
this.state = 228;
|
|
968
|
+
this.component_select_expr();
|
|
992
969
|
}
|
|
993
970
|
}
|
|
994
971
|
catch (re) {
|
|
@@ -1012,57 +989,27 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1012
989
|
try {
|
|
1013
990
|
this.enterOuterAlt(localContext, 1);
|
|
1014
991
|
{
|
|
1015
|
-
this.state =
|
|
992
|
+
this.state = 230;
|
|
1016
993
|
this.match(CircuitScriptParser.To);
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
case CircuitScriptParser.Addition:
|
|
1025
|
-
case CircuitScriptParser.Minus:
|
|
1026
|
-
case CircuitScriptParser.Divide:
|
|
1027
|
-
case CircuitScriptParser.OPEN_PAREN:
|
|
1028
|
-
case CircuitScriptParser.BOOLEAN_VALUE:
|
|
1029
|
-
case CircuitScriptParser.ID:
|
|
1030
|
-
case CircuitScriptParser.INTEGER_VALUE:
|
|
1031
|
-
case CircuitScriptParser.DECIMAL_VALUE:
|
|
1032
|
-
case CircuitScriptParser.NUMERIC_VALUE:
|
|
1033
|
-
case CircuitScriptParser.STRING_VALUE:
|
|
1034
|
-
case CircuitScriptParser.PERCENTAGE_VALUE:
|
|
994
|
+
{
|
|
995
|
+
this.state = 231;
|
|
996
|
+
this.component_select_expr();
|
|
997
|
+
this.state = 236;
|
|
998
|
+
this.errorHandler.sync(this);
|
|
999
|
+
_la = this.tokenStream.LA(1);
|
|
1000
|
+
while (_la === 2) {
|
|
1035
1001
|
{
|
|
1036
1002
|
{
|
|
1037
1003
|
this.state = 232;
|
|
1004
|
+
this.match(CircuitScriptParser.T__1);
|
|
1005
|
+
this.state = 233;
|
|
1038
1006
|
this.component_select_expr();
|
|
1039
|
-
this.state = 237;
|
|
1040
|
-
this.errorHandler.sync(this);
|
|
1041
|
-
_la = this.tokenStream.LA(1);
|
|
1042
|
-
while (_la === 2) {
|
|
1043
|
-
{
|
|
1044
|
-
{
|
|
1045
|
-
this.state = 233;
|
|
1046
|
-
this.match(CircuitScriptParser.T__1);
|
|
1047
|
-
this.state = 234;
|
|
1048
|
-
this.component_select_expr();
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
this.state = 239;
|
|
1052
|
-
this.errorHandler.sync(this);
|
|
1053
|
-
_la = this.tokenStream.LA(1);
|
|
1054
|
-
}
|
|
1055
1007
|
}
|
|
1056
1008
|
}
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
this.match(CircuitScriptParser.Point);
|
|
1062
|
-
}
|
|
1063
|
-
break;
|
|
1064
|
-
default:
|
|
1065
|
-
throw new antlr.NoViableAltException(this);
|
|
1009
|
+
this.state = 238;
|
|
1010
|
+
this.errorHandler.sync(this);
|
|
1011
|
+
_la = this.tokenStream.LA(1);
|
|
1012
|
+
}
|
|
1066
1013
|
}
|
|
1067
1014
|
}
|
|
1068
1015
|
}
|
|
@@ -1087,54 +1034,54 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1087
1034
|
try {
|
|
1088
1035
|
this.enterOuterAlt(localContext, 1);
|
|
1089
1036
|
{
|
|
1090
|
-
this.state =
|
|
1037
|
+
this.state = 239;
|
|
1091
1038
|
this.match(CircuitScriptParser.At);
|
|
1092
|
-
this.state =
|
|
1039
|
+
this.state = 240;
|
|
1093
1040
|
this.component_select_expr();
|
|
1094
|
-
this.state =
|
|
1041
|
+
this.state = 241;
|
|
1095
1042
|
this.match(CircuitScriptParser.To);
|
|
1096
|
-
this.state =
|
|
1043
|
+
this.state = 242;
|
|
1097
1044
|
this.component_select_expr();
|
|
1098
|
-
this.state =
|
|
1045
|
+
this.state = 247;
|
|
1099
1046
|
this.errorHandler.sync(this);
|
|
1100
1047
|
_la = this.tokenStream.LA(1);
|
|
1101
1048
|
while (_la === 2) {
|
|
1102
1049
|
{
|
|
1103
1050
|
{
|
|
1104
|
-
this.state =
|
|
1051
|
+
this.state = 243;
|
|
1105
1052
|
this.match(CircuitScriptParser.T__1);
|
|
1106
|
-
this.state =
|
|
1053
|
+
this.state = 244;
|
|
1107
1054
|
this.component_select_expr();
|
|
1108
1055
|
}
|
|
1109
1056
|
}
|
|
1110
|
-
this.state =
|
|
1057
|
+
this.state = 249;
|
|
1111
1058
|
this.errorHandler.sync(this);
|
|
1112
1059
|
_la = this.tokenStream.LA(1);
|
|
1113
1060
|
}
|
|
1114
|
-
this.state =
|
|
1061
|
+
this.state = 250;
|
|
1115
1062
|
this.match(CircuitScriptParser.T__0);
|
|
1116
|
-
this.state =
|
|
1063
|
+
this.state = 251;
|
|
1117
1064
|
this.match(CircuitScriptParser.NEWLINE);
|
|
1118
|
-
this.state =
|
|
1065
|
+
this.state = 252;
|
|
1119
1066
|
this.match(CircuitScriptParser.INDENT);
|
|
1120
|
-
this.state =
|
|
1067
|
+
this.state = 255;
|
|
1121
1068
|
this.errorHandler.sync(this);
|
|
1122
1069
|
_la = this.tokenStream.LA(1);
|
|
1123
1070
|
do {
|
|
1124
1071
|
{
|
|
1125
|
-
this.state =
|
|
1072
|
+
this.state = 255;
|
|
1126
1073
|
this.errorHandler.sync(this);
|
|
1127
1074
|
switch (this.tokenStream.LA(1)) {
|
|
1128
1075
|
case CircuitScriptParser.NEWLINE:
|
|
1129
1076
|
{
|
|
1130
|
-
this.state =
|
|
1077
|
+
this.state = 253;
|
|
1131
1078
|
this.match(CircuitScriptParser.NEWLINE);
|
|
1132
1079
|
}
|
|
1133
1080
|
break;
|
|
1134
1081
|
case CircuitScriptParser.INTEGER_VALUE:
|
|
1135
1082
|
case CircuitScriptParser.STRING_VALUE:
|
|
1136
1083
|
{
|
|
1137
|
-
this.state =
|
|
1084
|
+
this.state = 254;
|
|
1138
1085
|
this.at_to_multiple_line_expr();
|
|
1139
1086
|
}
|
|
1140
1087
|
break;
|
|
@@ -1142,11 +1089,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1142
1089
|
throw new antlr.NoViableAltException(this);
|
|
1143
1090
|
}
|
|
1144
1091
|
}
|
|
1145
|
-
this.state =
|
|
1092
|
+
this.state = 257;
|
|
1146
1093
|
this.errorHandler.sync(this);
|
|
1147
1094
|
_la = this.tokenStream.LA(1);
|
|
1148
1095
|
} while (((((_la - 57)) & ~0x1F) === 0 && ((1 << (_la - 57)) & 137) !== 0));
|
|
1149
|
-
this.state =
|
|
1096
|
+
this.state = 259;
|
|
1150
1097
|
this.match(CircuitScriptParser.DEDENT);
|
|
1151
1098
|
}
|
|
1152
1099
|
}
|
|
@@ -1171,25 +1118,25 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1171
1118
|
try {
|
|
1172
1119
|
this.enterOuterAlt(localContext, 1);
|
|
1173
1120
|
{
|
|
1174
|
-
this.state =
|
|
1121
|
+
this.state = 261;
|
|
1175
1122
|
this.pin_select_expr2();
|
|
1176
|
-
this.state =
|
|
1123
|
+
this.state = 262;
|
|
1177
1124
|
this.match(CircuitScriptParser.T__0);
|
|
1178
|
-
this.state =
|
|
1125
|
+
this.state = 263;
|
|
1179
1126
|
this.at_to_multiple_line_expr_to_pin();
|
|
1180
|
-
this.state =
|
|
1127
|
+
this.state = 268;
|
|
1181
1128
|
this.errorHandler.sync(this);
|
|
1182
1129
|
_la = this.tokenStream.LA(1);
|
|
1183
1130
|
while (_la === 2) {
|
|
1184
1131
|
{
|
|
1185
1132
|
{
|
|
1186
|
-
this.state =
|
|
1133
|
+
this.state = 264;
|
|
1187
1134
|
this.match(CircuitScriptParser.T__1);
|
|
1188
|
-
this.state =
|
|
1135
|
+
this.state = 265;
|
|
1189
1136
|
this.at_to_multiple_line_expr_to_pin();
|
|
1190
1137
|
}
|
|
1191
1138
|
}
|
|
1192
|
-
this.state =
|
|
1139
|
+
this.state = 270;
|
|
1193
1140
|
this.errorHandler.sync(this);
|
|
1194
1141
|
_la = this.tokenStream.LA(1);
|
|
1195
1142
|
}
|
|
@@ -1216,7 +1163,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1216
1163
|
try {
|
|
1217
1164
|
this.enterOuterAlt(localContext, 1);
|
|
1218
1165
|
{
|
|
1219
|
-
this.state =
|
|
1166
|
+
this.state = 271;
|
|
1220
1167
|
_la = this.tokenStream.LA(1);
|
|
1221
1168
|
if (!(_la === 54 || _la === 57)) {
|
|
1222
1169
|
this.errorHandler.recoverInline(this);
|
|
@@ -1248,25 +1195,25 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1248
1195
|
try {
|
|
1249
1196
|
this.enterOuterAlt(localContext, 1);
|
|
1250
1197
|
{
|
|
1251
|
-
this.state =
|
|
1198
|
+
this.state = 273;
|
|
1252
1199
|
this.at_component_expr();
|
|
1253
|
-
this.state =
|
|
1200
|
+
this.state = 274;
|
|
1254
1201
|
this.match(CircuitScriptParser.T__0);
|
|
1255
|
-
this.state =
|
|
1202
|
+
this.state = 275;
|
|
1256
1203
|
this.match(CircuitScriptParser.NEWLINE);
|
|
1257
|
-
this.state =
|
|
1204
|
+
this.state = 276;
|
|
1258
1205
|
this.match(CircuitScriptParser.INDENT);
|
|
1259
|
-
this.state =
|
|
1206
|
+
this.state = 279;
|
|
1260
1207
|
this.errorHandler.sync(this);
|
|
1261
1208
|
_la = this.tokenStream.LA(1);
|
|
1262
1209
|
do {
|
|
1263
1210
|
{
|
|
1264
|
-
this.state =
|
|
1211
|
+
this.state = 279;
|
|
1265
1212
|
this.errorHandler.sync(this);
|
|
1266
1213
|
switch (this.tokenStream.LA(1)) {
|
|
1267
1214
|
case CircuitScriptParser.NEWLINE:
|
|
1268
1215
|
{
|
|
1269
|
-
this.state =
|
|
1216
|
+
this.state = 277;
|
|
1270
1217
|
this.match(CircuitScriptParser.NEWLINE);
|
|
1271
1218
|
}
|
|
1272
1219
|
break;
|
|
@@ -1294,7 +1241,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1294
1241
|
case CircuitScriptParser.INTEGER_VALUE:
|
|
1295
1242
|
case CircuitScriptParser.STRING_VALUE:
|
|
1296
1243
|
{
|
|
1297
|
-
this.state =
|
|
1244
|
+
this.state = 278;
|
|
1298
1245
|
this.at_block_expressions();
|
|
1299
1246
|
}
|
|
1300
1247
|
break;
|
|
@@ -1302,11 +1249,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1302
1249
|
throw new antlr.NoViableAltException(this);
|
|
1303
1250
|
}
|
|
1304
1251
|
}
|
|
1305
|
-
this.state =
|
|
1252
|
+
this.state = 281;
|
|
1306
1253
|
this.errorHandler.sync(this);
|
|
1307
1254
|
_la = this.tokenStream.LA(1);
|
|
1308
1255
|
} while (((((_la - 4)) & ~0x1F) === 0 && ((1 << (_la - 4)) & 867955761) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 4505605) !== 0));
|
|
1309
|
-
this.state =
|
|
1256
|
+
this.state = 283;
|
|
1310
1257
|
this.match(CircuitScriptParser.DEDENT);
|
|
1311
1258
|
}
|
|
1312
1259
|
}
|
|
@@ -1328,7 +1275,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1328
1275
|
let localContext = new At_block_expressionsContext(this.context, this.state);
|
|
1329
1276
|
this.enterRule(localContext, 38, CircuitScriptParser.RULE_at_block_expressions);
|
|
1330
1277
|
try {
|
|
1331
|
-
this.state =
|
|
1278
|
+
this.state = 287;
|
|
1332
1279
|
this.errorHandler.sync(this);
|
|
1333
1280
|
switch (this.tokenStream.LA(1)) {
|
|
1334
1281
|
case CircuitScriptParser.T__3:
|
|
@@ -1354,7 +1301,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1354
1301
|
case CircuitScriptParser.ID:
|
|
1355
1302
|
this.enterOuterAlt(localContext, 1);
|
|
1356
1303
|
{
|
|
1357
|
-
this.state =
|
|
1304
|
+
this.state = 285;
|
|
1358
1305
|
this.expression();
|
|
1359
1306
|
}
|
|
1360
1307
|
break;
|
|
@@ -1362,7 +1309,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1362
1309
|
case CircuitScriptParser.STRING_VALUE:
|
|
1363
1310
|
this.enterOuterAlt(localContext, 2);
|
|
1364
1311
|
{
|
|
1365
|
-
this.state =
|
|
1312
|
+
this.state = 286;
|
|
1366
1313
|
this.at_block_pin_expr();
|
|
1367
1314
|
}
|
|
1368
1315
|
break;
|
|
@@ -1390,11 +1337,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1390
1337
|
try {
|
|
1391
1338
|
this.enterOuterAlt(localContext, 1);
|
|
1392
1339
|
{
|
|
1393
|
-
this.state =
|
|
1340
|
+
this.state = 289;
|
|
1394
1341
|
this.pin_select_expr2();
|
|
1395
|
-
this.state =
|
|
1342
|
+
this.state = 290;
|
|
1396
1343
|
this.match(CircuitScriptParser.T__0);
|
|
1397
|
-
this.state =
|
|
1344
|
+
this.state = 293;
|
|
1398
1345
|
this.errorHandler.sync(this);
|
|
1399
1346
|
switch (this.tokenStream.LA(1)) {
|
|
1400
1347
|
case CircuitScriptParser.T__3:
|
|
@@ -1420,13 +1367,13 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1420
1367
|
case CircuitScriptParser.NOT_CONNECTED:
|
|
1421
1368
|
case CircuitScriptParser.ID:
|
|
1422
1369
|
{
|
|
1423
|
-
this.state =
|
|
1370
|
+
this.state = 291;
|
|
1424
1371
|
this.at_block_pin_expression_simple();
|
|
1425
1372
|
}
|
|
1426
1373
|
break;
|
|
1427
1374
|
case CircuitScriptParser.NEWLINE:
|
|
1428
1375
|
{
|
|
1429
|
-
this.state =
|
|
1376
|
+
this.state = 292;
|
|
1430
1377
|
this.at_block_pin_expression_complex();
|
|
1431
1378
|
}
|
|
1432
1379
|
break;
|
|
@@ -1455,7 +1402,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1455
1402
|
try {
|
|
1456
1403
|
this.enterOuterAlt(localContext, 1);
|
|
1457
1404
|
{
|
|
1458
|
-
this.state =
|
|
1405
|
+
this.state = 297;
|
|
1459
1406
|
this.errorHandler.sync(this);
|
|
1460
1407
|
switch (this.tokenStream.LA(1)) {
|
|
1461
1408
|
case CircuitScriptParser.T__3:
|
|
@@ -1480,13 +1427,13 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1480
1427
|
case CircuitScriptParser.Divide:
|
|
1481
1428
|
case CircuitScriptParser.ID:
|
|
1482
1429
|
{
|
|
1483
|
-
this.state =
|
|
1430
|
+
this.state = 295;
|
|
1484
1431
|
this.expression();
|
|
1485
1432
|
}
|
|
1486
1433
|
break;
|
|
1487
1434
|
case CircuitScriptParser.NOT_CONNECTED:
|
|
1488
1435
|
{
|
|
1489
|
-
this.state =
|
|
1436
|
+
this.state = 296;
|
|
1490
1437
|
this.match(CircuitScriptParser.NOT_CONNECTED);
|
|
1491
1438
|
}
|
|
1492
1439
|
break;
|
|
@@ -1515,7 +1462,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1515
1462
|
try {
|
|
1516
1463
|
this.enterOuterAlt(localContext, 1);
|
|
1517
1464
|
{
|
|
1518
|
-
this.state =
|
|
1465
|
+
this.state = 299;
|
|
1519
1466
|
this.expressions_block();
|
|
1520
1467
|
}
|
|
1521
1468
|
}
|
|
@@ -1539,7 +1486,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1539
1486
|
try {
|
|
1540
1487
|
this.enterOuterAlt(localContext, 1);
|
|
1541
1488
|
{
|
|
1542
|
-
this.state =
|
|
1489
|
+
this.state = 301;
|
|
1543
1490
|
this.match(CircuitScriptParser.Break);
|
|
1544
1491
|
}
|
|
1545
1492
|
}
|
|
@@ -1563,7 +1510,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1563
1510
|
try {
|
|
1564
1511
|
this.enterOuterAlt(localContext, 1);
|
|
1565
1512
|
{
|
|
1566
|
-
this.state =
|
|
1513
|
+
this.state = 303;
|
|
1567
1514
|
this.match(CircuitScriptParser.Continue);
|
|
1568
1515
|
}
|
|
1569
1516
|
}
|
|
@@ -1587,11 +1534,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1587
1534
|
try {
|
|
1588
1535
|
this.enterOuterAlt(localContext, 1);
|
|
1589
1536
|
{
|
|
1590
|
-
this.state =
|
|
1537
|
+
this.state = 305;
|
|
1591
1538
|
this.atom_expr();
|
|
1592
|
-
this.state =
|
|
1539
|
+
this.state = 306;
|
|
1593
1540
|
this.match(CircuitScriptParser.T__2);
|
|
1594
|
-
this.state =
|
|
1541
|
+
this.state = 307;
|
|
1595
1542
|
this.data_expr(0);
|
|
1596
1543
|
}
|
|
1597
1544
|
}
|
|
@@ -1616,9 +1563,9 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1616
1563
|
try {
|
|
1617
1564
|
this.enterOuterAlt(localContext, 1);
|
|
1618
1565
|
{
|
|
1619
|
-
this.state =
|
|
1566
|
+
this.state = 309;
|
|
1620
1567
|
this.atom_expr();
|
|
1621
|
-
this.state =
|
|
1568
|
+
this.state = 310;
|
|
1622
1569
|
_la = this.tokenStream.LA(1);
|
|
1623
1570
|
if (!(((((_la - 47)) & ~0x1F) === 0 && ((1 << (_la - 47)) & 31) !== 0))) {
|
|
1624
1571
|
this.errorHandler.recoverInline(this);
|
|
@@ -1627,7 +1574,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1627
1574
|
this.errorHandler.reportMatch(this);
|
|
1628
1575
|
this.consume();
|
|
1629
1576
|
}
|
|
1630
|
-
this.state =
|
|
1577
|
+
this.state = 311;
|
|
1631
1578
|
this.data_expr(0);
|
|
1632
1579
|
}
|
|
1633
1580
|
}
|
|
@@ -1651,11 +1598,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1651
1598
|
try {
|
|
1652
1599
|
this.enterOuterAlt(localContext, 1);
|
|
1653
1600
|
{
|
|
1654
|
-
this.state =
|
|
1601
|
+
this.state = 313;
|
|
1655
1602
|
this.match(CircuitScriptParser.ID);
|
|
1656
|
-
this.state =
|
|
1603
|
+
this.state = 314;
|
|
1657
1604
|
this.match(CircuitScriptParser.T__2);
|
|
1658
|
-
this.state =
|
|
1605
|
+
this.state = 315;
|
|
1659
1606
|
this.data_expr(0);
|
|
1660
1607
|
}
|
|
1661
1608
|
}
|
|
@@ -1679,46 +1626,46 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1679
1626
|
let _la;
|
|
1680
1627
|
try {
|
|
1681
1628
|
let alternative;
|
|
1682
|
-
this.state =
|
|
1629
|
+
this.state = 340;
|
|
1683
1630
|
this.errorHandler.sync(this);
|
|
1684
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
1631
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 26, this.context)) {
|
|
1685
1632
|
case 1:
|
|
1686
1633
|
this.enterOuterAlt(localContext, 1);
|
|
1687
1634
|
{
|
|
1688
1635
|
{
|
|
1689
|
-
this.state =
|
|
1636
|
+
this.state = 317;
|
|
1690
1637
|
this.data_expr(0);
|
|
1691
|
-
this.state =
|
|
1638
|
+
this.state = 322;
|
|
1692
1639
|
this.errorHandler.sync(this);
|
|
1693
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
1640
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 23, this.context);
|
|
1694
1641
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
1695
1642
|
if (alternative === 1) {
|
|
1696
1643
|
{
|
|
1697
1644
|
{
|
|
1698
|
-
this.state =
|
|
1645
|
+
this.state = 318;
|
|
1699
1646
|
this.match(CircuitScriptParser.T__1);
|
|
1700
|
-
this.state =
|
|
1647
|
+
this.state = 319;
|
|
1701
1648
|
this.data_expr(0);
|
|
1702
1649
|
}
|
|
1703
1650
|
}
|
|
1704
1651
|
}
|
|
1705
|
-
this.state =
|
|
1652
|
+
this.state = 324;
|
|
1706
1653
|
this.errorHandler.sync(this);
|
|
1707
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
1654
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 23, this.context);
|
|
1708
1655
|
}
|
|
1709
|
-
this.state =
|
|
1656
|
+
this.state = 329;
|
|
1710
1657
|
this.errorHandler.sync(this);
|
|
1711
1658
|
_la = this.tokenStream.LA(1);
|
|
1712
1659
|
while (_la === 2) {
|
|
1713
1660
|
{
|
|
1714
1661
|
{
|
|
1715
|
-
this.state =
|
|
1662
|
+
this.state = 325;
|
|
1716
1663
|
this.match(CircuitScriptParser.T__1);
|
|
1717
|
-
this.state =
|
|
1664
|
+
this.state = 326;
|
|
1718
1665
|
this.keyword_assignment_expr();
|
|
1719
1666
|
}
|
|
1720
1667
|
}
|
|
1721
|
-
this.state =
|
|
1668
|
+
this.state = 331;
|
|
1722
1669
|
this.errorHandler.sync(this);
|
|
1723
1670
|
_la = this.tokenStream.LA(1);
|
|
1724
1671
|
}
|
|
@@ -1729,21 +1676,21 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1729
1676
|
this.enterOuterAlt(localContext, 2);
|
|
1730
1677
|
{
|
|
1731
1678
|
{
|
|
1732
|
-
this.state =
|
|
1679
|
+
this.state = 332;
|
|
1733
1680
|
this.keyword_assignment_expr();
|
|
1734
|
-
this.state =
|
|
1681
|
+
this.state = 337;
|
|
1735
1682
|
this.errorHandler.sync(this);
|
|
1736
1683
|
_la = this.tokenStream.LA(1);
|
|
1737
1684
|
while (_la === 2) {
|
|
1738
1685
|
{
|
|
1739
1686
|
{
|
|
1740
|
-
this.state =
|
|
1687
|
+
this.state = 333;
|
|
1741
1688
|
this.match(CircuitScriptParser.T__1);
|
|
1742
|
-
this.state =
|
|
1689
|
+
this.state = 334;
|
|
1743
1690
|
this.keyword_assignment_expr();
|
|
1744
1691
|
}
|
|
1745
1692
|
}
|
|
1746
|
-
this.state =
|
|
1693
|
+
this.state = 339;
|
|
1747
1694
|
this.errorHandler.sync(this);
|
|
1748
1695
|
_la = this.tokenStream.LA(1);
|
|
1749
1696
|
}
|
|
@@ -1772,11 +1719,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1772
1719
|
try {
|
|
1773
1720
|
this.enterOuterAlt(localContext, 1);
|
|
1774
1721
|
{
|
|
1775
|
-
this.state =
|
|
1722
|
+
this.state = 342;
|
|
1776
1723
|
this.atom_expr();
|
|
1777
|
-
this.state =
|
|
1724
|
+
this.state = 343;
|
|
1778
1725
|
this.match(CircuitScriptParser.T__2);
|
|
1779
|
-
this.state =
|
|
1726
|
+
this.state = 344;
|
|
1780
1727
|
this.data_expr(0);
|
|
1781
1728
|
}
|
|
1782
1729
|
}
|
|
@@ -1800,13 +1747,13 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1800
1747
|
try {
|
|
1801
1748
|
this.enterOuterAlt(localContext, 1);
|
|
1802
1749
|
{
|
|
1803
|
-
this.state =
|
|
1750
|
+
this.state = 346;
|
|
1804
1751
|
this.match(CircuitScriptParser.T__3);
|
|
1805
|
-
this.state =
|
|
1752
|
+
this.state = 347;
|
|
1806
1753
|
this.match(CircuitScriptParser.ID);
|
|
1807
|
-
this.state =
|
|
1754
|
+
this.state = 348;
|
|
1808
1755
|
this.match(CircuitScriptParser.T__2);
|
|
1809
|
-
this.state =
|
|
1756
|
+
this.state = 349;
|
|
1810
1757
|
this.data_expr(0);
|
|
1811
1758
|
}
|
|
1812
1759
|
}
|
|
@@ -1839,19 +1786,19 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1839
1786
|
let alternative;
|
|
1840
1787
|
this.enterOuterAlt(localContext, 1);
|
|
1841
1788
|
{
|
|
1842
|
-
this.state =
|
|
1789
|
+
this.state = 368;
|
|
1843
1790
|
this.errorHandler.sync(this);
|
|
1844
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
1791
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 28, this.context)) {
|
|
1845
1792
|
case 1:
|
|
1846
1793
|
{
|
|
1847
1794
|
localContext = new RoundedBracketsExprContext(localContext);
|
|
1848
1795
|
this.context = localContext;
|
|
1849
1796
|
previousContext = localContext;
|
|
1850
|
-
this.state =
|
|
1797
|
+
this.state = 352;
|
|
1851
1798
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
1852
|
-
this.state =
|
|
1799
|
+
this.state = 353;
|
|
1853
1800
|
this.data_expr(0);
|
|
1854
|
-
this.state =
|
|
1801
|
+
this.state = 354;
|
|
1855
1802
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
1856
1803
|
}
|
|
1857
1804
|
break;
|
|
@@ -1860,7 +1807,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1860
1807
|
localContext = new ValueAtomExprContext(localContext);
|
|
1861
1808
|
this.context = localContext;
|
|
1862
1809
|
previousContext = localContext;
|
|
1863
|
-
this.state =
|
|
1810
|
+
this.state = 358;
|
|
1864
1811
|
this.errorHandler.sync(this);
|
|
1865
1812
|
switch (this.tokenStream.LA(1)) {
|
|
1866
1813
|
case CircuitScriptParser.Minus:
|
|
@@ -1871,13 +1818,13 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1871
1818
|
case CircuitScriptParser.STRING_VALUE:
|
|
1872
1819
|
case CircuitScriptParser.PERCENTAGE_VALUE:
|
|
1873
1820
|
{
|
|
1874
|
-
this.state =
|
|
1821
|
+
this.state = 356;
|
|
1875
1822
|
this.value_expr();
|
|
1876
1823
|
}
|
|
1877
1824
|
break;
|
|
1878
1825
|
case CircuitScriptParser.ID:
|
|
1879
1826
|
{
|
|
1880
|
-
this.state =
|
|
1827
|
+
this.state = 357;
|
|
1881
1828
|
this.atom_expr();
|
|
1882
1829
|
}
|
|
1883
1830
|
break;
|
|
@@ -1891,9 +1838,9 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1891
1838
|
localContext = new UnaryOperatorExprContext(localContext);
|
|
1892
1839
|
this.context = localContext;
|
|
1893
1840
|
previousContext = localContext;
|
|
1894
|
-
this.state =
|
|
1841
|
+
this.state = 360;
|
|
1895
1842
|
this.unary_operator();
|
|
1896
|
-
this.state =
|
|
1843
|
+
this.state = 361;
|
|
1897
1844
|
this.data_expr(10);
|
|
1898
1845
|
}
|
|
1899
1846
|
break;
|
|
@@ -1902,7 +1849,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1902
1849
|
localContext = new DataExprContext(localContext);
|
|
1903
1850
|
this.context = localContext;
|
|
1904
1851
|
previousContext = localContext;
|
|
1905
|
-
this.state =
|
|
1852
|
+
this.state = 363;
|
|
1906
1853
|
this.create_component_expr();
|
|
1907
1854
|
}
|
|
1908
1855
|
break;
|
|
@@ -1911,7 +1858,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1911
1858
|
localContext = new DataExprContext(localContext);
|
|
1912
1859
|
this.context = localContext;
|
|
1913
1860
|
previousContext = localContext;
|
|
1914
|
-
this.state =
|
|
1861
|
+
this.state = 364;
|
|
1915
1862
|
this.create_graphic_expr();
|
|
1916
1863
|
}
|
|
1917
1864
|
break;
|
|
@@ -1920,7 +1867,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1920
1867
|
localContext = new DataExprContext(localContext);
|
|
1921
1868
|
this.context = localContext;
|
|
1922
1869
|
previousContext = localContext;
|
|
1923
|
-
this.state =
|
|
1870
|
+
this.state = 365;
|
|
1924
1871
|
this.create_module_expr();
|
|
1925
1872
|
}
|
|
1926
1873
|
break;
|
|
@@ -1929,7 +1876,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1929
1876
|
localContext = new FunctionCallExprContext(localContext);
|
|
1930
1877
|
this.context = localContext;
|
|
1931
1878
|
previousContext = localContext;
|
|
1932
|
-
this.state =
|
|
1879
|
+
this.state = 366;
|
|
1933
1880
|
this.function_call_expr();
|
|
1934
1881
|
}
|
|
1935
1882
|
break;
|
|
@@ -1938,15 +1885,15 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1938
1885
|
localContext = new ArrayExprContext(localContext);
|
|
1939
1886
|
this.context = localContext;
|
|
1940
1887
|
previousContext = localContext;
|
|
1941
|
-
this.state =
|
|
1888
|
+
this.state = 367;
|
|
1942
1889
|
this.array_expr();
|
|
1943
1890
|
}
|
|
1944
1891
|
break;
|
|
1945
1892
|
}
|
|
1946
1893
|
this.context.stop = this.tokenStream.LT(-1);
|
|
1947
|
-
this.state =
|
|
1894
|
+
this.state = 385;
|
|
1948
1895
|
this.errorHandler.sync(this);
|
|
1949
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
1896
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 30, this.context);
|
|
1950
1897
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
1951
1898
|
if (alternative === 1) {
|
|
1952
1899
|
if (this.parseListeners != null) {
|
|
@@ -1954,18 +1901,18 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1954
1901
|
}
|
|
1955
1902
|
previousContext = localContext;
|
|
1956
1903
|
{
|
|
1957
|
-
this.state =
|
|
1904
|
+
this.state = 383;
|
|
1958
1905
|
this.errorHandler.sync(this);
|
|
1959
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
1906
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 29, this.context)) {
|
|
1960
1907
|
case 1:
|
|
1961
1908
|
{
|
|
1962
1909
|
localContext = new MultiplyExprContext(new Data_exprContext(parentContext, parentState));
|
|
1963
1910
|
this.pushNewRecursionContext(localContext, _startState, CircuitScriptParser.RULE_data_expr);
|
|
1964
|
-
this.state =
|
|
1911
|
+
this.state = 370;
|
|
1965
1912
|
if (!(this.precpred(this.context, 9))) {
|
|
1966
1913
|
throw this.createFailedPredicateException("this.precpred(this.context, 9)");
|
|
1967
1914
|
}
|
|
1968
|
-
this.state =
|
|
1915
|
+
this.state = 371;
|
|
1969
1916
|
_la = this.tokenStream.LA(1);
|
|
1970
1917
|
if (!(((((_la - 44)) & ~0x1F) === 0 && ((1 << (_la - 44)) & 7) !== 0))) {
|
|
1971
1918
|
this.errorHandler.recoverInline(this);
|
|
@@ -1974,7 +1921,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1974
1921
|
this.errorHandler.reportMatch(this);
|
|
1975
1922
|
this.consume();
|
|
1976
1923
|
}
|
|
1977
|
-
this.state =
|
|
1924
|
+
this.state = 372;
|
|
1978
1925
|
this.data_expr(10);
|
|
1979
1926
|
}
|
|
1980
1927
|
break;
|
|
@@ -1982,11 +1929,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1982
1929
|
{
|
|
1983
1930
|
localContext = new AdditionExprContext(new Data_exprContext(parentContext, parentState));
|
|
1984
1931
|
this.pushNewRecursionContext(localContext, _startState, CircuitScriptParser.RULE_data_expr);
|
|
1985
|
-
this.state =
|
|
1932
|
+
this.state = 373;
|
|
1986
1933
|
if (!(this.precpred(this.context, 8))) {
|
|
1987
1934
|
throw this.createFailedPredicateException("this.precpred(this.context, 8)");
|
|
1988
1935
|
}
|
|
1989
|
-
this.state =
|
|
1936
|
+
this.state = 374;
|
|
1990
1937
|
_la = this.tokenStream.LA(1);
|
|
1991
1938
|
if (!(_la === 42 || _la === 43)) {
|
|
1992
1939
|
this.errorHandler.recoverInline(this);
|
|
@@ -1995,7 +1942,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
1995
1942
|
this.errorHandler.reportMatch(this);
|
|
1996
1943
|
this.consume();
|
|
1997
1944
|
}
|
|
1998
|
-
this.state =
|
|
1945
|
+
this.state = 375;
|
|
1999
1946
|
this.data_expr(9);
|
|
2000
1947
|
}
|
|
2001
1948
|
break;
|
|
@@ -2003,13 +1950,13 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2003
1950
|
{
|
|
2004
1951
|
localContext = new BinaryOperatorExprContext(new Data_exprContext(parentContext, parentState));
|
|
2005
1952
|
this.pushNewRecursionContext(localContext, _startState, CircuitScriptParser.RULE_data_expr);
|
|
2006
|
-
this.state =
|
|
1953
|
+
this.state = 376;
|
|
2007
1954
|
if (!(this.precpred(this.context, 7))) {
|
|
2008
1955
|
throw this.createFailedPredicateException("this.precpred(this.context, 7)");
|
|
2009
1956
|
}
|
|
2010
|
-
this.state =
|
|
1957
|
+
this.state = 377;
|
|
2011
1958
|
this.binary_operator();
|
|
2012
|
-
this.state =
|
|
1959
|
+
this.state = 378;
|
|
2013
1960
|
this.data_expr(8);
|
|
2014
1961
|
}
|
|
2015
1962
|
break;
|
|
@@ -2017,11 +1964,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2017
1964
|
{
|
|
2018
1965
|
localContext = new LogicalOperatorExprContext(new Data_exprContext(parentContext, parentState));
|
|
2019
1966
|
this.pushNewRecursionContext(localContext, _startState, CircuitScriptParser.RULE_data_expr);
|
|
2020
|
-
this.state =
|
|
1967
|
+
this.state = 380;
|
|
2021
1968
|
if (!(this.precpred(this.context, 6))) {
|
|
2022
1969
|
throw this.createFailedPredicateException("this.precpred(this.context, 6)");
|
|
2023
1970
|
}
|
|
2024
|
-
this.state =
|
|
1971
|
+
this.state = 381;
|
|
2025
1972
|
_la = this.tokenStream.LA(1);
|
|
2026
1973
|
if (!(_la === 40 || _la === 41)) {
|
|
2027
1974
|
this.errorHandler.recoverInline(this);
|
|
@@ -2030,16 +1977,16 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2030
1977
|
this.errorHandler.reportMatch(this);
|
|
2031
1978
|
this.consume();
|
|
2032
1979
|
}
|
|
2033
|
-
this.state =
|
|
1980
|
+
this.state = 382;
|
|
2034
1981
|
this.data_expr(7);
|
|
2035
1982
|
}
|
|
2036
1983
|
break;
|
|
2037
1984
|
}
|
|
2038
1985
|
}
|
|
2039
1986
|
}
|
|
2040
|
-
this.state =
|
|
1987
|
+
this.state = 387;
|
|
2041
1988
|
this.errorHandler.sync(this);
|
|
2042
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
1989
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 30, this.context);
|
|
2043
1990
|
}
|
|
2044
1991
|
}
|
|
2045
1992
|
}
|
|
@@ -2064,7 +2011,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2064
2011
|
try {
|
|
2065
2012
|
this.enterOuterAlt(localContext, 1);
|
|
2066
2013
|
{
|
|
2067
|
-
this.state =
|
|
2014
|
+
this.state = 388;
|
|
2068
2015
|
_la = this.tokenStream.LA(1);
|
|
2069
2016
|
if (!(((((_la - 34)) & ~0x1F) === 0 && ((1 << (_la - 34)) & 63) !== 0))) {
|
|
2070
2017
|
this.errorHandler.recoverInline(this);
|
|
@@ -2096,7 +2043,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2096
2043
|
try {
|
|
2097
2044
|
this.enterOuterAlt(localContext, 1);
|
|
2098
2045
|
{
|
|
2099
|
-
this.state =
|
|
2046
|
+
this.state = 390;
|
|
2100
2047
|
_la = this.tokenStream.LA(1);
|
|
2101
2048
|
if (!(_la === 31 || _la === 43)) {
|
|
2102
2049
|
this.errorHandler.recoverInline(this);
|
|
@@ -2129,16 +2076,16 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2129
2076
|
this.enterOuterAlt(localContext, 1);
|
|
2130
2077
|
{
|
|
2131
2078
|
{
|
|
2132
|
-
this.state =
|
|
2079
|
+
this.state = 393;
|
|
2133
2080
|
this.errorHandler.sync(this);
|
|
2134
2081
|
_la = this.tokenStream.LA(1);
|
|
2135
2082
|
if (_la === 43) {
|
|
2136
2083
|
{
|
|
2137
|
-
this.state =
|
|
2084
|
+
this.state = 392;
|
|
2138
2085
|
this.match(CircuitScriptParser.Minus);
|
|
2139
2086
|
}
|
|
2140
2087
|
}
|
|
2141
|
-
this.state =
|
|
2088
|
+
this.state = 395;
|
|
2142
2089
|
_la = this.tokenStream.LA(1);
|
|
2143
2090
|
if (!(((((_la - 55)) & ~0x1F) === 0 && ((1 << (_la - 55)) & 125) !== 0))) {
|
|
2144
2091
|
this.errorHandler.recoverInline(this);
|
|
@@ -2171,40 +2118,40 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2171
2118
|
try {
|
|
2172
2119
|
this.enterOuterAlt(localContext, 1);
|
|
2173
2120
|
{
|
|
2174
|
-
this.state =
|
|
2121
|
+
this.state = 397;
|
|
2175
2122
|
this.match(CircuitScriptParser.Define);
|
|
2176
|
-
this.state =
|
|
2123
|
+
this.state = 398;
|
|
2177
2124
|
this.match(CircuitScriptParser.ID);
|
|
2178
|
-
this.state =
|
|
2125
|
+
this.state = 399;
|
|
2179
2126
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
2180
|
-
this.state =
|
|
2127
|
+
this.state = 401;
|
|
2181
2128
|
this.errorHandler.sync(this);
|
|
2182
2129
|
_la = this.tokenStream.LA(1);
|
|
2183
2130
|
if (_la === 56) {
|
|
2184
2131
|
{
|
|
2185
|
-
this.state =
|
|
2132
|
+
this.state = 400;
|
|
2186
2133
|
this.function_args_expr();
|
|
2187
2134
|
}
|
|
2188
2135
|
}
|
|
2189
|
-
this.state =
|
|
2136
|
+
this.state = 403;
|
|
2190
2137
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
2191
|
-
this.state =
|
|
2138
|
+
this.state = 404;
|
|
2192
2139
|
this.match(CircuitScriptParser.T__0);
|
|
2193
|
-
this.state =
|
|
2140
|
+
this.state = 405;
|
|
2194
2141
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2195
|
-
this.state =
|
|
2142
|
+
this.state = 406;
|
|
2196
2143
|
this.match(CircuitScriptParser.INDENT);
|
|
2197
|
-
this.state =
|
|
2144
|
+
this.state = 409;
|
|
2198
2145
|
this.errorHandler.sync(this);
|
|
2199
2146
|
_la = this.tokenStream.LA(1);
|
|
2200
2147
|
do {
|
|
2201
2148
|
{
|
|
2202
|
-
this.state =
|
|
2149
|
+
this.state = 409;
|
|
2203
2150
|
this.errorHandler.sync(this);
|
|
2204
2151
|
switch (this.tokenStream.LA(1)) {
|
|
2205
2152
|
case CircuitScriptParser.NEWLINE:
|
|
2206
2153
|
{
|
|
2207
|
-
this.state =
|
|
2154
|
+
this.state = 407;
|
|
2208
2155
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2209
2156
|
}
|
|
2210
2157
|
break;
|
|
@@ -2231,7 +2178,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2231
2178
|
case CircuitScriptParser.Divide:
|
|
2232
2179
|
case CircuitScriptParser.ID:
|
|
2233
2180
|
{
|
|
2234
|
-
this.state =
|
|
2181
|
+
this.state = 408;
|
|
2235
2182
|
this.function_expr();
|
|
2236
2183
|
}
|
|
2237
2184
|
break;
|
|
@@ -2239,11 +2186,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2239
2186
|
throw new antlr.NoViableAltException(this);
|
|
2240
2187
|
}
|
|
2241
2188
|
}
|
|
2242
|
-
this.state =
|
|
2189
|
+
this.state = 411;
|
|
2243
2190
|
this.errorHandler.sync(this);
|
|
2244
2191
|
_la = this.tokenStream.LA(1);
|
|
2245
2192
|
} while (((((_la - 4)) & ~0x1F) === 0 && ((1 << (_la - 4)) & 868217905) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 4210693) !== 0));
|
|
2246
|
-
this.state =
|
|
2193
|
+
this.state = 413;
|
|
2247
2194
|
this.match(CircuitScriptParser.DEDENT);
|
|
2248
2195
|
}
|
|
2249
2196
|
}
|
|
@@ -2265,7 +2212,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2265
2212
|
let localContext = new Function_exprContext(this.context, this.state);
|
|
2266
2213
|
this.enterRule(localContext, 72, CircuitScriptParser.RULE_function_expr);
|
|
2267
2214
|
try {
|
|
2268
|
-
this.state =
|
|
2215
|
+
this.state = 417;
|
|
2269
2216
|
this.errorHandler.sync(this);
|
|
2270
2217
|
switch (this.tokenStream.LA(1)) {
|
|
2271
2218
|
case CircuitScriptParser.T__3:
|
|
@@ -2291,14 +2238,14 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2291
2238
|
case CircuitScriptParser.ID:
|
|
2292
2239
|
this.enterOuterAlt(localContext, 1);
|
|
2293
2240
|
{
|
|
2294
|
-
this.state =
|
|
2241
|
+
this.state = 415;
|
|
2295
2242
|
this.expression();
|
|
2296
2243
|
}
|
|
2297
2244
|
break;
|
|
2298
2245
|
case CircuitScriptParser.Return:
|
|
2299
2246
|
this.enterOuterAlt(localContext, 2);
|
|
2300
2247
|
{
|
|
2301
|
-
this.state =
|
|
2248
|
+
this.state = 416;
|
|
2302
2249
|
this.function_return_expr();
|
|
2303
2250
|
}
|
|
2304
2251
|
break;
|
|
@@ -2326,49 +2273,49 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2326
2273
|
let _la;
|
|
2327
2274
|
try {
|
|
2328
2275
|
let alternative;
|
|
2329
|
-
this.state =
|
|
2276
|
+
this.state = 448;
|
|
2330
2277
|
this.errorHandler.sync(this);
|
|
2331
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
2278
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 39, this.context)) {
|
|
2332
2279
|
case 1:
|
|
2333
2280
|
this.enterOuterAlt(localContext, 1);
|
|
2334
2281
|
{
|
|
2335
|
-
this.state =
|
|
2282
|
+
this.state = 419;
|
|
2336
2283
|
this.match(CircuitScriptParser.ID);
|
|
2337
|
-
this.state =
|
|
2284
|
+
this.state = 424;
|
|
2338
2285
|
this.errorHandler.sync(this);
|
|
2339
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2286
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 36, this.context);
|
|
2340
2287
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
2341
2288
|
if (alternative === 1) {
|
|
2342
2289
|
{
|
|
2343
2290
|
{
|
|
2344
|
-
this.state =
|
|
2291
|
+
this.state = 420;
|
|
2345
2292
|
this.match(CircuitScriptParser.T__1);
|
|
2346
|
-
this.state =
|
|
2293
|
+
this.state = 421;
|
|
2347
2294
|
this.match(CircuitScriptParser.ID);
|
|
2348
2295
|
}
|
|
2349
2296
|
}
|
|
2350
2297
|
}
|
|
2351
|
-
this.state =
|
|
2298
|
+
this.state = 426;
|
|
2352
2299
|
this.errorHandler.sync(this);
|
|
2353
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2300
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 36, this.context);
|
|
2354
2301
|
}
|
|
2355
|
-
this.state =
|
|
2302
|
+
this.state = 433;
|
|
2356
2303
|
this.errorHandler.sync(this);
|
|
2357
2304
|
_la = this.tokenStream.LA(1);
|
|
2358
2305
|
while (_la === 2) {
|
|
2359
2306
|
{
|
|
2360
2307
|
{
|
|
2361
|
-
this.state =
|
|
2308
|
+
this.state = 427;
|
|
2362
2309
|
this.match(CircuitScriptParser.T__1);
|
|
2363
|
-
this.state =
|
|
2310
|
+
this.state = 428;
|
|
2364
2311
|
this.match(CircuitScriptParser.ID);
|
|
2365
|
-
this.state =
|
|
2312
|
+
this.state = 429;
|
|
2366
2313
|
this.match(CircuitScriptParser.T__2);
|
|
2367
|
-
this.state =
|
|
2314
|
+
this.state = 430;
|
|
2368
2315
|
this.value_expr();
|
|
2369
2316
|
}
|
|
2370
2317
|
}
|
|
2371
|
-
this.state =
|
|
2318
|
+
this.state = 435;
|
|
2372
2319
|
this.errorHandler.sync(this);
|
|
2373
2320
|
_la = this.tokenStream.LA(1);
|
|
2374
2321
|
}
|
|
@@ -2377,29 +2324,29 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2377
2324
|
case 2:
|
|
2378
2325
|
this.enterOuterAlt(localContext, 2);
|
|
2379
2326
|
{
|
|
2380
|
-
this.state =
|
|
2327
|
+
this.state = 436;
|
|
2381
2328
|
this.match(CircuitScriptParser.ID);
|
|
2382
|
-
this.state =
|
|
2329
|
+
this.state = 437;
|
|
2383
2330
|
this.match(CircuitScriptParser.T__2);
|
|
2384
|
-
this.state =
|
|
2331
|
+
this.state = 438;
|
|
2385
2332
|
this.value_expr();
|
|
2386
|
-
this.state =
|
|
2333
|
+
this.state = 445;
|
|
2387
2334
|
this.errorHandler.sync(this);
|
|
2388
2335
|
_la = this.tokenStream.LA(1);
|
|
2389
2336
|
while (_la === 2) {
|
|
2390
2337
|
{
|
|
2391
2338
|
{
|
|
2392
|
-
this.state =
|
|
2339
|
+
this.state = 439;
|
|
2393
2340
|
this.match(CircuitScriptParser.T__1);
|
|
2394
|
-
this.state =
|
|
2341
|
+
this.state = 440;
|
|
2395
2342
|
this.match(CircuitScriptParser.ID);
|
|
2396
|
-
this.state =
|
|
2343
|
+
this.state = 441;
|
|
2397
2344
|
this.match(CircuitScriptParser.T__2);
|
|
2398
|
-
this.state =
|
|
2345
|
+
this.state = 442;
|
|
2399
2346
|
this.value_expr();
|
|
2400
2347
|
}
|
|
2401
2348
|
}
|
|
2402
|
-
this.state =
|
|
2349
|
+
this.state = 447;
|
|
2403
2350
|
this.errorHandler.sync(this);
|
|
2404
2351
|
_la = this.tokenStream.LA(1);
|
|
2405
2352
|
}
|
|
@@ -2428,25 +2375,25 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2428
2375
|
let alternative;
|
|
2429
2376
|
this.enterOuterAlt(localContext, 1);
|
|
2430
2377
|
{
|
|
2431
|
-
this.state =
|
|
2378
|
+
this.state = 450;
|
|
2432
2379
|
this.match(CircuitScriptParser.ID);
|
|
2433
|
-
this.state =
|
|
2380
|
+
this.state = 455;
|
|
2434
2381
|
this.errorHandler.sync(this);
|
|
2435
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2382
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 40, this.context);
|
|
2436
2383
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
2437
2384
|
if (alternative === 1) {
|
|
2438
2385
|
{
|
|
2439
2386
|
{
|
|
2440
|
-
this.state =
|
|
2387
|
+
this.state = 451;
|
|
2441
2388
|
this.match(CircuitScriptParser.T__4);
|
|
2442
|
-
this.state =
|
|
2389
|
+
this.state = 452;
|
|
2443
2390
|
this.match(CircuitScriptParser.ID);
|
|
2444
2391
|
}
|
|
2445
2392
|
}
|
|
2446
2393
|
}
|
|
2447
|
-
this.state =
|
|
2394
|
+
this.state = 457;
|
|
2448
2395
|
this.errorHandler.sync(this);
|
|
2449
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2396
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 40, this.context);
|
|
2450
2397
|
}
|
|
2451
2398
|
}
|
|
2452
2399
|
}
|
|
@@ -2469,33 +2416,33 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2469
2416
|
this.enterRule(localContext, 78, CircuitScriptParser.RULE_trailer_expr);
|
|
2470
2417
|
let _la;
|
|
2471
2418
|
try {
|
|
2472
|
-
this.state =
|
|
2419
|
+
this.state = 465;
|
|
2473
2420
|
this.errorHandler.sync(this);
|
|
2474
2421
|
switch (this.tokenStream.LA(1)) {
|
|
2475
2422
|
case CircuitScriptParser.OPEN_PAREN:
|
|
2476
2423
|
this.enterOuterAlt(localContext, 1);
|
|
2477
2424
|
{
|
|
2478
|
-
this.state =
|
|
2425
|
+
this.state = 458;
|
|
2479
2426
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
2480
|
-
this.state =
|
|
2427
|
+
this.state = 460;
|
|
2481
2428
|
this.errorHandler.sync(this);
|
|
2482
2429
|
_la = this.tokenStream.LA(1);
|
|
2483
2430
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & 2147484736) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 1041415) !== 0)) {
|
|
2484
2431
|
{
|
|
2485
|
-
this.state =
|
|
2432
|
+
this.state = 459;
|
|
2486
2433
|
this.parameters();
|
|
2487
2434
|
}
|
|
2488
2435
|
}
|
|
2489
|
-
this.state =
|
|
2436
|
+
this.state = 462;
|
|
2490
2437
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
2491
2438
|
}
|
|
2492
2439
|
break;
|
|
2493
2440
|
case CircuitScriptParser.T__4:
|
|
2494
2441
|
this.enterOuterAlt(localContext, 2);
|
|
2495
2442
|
{
|
|
2496
|
-
this.state =
|
|
2443
|
+
this.state = 463;
|
|
2497
2444
|
this.match(CircuitScriptParser.T__4);
|
|
2498
|
-
this.state =
|
|
2445
|
+
this.state = 464;
|
|
2499
2446
|
this.match(CircuitScriptParser.ID);
|
|
2500
2447
|
}
|
|
2501
2448
|
break;
|
|
@@ -2525,18 +2472,18 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2525
2472
|
let alternative;
|
|
2526
2473
|
this.enterOuterAlt(localContext, 1);
|
|
2527
2474
|
{
|
|
2528
|
-
this.state =
|
|
2475
|
+
this.state = 468;
|
|
2529
2476
|
this.errorHandler.sync(this);
|
|
2530
2477
|
_la = this.tokenStream.LA(1);
|
|
2531
2478
|
if (_la === 42 || _la === 44) {
|
|
2532
2479
|
{
|
|
2533
|
-
this.state =
|
|
2480
|
+
this.state = 467;
|
|
2534
2481
|
this.net_namespace_expr();
|
|
2535
2482
|
}
|
|
2536
2483
|
}
|
|
2537
|
-
this.state =
|
|
2484
|
+
this.state = 470;
|
|
2538
2485
|
this.match(CircuitScriptParser.ID);
|
|
2539
|
-
this.state =
|
|
2486
|
+
this.state = 472;
|
|
2540
2487
|
this.errorHandler.sync(this);
|
|
2541
2488
|
alternative = 1;
|
|
2542
2489
|
do {
|
|
@@ -2544,7 +2491,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2544
2491
|
case 1:
|
|
2545
2492
|
{
|
|
2546
2493
|
{
|
|
2547
|
-
this.state =
|
|
2494
|
+
this.state = 471;
|
|
2548
2495
|
this.trailer_expr();
|
|
2549
2496
|
}
|
|
2550
2497
|
}
|
|
@@ -2552,9 +2499,9 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2552
2499
|
default:
|
|
2553
2500
|
throw new antlr.NoViableAltException(this);
|
|
2554
2501
|
}
|
|
2555
|
-
this.state =
|
|
2502
|
+
this.state = 474;
|
|
2556
2503
|
this.errorHandler.sync(this);
|
|
2557
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
2504
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 44, this.context);
|
|
2558
2505
|
} while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER);
|
|
2559
2506
|
}
|
|
2560
2507
|
}
|
|
@@ -2579,23 +2526,23 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2579
2526
|
try {
|
|
2580
2527
|
this.enterOuterAlt(localContext, 1);
|
|
2581
2528
|
{
|
|
2582
|
-
this.state =
|
|
2529
|
+
this.state = 477;
|
|
2583
2530
|
this.errorHandler.sync(this);
|
|
2584
2531
|
_la = this.tokenStream.LA(1);
|
|
2585
2532
|
if (_la === 42) {
|
|
2586
2533
|
{
|
|
2587
|
-
this.state =
|
|
2534
|
+
this.state = 476;
|
|
2588
2535
|
this.match(CircuitScriptParser.Addition);
|
|
2589
2536
|
}
|
|
2590
2537
|
}
|
|
2591
|
-
this.state =
|
|
2538
|
+
this.state = 479;
|
|
2592
2539
|
this.match(CircuitScriptParser.Divide);
|
|
2593
|
-
this.state =
|
|
2540
|
+
this.state = 481;
|
|
2594
2541
|
this.errorHandler.sync(this);
|
|
2595
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
2542
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 46, this.context)) {
|
|
2596
2543
|
case 1:
|
|
2597
2544
|
{
|
|
2598
|
-
this.state =
|
|
2545
|
+
this.state = 480;
|
|
2599
2546
|
this.data_expr(0);
|
|
2600
2547
|
}
|
|
2601
2548
|
break;
|
|
@@ -2622,9 +2569,9 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2622
2569
|
try {
|
|
2623
2570
|
this.enterOuterAlt(localContext, 1);
|
|
2624
2571
|
{
|
|
2625
|
-
this.state =
|
|
2572
|
+
this.state = 483;
|
|
2626
2573
|
this.match(CircuitScriptParser.Return);
|
|
2627
|
-
this.state =
|
|
2574
|
+
this.state = 484;
|
|
2628
2575
|
this.data_expr(0);
|
|
2629
2576
|
}
|
|
2630
2577
|
}
|
|
@@ -2648,11 +2595,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2648
2595
|
try {
|
|
2649
2596
|
this.enterOuterAlt(localContext, 1);
|
|
2650
2597
|
{
|
|
2651
|
-
this.state =
|
|
2598
|
+
this.state = 486;
|
|
2652
2599
|
this.property_key_expr();
|
|
2653
|
-
this.state =
|
|
2600
|
+
this.state = 487;
|
|
2654
2601
|
this.match(CircuitScriptParser.T__0);
|
|
2655
|
-
this.state =
|
|
2602
|
+
this.state = 488;
|
|
2656
2603
|
this.expressions_block();
|
|
2657
2604
|
}
|
|
2658
2605
|
}
|
|
@@ -2677,27 +2624,27 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2677
2624
|
try {
|
|
2678
2625
|
this.enterOuterAlt(localContext, 1);
|
|
2679
2626
|
{
|
|
2680
|
-
this.state =
|
|
2627
|
+
this.state = 490;
|
|
2681
2628
|
this.match(CircuitScriptParser.Create);
|
|
2682
|
-
this.state =
|
|
2629
|
+
this.state = 491;
|
|
2683
2630
|
this.match(CircuitScriptParser.Component);
|
|
2684
|
-
this.state =
|
|
2631
|
+
this.state = 492;
|
|
2685
2632
|
this.match(CircuitScriptParser.T__0);
|
|
2686
|
-
this.state =
|
|
2633
|
+
this.state = 493;
|
|
2687
2634
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2688
|
-
this.state =
|
|
2635
|
+
this.state = 494;
|
|
2689
2636
|
this.match(CircuitScriptParser.INDENT);
|
|
2690
|
-
this.state =
|
|
2637
|
+
this.state = 497;
|
|
2691
2638
|
this.errorHandler.sync(this);
|
|
2692
2639
|
_la = this.tokenStream.LA(1);
|
|
2693
2640
|
do {
|
|
2694
2641
|
{
|
|
2695
|
-
this.state =
|
|
2642
|
+
this.state = 497;
|
|
2696
2643
|
this.errorHandler.sync(this);
|
|
2697
2644
|
switch (this.tokenStream.LA(1)) {
|
|
2698
2645
|
case CircuitScriptParser.NEWLINE:
|
|
2699
2646
|
{
|
|
2700
|
-
this.state =
|
|
2647
|
+
this.state = 495;
|
|
2701
2648
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2702
2649
|
}
|
|
2703
2650
|
break;
|
|
@@ -2705,7 +2652,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2705
2652
|
case CircuitScriptParser.INTEGER_VALUE:
|
|
2706
2653
|
case CircuitScriptParser.STRING_VALUE:
|
|
2707
2654
|
{
|
|
2708
|
-
this.state =
|
|
2655
|
+
this.state = 496;
|
|
2709
2656
|
this.property_expr();
|
|
2710
2657
|
}
|
|
2711
2658
|
break;
|
|
@@ -2713,11 +2660,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2713
2660
|
throw new antlr.NoViableAltException(this);
|
|
2714
2661
|
}
|
|
2715
2662
|
}
|
|
2716
|
-
this.state =
|
|
2663
|
+
this.state = 499;
|
|
2717
2664
|
this.errorHandler.sync(this);
|
|
2718
2665
|
_la = this.tokenStream.LA(1);
|
|
2719
2666
|
} while (((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 275) !== 0));
|
|
2720
|
-
this.state =
|
|
2667
|
+
this.state = 501;
|
|
2721
2668
|
this.match(CircuitScriptParser.DEDENT);
|
|
2722
2669
|
}
|
|
2723
2670
|
}
|
|
@@ -2742,21 +2689,21 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2742
2689
|
try {
|
|
2743
2690
|
this.enterOuterAlt(localContext, 1);
|
|
2744
2691
|
{
|
|
2745
|
-
this.state =
|
|
2692
|
+
this.state = 503;
|
|
2746
2693
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2747
|
-
this.state =
|
|
2694
|
+
this.state = 504;
|
|
2748
2695
|
this.match(CircuitScriptParser.INDENT);
|
|
2749
|
-
this.state =
|
|
2696
|
+
this.state = 507;
|
|
2750
2697
|
this.errorHandler.sync(this);
|
|
2751
2698
|
_la = this.tokenStream.LA(1);
|
|
2752
2699
|
do {
|
|
2753
2700
|
{
|
|
2754
|
-
this.state =
|
|
2701
|
+
this.state = 507;
|
|
2755
2702
|
this.errorHandler.sync(this);
|
|
2756
2703
|
switch (this.tokenStream.LA(1)) {
|
|
2757
2704
|
case CircuitScriptParser.NEWLINE:
|
|
2758
2705
|
{
|
|
2759
|
-
this.state =
|
|
2706
|
+
this.state = 505;
|
|
2760
2707
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2761
2708
|
}
|
|
2762
2709
|
break;
|
|
@@ -2764,7 +2711,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2764
2711
|
case CircuitScriptParser.For:
|
|
2765
2712
|
case CircuitScriptParser.ID:
|
|
2766
2713
|
{
|
|
2767
|
-
this.state =
|
|
2714
|
+
this.state = 506;
|
|
2768
2715
|
this.graphic_expr();
|
|
2769
2716
|
}
|
|
2770
2717
|
break;
|
|
@@ -2772,11 +2719,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2772
2719
|
throw new antlr.NoViableAltException(this);
|
|
2773
2720
|
}
|
|
2774
2721
|
}
|
|
2775
|
-
this.state =
|
|
2722
|
+
this.state = 509;
|
|
2776
2723
|
this.errorHandler.sync(this);
|
|
2777
2724
|
_la = this.tokenStream.LA(1);
|
|
2778
2725
|
} while (_la === 15 || _la === 25 || _la === 56 || _la === 64);
|
|
2779
|
-
this.state =
|
|
2726
|
+
this.state = 511;
|
|
2780
2727
|
this.match(CircuitScriptParser.DEDENT);
|
|
2781
2728
|
}
|
|
2782
2729
|
}
|
|
@@ -2801,26 +2748,26 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2801
2748
|
try {
|
|
2802
2749
|
this.enterOuterAlt(localContext, 1);
|
|
2803
2750
|
{
|
|
2804
|
-
this.state =
|
|
2751
|
+
this.state = 513;
|
|
2805
2752
|
this.match(CircuitScriptParser.Create);
|
|
2806
|
-
this.state =
|
|
2753
|
+
this.state = 514;
|
|
2807
2754
|
this.match(CircuitScriptParser.Graphic);
|
|
2808
|
-
this.state =
|
|
2755
|
+
this.state = 518;
|
|
2809
2756
|
this.errorHandler.sync(this);
|
|
2810
2757
|
_la = this.tokenStream.LA(1);
|
|
2811
2758
|
if (_la === 52) {
|
|
2812
2759
|
{
|
|
2813
|
-
this.state =
|
|
2760
|
+
this.state = 515;
|
|
2814
2761
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
2815
|
-
this.state =
|
|
2762
|
+
this.state = 516;
|
|
2816
2763
|
this.match(CircuitScriptParser.ID);
|
|
2817
|
-
this.state =
|
|
2764
|
+
this.state = 517;
|
|
2818
2765
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
2819
2766
|
}
|
|
2820
2767
|
}
|
|
2821
|
-
this.state =
|
|
2768
|
+
this.state = 520;
|
|
2822
2769
|
this.match(CircuitScriptParser.T__0);
|
|
2823
|
-
this.state =
|
|
2770
|
+
this.state = 521;
|
|
2824
2771
|
this.graphic_expressions_block();
|
|
2825
2772
|
}
|
|
2826
2773
|
}
|
|
@@ -2845,49 +2792,49 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2845
2792
|
try {
|
|
2846
2793
|
this.enterOuterAlt(localContext, 1);
|
|
2847
2794
|
{
|
|
2848
|
-
this.state =
|
|
2795
|
+
this.state = 523;
|
|
2849
2796
|
this.match(CircuitScriptParser.Create);
|
|
2850
|
-
this.state =
|
|
2797
|
+
this.state = 524;
|
|
2851
2798
|
this.match(CircuitScriptParser.Module);
|
|
2852
|
-
this.state =
|
|
2799
|
+
this.state = 525;
|
|
2853
2800
|
this.match(CircuitScriptParser.T__0);
|
|
2854
|
-
this.state =
|
|
2801
|
+
this.state = 526;
|
|
2855
2802
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2856
|
-
this.state =
|
|
2803
|
+
this.state = 527;
|
|
2857
2804
|
this.match(CircuitScriptParser.INDENT);
|
|
2858
|
-
this.state =
|
|
2805
|
+
this.state = 531;
|
|
2859
2806
|
this.errorHandler.sync(this);
|
|
2860
2807
|
_la = this.tokenStream.LA(1);
|
|
2861
2808
|
do {
|
|
2862
2809
|
{
|
|
2863
|
-
this.state =
|
|
2810
|
+
this.state = 531;
|
|
2864
2811
|
this.errorHandler.sync(this);
|
|
2865
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
2812
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 52, this.context)) {
|
|
2866
2813
|
case 1:
|
|
2867
2814
|
{
|
|
2868
|
-
this.state =
|
|
2815
|
+
this.state = 528;
|
|
2869
2816
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2870
2817
|
}
|
|
2871
2818
|
break;
|
|
2872
2819
|
case 2:
|
|
2873
2820
|
{
|
|
2874
|
-
this.state =
|
|
2821
|
+
this.state = 529;
|
|
2875
2822
|
this.property_expr();
|
|
2876
2823
|
}
|
|
2877
2824
|
break;
|
|
2878
2825
|
case 3:
|
|
2879
2826
|
{
|
|
2880
|
-
this.state =
|
|
2827
|
+
this.state = 530;
|
|
2881
2828
|
this.property_block_expr();
|
|
2882
2829
|
}
|
|
2883
2830
|
break;
|
|
2884
2831
|
}
|
|
2885
2832
|
}
|
|
2886
|
-
this.state =
|
|
2833
|
+
this.state = 533;
|
|
2887
2834
|
this.errorHandler.sync(this);
|
|
2888
2835
|
_la = this.tokenStream.LA(1);
|
|
2889
2836
|
} while (((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 275) !== 0));
|
|
2890
|
-
this.state =
|
|
2837
|
+
this.state = 535;
|
|
2891
2838
|
this.match(CircuitScriptParser.DEDENT);
|
|
2892
2839
|
}
|
|
2893
2840
|
}
|
|
@@ -2913,21 +2860,21 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2913
2860
|
this.enterOuterAlt(localContext, 1);
|
|
2914
2861
|
{
|
|
2915
2862
|
{
|
|
2916
|
-
this.state =
|
|
2863
|
+
this.state = 537;
|
|
2917
2864
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2918
|
-
this.state =
|
|
2865
|
+
this.state = 538;
|
|
2919
2866
|
this.match(CircuitScriptParser.INDENT);
|
|
2920
|
-
this.state =
|
|
2867
|
+
this.state = 541;
|
|
2921
2868
|
this.errorHandler.sync(this);
|
|
2922
2869
|
_la = this.tokenStream.LA(1);
|
|
2923
2870
|
do {
|
|
2924
2871
|
{
|
|
2925
|
-
this.state =
|
|
2872
|
+
this.state = 541;
|
|
2926
2873
|
this.errorHandler.sync(this);
|
|
2927
2874
|
switch (this.tokenStream.LA(1)) {
|
|
2928
2875
|
case CircuitScriptParser.NEWLINE:
|
|
2929
2876
|
{
|
|
2930
|
-
this.state =
|
|
2877
|
+
this.state = 539;
|
|
2931
2878
|
this.match(CircuitScriptParser.NEWLINE);
|
|
2932
2879
|
}
|
|
2933
2880
|
break;
|
|
@@ -2935,7 +2882,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2935
2882
|
case CircuitScriptParser.INTEGER_VALUE:
|
|
2936
2883
|
case CircuitScriptParser.STRING_VALUE:
|
|
2937
2884
|
{
|
|
2938
|
-
this.state =
|
|
2885
|
+
this.state = 540;
|
|
2939
2886
|
this.property_expr();
|
|
2940
2887
|
}
|
|
2941
2888
|
break;
|
|
@@ -2943,11 +2890,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2943
2890
|
throw new antlr.NoViableAltException(this);
|
|
2944
2891
|
}
|
|
2945
2892
|
}
|
|
2946
|
-
this.state =
|
|
2893
|
+
this.state = 543;
|
|
2947
2894
|
this.errorHandler.sync(this);
|
|
2948
2895
|
_la = this.tokenStream.LA(1);
|
|
2949
2896
|
} while (((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 275) !== 0));
|
|
2950
|
-
this.state =
|
|
2897
|
+
this.state = 545;
|
|
2951
2898
|
this.match(CircuitScriptParser.DEDENT);
|
|
2952
2899
|
}
|
|
2953
2900
|
}
|
|
@@ -2971,7 +2918,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2971
2918
|
this.enterRule(localContext, 98, CircuitScriptParser.RULE_graphic_expr);
|
|
2972
2919
|
let _la;
|
|
2973
2920
|
try {
|
|
2974
|
-
this.state =
|
|
2921
|
+
this.state = 573;
|
|
2975
2922
|
this.errorHandler.sync(this);
|
|
2976
2923
|
switch (this.tokenStream.LA(1)) {
|
|
2977
2924
|
case CircuitScriptParser.Pin:
|
|
@@ -2979,7 +2926,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2979
2926
|
localContext = new GraphicCommandExprContext(localContext);
|
|
2980
2927
|
this.enterOuterAlt(localContext, 1);
|
|
2981
2928
|
{
|
|
2982
|
-
this.state =
|
|
2929
|
+
this.state = 547;
|
|
2983
2930
|
localContext._command = this.tokenStream.LT(1);
|
|
2984
2931
|
_la = this.tokenStream.LA(1);
|
|
2985
2932
|
if (!(_la === 15 || _la === 56)) {
|
|
@@ -2989,37 +2936,37 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
2989
2936
|
this.errorHandler.reportMatch(this);
|
|
2990
2937
|
this.consume();
|
|
2991
2938
|
}
|
|
2992
|
-
this.state =
|
|
2939
|
+
this.state = 549;
|
|
2993
2940
|
this.errorHandler.sync(this);
|
|
2994
2941
|
_la = this.tokenStream.LA(1);
|
|
2995
2942
|
if (_la === 1) {
|
|
2996
2943
|
{
|
|
2997
|
-
this.state =
|
|
2944
|
+
this.state = 548;
|
|
2998
2945
|
this.match(CircuitScriptParser.T__0);
|
|
2999
2946
|
}
|
|
3000
2947
|
}
|
|
3001
|
-
this.state =
|
|
2948
|
+
this.state = 557;
|
|
3002
2949
|
this.errorHandler.sync(this);
|
|
3003
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
2950
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 57, this.context)) {
|
|
3004
2951
|
case 1:
|
|
3005
2952
|
{
|
|
3006
|
-
this.state =
|
|
2953
|
+
this.state = 551;
|
|
3007
2954
|
this.parameters();
|
|
3008
2955
|
}
|
|
3009
2956
|
break;
|
|
3010
2957
|
case 2:
|
|
3011
2958
|
{
|
|
3012
|
-
this.state =
|
|
2959
|
+
this.state = 552;
|
|
3013
2960
|
this.match(CircuitScriptParser.OPEN_PAREN);
|
|
3014
|
-
this.state =
|
|
2961
|
+
this.state = 553;
|
|
3015
2962
|
this.parameters();
|
|
3016
|
-
this.state =
|
|
2963
|
+
this.state = 554;
|
|
3017
2964
|
this.match(CircuitScriptParser.CLOSE_PAREN);
|
|
3018
2965
|
}
|
|
3019
2966
|
break;
|
|
3020
2967
|
case 3:
|
|
3021
2968
|
{
|
|
3022
|
-
this.state =
|
|
2969
|
+
this.state = 556;
|
|
3023
2970
|
this.nested_properties_inner();
|
|
3024
2971
|
}
|
|
3025
2972
|
break;
|
|
@@ -3030,33 +2977,33 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3030
2977
|
localContext = new GraphicForExprContext(localContext);
|
|
3031
2978
|
this.enterOuterAlt(localContext, 2);
|
|
3032
2979
|
{
|
|
3033
|
-
this.state =
|
|
2980
|
+
this.state = 559;
|
|
3034
2981
|
this.match(CircuitScriptParser.For);
|
|
3035
|
-
this.state =
|
|
2982
|
+
this.state = 560;
|
|
3036
2983
|
this.match(CircuitScriptParser.ID);
|
|
3037
|
-
this.state =
|
|
2984
|
+
this.state = 565;
|
|
3038
2985
|
this.errorHandler.sync(this);
|
|
3039
2986
|
_la = this.tokenStream.LA(1);
|
|
3040
2987
|
while (_la === 2) {
|
|
3041
2988
|
{
|
|
3042
2989
|
{
|
|
3043
|
-
this.state =
|
|
2990
|
+
this.state = 561;
|
|
3044
2991
|
this.match(CircuitScriptParser.T__1);
|
|
3045
|
-
this.state =
|
|
2992
|
+
this.state = 562;
|
|
3046
2993
|
this.match(CircuitScriptParser.ID);
|
|
3047
2994
|
}
|
|
3048
2995
|
}
|
|
3049
|
-
this.state =
|
|
2996
|
+
this.state = 567;
|
|
3050
2997
|
this.errorHandler.sync(this);
|
|
3051
2998
|
_la = this.tokenStream.LA(1);
|
|
3052
2999
|
}
|
|
3053
|
-
this.state =
|
|
3000
|
+
this.state = 568;
|
|
3054
3001
|
this.match(CircuitScriptParser.In);
|
|
3055
|
-
this.state =
|
|
3002
|
+
this.state = 569;
|
|
3056
3003
|
this.data_expr(0);
|
|
3057
|
-
this.state =
|
|
3004
|
+
this.state = 570;
|
|
3058
3005
|
this.match(CircuitScriptParser.T__0);
|
|
3059
|
-
this.state =
|
|
3006
|
+
this.state = 571;
|
|
3060
3007
|
this.graphic_expressions_block();
|
|
3061
3008
|
}
|
|
3062
3009
|
break;
|
|
@@ -3084,11 +3031,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3084
3031
|
try {
|
|
3085
3032
|
this.enterOuterAlt(localContext, 1);
|
|
3086
3033
|
{
|
|
3087
|
-
this.state =
|
|
3034
|
+
this.state = 575;
|
|
3088
3035
|
this.property_key_expr();
|
|
3089
|
-
this.state =
|
|
3036
|
+
this.state = 576;
|
|
3090
3037
|
this.match(CircuitScriptParser.T__0);
|
|
3091
|
-
this.state =
|
|
3038
|
+
this.state = 577;
|
|
3092
3039
|
this.property_value_expr();
|
|
3093
3040
|
}
|
|
3094
3041
|
}
|
|
@@ -3113,7 +3060,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3113
3060
|
try {
|
|
3114
3061
|
this.enterOuterAlt(localContext, 1);
|
|
3115
3062
|
{
|
|
3116
|
-
this.state =
|
|
3063
|
+
this.state = 579;
|
|
3117
3064
|
_la = this.tokenStream.LA(1);
|
|
3118
3065
|
if (!(((((_la - 56)) & ~0x1F) === 0 && ((1 << (_la - 56)) & 19) !== 0))) {
|
|
3119
3066
|
this.errorHandler.recoverInline(this);
|
|
@@ -3143,14 +3090,14 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3143
3090
|
this.enterRule(localContext, 104, CircuitScriptParser.RULE_property_value_expr);
|
|
3144
3091
|
let _la;
|
|
3145
3092
|
try {
|
|
3146
|
-
this.state =
|
|
3093
|
+
this.state = 590;
|
|
3147
3094
|
this.errorHandler.sync(this);
|
|
3148
3095
|
switch (this.tokenStream.LA(1)) {
|
|
3149
3096
|
case CircuitScriptParser.NEWLINE:
|
|
3150
3097
|
localContext = new Nested_propertiesContext(localContext);
|
|
3151
3098
|
this.enterOuterAlt(localContext, 1);
|
|
3152
3099
|
{
|
|
3153
|
-
this.state =
|
|
3100
|
+
this.state = 581;
|
|
3154
3101
|
this.nested_properties_inner();
|
|
3155
3102
|
}
|
|
3156
3103
|
break;
|
|
@@ -3171,21 +3118,21 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3171
3118
|
localContext = new Single_line_propertyContext(localContext);
|
|
3172
3119
|
this.enterOuterAlt(localContext, 2);
|
|
3173
3120
|
{
|
|
3174
|
-
this.state =
|
|
3121
|
+
this.state = 582;
|
|
3175
3122
|
this.data_expr(0);
|
|
3176
|
-
this.state =
|
|
3123
|
+
this.state = 587;
|
|
3177
3124
|
this.errorHandler.sync(this);
|
|
3178
3125
|
_la = this.tokenStream.LA(1);
|
|
3179
3126
|
while (_la === 2) {
|
|
3180
3127
|
{
|
|
3181
3128
|
{
|
|
3182
|
-
this.state =
|
|
3129
|
+
this.state = 583;
|
|
3183
3130
|
this.match(CircuitScriptParser.T__1);
|
|
3184
|
-
this.state =
|
|
3131
|
+
this.state = 584;
|
|
3185
3132
|
this.data_expr(0);
|
|
3186
3133
|
}
|
|
3187
3134
|
}
|
|
3188
|
-
this.state =
|
|
3135
|
+
this.state = 589;
|
|
3189
3136
|
this.errorHandler.sync(this);
|
|
3190
3137
|
_la = this.tokenStream.LA(1);
|
|
3191
3138
|
}
|
|
@@ -3213,27 +3160,27 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3213
3160
|
let localContext = new Wire_atom_exprContext(this.context, this.state);
|
|
3214
3161
|
this.enterRule(localContext, 106, CircuitScriptParser.RULE_wire_atom_expr);
|
|
3215
3162
|
try {
|
|
3216
|
-
this.state =
|
|
3163
|
+
this.state = 598;
|
|
3217
3164
|
this.errorHandler.sync(this);
|
|
3218
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
3165
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 63, this.context)) {
|
|
3219
3166
|
case 1:
|
|
3220
3167
|
localContext = new Wire_expr_direction_valueContext(localContext);
|
|
3221
3168
|
this.enterOuterAlt(localContext, 1);
|
|
3222
3169
|
{
|
|
3223
|
-
this.state =
|
|
3170
|
+
this.state = 592;
|
|
3224
3171
|
this.match(CircuitScriptParser.ID);
|
|
3225
|
-
this.state =
|
|
3172
|
+
this.state = 595;
|
|
3226
3173
|
this.errorHandler.sync(this);
|
|
3227
|
-
switch (this.interpreter.adaptivePredict(this.tokenStream,
|
|
3174
|
+
switch (this.interpreter.adaptivePredict(this.tokenStream, 62, this.context)) {
|
|
3228
3175
|
case 1:
|
|
3229
3176
|
{
|
|
3230
|
-
this.state =
|
|
3177
|
+
this.state = 593;
|
|
3231
3178
|
this.match(CircuitScriptParser.INTEGER_VALUE);
|
|
3232
3179
|
}
|
|
3233
3180
|
break;
|
|
3234
3181
|
case 2:
|
|
3235
3182
|
{
|
|
3236
|
-
this.state =
|
|
3183
|
+
this.state = 594;
|
|
3237
3184
|
this.data_expr(0);
|
|
3238
3185
|
}
|
|
3239
3186
|
break;
|
|
@@ -3244,7 +3191,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3244
3191
|
localContext = new Wire_expr_direction_onlyContext(localContext);
|
|
3245
3192
|
this.enterOuterAlt(localContext, 2);
|
|
3246
3193
|
{
|
|
3247
|
-
this.state =
|
|
3194
|
+
this.state = 597;
|
|
3248
3195
|
this.match(CircuitScriptParser.ID);
|
|
3249
3196
|
}
|
|
3250
3197
|
break;
|
|
@@ -3271,23 +3218,23 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3271
3218
|
let alternative;
|
|
3272
3219
|
this.enterOuterAlt(localContext, 1);
|
|
3273
3220
|
{
|
|
3274
|
-
this.state =
|
|
3221
|
+
this.state = 600;
|
|
3275
3222
|
this.match(CircuitScriptParser.Wire);
|
|
3276
|
-
this.state =
|
|
3223
|
+
this.state = 604;
|
|
3277
3224
|
this.errorHandler.sync(this);
|
|
3278
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
3225
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 64, this.context);
|
|
3279
3226
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
3280
3227
|
if (alternative === 1) {
|
|
3281
3228
|
{
|
|
3282
3229
|
{
|
|
3283
|
-
this.state =
|
|
3230
|
+
this.state = 601;
|
|
3284
3231
|
this.wire_atom_expr();
|
|
3285
3232
|
}
|
|
3286
3233
|
}
|
|
3287
3234
|
}
|
|
3288
|
-
this.state =
|
|
3235
|
+
this.state = 606;
|
|
3289
3236
|
this.errorHandler.sync(this);
|
|
3290
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
3237
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 64, this.context);
|
|
3291
3238
|
}
|
|
3292
3239
|
}
|
|
3293
3240
|
}
|
|
@@ -3312,39 +3259,39 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3312
3259
|
try {
|
|
3313
3260
|
this.enterOuterAlt(localContext, 1);
|
|
3314
3261
|
{
|
|
3315
|
-
this.state =
|
|
3262
|
+
this.state = 607;
|
|
3316
3263
|
this.match(CircuitScriptParser.T__5);
|
|
3317
|
-
this.state =
|
|
3264
|
+
this.state = 618;
|
|
3318
3265
|
this.errorHandler.sync(this);
|
|
3319
3266
|
_la = this.tokenStream.LA(1);
|
|
3320
3267
|
while ((((_la) & ~0x1F) === 0 && ((1 << _la) & 2147484736) !== 0) || ((((_la - 42)) & ~0x1F) === 0 && ((1 << (_la - 42)) & 1041415) !== 0)) {
|
|
3321
3268
|
{
|
|
3322
3269
|
{
|
|
3323
|
-
this.state =
|
|
3270
|
+
this.state = 608;
|
|
3324
3271
|
this.data_expr(0);
|
|
3325
|
-
this.state =
|
|
3272
|
+
this.state = 613;
|
|
3326
3273
|
this.errorHandler.sync(this);
|
|
3327
3274
|
_la = this.tokenStream.LA(1);
|
|
3328
3275
|
while (_la === 2) {
|
|
3329
3276
|
{
|
|
3330
3277
|
{
|
|
3331
|
-
this.state =
|
|
3278
|
+
this.state = 609;
|
|
3332
3279
|
this.match(CircuitScriptParser.T__1);
|
|
3333
|
-
this.state =
|
|
3280
|
+
this.state = 610;
|
|
3334
3281
|
this.data_expr(0);
|
|
3335
3282
|
}
|
|
3336
3283
|
}
|
|
3337
|
-
this.state =
|
|
3284
|
+
this.state = 615;
|
|
3338
3285
|
this.errorHandler.sync(this);
|
|
3339
3286
|
_la = this.tokenStream.LA(1);
|
|
3340
3287
|
}
|
|
3341
3288
|
}
|
|
3342
3289
|
}
|
|
3343
|
-
this.state =
|
|
3290
|
+
this.state = 620;
|
|
3344
3291
|
this.errorHandler.sync(this);
|
|
3345
3292
|
_la = this.tokenStream.LA(1);
|
|
3346
3293
|
}
|
|
3347
|
-
this.state =
|
|
3294
|
+
this.state = 621;
|
|
3348
3295
|
this.match(CircuitScriptParser.T__6);
|
|
3349
3296
|
}
|
|
3350
3297
|
}
|
|
@@ -3368,9 +3315,9 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3368
3315
|
try {
|
|
3369
3316
|
this.enterOuterAlt(localContext, 1);
|
|
3370
3317
|
{
|
|
3371
|
-
this.state =
|
|
3318
|
+
this.state = 623;
|
|
3372
3319
|
this.match(CircuitScriptParser.Point);
|
|
3373
|
-
this.state =
|
|
3320
|
+
this.state = 624;
|
|
3374
3321
|
this.match(CircuitScriptParser.ID);
|
|
3375
3322
|
}
|
|
3376
3323
|
}
|
|
@@ -3394,9 +3341,9 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3394
3341
|
try {
|
|
3395
3342
|
this.enterOuterAlt(localContext, 1);
|
|
3396
3343
|
{
|
|
3397
|
-
this.state =
|
|
3344
|
+
this.state = 626;
|
|
3398
3345
|
this.match(CircuitScriptParser.Import);
|
|
3399
|
-
this.state =
|
|
3346
|
+
this.state = 627;
|
|
3400
3347
|
this.match(CircuitScriptParser.ID);
|
|
3401
3348
|
}
|
|
3402
3349
|
}
|
|
@@ -3421,7 +3368,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3421
3368
|
try {
|
|
3422
3369
|
this.enterOuterAlt(localContext, 1);
|
|
3423
3370
|
{
|
|
3424
|
-
this.state =
|
|
3371
|
+
this.state = 629;
|
|
3425
3372
|
_la = this.tokenStream.LA(1);
|
|
3426
3373
|
if (!(_la === 32 || _la === 33)) {
|
|
3427
3374
|
this.errorHandler.recoverInline(this);
|
|
@@ -3430,9 +3377,9 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3430
3377
|
this.errorHandler.reportMatch(this);
|
|
3431
3378
|
this.consume();
|
|
3432
3379
|
}
|
|
3433
|
-
this.state =
|
|
3380
|
+
this.state = 630;
|
|
3434
3381
|
this.match(CircuitScriptParser.T__0);
|
|
3435
|
-
this.state =
|
|
3382
|
+
this.state = 631;
|
|
3436
3383
|
this.expressions_block();
|
|
3437
3384
|
}
|
|
3438
3385
|
}
|
|
@@ -3458,36 +3405,36 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3458
3405
|
let alternative;
|
|
3459
3406
|
this.enterOuterAlt(localContext, 1);
|
|
3460
3407
|
{
|
|
3461
|
-
this.state =
|
|
3408
|
+
this.state = 633;
|
|
3462
3409
|
this.match(CircuitScriptParser.If);
|
|
3463
|
-
this.state =
|
|
3410
|
+
this.state = 634;
|
|
3464
3411
|
this.data_expr(0);
|
|
3465
|
-
this.state =
|
|
3412
|
+
this.state = 635;
|
|
3466
3413
|
this.match(CircuitScriptParser.T__0);
|
|
3467
|
-
this.state =
|
|
3414
|
+
this.state = 636;
|
|
3468
3415
|
this.expressions_block();
|
|
3469
|
-
this.state =
|
|
3416
|
+
this.state = 640;
|
|
3470
3417
|
this.errorHandler.sync(this);
|
|
3471
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
3418
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 67, this.context);
|
|
3472
3419
|
while (alternative !== 2 && alternative !== antlr.ATN.INVALID_ALT_NUMBER) {
|
|
3473
3420
|
if (alternative === 1) {
|
|
3474
3421
|
{
|
|
3475
3422
|
{
|
|
3476
|
-
this.state =
|
|
3423
|
+
this.state = 637;
|
|
3477
3424
|
this.if_inner_expr();
|
|
3478
3425
|
}
|
|
3479
3426
|
}
|
|
3480
3427
|
}
|
|
3481
|
-
this.state =
|
|
3428
|
+
this.state = 642;
|
|
3482
3429
|
this.errorHandler.sync(this);
|
|
3483
|
-
alternative = this.interpreter.adaptivePredict(this.tokenStream,
|
|
3430
|
+
alternative = this.interpreter.adaptivePredict(this.tokenStream, 67, this.context);
|
|
3484
3431
|
}
|
|
3485
|
-
this.state =
|
|
3432
|
+
this.state = 644;
|
|
3486
3433
|
this.errorHandler.sync(this);
|
|
3487
3434
|
_la = this.tokenStream.LA(1);
|
|
3488
3435
|
if (_la === 30) {
|
|
3489
3436
|
{
|
|
3490
|
-
this.state =
|
|
3437
|
+
this.state = 643;
|
|
3491
3438
|
this.else_expr();
|
|
3492
3439
|
}
|
|
3493
3440
|
}
|
|
@@ -3513,15 +3460,15 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3513
3460
|
try {
|
|
3514
3461
|
this.enterOuterAlt(localContext, 1);
|
|
3515
3462
|
{
|
|
3516
|
-
this.state =
|
|
3463
|
+
this.state = 646;
|
|
3517
3464
|
this.match(CircuitScriptParser.Else);
|
|
3518
|
-
this.state =
|
|
3465
|
+
this.state = 647;
|
|
3519
3466
|
this.match(CircuitScriptParser.If);
|
|
3520
|
-
this.state =
|
|
3467
|
+
this.state = 648;
|
|
3521
3468
|
this.data_expr(0);
|
|
3522
|
-
this.state =
|
|
3469
|
+
this.state = 649;
|
|
3523
3470
|
this.match(CircuitScriptParser.T__0);
|
|
3524
|
-
this.state =
|
|
3471
|
+
this.state = 650;
|
|
3525
3472
|
this.expressions_block();
|
|
3526
3473
|
}
|
|
3527
3474
|
}
|
|
@@ -3545,11 +3492,11 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3545
3492
|
try {
|
|
3546
3493
|
this.enterOuterAlt(localContext, 1);
|
|
3547
3494
|
{
|
|
3548
|
-
this.state =
|
|
3495
|
+
this.state = 652;
|
|
3549
3496
|
this.match(CircuitScriptParser.Else);
|
|
3550
|
-
this.state =
|
|
3497
|
+
this.state = 653;
|
|
3551
3498
|
this.match(CircuitScriptParser.T__0);
|
|
3552
|
-
this.state =
|
|
3499
|
+
this.state = 654;
|
|
3553
3500
|
this.expressions_block();
|
|
3554
3501
|
}
|
|
3555
3502
|
}
|
|
@@ -3573,13 +3520,13 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3573
3520
|
try {
|
|
3574
3521
|
this.enterOuterAlt(localContext, 1);
|
|
3575
3522
|
{
|
|
3576
|
-
this.state =
|
|
3523
|
+
this.state = 656;
|
|
3577
3524
|
this.match(CircuitScriptParser.While);
|
|
3578
|
-
this.state =
|
|
3525
|
+
this.state = 657;
|
|
3579
3526
|
this.data_expr(0);
|
|
3580
|
-
this.state =
|
|
3527
|
+
this.state = 658;
|
|
3581
3528
|
this.match(CircuitScriptParser.T__0);
|
|
3582
|
-
this.state =
|
|
3529
|
+
this.state = 659;
|
|
3583
3530
|
this.expressions_block();
|
|
3584
3531
|
}
|
|
3585
3532
|
}
|
|
@@ -3604,33 +3551,33 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3604
3551
|
try {
|
|
3605
3552
|
this.enterOuterAlt(localContext, 1);
|
|
3606
3553
|
{
|
|
3607
|
-
this.state =
|
|
3554
|
+
this.state = 661;
|
|
3608
3555
|
this.match(CircuitScriptParser.For);
|
|
3609
|
-
this.state =
|
|
3556
|
+
this.state = 662;
|
|
3610
3557
|
this.match(CircuitScriptParser.ID);
|
|
3611
|
-
this.state =
|
|
3558
|
+
this.state = 667;
|
|
3612
3559
|
this.errorHandler.sync(this);
|
|
3613
3560
|
_la = this.tokenStream.LA(1);
|
|
3614
3561
|
while (_la === 2) {
|
|
3615
3562
|
{
|
|
3616
3563
|
{
|
|
3617
|
-
this.state =
|
|
3564
|
+
this.state = 663;
|
|
3618
3565
|
this.match(CircuitScriptParser.T__1);
|
|
3619
|
-
this.state =
|
|
3566
|
+
this.state = 664;
|
|
3620
3567
|
this.match(CircuitScriptParser.ID);
|
|
3621
3568
|
}
|
|
3622
3569
|
}
|
|
3623
|
-
this.state =
|
|
3570
|
+
this.state = 669;
|
|
3624
3571
|
this.errorHandler.sync(this);
|
|
3625
3572
|
_la = this.tokenStream.LA(1);
|
|
3626
3573
|
}
|
|
3627
|
-
this.state =
|
|
3574
|
+
this.state = 670;
|
|
3628
3575
|
this.match(CircuitScriptParser.In);
|
|
3629
|
-
this.state =
|
|
3576
|
+
this.state = 671;
|
|
3630
3577
|
this.data_expr(0);
|
|
3631
|
-
this.state =
|
|
3578
|
+
this.state = 672;
|
|
3632
3579
|
this.match(CircuitScriptParser.T__0);
|
|
3633
|
-
this.state =
|
|
3580
|
+
this.state = 673;
|
|
3634
3581
|
this.expressions_block();
|
|
3635
3582
|
}
|
|
3636
3583
|
}
|
|
@@ -3669,7 +3616,7 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3669
3616
|
return true;
|
|
3670
3617
|
}
|
|
3671
3618
|
static _serializedATN = [
|
|
3672
|
-
4, 1, 67,
|
|
3619
|
+
4, 1, 67, 676, 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,
|
|
3673
3620
|
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,
|
|
3674
3621
|
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,
|
|
3675
3622
|
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,
|
|
@@ -3685,239 +3632,237 @@ export class CircuitScriptParser extends antlr.Parser {
|
|
|
3685
3632
|
12, 3, 173, 1, 4, 1, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 4, 5, 186, 8, 5, 11,
|
|
3686
3633
|
5, 12, 5, 187, 1, 5, 1, 5, 1, 6, 1, 6, 1, 6, 1, 6, 1, 7, 1, 7, 1, 7, 1, 8, 1, 8, 1, 8, 1, 8, 3,
|
|
3687
3634
|
8, 203, 8, 8, 1, 9, 1, 9, 3, 9, 207, 8, 9, 1, 9, 5, 9, 210, 8, 9, 10, 9, 12, 9, 213, 9, 9,
|
|
3688
|
-
1, 9, 3, 9, 216, 8, 9, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11,
|
|
3689
|
-
1,
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
16,
|
|
3694
|
-
18, 1, 18,
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
1,
|
|
3701
|
-
1, 31,
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
1,
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
40,
|
|
3712
|
-
|
|
3713
|
-
1,
|
|
3714
|
-
|
|
3715
|
-
1,
|
|
3716
|
-
1, 47, 1, 47,
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
3,
|
|
3723
|
-
54,
|
|
3724
|
-
55,
|
|
3725
|
-
|
|
3726
|
-
59,
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
0,
|
|
3737
|
-
1, 0, 0, 0,
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
3,
|
|
3756
|
-
159, 3,
|
|
3757
|
-
|
|
3758
|
-
159, 3,
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
0, 0,
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
0,
|
|
3769
|
-
0, 0, 0,
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
0,
|
|
3774
|
-
0,
|
|
3775
|
-
0, 0,
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
1, 0, 0, 0,
|
|
3781
|
-
1, 0, 0, 0,
|
|
3782
|
-
3, 18, 9, 0,
|
|
3783
|
-
1, 0, 0, 0,
|
|
3784
|
-
0, 0, 0,
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
0,
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
1, 0, 0,
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
1, 0, 0, 0,
|
|
3804
|
-
5,
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
1, 0, 0, 0,
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
0, 0,
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
1, 0, 0, 0,
|
|
3833
|
-
0, 0, 0,
|
|
3834
|
-
0, 0,
|
|
3835
|
-
|
|
3836
|
-
0, 0,
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
1, 0, 0, 0,
|
|
3841
|
-
|
|
3842
|
-
1, 0, 0, 0,
|
|
3843
|
-
5,
|
|
3844
|
-
1, 0, 0, 0,
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
1, 0, 0, 0,
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
1, 0, 0, 0,
|
|
3855
|
-
|
|
3856
|
-
1, 0, 0, 0,
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
1, 0, 0, 0,
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
505, 1, 0, 0, 0,
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
0, 0,
|
|
3872
|
-
0, 0,
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
1, 0, 0, 0,
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
5, 1, 0, 0,
|
|
3888
|
-
1, 0, 0, 0,
|
|
3889
|
-
3,
|
|
3890
|
-
|
|
3891
|
-
0,
|
|
3892
|
-
0,
|
|
3893
|
-
0,
|
|
3894
|
-
|
|
3895
|
-
0, 0,
|
|
3896
|
-
0, 0,
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
1, 0, 0, 0,
|
|
3900
|
-
1, 0, 0, 0,
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
1, 0, 0, 0,
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
3,
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
478, 481, 485, 501, 503, 511, 513, 522, 535, 537, 545, 547, 553, 561, 569, 577,
|
|
3920
|
-
591, 594, 599, 602, 608, 617, 622, 644, 648, 671
|
|
3635
|
+
1, 9, 3, 9, 216, 8, 9, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 3, 11, 224, 8, 11, 1, 12,
|
|
3636
|
+
1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 5, 14, 235, 8, 14, 10, 14, 12, 14,
|
|
3637
|
+
238, 9, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 5, 15, 246, 8, 15, 10, 15, 12, 15,
|
|
3638
|
+
249, 9, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 4, 15, 256, 8, 15, 11, 15, 12, 15, 257,
|
|
3639
|
+
1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 5, 16, 267, 8, 16, 10, 16, 12, 16, 270,
|
|
3640
|
+
9, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 4, 18, 280, 8, 18, 11, 18,
|
|
3641
|
+
12, 18, 281, 1, 18, 1, 18, 1, 19, 1, 19, 3, 19, 288, 8, 19, 1, 20, 1, 20, 1, 20, 1, 20,
|
|
3642
|
+
3, 20, 294, 8, 20, 1, 21, 1, 21, 3, 21, 298, 8, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1,
|
|
3643
|
+
24, 1, 25, 1, 25, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 27, 1,
|
|
3644
|
+
28, 1, 28, 1, 28, 5, 28, 321, 8, 28, 10, 28, 12, 28, 324, 9, 28, 1, 28, 1, 28, 5, 28, 328,
|
|
3645
|
+
8, 28, 10, 28, 12, 28, 331, 9, 28, 1, 28, 1, 28, 1, 28, 5, 28, 336, 8, 28, 10, 28, 12,
|
|
3646
|
+
28, 339, 9, 28, 3, 28, 341, 8, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30,
|
|
3647
|
+
1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 359, 8, 31, 1, 31, 1, 31,
|
|
3648
|
+
1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 3, 31, 369, 8, 31, 1, 31, 1, 31, 1, 31, 1, 31,
|
|
3649
|
+
1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 5, 31, 384, 8, 31, 10, 31,
|
|
3650
|
+
12, 31, 387, 9, 31, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 3, 34, 394, 8, 34, 1, 34, 1, 34,
|
|
3651
|
+
1, 35, 1, 35, 1, 35, 1, 35, 3, 35, 402, 8, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35, 1, 35,
|
|
3652
|
+
4, 35, 410, 8, 35, 11, 35, 12, 35, 411, 1, 35, 1, 35, 1, 36, 1, 36, 3, 36, 418, 8, 36,
|
|
3653
|
+
1, 37, 1, 37, 1, 37, 5, 37, 423, 8, 37, 10, 37, 12, 37, 426, 9, 37, 1, 37, 1, 37, 1, 37,
|
|
3654
|
+
1, 37, 5, 37, 432, 8, 37, 10, 37, 12, 37, 435, 9, 37, 1, 37, 1, 37, 1, 37, 1, 37, 1, 37,
|
|
3655
|
+
1, 37, 1, 37, 5, 37, 444, 8, 37, 10, 37, 12, 37, 447, 9, 37, 3, 37, 449, 8, 37, 1, 38,
|
|
3656
|
+
1, 38, 1, 38, 5, 38, 454, 8, 38, 10, 38, 12, 38, 457, 9, 38, 1, 39, 1, 39, 3, 39, 461,
|
|
3657
|
+
8, 39, 1, 39, 1, 39, 1, 39, 3, 39, 466, 8, 39, 1, 40, 3, 40, 469, 8, 40, 1, 40, 1, 40, 4,
|
|
3658
|
+
40, 473, 8, 40, 11, 40, 12, 40, 474, 1, 41, 3, 41, 478, 8, 41, 1, 41, 1, 41, 3, 41, 482,
|
|
3659
|
+
8, 41, 1, 42, 1, 42, 1, 42, 1, 43, 1, 43, 1, 43, 1, 43, 1, 44, 1, 44, 1, 44, 1, 44, 1, 44,
|
|
3660
|
+
1, 44, 1, 44, 4, 44, 498, 8, 44, 11, 44, 12, 44, 499, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45,
|
|
3661
|
+
1, 45, 4, 45, 508, 8, 45, 11, 45, 12, 45, 509, 1, 45, 1, 45, 1, 46, 1, 46, 1, 46, 1, 46,
|
|
3662
|
+
1, 46, 3, 46, 519, 8, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47, 1, 47,
|
|
3663
|
+
1, 47, 1, 47, 4, 47, 532, 8, 47, 11, 47, 12, 47, 533, 1, 47, 1, 47, 1, 48, 1, 48, 1, 48,
|
|
3664
|
+
1, 48, 4, 48, 542, 8, 48, 11, 48, 12, 48, 543, 1, 48, 1, 48, 1, 49, 1, 49, 3, 49, 550,
|
|
3665
|
+
8, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49, 3, 49, 558, 8, 49, 1, 49, 1, 49, 1, 49,
|
|
3666
|
+
1, 49, 5, 49, 564, 8, 49, 10, 49, 12, 49, 567, 9, 49, 1, 49, 1, 49, 1, 49, 1, 49, 1, 49,
|
|
3667
|
+
3, 49, 574, 8, 49, 1, 50, 1, 50, 1, 50, 1, 50, 1, 51, 1, 51, 1, 52, 1, 52, 1, 52, 1, 52,
|
|
3668
|
+
5, 52, 586, 8, 52, 10, 52, 12, 52, 589, 9, 52, 3, 52, 591, 8, 52, 1, 53, 1, 53, 1, 53,
|
|
3669
|
+
3, 53, 596, 8, 53, 1, 53, 3, 53, 599, 8, 53, 1, 54, 1, 54, 5, 54, 603, 8, 54, 10, 54, 12,
|
|
3670
|
+
54, 606, 9, 54, 1, 55, 1, 55, 1, 55, 1, 55, 5, 55, 612, 8, 55, 10, 55, 12, 55, 615, 9,
|
|
3671
|
+
55, 5, 55, 617, 8, 55, 10, 55, 12, 55, 620, 9, 55, 1, 55, 1, 55, 1, 56, 1, 56, 1, 56, 1,
|
|
3672
|
+
57, 1, 57, 1, 57, 1, 58, 1, 58, 1, 58, 1, 58, 1, 59, 1, 59, 1, 59, 1, 59, 1, 59, 5, 59, 639,
|
|
3673
|
+
8, 59, 10, 59, 12, 59, 642, 9, 59, 1, 59, 3, 59, 645, 8, 59, 1, 60, 1, 60, 1, 60, 1, 60,
|
|
3674
|
+
1, 60, 1, 60, 1, 61, 1, 61, 1, 61, 1, 61, 1, 62, 1, 62, 1, 62, 1, 62, 1, 62, 1, 63, 1, 63,
|
|
3675
|
+
1, 63, 1, 63, 5, 63, 666, 8, 63, 10, 63, 12, 63, 669, 9, 63, 1, 63, 1, 63, 1, 63, 1, 63,
|
|
3676
|
+
1, 63, 1, 63, 0, 1, 62, 64, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32,
|
|
3677
|
+
34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76,
|
|
3678
|
+
78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114,
|
|
3679
|
+
116, 118, 120, 122, 124, 126, 0, 14, 2, 0, 9, 9, 19, 21, 1, 0, 56, 57, 2, 0, 57, 57, 60,
|
|
3680
|
+
60, 2, 0, 54, 54, 57, 57, 1, 0, 47, 51, 1, 0, 44, 46, 1, 0, 42, 43, 1, 0, 40, 41, 1, 0, 34,
|
|
3681
|
+
39, 2, 0, 31, 31, 43, 43, 2, 0, 55, 55, 57, 61, 2, 0, 15, 15, 56, 56, 2, 0, 56, 57, 60,
|
|
3682
|
+
60, 1, 0, 32, 33, 712, 0, 130, 1, 0, 0, 0, 2, 158, 1, 0, 0, 0, 4, 160, 1, 0, 0, 0, 6, 171,
|
|
3683
|
+
1, 0, 0, 0, 8, 175, 1, 0, 0, 0, 10, 179, 1, 0, 0, 0, 12, 191, 1, 0, 0, 0, 14, 195, 1, 0, 0,
|
|
3684
|
+
0, 16, 198, 1, 0, 0, 0, 18, 206, 1, 0, 0, 0, 20, 217, 1, 0, 0, 0, 22, 223, 1, 0, 0, 0, 24,
|
|
3685
|
+
225, 1, 0, 0, 0, 26, 227, 1, 0, 0, 0, 28, 230, 1, 0, 0, 0, 30, 239, 1, 0, 0, 0, 32, 261,
|
|
3686
|
+
1, 0, 0, 0, 34, 271, 1, 0, 0, 0, 36, 273, 1, 0, 0, 0, 38, 287, 1, 0, 0, 0, 40, 289, 1, 0,
|
|
3687
|
+
0, 0, 42, 297, 1, 0, 0, 0, 44, 299, 1, 0, 0, 0, 46, 301, 1, 0, 0, 0, 48, 303, 1, 0, 0, 0,
|
|
3688
|
+
50, 305, 1, 0, 0, 0, 52, 309, 1, 0, 0, 0, 54, 313, 1, 0, 0, 0, 56, 340, 1, 0, 0, 0, 58, 342,
|
|
3689
|
+
1, 0, 0, 0, 60, 346, 1, 0, 0, 0, 62, 368, 1, 0, 0, 0, 64, 388, 1, 0, 0, 0, 66, 390, 1, 0,
|
|
3690
|
+
0, 0, 68, 393, 1, 0, 0, 0, 70, 397, 1, 0, 0, 0, 72, 417, 1, 0, 0, 0, 74, 448, 1, 0, 0, 0,
|
|
3691
|
+
76, 450, 1, 0, 0, 0, 78, 465, 1, 0, 0, 0, 80, 468, 1, 0, 0, 0, 82, 477, 1, 0, 0, 0, 84, 483,
|
|
3692
|
+
1, 0, 0, 0, 86, 486, 1, 0, 0, 0, 88, 490, 1, 0, 0, 0, 90, 503, 1, 0, 0, 0, 92, 513, 1, 0,
|
|
3693
|
+
0, 0, 94, 523, 1, 0, 0, 0, 96, 537, 1, 0, 0, 0, 98, 573, 1, 0, 0, 0, 100, 575, 1, 0, 0, 0,
|
|
3694
|
+
102, 579, 1, 0, 0, 0, 104, 590, 1, 0, 0, 0, 106, 598, 1, 0, 0, 0, 108, 600, 1, 0, 0, 0,
|
|
3695
|
+
110, 607, 1, 0, 0, 0, 112, 623, 1, 0, 0, 0, 114, 626, 1, 0, 0, 0, 116, 629, 1, 0, 0, 0,
|
|
3696
|
+
118, 633, 1, 0, 0, 0, 120, 646, 1, 0, 0, 0, 122, 652, 1, 0, 0, 0, 124, 656, 1, 0, 0, 0,
|
|
3697
|
+
126, 661, 1, 0, 0, 0, 128, 131, 3, 2, 1, 0, 129, 131, 5, 64, 0, 0, 130, 128, 1, 0, 0, 0,
|
|
3698
|
+
130, 129, 1, 0, 0, 0, 131, 132, 1, 0, 0, 0, 132, 130, 1, 0, 0, 0, 132, 133, 1, 0, 0, 0,
|
|
3699
|
+
133, 134, 1, 0, 0, 0, 134, 135, 5, 0, 0, 1, 135, 1, 1, 0, 0, 0, 136, 159, 3, 20, 10, 0,
|
|
3700
|
+
137, 159, 3, 28, 14, 0, 138, 159, 3, 26, 13, 0, 139, 159, 3, 50, 25, 0, 140, 159, 3,
|
|
3701
|
+
52, 26, 0, 141, 159, 3, 58, 29, 0, 142, 159, 3, 10, 5, 0, 143, 159, 3, 60, 30, 0, 144,
|
|
3702
|
+
159, 3, 46, 23, 0, 145, 159, 3, 48, 24, 0, 146, 159, 3, 70, 35, 0, 147, 159, 3, 80, 40,
|
|
3703
|
+
0, 148, 159, 3, 108, 54, 0, 149, 159, 3, 114, 57, 0, 150, 159, 3, 116, 58, 0, 151, 159,
|
|
3704
|
+
3, 76, 38, 0, 152, 159, 3, 36, 18, 0, 153, 159, 3, 6, 3, 0, 154, 159, 3, 112, 56, 0, 155,
|
|
3705
|
+
159, 3, 118, 59, 0, 156, 159, 3, 124, 62, 0, 157, 159, 3, 126, 63, 0, 158, 136, 1, 0,
|
|
3706
|
+
0, 0, 158, 137, 1, 0, 0, 0, 158, 138, 1, 0, 0, 0, 158, 139, 1, 0, 0, 0, 158, 140, 1, 0,
|
|
3707
|
+
0, 0, 158, 141, 1, 0, 0, 0, 158, 142, 1, 0, 0, 0, 158, 143, 1, 0, 0, 0, 158, 144, 1, 0,
|
|
3708
|
+
0, 0, 158, 145, 1, 0, 0, 0, 158, 146, 1, 0, 0, 0, 158, 147, 1, 0, 0, 0, 158, 148, 1, 0,
|
|
3709
|
+
0, 0, 158, 149, 1, 0, 0, 0, 158, 150, 1, 0, 0, 0, 158, 151, 1, 0, 0, 0, 158, 152, 1, 0,
|
|
3710
|
+
0, 0, 158, 153, 1, 0, 0, 0, 158, 154, 1, 0, 0, 0, 158, 155, 1, 0, 0, 0, 158, 156, 1, 0,
|
|
3711
|
+
0, 0, 158, 157, 1, 0, 0, 0, 159, 3, 1, 0, 0, 0, 160, 161, 5, 64, 0, 0, 161, 164, 5, 66,
|
|
3712
|
+
0, 0, 162, 165, 5, 64, 0, 0, 163, 165, 3, 2, 1, 0, 164, 162, 1, 0, 0, 0, 164, 163, 1, 0,
|
|
3713
|
+
0, 0, 165, 166, 1, 0, 0, 0, 166, 164, 1, 0, 0, 0, 166, 167, 1, 0, 0, 0, 167, 168, 1, 0,
|
|
3714
|
+
0, 0, 168, 169, 5, 67, 0, 0, 169, 5, 1, 0, 0, 0, 170, 172, 3, 8, 4, 0, 171, 170, 1, 0, 0,
|
|
3715
|
+
0, 172, 173, 1, 0, 0, 0, 173, 171, 1, 0, 0, 0, 173, 174, 1, 0, 0, 0, 174, 7, 1, 0, 0, 0,
|
|
3716
|
+
175, 176, 7, 0, 0, 0, 176, 177, 5, 1, 0, 0, 177, 178, 3, 4, 2, 0, 178, 9, 1, 0, 0, 0, 179,
|
|
3717
|
+
180, 3, 76, 38, 0, 180, 181, 5, 1, 0, 0, 181, 182, 5, 64, 0, 0, 182, 185, 5, 66, 0, 0,
|
|
3718
|
+
183, 186, 5, 64, 0, 0, 184, 186, 3, 12, 6, 0, 185, 183, 1, 0, 0, 0, 185, 184, 1, 0, 0,
|
|
3719
|
+
0, 186, 187, 1, 0, 0, 0, 187, 185, 1, 0, 0, 0, 187, 188, 1, 0, 0, 0, 188, 189, 1, 0, 0,
|
|
3720
|
+
0, 189, 190, 5, 67, 0, 0, 190, 11, 1, 0, 0, 0, 191, 192, 7, 1, 0, 0, 192, 193, 5, 1, 0,
|
|
3721
|
+
0, 193, 194, 3, 68, 34, 0, 194, 13, 1, 0, 0, 0, 195, 196, 5, 15, 0, 0, 196, 197, 7, 2,
|
|
3722
|
+
0, 0, 197, 15, 1, 0, 0, 0, 198, 199, 5, 56, 0, 0, 199, 202, 5, 1, 0, 0, 200, 203, 3, 68,
|
|
3723
|
+
34, 0, 201, 203, 5, 56, 0, 0, 202, 200, 1, 0, 0, 0, 202, 201, 1, 0, 0, 0, 203, 17, 1, 0,
|
|
3724
|
+
0, 0, 204, 207, 3, 62, 31, 0, 205, 207, 3, 50, 25, 0, 206, 204, 1, 0, 0, 0, 206, 205,
|
|
3725
|
+
1, 0, 0, 0, 207, 211, 1, 0, 0, 0, 208, 210, 3, 16, 8, 0, 209, 208, 1, 0, 0, 0, 210, 213,
|
|
3726
|
+
1, 0, 0, 0, 211, 209, 1, 0, 0, 0, 211, 212, 1, 0, 0, 0, 212, 215, 1, 0, 0, 0, 213, 211,
|
|
3727
|
+
1, 0, 0, 0, 214, 216, 3, 14, 7, 0, 215, 214, 1, 0, 0, 0, 215, 216, 1, 0, 0, 0, 216, 19,
|
|
3728
|
+
1, 0, 0, 0, 217, 218, 5, 16, 0, 0, 218, 219, 3, 18, 9, 0, 219, 21, 1, 0, 0, 0, 220, 224,
|
|
3729
|
+
3, 18, 9, 0, 221, 224, 3, 14, 7, 0, 222, 224, 5, 19, 0, 0, 223, 220, 1, 0, 0, 0, 223, 221,
|
|
3730
|
+
1, 0, 0, 0, 223, 222, 1, 0, 0, 0, 224, 23, 1, 0, 0, 0, 225, 226, 7, 2, 0, 0, 226, 25, 1,
|
|
3731
|
+
0, 0, 0, 227, 228, 5, 17, 0, 0, 228, 229, 3, 22, 11, 0, 229, 27, 1, 0, 0, 0, 230, 231,
|
|
3732
|
+
5, 18, 0, 0, 231, 236, 3, 22, 11, 0, 232, 233, 5, 2, 0, 0, 233, 235, 3, 22, 11, 0, 234,
|
|
3733
|
+
232, 1, 0, 0, 0, 235, 238, 1, 0, 0, 0, 236, 234, 1, 0, 0, 0, 236, 237, 1, 0, 0, 0, 237,
|
|
3734
|
+
29, 1, 0, 0, 0, 238, 236, 1, 0, 0, 0, 239, 240, 5, 17, 0, 0, 240, 241, 3, 22, 11, 0, 241,
|
|
3735
|
+
242, 5, 18, 0, 0, 242, 247, 3, 22, 11, 0, 243, 244, 5, 2, 0, 0, 244, 246, 3, 22, 11, 0,
|
|
3736
|
+
245, 243, 1, 0, 0, 0, 246, 249, 1, 0, 0, 0, 247, 245, 1, 0, 0, 0, 247, 248, 1, 0, 0, 0,
|
|
3737
|
+
248, 250, 1, 0, 0, 0, 249, 247, 1, 0, 0, 0, 250, 251, 5, 1, 0, 0, 251, 252, 5, 64, 0, 0,
|
|
3738
|
+
252, 255, 5, 66, 0, 0, 253, 256, 5, 64, 0, 0, 254, 256, 3, 32, 16, 0, 255, 253, 1, 0,
|
|
3739
|
+
0, 0, 255, 254, 1, 0, 0, 0, 256, 257, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 257, 258, 1, 0,
|
|
3740
|
+
0, 0, 258, 259, 1, 0, 0, 0, 259, 260, 5, 67, 0, 0, 260, 31, 1, 0, 0, 0, 261, 262, 3, 24,
|
|
3741
|
+
12, 0, 262, 263, 5, 1, 0, 0, 263, 268, 3, 34, 17, 0, 264, 265, 5, 2, 0, 0, 265, 267, 3,
|
|
3742
|
+
34, 17, 0, 266, 264, 1, 0, 0, 0, 267, 270, 1, 0, 0, 0, 268, 266, 1, 0, 0, 0, 268, 269,
|
|
3743
|
+
1, 0, 0, 0, 269, 33, 1, 0, 0, 0, 270, 268, 1, 0, 0, 0, 271, 272, 7, 3, 0, 0, 272, 35, 1,
|
|
3744
|
+
0, 0, 0, 273, 274, 3, 26, 13, 0, 274, 275, 5, 1, 0, 0, 275, 276, 5, 64, 0, 0, 276, 279,
|
|
3745
|
+
5, 66, 0, 0, 277, 280, 5, 64, 0, 0, 278, 280, 3, 38, 19, 0, 279, 277, 1, 0, 0, 0, 279,
|
|
3746
|
+
278, 1, 0, 0, 0, 280, 281, 1, 0, 0, 0, 281, 279, 1, 0, 0, 0, 281, 282, 1, 0, 0, 0, 282,
|
|
3747
|
+
283, 1, 0, 0, 0, 283, 284, 5, 67, 0, 0, 284, 37, 1, 0, 0, 0, 285, 288, 3, 2, 1, 0, 286,
|
|
3748
|
+
288, 3, 40, 20, 0, 287, 285, 1, 0, 0, 0, 287, 286, 1, 0, 0, 0, 288, 39, 1, 0, 0, 0, 289,
|
|
3749
|
+
290, 3, 24, 12, 0, 290, 293, 5, 1, 0, 0, 291, 294, 3, 42, 21, 0, 292, 294, 3, 44, 22,
|
|
3750
|
+
0, 293, 291, 1, 0, 0, 0, 293, 292, 1, 0, 0, 0, 294, 41, 1, 0, 0, 0, 295, 298, 3, 2, 1, 0,
|
|
3751
|
+
296, 298, 5, 54, 0, 0, 297, 295, 1, 0, 0, 0, 297, 296, 1, 0, 0, 0, 298, 43, 1, 0, 0, 0,
|
|
3752
|
+
299, 300, 3, 4, 2, 0, 300, 45, 1, 0, 0, 0, 301, 302, 5, 8, 0, 0, 302, 47, 1, 0, 0, 0, 303,
|
|
3753
|
+
304, 5, 28, 0, 0, 304, 49, 1, 0, 0, 0, 305, 306, 3, 76, 38, 0, 306, 307, 5, 3, 0, 0, 307,
|
|
3754
|
+
308, 3, 62, 31, 0, 308, 51, 1, 0, 0, 0, 309, 310, 3, 76, 38, 0, 310, 311, 7, 4, 0, 0, 311,
|
|
3755
|
+
312, 3, 62, 31, 0, 312, 53, 1, 0, 0, 0, 313, 314, 5, 56, 0, 0, 314, 315, 5, 3, 0, 0, 315,
|
|
3756
|
+
316, 3, 62, 31, 0, 316, 55, 1, 0, 0, 0, 317, 322, 3, 62, 31, 0, 318, 319, 5, 2, 0, 0, 319,
|
|
3757
|
+
321, 3, 62, 31, 0, 320, 318, 1, 0, 0, 0, 321, 324, 1, 0, 0, 0, 322, 320, 1, 0, 0, 0, 322,
|
|
3758
|
+
323, 1, 0, 0, 0, 323, 329, 1, 0, 0, 0, 324, 322, 1, 0, 0, 0, 325, 326, 5, 2, 0, 0, 326,
|
|
3759
|
+
328, 3, 54, 27, 0, 327, 325, 1, 0, 0, 0, 328, 331, 1, 0, 0, 0, 329, 327, 1, 0, 0, 0, 329,
|
|
3760
|
+
330, 1, 0, 0, 0, 330, 341, 1, 0, 0, 0, 331, 329, 1, 0, 0, 0, 332, 337, 3, 54, 27, 0, 333,
|
|
3761
|
+
334, 5, 2, 0, 0, 334, 336, 3, 54, 27, 0, 335, 333, 1, 0, 0, 0, 336, 339, 1, 0, 0, 0, 337,
|
|
3762
|
+
335, 1, 0, 0, 0, 337, 338, 1, 0, 0, 0, 338, 341, 1, 0, 0, 0, 339, 337, 1, 0, 0, 0, 340,
|
|
3763
|
+
317, 1, 0, 0, 0, 340, 332, 1, 0, 0, 0, 341, 57, 1, 0, 0, 0, 342, 343, 3, 76, 38, 0, 343,
|
|
3764
|
+
344, 5, 3, 0, 0, 344, 345, 3, 62, 31, 0, 345, 59, 1, 0, 0, 0, 346, 347, 5, 4, 0, 0, 347,
|
|
3765
|
+
348, 5, 56, 0, 0, 348, 349, 5, 3, 0, 0, 349, 350, 3, 62, 31, 0, 350, 61, 1, 0, 0, 0, 351,
|
|
3766
|
+
352, 6, 31, -1, 0, 352, 353, 5, 52, 0, 0, 353, 354, 3, 62, 31, 0, 354, 355, 5, 53, 0,
|
|
3767
|
+
0, 355, 369, 1, 0, 0, 0, 356, 359, 3, 68, 34, 0, 357, 359, 3, 76, 38, 0, 358, 356, 1,
|
|
3768
|
+
0, 0, 0, 358, 357, 1, 0, 0, 0, 359, 369, 1, 0, 0, 0, 360, 361, 3, 66, 33, 0, 361, 362,
|
|
3769
|
+
3, 62, 31, 10, 362, 369, 1, 0, 0, 0, 363, 369, 3, 88, 44, 0, 364, 369, 3, 92, 46, 0, 365,
|
|
3770
|
+
369, 3, 94, 47, 0, 366, 369, 3, 80, 40, 0, 367, 369, 3, 110, 55, 0, 368, 351, 1, 0, 0,
|
|
3771
|
+
0, 368, 358, 1, 0, 0, 0, 368, 360, 1, 0, 0, 0, 368, 363, 1, 0, 0, 0, 368, 364, 1, 0, 0,
|
|
3772
|
+
0, 368, 365, 1, 0, 0, 0, 368, 366, 1, 0, 0, 0, 368, 367, 1, 0, 0, 0, 369, 385, 1, 0, 0,
|
|
3773
|
+
0, 370, 371, 10, 9, 0, 0, 371, 372, 7, 5, 0, 0, 372, 384, 3, 62, 31, 10, 373, 374, 10,
|
|
3774
|
+
8, 0, 0, 374, 375, 7, 6, 0, 0, 375, 384, 3, 62, 31, 9, 376, 377, 10, 7, 0, 0, 377, 378,
|
|
3775
|
+
3, 64, 32, 0, 378, 379, 3, 62, 31, 8, 379, 384, 1, 0, 0, 0, 380, 381, 10, 6, 0, 0, 381,
|
|
3776
|
+
382, 7, 7, 0, 0, 382, 384, 3, 62, 31, 7, 383, 370, 1, 0, 0, 0, 383, 373, 1, 0, 0, 0, 383,
|
|
3777
|
+
376, 1, 0, 0, 0, 383, 380, 1, 0, 0, 0, 384, 387, 1, 0, 0, 0, 385, 383, 1, 0, 0, 0, 385,
|
|
3778
|
+
386, 1, 0, 0, 0, 386, 63, 1, 0, 0, 0, 387, 385, 1, 0, 0, 0, 388, 389, 7, 8, 0, 0, 389, 65,
|
|
3779
|
+
1, 0, 0, 0, 390, 391, 7, 9, 0, 0, 391, 67, 1, 0, 0, 0, 392, 394, 5, 43, 0, 0, 393, 392,
|
|
3780
|
+
1, 0, 0, 0, 393, 394, 1, 0, 0, 0, 394, 395, 1, 0, 0, 0, 395, 396, 7, 10, 0, 0, 396, 69,
|
|
3781
|
+
1, 0, 0, 0, 397, 398, 5, 23, 0, 0, 398, 399, 5, 56, 0, 0, 399, 401, 5, 52, 0, 0, 400, 402,
|
|
3782
|
+
3, 74, 37, 0, 401, 400, 1, 0, 0, 0, 401, 402, 1, 0, 0, 0, 402, 403, 1, 0, 0, 0, 403, 404,
|
|
3783
|
+
5, 53, 0, 0, 404, 405, 5, 1, 0, 0, 405, 406, 5, 64, 0, 0, 406, 409, 5, 66, 0, 0, 407, 410,
|
|
3784
|
+
5, 64, 0, 0, 408, 410, 3, 72, 36, 0, 409, 407, 1, 0, 0, 0, 409, 408, 1, 0, 0, 0, 410, 411,
|
|
3785
|
+
1, 0, 0, 0, 411, 409, 1, 0, 0, 0, 411, 412, 1, 0, 0, 0, 412, 413, 1, 0, 0, 0, 413, 414,
|
|
3786
|
+
5, 67, 0, 0, 414, 71, 1, 0, 0, 0, 415, 418, 3, 2, 1, 0, 416, 418, 3, 84, 42, 0, 417, 415,
|
|
3787
|
+
1, 0, 0, 0, 417, 416, 1, 0, 0, 0, 418, 73, 1, 0, 0, 0, 419, 424, 5, 56, 0, 0, 420, 421,
|
|
3788
|
+
5, 2, 0, 0, 421, 423, 5, 56, 0, 0, 422, 420, 1, 0, 0, 0, 423, 426, 1, 0, 0, 0, 424, 422,
|
|
3789
|
+
1, 0, 0, 0, 424, 425, 1, 0, 0, 0, 425, 433, 1, 0, 0, 0, 426, 424, 1, 0, 0, 0, 427, 428,
|
|
3790
|
+
5, 2, 0, 0, 428, 429, 5, 56, 0, 0, 429, 430, 5, 3, 0, 0, 430, 432, 3, 68, 34, 0, 431, 427,
|
|
3791
|
+
1, 0, 0, 0, 432, 435, 1, 0, 0, 0, 433, 431, 1, 0, 0, 0, 433, 434, 1, 0, 0, 0, 434, 449,
|
|
3792
|
+
1, 0, 0, 0, 435, 433, 1, 0, 0, 0, 436, 437, 5, 56, 0, 0, 437, 438, 5, 3, 0, 0, 438, 445,
|
|
3793
|
+
3, 68, 34, 0, 439, 440, 5, 2, 0, 0, 440, 441, 5, 56, 0, 0, 441, 442, 5, 3, 0, 0, 442, 444,
|
|
3794
|
+
3, 68, 34, 0, 443, 439, 1, 0, 0, 0, 444, 447, 1, 0, 0, 0, 445, 443, 1, 0, 0, 0, 445, 446,
|
|
3795
|
+
1, 0, 0, 0, 446, 449, 1, 0, 0, 0, 447, 445, 1, 0, 0, 0, 448, 419, 1, 0, 0, 0, 448, 436,
|
|
3796
|
+
1, 0, 0, 0, 449, 75, 1, 0, 0, 0, 450, 455, 5, 56, 0, 0, 451, 452, 5, 5, 0, 0, 452, 454,
|
|
3797
|
+
5, 56, 0, 0, 453, 451, 1, 0, 0, 0, 454, 457, 1, 0, 0, 0, 455, 453, 1, 0, 0, 0, 455, 456,
|
|
3798
|
+
1, 0, 0, 0, 456, 77, 1, 0, 0, 0, 457, 455, 1, 0, 0, 0, 458, 460, 5, 52, 0, 0, 459, 461,
|
|
3799
|
+
3, 56, 28, 0, 460, 459, 1, 0, 0, 0, 460, 461, 1, 0, 0, 0, 461, 462, 1, 0, 0, 0, 462, 466,
|
|
3800
|
+
5, 53, 0, 0, 463, 464, 5, 5, 0, 0, 464, 466, 5, 56, 0, 0, 465, 458, 1, 0, 0, 0, 465, 463,
|
|
3801
|
+
1, 0, 0, 0, 466, 79, 1, 0, 0, 0, 467, 469, 3, 82, 41, 0, 468, 467, 1, 0, 0, 0, 468, 469,
|
|
3802
|
+
1, 0, 0, 0, 469, 470, 1, 0, 0, 0, 470, 472, 5, 56, 0, 0, 471, 473, 3, 78, 39, 0, 472, 471,
|
|
3803
|
+
1, 0, 0, 0, 473, 474, 1, 0, 0, 0, 474, 472, 1, 0, 0, 0, 474, 475, 1, 0, 0, 0, 475, 81, 1,
|
|
3804
|
+
0, 0, 0, 476, 478, 5, 42, 0, 0, 477, 476, 1, 0, 0, 0, 477, 478, 1, 0, 0, 0, 478, 479, 1,
|
|
3805
|
+
0, 0, 0, 479, 481, 5, 44, 0, 0, 480, 482, 3, 62, 31, 0, 481, 480, 1, 0, 0, 0, 481, 482,
|
|
3806
|
+
1, 0, 0, 0, 482, 83, 1, 0, 0, 0, 483, 484, 5, 22, 0, 0, 484, 485, 3, 62, 31, 0, 485, 85,
|
|
3807
|
+
1, 0, 0, 0, 486, 487, 3, 102, 51, 0, 487, 488, 5, 1, 0, 0, 488, 489, 3, 4, 2, 0, 489, 87,
|
|
3808
|
+
1, 0, 0, 0, 490, 491, 5, 10, 0, 0, 491, 492, 5, 11, 0, 0, 492, 493, 5, 1, 0, 0, 493, 494,
|
|
3809
|
+
5, 64, 0, 0, 494, 497, 5, 66, 0, 0, 495, 498, 5, 64, 0, 0, 496, 498, 3, 100, 50, 0, 497,
|
|
3810
|
+
495, 1, 0, 0, 0, 497, 496, 1, 0, 0, 0, 498, 499, 1, 0, 0, 0, 499, 497, 1, 0, 0, 0, 499,
|
|
3811
|
+
500, 1, 0, 0, 0, 500, 501, 1, 0, 0, 0, 501, 502, 5, 67, 0, 0, 502, 89, 1, 0, 0, 0, 503,
|
|
3812
|
+
504, 5, 64, 0, 0, 504, 507, 5, 66, 0, 0, 505, 508, 5, 64, 0, 0, 506, 508, 3, 98, 49, 0,
|
|
3813
|
+
507, 505, 1, 0, 0, 0, 507, 506, 1, 0, 0, 0, 508, 509, 1, 0, 0, 0, 509, 507, 1, 0, 0, 0,
|
|
3814
|
+
509, 510, 1, 0, 0, 0, 510, 511, 1, 0, 0, 0, 511, 512, 5, 67, 0, 0, 512, 91, 1, 0, 0, 0,
|
|
3815
|
+
513, 514, 5, 10, 0, 0, 514, 518, 5, 12, 0, 0, 515, 516, 5, 52, 0, 0, 516, 517, 5, 56,
|
|
3816
|
+
0, 0, 517, 519, 5, 53, 0, 0, 518, 515, 1, 0, 0, 0, 518, 519, 1, 0, 0, 0, 519, 520, 1, 0,
|
|
3817
|
+
0, 0, 520, 521, 5, 1, 0, 0, 521, 522, 3, 90, 45, 0, 522, 93, 1, 0, 0, 0, 523, 524, 5, 10,
|
|
3818
|
+
0, 0, 524, 525, 5, 13, 0, 0, 525, 526, 5, 1, 0, 0, 526, 527, 5, 64, 0, 0, 527, 531, 5,
|
|
3819
|
+
66, 0, 0, 528, 532, 5, 64, 0, 0, 529, 532, 3, 100, 50, 0, 530, 532, 3, 86, 43, 0, 531,
|
|
3820
|
+
528, 1, 0, 0, 0, 531, 529, 1, 0, 0, 0, 531, 530, 1, 0, 0, 0, 532, 533, 1, 0, 0, 0, 533,
|
|
3821
|
+
531, 1, 0, 0, 0, 533, 534, 1, 0, 0, 0, 534, 535, 1, 0, 0, 0, 535, 536, 5, 67, 0, 0, 536,
|
|
3822
|
+
95, 1, 0, 0, 0, 537, 538, 5, 64, 0, 0, 538, 541, 5, 66, 0, 0, 539, 542, 5, 64, 0, 0, 540,
|
|
3823
|
+
542, 3, 100, 50, 0, 541, 539, 1, 0, 0, 0, 541, 540, 1, 0, 0, 0, 542, 543, 1, 0, 0, 0, 543,
|
|
3824
|
+
541, 1, 0, 0, 0, 543, 544, 1, 0, 0, 0, 544, 545, 1, 0, 0, 0, 545, 546, 5, 67, 0, 0, 546,
|
|
3825
|
+
97, 1, 0, 0, 0, 547, 549, 7, 11, 0, 0, 548, 550, 5, 1, 0, 0, 549, 548, 1, 0, 0, 0, 549,
|
|
3826
|
+
550, 1, 0, 0, 0, 550, 557, 1, 0, 0, 0, 551, 558, 3, 56, 28, 0, 552, 553, 5, 52, 0, 0, 553,
|
|
3827
|
+
554, 3, 56, 28, 0, 554, 555, 5, 53, 0, 0, 555, 558, 1, 0, 0, 0, 556, 558, 3, 96, 48, 0,
|
|
3828
|
+
557, 551, 1, 0, 0, 0, 557, 552, 1, 0, 0, 0, 557, 556, 1, 0, 0, 0, 558, 574, 1, 0, 0, 0,
|
|
3829
|
+
559, 560, 5, 25, 0, 0, 560, 565, 5, 56, 0, 0, 561, 562, 5, 2, 0, 0, 562, 564, 5, 56, 0,
|
|
3830
|
+
0, 563, 561, 1, 0, 0, 0, 564, 567, 1, 0, 0, 0, 565, 563, 1, 0, 0, 0, 565, 566, 1, 0, 0,
|
|
3831
|
+
0, 566, 568, 1, 0, 0, 0, 567, 565, 1, 0, 0, 0, 568, 569, 5, 26, 0, 0, 569, 570, 3, 62,
|
|
3832
|
+
31, 0, 570, 571, 5, 1, 0, 0, 571, 572, 3, 90, 45, 0, 572, 574, 1, 0, 0, 0, 573, 547, 1,
|
|
3833
|
+
0, 0, 0, 573, 559, 1, 0, 0, 0, 574, 99, 1, 0, 0, 0, 575, 576, 3, 102, 51, 0, 576, 577,
|
|
3834
|
+
5, 1, 0, 0, 577, 578, 3, 104, 52, 0, 578, 101, 1, 0, 0, 0, 579, 580, 7, 12, 0, 0, 580,
|
|
3835
|
+
103, 1, 0, 0, 0, 581, 591, 3, 96, 48, 0, 582, 587, 3, 62, 31, 0, 583, 584, 5, 2, 0, 0,
|
|
3836
|
+
584, 586, 3, 62, 31, 0, 585, 583, 1, 0, 0, 0, 586, 589, 1, 0, 0, 0, 587, 585, 1, 0, 0,
|
|
3837
|
+
0, 587, 588, 1, 0, 0, 0, 588, 591, 1, 0, 0, 0, 589, 587, 1, 0, 0, 0, 590, 581, 1, 0, 0,
|
|
3838
|
+
0, 590, 582, 1, 0, 0, 0, 591, 105, 1, 0, 0, 0, 592, 595, 5, 56, 0, 0, 593, 596, 5, 57,
|
|
3839
|
+
0, 0, 594, 596, 3, 62, 31, 0, 595, 593, 1, 0, 0, 0, 595, 594, 1, 0, 0, 0, 596, 599, 1,
|
|
3840
|
+
0, 0, 0, 597, 599, 5, 56, 0, 0, 598, 592, 1, 0, 0, 0, 598, 597, 1, 0, 0, 0, 599, 107, 1,
|
|
3841
|
+
0, 0, 0, 600, 604, 5, 14, 0, 0, 601, 603, 3, 106, 53, 0, 602, 601, 1, 0, 0, 0, 603, 606,
|
|
3842
|
+
1, 0, 0, 0, 604, 602, 1, 0, 0, 0, 604, 605, 1, 0, 0, 0, 605, 109, 1, 0, 0, 0, 606, 604,
|
|
3843
|
+
1, 0, 0, 0, 607, 618, 5, 6, 0, 0, 608, 613, 3, 62, 31, 0, 609, 610, 5, 2, 0, 0, 610, 612,
|
|
3844
|
+
3, 62, 31, 0, 611, 609, 1, 0, 0, 0, 612, 615, 1, 0, 0, 0, 613, 611, 1, 0, 0, 0, 613, 614,
|
|
3845
|
+
1, 0, 0, 0, 614, 617, 1, 0, 0, 0, 615, 613, 1, 0, 0, 0, 616, 608, 1, 0, 0, 0, 617, 620,
|
|
3846
|
+
1, 0, 0, 0, 618, 616, 1, 0, 0, 0, 618, 619, 1, 0, 0, 0, 619, 621, 1, 0, 0, 0, 620, 618,
|
|
3847
|
+
1, 0, 0, 0, 621, 622, 5, 7, 0, 0, 622, 111, 1, 0, 0, 0, 623, 624, 5, 19, 0, 0, 624, 625,
|
|
3848
|
+
5, 56, 0, 0, 625, 113, 1, 0, 0, 0, 626, 627, 5, 24, 0, 0, 627, 628, 5, 56, 0, 0, 628, 115,
|
|
3849
|
+
1, 0, 0, 0, 629, 630, 7, 13, 0, 0, 630, 631, 5, 1, 0, 0, 631, 632, 3, 4, 2, 0, 632, 117,
|
|
3850
|
+
1, 0, 0, 0, 633, 634, 5, 29, 0, 0, 634, 635, 3, 62, 31, 0, 635, 636, 5, 1, 0, 0, 636, 640,
|
|
3851
|
+
3, 4, 2, 0, 637, 639, 3, 120, 60, 0, 638, 637, 1, 0, 0, 0, 639, 642, 1, 0, 0, 0, 640, 638,
|
|
3852
|
+
1, 0, 0, 0, 640, 641, 1, 0, 0, 0, 641, 644, 1, 0, 0, 0, 642, 640, 1, 0, 0, 0, 643, 645,
|
|
3853
|
+
3, 122, 61, 0, 644, 643, 1, 0, 0, 0, 644, 645, 1, 0, 0, 0, 645, 119, 1, 0, 0, 0, 646, 647,
|
|
3854
|
+
5, 30, 0, 0, 647, 648, 5, 29, 0, 0, 648, 649, 3, 62, 31, 0, 649, 650, 5, 1, 0, 0, 650,
|
|
3855
|
+
651, 3, 4, 2, 0, 651, 121, 1, 0, 0, 0, 652, 653, 5, 30, 0, 0, 653, 654, 5, 1, 0, 0, 654,
|
|
3856
|
+
655, 3, 4, 2, 0, 655, 123, 1, 0, 0, 0, 656, 657, 5, 27, 0, 0, 657, 658, 3, 62, 31, 0, 658,
|
|
3857
|
+
659, 5, 1, 0, 0, 659, 660, 3, 4, 2, 0, 660, 125, 1, 0, 0, 0, 661, 662, 5, 25, 0, 0, 662,
|
|
3858
|
+
667, 5, 56, 0, 0, 663, 664, 5, 2, 0, 0, 664, 666, 5, 56, 0, 0, 665, 663, 1, 0, 0, 0, 666,
|
|
3859
|
+
669, 1, 0, 0, 0, 667, 665, 1, 0, 0, 0, 667, 668, 1, 0, 0, 0, 668, 670, 1, 0, 0, 0, 669,
|
|
3860
|
+
667, 1, 0, 0, 0, 670, 671, 5, 26, 0, 0, 671, 672, 3, 62, 31, 0, 672, 673, 5, 1, 0, 0, 673,
|
|
3861
|
+
674, 3, 4, 2, 0, 674, 127, 1, 0, 0, 0, 70, 130, 132, 158, 164, 166, 173, 185, 187, 202,
|
|
3862
|
+
206, 211, 215, 223, 236, 247, 255, 257, 268, 279, 281, 287, 293, 297, 322, 329,
|
|
3863
|
+
337, 340, 358, 368, 383, 385, 393, 401, 409, 411, 417, 424, 433, 445, 448, 455,
|
|
3864
|
+
460, 465, 468, 474, 477, 481, 497, 499, 507, 509, 518, 531, 533, 541, 543, 549,
|
|
3865
|
+
557, 565, 573, 587, 590, 595, 598, 604, 613, 618, 640, 644, 667
|
|
3921
3866
|
];
|
|
3922
3867
|
static __ATN;
|
|
3923
3868
|
static get _ATN() {
|
|
@@ -4315,6 +4260,9 @@ export class Component_select_exprContext extends antlr.ParserRuleContext {
|
|
|
4315
4260
|
pin_select_expr() {
|
|
4316
4261
|
return this.getRuleContext(0, Pin_select_exprContext);
|
|
4317
4262
|
}
|
|
4263
|
+
Point() {
|
|
4264
|
+
return this.getToken(CircuitScriptParser.Point, 0);
|
|
4265
|
+
}
|
|
4318
4266
|
get ruleIndex() {
|
|
4319
4267
|
return CircuitScriptParser.RULE_component_select_expr;
|
|
4320
4268
|
}
|
|
@@ -4359,9 +4307,6 @@ export class At_component_exprContext extends antlr.ParserRuleContext {
|
|
|
4359
4307
|
component_select_expr() {
|
|
4360
4308
|
return this.getRuleContext(0, Component_select_exprContext);
|
|
4361
4309
|
}
|
|
4362
|
-
Point() {
|
|
4363
|
-
return this.getToken(CircuitScriptParser.Point, 0);
|
|
4364
|
-
}
|
|
4365
4310
|
get ruleIndex() {
|
|
4366
4311
|
return CircuitScriptParser.RULE_at_component_expr;
|
|
4367
4312
|
}
|
|
@@ -4381,9 +4326,6 @@ export class To_component_exprContext extends antlr.ParserRuleContext {
|
|
|
4381
4326
|
To() {
|
|
4382
4327
|
return this.getToken(CircuitScriptParser.To, 0);
|
|
4383
4328
|
}
|
|
4384
|
-
Point() {
|
|
4385
|
-
return this.getToken(CircuitScriptParser.Point, 0);
|
|
4386
|
-
}
|
|
4387
4329
|
component_select_expr(i) {
|
|
4388
4330
|
if (i === undefined) {
|
|
4389
4331
|
return this.getRuleContexts(Component_select_exprContext);
|