cashc 0.7.2 → 0.7.4
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/main/ast/AST.d.ts +2 -2
- package/dist/main/ast/AstBuilder.js +2 -3
- package/dist/main/grammar/CashScriptParser.d.ts +2 -1
- package/dist/main/grammar/CashScriptParser.js +296 -284
- package/dist/main/index.d.ts +1 -1
- package/dist/main/index.js +1 -1
- package/dist/main/semantic/SymbolTableTraversal.js +9 -6
- package/dist/main/semantic/TypeCheckTraversal.js +1 -1
- package/dist/module/ast/AST.d.ts +2 -2
- package/dist/module/ast/AstBuilder.js +2 -3
- package/dist/module/grammar/CashScriptParser.d.ts +2 -1
- package/dist/module/grammar/CashScriptParser.js +296 -284
- package/dist/module/index.d.ts +1 -1
- package/dist/module/index.js +1 -1
- package/dist/module/semantic/SymbolTableTraversal.js +9 -6
- package/dist/module/semantic/TypeCheckTraversal.js +1 -1
- package/package.json +3 -3
|
@@ -602,22 +602,27 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
602
602
|
{
|
|
603
603
|
this.state = 139;
|
|
604
604
|
this.typeName();
|
|
605
|
-
this.state =
|
|
605
|
+
this.state = 143;
|
|
606
606
|
this._errHandler.sync(this);
|
|
607
607
|
_la = this._input.LA(1);
|
|
608
|
-
|
|
608
|
+
while (_la === CashScriptParser.T__46) {
|
|
609
609
|
{
|
|
610
|
-
|
|
611
|
-
|
|
610
|
+
{
|
|
611
|
+
this.state = 140;
|
|
612
|
+
this.modifier();
|
|
613
|
+
}
|
|
612
614
|
}
|
|
615
|
+
this.state = 145;
|
|
616
|
+
this._errHandler.sync(this);
|
|
617
|
+
_la = this._input.LA(1);
|
|
613
618
|
}
|
|
614
|
-
this.state =
|
|
619
|
+
this.state = 146;
|
|
615
620
|
this.match(CashScriptParser.Identifier);
|
|
616
|
-
this.state =
|
|
621
|
+
this.state = 147;
|
|
617
622
|
this.match(CashScriptParser.T__9);
|
|
618
|
-
this.state =
|
|
623
|
+
this.state = 148;
|
|
619
624
|
this.expression(0);
|
|
620
|
-
this.state =
|
|
625
|
+
this.state = 149;
|
|
621
626
|
this.match(CashScriptParser.T__1);
|
|
622
627
|
}
|
|
623
628
|
}
|
|
@@ -643,21 +648,21 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
643
648
|
try {
|
|
644
649
|
this.enterOuterAlt(_localctx, 1);
|
|
645
650
|
{
|
|
646
|
-
this.state = 148;
|
|
647
|
-
this.typeName();
|
|
648
|
-
this.state = 149;
|
|
649
|
-
this.match(CashScriptParser.Identifier);
|
|
650
|
-
this.state = 150;
|
|
651
|
-
this.match(CashScriptParser.T__15);
|
|
652
651
|
this.state = 151;
|
|
653
652
|
this.typeName();
|
|
654
653
|
this.state = 152;
|
|
655
654
|
this.match(CashScriptParser.Identifier);
|
|
656
655
|
this.state = 153;
|
|
657
|
-
this.match(CashScriptParser.
|
|
656
|
+
this.match(CashScriptParser.T__15);
|
|
658
657
|
this.state = 154;
|
|
659
|
-
this.
|
|
658
|
+
this.typeName();
|
|
660
659
|
this.state = 155;
|
|
660
|
+
this.match(CashScriptParser.Identifier);
|
|
661
|
+
this.state = 156;
|
|
662
|
+
this.match(CashScriptParser.T__9);
|
|
663
|
+
this.state = 157;
|
|
664
|
+
this.expression(0);
|
|
665
|
+
this.state = 158;
|
|
661
666
|
this.match(CashScriptParser.T__1);
|
|
662
667
|
}
|
|
663
668
|
}
|
|
@@ -683,13 +688,13 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
683
688
|
try {
|
|
684
689
|
this.enterOuterAlt(_localctx, 1);
|
|
685
690
|
{
|
|
686
|
-
this.state =
|
|
691
|
+
this.state = 160;
|
|
687
692
|
this.match(CashScriptParser.Identifier);
|
|
688
|
-
this.state =
|
|
693
|
+
this.state = 161;
|
|
689
694
|
this.match(CashScriptParser.T__9);
|
|
690
|
-
this.state =
|
|
695
|
+
this.state = 162;
|
|
691
696
|
this.expression(0);
|
|
692
|
-
this.state =
|
|
697
|
+
this.state = 163;
|
|
693
698
|
this.match(CashScriptParser.T__1);
|
|
694
699
|
}
|
|
695
700
|
}
|
|
@@ -715,19 +720,19 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
715
720
|
try {
|
|
716
721
|
this.enterOuterAlt(_localctx, 1);
|
|
717
722
|
{
|
|
718
|
-
this.state =
|
|
723
|
+
this.state = 165;
|
|
719
724
|
this.match(CashScriptParser.T__17);
|
|
720
|
-
this.state =
|
|
725
|
+
this.state = 166;
|
|
721
726
|
this.match(CashScriptParser.T__14);
|
|
722
|
-
this.state =
|
|
727
|
+
this.state = 167;
|
|
723
728
|
this.match(CashScriptParser.TxVar);
|
|
724
|
-
this.state =
|
|
729
|
+
this.state = 168;
|
|
725
730
|
this.match(CashScriptParser.T__5);
|
|
726
|
-
this.state =
|
|
731
|
+
this.state = 169;
|
|
727
732
|
this.expression(0);
|
|
728
|
-
this.state =
|
|
733
|
+
this.state = 170;
|
|
729
734
|
this.match(CashScriptParser.T__16);
|
|
730
|
-
this.state =
|
|
735
|
+
this.state = 171;
|
|
731
736
|
this.match(CashScriptParser.T__1);
|
|
732
737
|
}
|
|
733
738
|
}
|
|
@@ -753,15 +758,15 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
753
758
|
try {
|
|
754
759
|
this.enterOuterAlt(_localctx, 1);
|
|
755
760
|
{
|
|
756
|
-
this.state =
|
|
761
|
+
this.state = 173;
|
|
757
762
|
this.match(CashScriptParser.T__17);
|
|
758
|
-
this.state =
|
|
763
|
+
this.state = 174;
|
|
759
764
|
this.match(CashScriptParser.T__14);
|
|
760
|
-
this.state =
|
|
765
|
+
this.state = 175;
|
|
761
766
|
this.expression(0);
|
|
762
|
-
this.state =
|
|
767
|
+
this.state = 176;
|
|
763
768
|
this.match(CashScriptParser.T__16);
|
|
764
|
-
this.state =
|
|
769
|
+
this.state = 177;
|
|
765
770
|
this.match(CashScriptParser.T__1);
|
|
766
771
|
}
|
|
767
772
|
}
|
|
@@ -787,24 +792,24 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
787
792
|
try {
|
|
788
793
|
this.enterOuterAlt(_localctx, 1);
|
|
789
794
|
{
|
|
790
|
-
this.state =
|
|
795
|
+
this.state = 179;
|
|
791
796
|
this.match(CashScriptParser.T__18);
|
|
792
|
-
this.state =
|
|
797
|
+
this.state = 180;
|
|
793
798
|
this.match(CashScriptParser.T__14);
|
|
794
|
-
this.state =
|
|
799
|
+
this.state = 181;
|
|
795
800
|
this.expression(0);
|
|
796
|
-
this.state =
|
|
801
|
+
this.state = 182;
|
|
797
802
|
this.match(CashScriptParser.T__16);
|
|
798
|
-
this.state = 180;
|
|
799
|
-
_localctx._ifBlock = this.block();
|
|
800
803
|
this.state = 183;
|
|
804
|
+
_localctx._ifBlock = this.block();
|
|
805
|
+
this.state = 186;
|
|
801
806
|
this._errHandler.sync(this);
|
|
802
807
|
switch (this.interpreter.adaptivePredict(this._input, 12, this._ctx)) {
|
|
803
808
|
case 1:
|
|
804
809
|
{
|
|
805
|
-
this.state =
|
|
810
|
+
this.state = 184;
|
|
806
811
|
this.match(CashScriptParser.T__19);
|
|
807
|
-
this.state =
|
|
812
|
+
this.state = 185;
|
|
808
813
|
_localctx._elseBlock = this.block();
|
|
809
814
|
}
|
|
810
815
|
break;
|
|
@@ -833,9 +838,9 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
833
838
|
try {
|
|
834
839
|
this.enterOuterAlt(_localctx, 1);
|
|
835
840
|
{
|
|
836
|
-
this.state =
|
|
841
|
+
this.state = 188;
|
|
837
842
|
this.match(CashScriptParser.Identifier);
|
|
838
|
-
this.state =
|
|
843
|
+
this.state = 189;
|
|
839
844
|
this.expressionList();
|
|
840
845
|
}
|
|
841
846
|
}
|
|
@@ -863,45 +868,45 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
863
868
|
let _alt;
|
|
864
869
|
this.enterOuterAlt(_localctx, 1);
|
|
865
870
|
{
|
|
866
|
-
this.state =
|
|
871
|
+
this.state = 191;
|
|
867
872
|
this.match(CashScriptParser.T__14);
|
|
868
|
-
this.state =
|
|
873
|
+
this.state = 203;
|
|
869
874
|
this._errHandler.sync(this);
|
|
870
875
|
_la = this._input.LA(1);
|
|
871
876
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & ((1 << CashScriptParser.T__14) | (1 << CashScriptParser.T__20) | (1 << CashScriptParser.T__21) | (1 << CashScriptParser.T__23) | (1 << CashScriptParser.T__26))) !== 0) || ((((_la - 35)) & ~0x1F) === 0 && ((1 << (_la - 35)) & ((1 << (CashScriptParser.T__34 - 35)) | (1 << (CashScriptParser.T__35 - 35)) | (1 << (CashScriptParser.T__47 - 35)) | (1 << (CashScriptParser.T__48 - 35)) | (1 << (CashScriptParser.T__49 - 35)) | (1 << (CashScriptParser.T__50 - 35)) | (1 << (CashScriptParser.T__51 - 35)) | (1 << (CashScriptParser.T__52 - 35)) | (1 << (CashScriptParser.BooleanLiteral - 35)) | (1 << (CashScriptParser.NumberLiteral - 35)) | (1 << (CashScriptParser.Bytes - 35)) | (1 << (CashScriptParser.StringLiteral - 35)) | (1 << (CashScriptParser.DateLiteral - 35)) | (1 << (CashScriptParser.HexLiteral - 35)) | (1 << (CashScriptParser.NullaryOp - 35)) | (1 << (CashScriptParser.Identifier - 35)))) !== 0)) {
|
|
872
877
|
{
|
|
873
|
-
this.state =
|
|
878
|
+
this.state = 192;
|
|
874
879
|
this.expression(0);
|
|
875
|
-
this.state =
|
|
880
|
+
this.state = 197;
|
|
876
881
|
this._errHandler.sync(this);
|
|
877
882
|
_alt = this.interpreter.adaptivePredict(this._input, 13, this._ctx);
|
|
878
883
|
while (_alt !== 2 && _alt !== ATN_1.ATN.INVALID_ALT_NUMBER) {
|
|
879
884
|
if (_alt === 1) {
|
|
880
885
|
{
|
|
881
886
|
{
|
|
882
|
-
this.state =
|
|
887
|
+
this.state = 193;
|
|
883
888
|
this.match(CashScriptParser.T__15);
|
|
884
|
-
this.state =
|
|
889
|
+
this.state = 194;
|
|
885
890
|
this.expression(0);
|
|
886
891
|
}
|
|
887
892
|
}
|
|
888
893
|
}
|
|
889
|
-
this.state =
|
|
894
|
+
this.state = 199;
|
|
890
895
|
this._errHandler.sync(this);
|
|
891
896
|
_alt = this.interpreter.adaptivePredict(this._input, 13, this._ctx);
|
|
892
897
|
}
|
|
893
|
-
this.state =
|
|
898
|
+
this.state = 201;
|
|
894
899
|
this._errHandler.sync(this);
|
|
895
900
|
_la = this._input.LA(1);
|
|
896
901
|
if (_la === CashScriptParser.T__15) {
|
|
897
902
|
{
|
|
898
|
-
this.state =
|
|
903
|
+
this.state = 200;
|
|
899
904
|
this.match(CashScriptParser.T__15);
|
|
900
905
|
}
|
|
901
906
|
}
|
|
902
907
|
}
|
|
903
908
|
}
|
|
904
|
-
this.state =
|
|
909
|
+
this.state = 205;
|
|
905
910
|
this.match(CashScriptParser.T__16);
|
|
906
911
|
}
|
|
907
912
|
}
|
|
@@ -936,7 +941,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
936
941
|
let _alt;
|
|
937
942
|
this.enterOuterAlt(_localctx, 1);
|
|
938
943
|
{
|
|
939
|
-
this.state =
|
|
944
|
+
this.state = 260;
|
|
940
945
|
this._errHandler.sync(this);
|
|
941
946
|
switch (this.interpreter.adaptivePredict(this._input, 21, this._ctx)) {
|
|
942
947
|
case 1:
|
|
@@ -944,11 +949,11 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
944
949
|
_localctx = new ParenthesisedContext(_localctx);
|
|
945
950
|
this._ctx = _localctx;
|
|
946
951
|
_prevctx = _localctx;
|
|
947
|
-
this.state =
|
|
952
|
+
this.state = 208;
|
|
948
953
|
this.match(CashScriptParser.T__14);
|
|
949
|
-
this.state =
|
|
954
|
+
this.state = 209;
|
|
950
955
|
this.expression(0);
|
|
951
|
-
this.state =
|
|
956
|
+
this.state = 210;
|
|
952
957
|
this.match(CashScriptParser.T__16);
|
|
953
958
|
}
|
|
954
959
|
break;
|
|
@@ -957,34 +962,34 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
957
962
|
_localctx = new CastContext(_localctx);
|
|
958
963
|
this._ctx = _localctx;
|
|
959
964
|
_prevctx = _localctx;
|
|
960
|
-
this.state =
|
|
965
|
+
this.state = 212;
|
|
961
966
|
this.typeName();
|
|
962
|
-
this.state =
|
|
967
|
+
this.state = 213;
|
|
963
968
|
this.match(CashScriptParser.T__14);
|
|
964
|
-
this.state = 211;
|
|
965
|
-
_localctx._castable = this.expression(0);
|
|
966
969
|
this.state = 214;
|
|
970
|
+
_localctx._castable = this.expression(0);
|
|
971
|
+
this.state = 217;
|
|
967
972
|
this._errHandler.sync(this);
|
|
968
973
|
switch (this.interpreter.adaptivePredict(this._input, 16, this._ctx)) {
|
|
969
974
|
case 1:
|
|
970
975
|
{
|
|
971
|
-
this.state =
|
|
976
|
+
this.state = 215;
|
|
972
977
|
this.match(CashScriptParser.T__15);
|
|
973
|
-
this.state =
|
|
978
|
+
this.state = 216;
|
|
974
979
|
_localctx._size = this.expression(0);
|
|
975
980
|
}
|
|
976
981
|
break;
|
|
977
982
|
}
|
|
978
|
-
this.state =
|
|
983
|
+
this.state = 220;
|
|
979
984
|
this._errHandler.sync(this);
|
|
980
985
|
_la = this._input.LA(1);
|
|
981
986
|
if (_la === CashScriptParser.T__15) {
|
|
982
987
|
{
|
|
983
|
-
this.state =
|
|
988
|
+
this.state = 219;
|
|
984
989
|
this.match(CashScriptParser.T__15);
|
|
985
990
|
}
|
|
986
991
|
}
|
|
987
|
-
this.state =
|
|
992
|
+
this.state = 222;
|
|
988
993
|
this.match(CashScriptParser.T__16);
|
|
989
994
|
}
|
|
990
995
|
break;
|
|
@@ -993,7 +998,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
993
998
|
_localctx = new FunctionCallExpressionContext(_localctx);
|
|
994
999
|
this._ctx = _localctx;
|
|
995
1000
|
_prevctx = _localctx;
|
|
996
|
-
this.state =
|
|
1001
|
+
this.state = 224;
|
|
997
1002
|
this.functionCall();
|
|
998
1003
|
}
|
|
999
1004
|
break;
|
|
@@ -1002,11 +1007,11 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1002
1007
|
_localctx = new InstantiationContext(_localctx);
|
|
1003
1008
|
this._ctx = _localctx;
|
|
1004
1009
|
_prevctx = _localctx;
|
|
1005
|
-
this.state =
|
|
1010
|
+
this.state = 225;
|
|
1006
1011
|
this.match(CashScriptParser.T__20);
|
|
1007
|
-
this.state =
|
|
1012
|
+
this.state = 226;
|
|
1008
1013
|
this.match(CashScriptParser.Identifier);
|
|
1009
|
-
this.state =
|
|
1014
|
+
this.state = 227;
|
|
1010
1015
|
this.expressionList();
|
|
1011
1016
|
}
|
|
1012
1017
|
break;
|
|
@@ -1015,15 +1020,15 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1015
1020
|
_localctx = new UnaryIntrospectionOpContext(_localctx);
|
|
1016
1021
|
this._ctx = _localctx;
|
|
1017
1022
|
_prevctx = _localctx;
|
|
1018
|
-
this.state =
|
|
1023
|
+
this.state = 228;
|
|
1019
1024
|
_localctx._scope = this.match(CashScriptParser.T__23);
|
|
1020
|
-
this.state =
|
|
1025
|
+
this.state = 229;
|
|
1021
1026
|
this.match(CashScriptParser.T__21);
|
|
1022
|
-
this.state =
|
|
1027
|
+
this.state = 230;
|
|
1023
1028
|
this.expression(0);
|
|
1024
|
-
this.state =
|
|
1029
|
+
this.state = 231;
|
|
1025
1030
|
this.match(CashScriptParser.T__22);
|
|
1026
|
-
this.state =
|
|
1031
|
+
this.state = 232;
|
|
1027
1032
|
_localctx._op = this._input.LT(1);
|
|
1028
1033
|
_la = this._input.LA(1);
|
|
1029
1034
|
if (!(_la === CashScriptParser.T__24 || _la === CashScriptParser.T__25)) {
|
|
@@ -1043,15 +1048,15 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1043
1048
|
_localctx = new UnaryIntrospectionOpContext(_localctx);
|
|
1044
1049
|
this._ctx = _localctx;
|
|
1045
1050
|
_prevctx = _localctx;
|
|
1046
|
-
this.state =
|
|
1051
|
+
this.state = 234;
|
|
1047
1052
|
_localctx._scope = this.match(CashScriptParser.T__26);
|
|
1048
|
-
this.state =
|
|
1053
|
+
this.state = 235;
|
|
1049
1054
|
this.match(CashScriptParser.T__21);
|
|
1050
|
-
this.state =
|
|
1055
|
+
this.state = 236;
|
|
1051
1056
|
this.expression(0);
|
|
1052
|
-
this.state =
|
|
1057
|
+
this.state = 237;
|
|
1053
1058
|
this.match(CashScriptParser.T__22);
|
|
1054
|
-
this.state =
|
|
1059
|
+
this.state = 238;
|
|
1055
1060
|
_localctx._op = this._input.LT(1);
|
|
1056
1061
|
_la = this._input.LA(1);
|
|
1057
1062
|
if (!((((_la) & ~0x1F) === 0 && ((1 << _la) & ((1 << CashScriptParser.T__24) | (1 << CashScriptParser.T__25) | (1 << CashScriptParser.T__27) | (1 << CashScriptParser.T__28) | (1 << CashScriptParser.T__29) | (1 << CashScriptParser.T__30))) !== 0))) {
|
|
@@ -1071,7 +1076,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1071
1076
|
_localctx = new UnaryOpContext(_localctx);
|
|
1072
1077
|
this._ctx = _localctx;
|
|
1073
1078
|
_prevctx = _localctx;
|
|
1074
|
-
this.state =
|
|
1079
|
+
this.state = 240;
|
|
1075
1080
|
_localctx._op = this._input.LT(1);
|
|
1076
1081
|
_la = this._input.LA(1);
|
|
1077
1082
|
if (!(_la === CashScriptParser.T__34 || _la === CashScriptParser.T__35)) {
|
|
@@ -1084,7 +1089,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1084
1089
|
this._errHandler.reportMatch(this);
|
|
1085
1090
|
this.consume();
|
|
1086
1091
|
}
|
|
1087
|
-
this.state =
|
|
1092
|
+
this.state = 241;
|
|
1088
1093
|
this.expression(14);
|
|
1089
1094
|
}
|
|
1090
1095
|
break;
|
|
@@ -1093,45 +1098,45 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1093
1098
|
_localctx = new ArrayContext(_localctx);
|
|
1094
1099
|
this._ctx = _localctx;
|
|
1095
1100
|
_prevctx = _localctx;
|
|
1096
|
-
this.state =
|
|
1101
|
+
this.state = 242;
|
|
1097
1102
|
this.match(CashScriptParser.T__21);
|
|
1098
|
-
this.state =
|
|
1103
|
+
this.state = 254;
|
|
1099
1104
|
this._errHandler.sync(this);
|
|
1100
1105
|
_la = this._input.LA(1);
|
|
1101
1106
|
if ((((_la) & ~0x1F) === 0 && ((1 << _la) & ((1 << CashScriptParser.T__14) | (1 << CashScriptParser.T__20) | (1 << CashScriptParser.T__21) | (1 << CashScriptParser.T__23) | (1 << CashScriptParser.T__26))) !== 0) || ((((_la - 35)) & ~0x1F) === 0 && ((1 << (_la - 35)) & ((1 << (CashScriptParser.T__34 - 35)) | (1 << (CashScriptParser.T__35 - 35)) | (1 << (CashScriptParser.T__47 - 35)) | (1 << (CashScriptParser.T__48 - 35)) | (1 << (CashScriptParser.T__49 - 35)) | (1 << (CashScriptParser.T__50 - 35)) | (1 << (CashScriptParser.T__51 - 35)) | (1 << (CashScriptParser.T__52 - 35)) | (1 << (CashScriptParser.BooleanLiteral - 35)) | (1 << (CashScriptParser.NumberLiteral - 35)) | (1 << (CashScriptParser.Bytes - 35)) | (1 << (CashScriptParser.StringLiteral - 35)) | (1 << (CashScriptParser.DateLiteral - 35)) | (1 << (CashScriptParser.HexLiteral - 35)) | (1 << (CashScriptParser.NullaryOp - 35)) | (1 << (CashScriptParser.Identifier - 35)))) !== 0)) {
|
|
1102
1107
|
{
|
|
1103
|
-
this.state =
|
|
1108
|
+
this.state = 243;
|
|
1104
1109
|
this.expression(0);
|
|
1105
|
-
this.state =
|
|
1110
|
+
this.state = 248;
|
|
1106
1111
|
this._errHandler.sync(this);
|
|
1107
1112
|
_alt = this.interpreter.adaptivePredict(this._input, 18, this._ctx);
|
|
1108
1113
|
while (_alt !== 2 && _alt !== ATN_1.ATN.INVALID_ALT_NUMBER) {
|
|
1109
1114
|
if (_alt === 1) {
|
|
1110
1115
|
{
|
|
1111
1116
|
{
|
|
1112
|
-
this.state =
|
|
1117
|
+
this.state = 244;
|
|
1113
1118
|
this.match(CashScriptParser.T__15);
|
|
1114
|
-
this.state =
|
|
1119
|
+
this.state = 245;
|
|
1115
1120
|
this.expression(0);
|
|
1116
1121
|
}
|
|
1117
1122
|
}
|
|
1118
1123
|
}
|
|
1119
|
-
this.state =
|
|
1124
|
+
this.state = 250;
|
|
1120
1125
|
this._errHandler.sync(this);
|
|
1121
1126
|
_alt = this.interpreter.adaptivePredict(this._input, 18, this._ctx);
|
|
1122
1127
|
}
|
|
1123
|
-
this.state =
|
|
1128
|
+
this.state = 252;
|
|
1124
1129
|
this._errHandler.sync(this);
|
|
1125
1130
|
_la = this._input.LA(1);
|
|
1126
1131
|
if (_la === CashScriptParser.T__15) {
|
|
1127
1132
|
{
|
|
1128
|
-
this.state =
|
|
1133
|
+
this.state = 251;
|
|
1129
1134
|
this.match(CashScriptParser.T__15);
|
|
1130
1135
|
}
|
|
1131
1136
|
}
|
|
1132
1137
|
}
|
|
1133
1138
|
}
|
|
1134
|
-
this.state =
|
|
1139
|
+
this.state = 256;
|
|
1135
1140
|
this.match(CashScriptParser.T__22);
|
|
1136
1141
|
}
|
|
1137
1142
|
break;
|
|
@@ -1140,7 +1145,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1140
1145
|
_localctx = new NullaryOpContext(_localctx);
|
|
1141
1146
|
this._ctx = _localctx;
|
|
1142
1147
|
_prevctx = _localctx;
|
|
1143
|
-
this.state =
|
|
1148
|
+
this.state = 257;
|
|
1144
1149
|
this.match(CashScriptParser.NullaryOp);
|
|
1145
1150
|
}
|
|
1146
1151
|
break;
|
|
@@ -1149,7 +1154,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1149
1154
|
_localctx = new IdentifierContext(_localctx);
|
|
1150
1155
|
this._ctx = _localctx;
|
|
1151
1156
|
_prevctx = _localctx;
|
|
1152
|
-
this.state =
|
|
1157
|
+
this.state = 258;
|
|
1153
1158
|
this.match(CashScriptParser.Identifier);
|
|
1154
1159
|
}
|
|
1155
1160
|
break;
|
|
@@ -1158,13 +1163,13 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1158
1163
|
_localctx = new LiteralExpressionContext(_localctx);
|
|
1159
1164
|
this._ctx = _localctx;
|
|
1160
1165
|
_prevctx = _localctx;
|
|
1161
|
-
this.state =
|
|
1166
|
+
this.state = 259;
|
|
1162
1167
|
this.literal();
|
|
1163
1168
|
}
|
|
1164
1169
|
break;
|
|
1165
1170
|
}
|
|
1166
1171
|
this._ctx._stop = this._input.tryLT(-1);
|
|
1167
|
-
this.state =
|
|
1172
|
+
this.state = 303;
|
|
1168
1173
|
this._errHandler.sync(this);
|
|
1169
1174
|
_alt = this.interpreter.adaptivePredict(this._input, 23, this._ctx);
|
|
1170
1175
|
while (_alt !== 2 && _alt !== ATN_1.ATN.INVALID_ALT_NUMBER) {
|
|
@@ -1174,7 +1179,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1174
1179
|
}
|
|
1175
1180
|
_prevctx = _localctx;
|
|
1176
1181
|
{
|
|
1177
|
-
this.state =
|
|
1182
|
+
this.state = 301;
|
|
1178
1183
|
this._errHandler.sync(this);
|
|
1179
1184
|
switch (this.interpreter.adaptivePredict(this._input, 22, this._ctx)) {
|
|
1180
1185
|
case 1:
|
|
@@ -1182,11 +1187,11 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1182
1187
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1183
1188
|
_localctx._left = _prevctx;
|
|
1184
1189
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1185
|
-
this.state =
|
|
1190
|
+
this.state = 262;
|
|
1186
1191
|
if (!(this.precpred(this._ctx, 13))) {
|
|
1187
1192
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 13)");
|
|
1188
1193
|
}
|
|
1189
|
-
this.state =
|
|
1194
|
+
this.state = 263;
|
|
1190
1195
|
_localctx._op = this._input.LT(1);
|
|
1191
1196
|
_la = this._input.LA(1);
|
|
1192
1197
|
if (!(((((_la - 37)) & ~0x1F) === 0 && ((1 << (_la - 37)) & ((1 << (CashScriptParser.T__36 - 37)) | (1 << (CashScriptParser.T__37 - 37)) | (1 << (CashScriptParser.T__38 - 37)))) !== 0))) {
|
|
@@ -1199,7 +1204,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1199
1204
|
this._errHandler.reportMatch(this);
|
|
1200
1205
|
this.consume();
|
|
1201
1206
|
}
|
|
1202
|
-
this.state =
|
|
1207
|
+
this.state = 264;
|
|
1203
1208
|
_localctx._right = this.expression(14);
|
|
1204
1209
|
}
|
|
1205
1210
|
break;
|
|
@@ -1208,11 +1213,11 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1208
1213
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1209
1214
|
_localctx._left = _prevctx;
|
|
1210
1215
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1211
|
-
this.state =
|
|
1216
|
+
this.state = 265;
|
|
1212
1217
|
if (!(this.precpred(this._ctx, 12))) {
|
|
1213
1218
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 12)");
|
|
1214
1219
|
}
|
|
1215
|
-
this.state =
|
|
1220
|
+
this.state = 266;
|
|
1216
1221
|
_localctx._op = this._input.LT(1);
|
|
1217
1222
|
_la = this._input.LA(1);
|
|
1218
1223
|
if (!(_la === CashScriptParser.T__35 || _la === CashScriptParser.T__39)) {
|
|
@@ -1225,7 +1230,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1225
1230
|
this._errHandler.reportMatch(this);
|
|
1226
1231
|
this.consume();
|
|
1227
1232
|
}
|
|
1228
|
-
this.state =
|
|
1233
|
+
this.state = 267;
|
|
1229
1234
|
_localctx._right = this.expression(13);
|
|
1230
1235
|
}
|
|
1231
1236
|
break;
|
|
@@ -1234,11 +1239,11 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1234
1239
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1235
1240
|
_localctx._left = _prevctx;
|
|
1236
1241
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1237
|
-
this.state =
|
|
1242
|
+
this.state = 268;
|
|
1238
1243
|
if (!(this.precpred(this._ctx, 11))) {
|
|
1239
1244
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 11)");
|
|
1240
1245
|
}
|
|
1241
|
-
this.state =
|
|
1246
|
+
this.state = 269;
|
|
1242
1247
|
_localctx._op = this._input.LT(1);
|
|
1243
1248
|
_la = this._input.LA(1);
|
|
1244
1249
|
if (!((((_la) & ~0x1F) === 0 && ((1 << _la) & ((1 << CashScriptParser.T__5) | (1 << CashScriptParser.T__6) | (1 << CashScriptParser.T__7) | (1 << CashScriptParser.T__8))) !== 0))) {
|
|
@@ -1251,7 +1256,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1251
1256
|
this._errHandler.reportMatch(this);
|
|
1252
1257
|
this.consume();
|
|
1253
1258
|
}
|
|
1254
|
-
this.state =
|
|
1259
|
+
this.state = 270;
|
|
1255
1260
|
_localctx._right = this.expression(12);
|
|
1256
1261
|
}
|
|
1257
1262
|
break;
|
|
@@ -1260,11 +1265,11 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1260
1265
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1261
1266
|
_localctx._left = _prevctx;
|
|
1262
1267
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1263
|
-
this.state =
|
|
1268
|
+
this.state = 271;
|
|
1264
1269
|
if (!(this.precpred(this._ctx, 10))) {
|
|
1265
1270
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 10)");
|
|
1266
1271
|
}
|
|
1267
|
-
this.state =
|
|
1272
|
+
this.state = 272;
|
|
1268
1273
|
_localctx._op = this._input.LT(1);
|
|
1269
1274
|
_la = this._input.LA(1);
|
|
1270
1275
|
if (!(_la === CashScriptParser.T__40 || _la === CashScriptParser.T__41)) {
|
|
@@ -1277,7 +1282,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1277
1282
|
this._errHandler.reportMatch(this);
|
|
1278
1283
|
this.consume();
|
|
1279
1284
|
}
|
|
1280
|
-
this.state =
|
|
1285
|
+
this.state = 273;
|
|
1281
1286
|
_localctx._right = this.expression(11);
|
|
1282
1287
|
}
|
|
1283
1288
|
break;
|
|
@@ -1286,13 +1291,13 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1286
1291
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1287
1292
|
_localctx._left = _prevctx;
|
|
1288
1293
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1289
|
-
this.state =
|
|
1294
|
+
this.state = 274;
|
|
1290
1295
|
if (!(this.precpred(this._ctx, 9))) {
|
|
1291
1296
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");
|
|
1292
1297
|
}
|
|
1293
|
-
this.state =
|
|
1298
|
+
this.state = 275;
|
|
1294
1299
|
_localctx._op = this.match(CashScriptParser.T__42);
|
|
1295
|
-
this.state =
|
|
1300
|
+
this.state = 276;
|
|
1296
1301
|
_localctx._right = this.expression(10);
|
|
1297
1302
|
}
|
|
1298
1303
|
break;
|
|
@@ -1301,13 +1306,13 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1301
1306
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1302
1307
|
_localctx._left = _prevctx;
|
|
1303
1308
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1304
|
-
this.state =
|
|
1309
|
+
this.state = 277;
|
|
1305
1310
|
if (!(this.precpred(this._ctx, 8))) {
|
|
1306
1311
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");
|
|
1307
1312
|
}
|
|
1308
|
-
this.state =
|
|
1313
|
+
this.state = 278;
|
|
1309
1314
|
_localctx._op = this.match(CashScriptParser.T__3);
|
|
1310
|
-
this.state =
|
|
1315
|
+
this.state = 279;
|
|
1311
1316
|
_localctx._right = this.expression(9);
|
|
1312
1317
|
}
|
|
1313
1318
|
break;
|
|
@@ -1316,13 +1321,13 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1316
1321
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1317
1322
|
_localctx._left = _prevctx;
|
|
1318
1323
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1319
|
-
this.state =
|
|
1324
|
+
this.state = 280;
|
|
1320
1325
|
if (!(this.precpred(this._ctx, 7))) {
|
|
1321
1326
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");
|
|
1322
1327
|
}
|
|
1323
|
-
this.state =
|
|
1328
|
+
this.state = 281;
|
|
1324
1329
|
_localctx._op = this.match(CashScriptParser.T__43);
|
|
1325
|
-
this.state =
|
|
1330
|
+
this.state = 282;
|
|
1326
1331
|
_localctx._right = this.expression(8);
|
|
1327
1332
|
}
|
|
1328
1333
|
break;
|
|
@@ -1331,13 +1336,13 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1331
1336
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1332
1337
|
_localctx._left = _prevctx;
|
|
1333
1338
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1334
|
-
this.state =
|
|
1339
|
+
this.state = 283;
|
|
1335
1340
|
if (!(this.precpred(this._ctx, 6))) {
|
|
1336
1341
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");
|
|
1337
1342
|
}
|
|
1338
|
-
this.state =
|
|
1343
|
+
this.state = 284;
|
|
1339
1344
|
_localctx._op = this.match(CashScriptParser.T__44);
|
|
1340
|
-
this.state =
|
|
1345
|
+
this.state = 285;
|
|
1341
1346
|
_localctx._right = this.expression(7);
|
|
1342
1347
|
}
|
|
1343
1348
|
break;
|
|
@@ -1346,13 +1351,13 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1346
1351
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1347
1352
|
_localctx._left = _prevctx;
|
|
1348
1353
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1349
|
-
this.state =
|
|
1354
|
+
this.state = 286;
|
|
1350
1355
|
if (!(this.precpred(this._ctx, 5))) {
|
|
1351
1356
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");
|
|
1352
1357
|
}
|
|
1353
|
-
this.state =
|
|
1358
|
+
this.state = 287;
|
|
1354
1359
|
_localctx._op = this.match(CashScriptParser.T__45);
|
|
1355
|
-
this.state =
|
|
1360
|
+
this.state = 288;
|
|
1356
1361
|
_localctx._right = this.expression(6);
|
|
1357
1362
|
}
|
|
1358
1363
|
break;
|
|
@@ -1360,15 +1365,15 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1360
1365
|
{
|
|
1361
1366
|
_localctx = new TupleIndexOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1362
1367
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1363
|
-
this.state =
|
|
1368
|
+
this.state = 289;
|
|
1364
1369
|
if (!(this.precpred(this._ctx, 19))) {
|
|
1365
1370
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 19)");
|
|
1366
1371
|
}
|
|
1367
|
-
this.state =
|
|
1372
|
+
this.state = 290;
|
|
1368
1373
|
this.match(CashScriptParser.T__21);
|
|
1369
|
-
this.state =
|
|
1374
|
+
this.state = 291;
|
|
1370
1375
|
_localctx._index = this.match(CashScriptParser.NumberLiteral);
|
|
1371
|
-
this.state =
|
|
1376
|
+
this.state = 292;
|
|
1372
1377
|
this.match(CashScriptParser.T__22);
|
|
1373
1378
|
}
|
|
1374
1379
|
break;
|
|
@@ -1376,11 +1381,11 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1376
1381
|
{
|
|
1377
1382
|
_localctx = new UnaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1378
1383
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1379
|
-
this.state =
|
|
1384
|
+
this.state = 293;
|
|
1380
1385
|
if (!(this.precpred(this._ctx, 16))) {
|
|
1381
1386
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 16)");
|
|
1382
1387
|
}
|
|
1383
|
-
this.state =
|
|
1388
|
+
this.state = 294;
|
|
1384
1389
|
_localctx._op = this._input.LT(1);
|
|
1385
1390
|
_la = this._input.LA(1);
|
|
1386
1391
|
if (!(_la === CashScriptParser.T__31 || _la === CashScriptParser.T__32)) {
|
|
@@ -1400,24 +1405,24 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1400
1405
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1401
1406
|
_localctx._left = _prevctx;
|
|
1402
1407
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1403
|
-
this.state =
|
|
1408
|
+
this.state = 295;
|
|
1404
1409
|
if (!(this.precpred(this._ctx, 15))) {
|
|
1405
1410
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 15)");
|
|
1406
1411
|
}
|
|
1407
|
-
this.state =
|
|
1412
|
+
this.state = 296;
|
|
1408
1413
|
_localctx._op = this.match(CashScriptParser.T__33);
|
|
1409
|
-
this.state =
|
|
1414
|
+
this.state = 297;
|
|
1410
1415
|
this.match(CashScriptParser.T__14);
|
|
1411
|
-
this.state =
|
|
1416
|
+
this.state = 298;
|
|
1412
1417
|
_localctx._right = this.expression(0);
|
|
1413
|
-
this.state =
|
|
1418
|
+
this.state = 299;
|
|
1414
1419
|
this.match(CashScriptParser.T__16);
|
|
1415
1420
|
}
|
|
1416
1421
|
break;
|
|
1417
1422
|
}
|
|
1418
1423
|
}
|
|
1419
1424
|
}
|
|
1420
|
-
this.state =
|
|
1425
|
+
this.state = 305;
|
|
1421
1426
|
this._errHandler.sync(this);
|
|
1422
1427
|
_alt = this.interpreter.adaptivePredict(this._input, 23, this._ctx);
|
|
1423
1428
|
}
|
|
@@ -1445,7 +1450,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1445
1450
|
try {
|
|
1446
1451
|
this.enterOuterAlt(_localctx, 1);
|
|
1447
1452
|
{
|
|
1448
|
-
this.state =
|
|
1453
|
+
this.state = 306;
|
|
1449
1454
|
this.match(CashScriptParser.T__46);
|
|
1450
1455
|
}
|
|
1451
1456
|
}
|
|
@@ -1469,41 +1474,41 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1469
1474
|
let _localctx = new LiteralContext(this._ctx, this.state);
|
|
1470
1475
|
this.enterRule(_localctx, 44, CashScriptParser.RULE_literal);
|
|
1471
1476
|
try {
|
|
1472
|
-
this.state =
|
|
1477
|
+
this.state = 313;
|
|
1473
1478
|
this._errHandler.sync(this);
|
|
1474
1479
|
switch (this._input.LA(1)) {
|
|
1475
1480
|
case CashScriptParser.BooleanLiteral:
|
|
1476
1481
|
this.enterOuterAlt(_localctx, 1);
|
|
1477
1482
|
{
|
|
1478
|
-
this.state =
|
|
1483
|
+
this.state = 308;
|
|
1479
1484
|
this.match(CashScriptParser.BooleanLiteral);
|
|
1480
1485
|
}
|
|
1481
1486
|
break;
|
|
1482
1487
|
case CashScriptParser.NumberLiteral:
|
|
1483
1488
|
this.enterOuterAlt(_localctx, 2);
|
|
1484
1489
|
{
|
|
1485
|
-
this.state =
|
|
1490
|
+
this.state = 309;
|
|
1486
1491
|
this.numberLiteral();
|
|
1487
1492
|
}
|
|
1488
1493
|
break;
|
|
1489
1494
|
case CashScriptParser.StringLiteral:
|
|
1490
1495
|
this.enterOuterAlt(_localctx, 3);
|
|
1491
1496
|
{
|
|
1492
|
-
this.state =
|
|
1497
|
+
this.state = 310;
|
|
1493
1498
|
this.match(CashScriptParser.StringLiteral);
|
|
1494
1499
|
}
|
|
1495
1500
|
break;
|
|
1496
1501
|
case CashScriptParser.DateLiteral:
|
|
1497
1502
|
this.enterOuterAlt(_localctx, 4);
|
|
1498
1503
|
{
|
|
1499
|
-
this.state =
|
|
1504
|
+
this.state = 311;
|
|
1500
1505
|
this.match(CashScriptParser.DateLiteral);
|
|
1501
1506
|
}
|
|
1502
1507
|
break;
|
|
1503
1508
|
case CashScriptParser.HexLiteral:
|
|
1504
1509
|
this.enterOuterAlt(_localctx, 5);
|
|
1505
1510
|
{
|
|
1506
|
-
this.state =
|
|
1511
|
+
this.state = 312;
|
|
1507
1512
|
this.match(CashScriptParser.HexLiteral);
|
|
1508
1513
|
}
|
|
1509
1514
|
break;
|
|
@@ -1533,14 +1538,14 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1533
1538
|
try {
|
|
1534
1539
|
this.enterOuterAlt(_localctx, 1);
|
|
1535
1540
|
{
|
|
1536
|
-
this.state =
|
|
1541
|
+
this.state = 315;
|
|
1537
1542
|
this.match(CashScriptParser.NumberLiteral);
|
|
1538
|
-
this.state =
|
|
1543
|
+
this.state = 317;
|
|
1539
1544
|
this._errHandler.sync(this);
|
|
1540
1545
|
switch (this.interpreter.adaptivePredict(this._input, 25, this._ctx)) {
|
|
1541
1546
|
case 1:
|
|
1542
1547
|
{
|
|
1543
|
-
this.state =
|
|
1548
|
+
this.state = 316;
|
|
1544
1549
|
this.match(CashScriptParser.NumberUnit);
|
|
1545
1550
|
}
|
|
1546
1551
|
break;
|
|
@@ -1570,7 +1575,7 @@ class CashScriptParser extends Parser_1.Parser {
|
|
|
1570
1575
|
try {
|
|
1571
1576
|
this.enterOuterAlt(_localctx, 1);
|
|
1572
1577
|
{
|
|
1573
|
-
this.state =
|
|
1578
|
+
this.state = 319;
|
|
1574
1579
|
_la = this._input.LA(1);
|
|
1575
1580
|
if (!(((((_la - 48)) & ~0x1F) === 0 && ((1 << (_la - 48)) & ((1 << (CashScriptParser.T__47 - 48)) | (1 << (CashScriptParser.T__48 - 48)) | (1 << (CashScriptParser.T__49 - 48)) | (1 << (CashScriptParser.T__50 - 48)) | (1 << (CashScriptParser.T__51 - 48)) | (1 << (CashScriptParser.T__52 - 48)) | (1 << (CashScriptParser.Bytes - 48)))) !== 0))) {
|
|
1576
1581
|
this._errHandler.recoverInline(this);
|
|
@@ -1769,7 +1774,7 @@ CashScriptParser._SYMBOLIC_NAMES = [
|
|
|
1769
1774
|
"COMMENT", "LINE_COMMENT",
|
|
1770
1775
|
];
|
|
1771
1776
|
CashScriptParser.VOCABULARY = new VocabularyImpl_1.VocabularyImpl(CashScriptParser._LITERAL_NAMES, CashScriptParser._SYMBOLIC_NAMES, []);
|
|
1772
|
-
CashScriptParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03F\
|
|
1777
|
+
CashScriptParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03F\u0144\x04\x02" +
|
|
1773
1778
|
"\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07" +
|
|
1774
1779
|
"\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f\x04\r\t\r\x04" +
|
|
1775
1780
|
"\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04" +
|
|
@@ -1782,143 +1787,145 @@ CashScriptParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8
|
|
|
1782
1787
|
"a\n\t\f\t\x0E\td\v\t\x03\t\x03\t\x03\n\x03\n\x03\n\x03\n\x07\nl\n\n\f" +
|
|
1783
1788
|
"\n\x0E\no\v\n\x03\n\x05\nr\n\n\x05\nt\n\n\x03\n\x03\n\x03\v\x03\v\x03" +
|
|
1784
1789
|
"\v\x03\f\x03\f\x07\f}\n\f\f\f\x0E\f\x80\v\f\x03\f\x03\f\x05\f\x84\n\f" +
|
|
1785
|
-
"\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x05\r\x8C\n\r\x03\x0E\x03\x0E\
|
|
1786
|
-
"\x0E\x90\n\x0E\
|
|
1787
|
-
"\x03\
|
|
1788
|
-
"\x03\
|
|
1789
|
-
"\x03\x11\x03\x11\x03\
|
|
1790
|
-
"\x03\
|
|
1791
|
-
"\
|
|
1792
|
-
"\
|
|
1793
|
-
"\x15\
|
|
1794
|
-
"\x16\x03\x16\x03\x16\
|
|
1790
|
+
"\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x05\r\x8C\n\r\x03\x0E\x03\x0E\x07" +
|
|
1791
|
+
"\x0E\x90\n\x0E\f\x0E\x0E\x0E\x93\v\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E" +
|
|
1792
|
+
"\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F" +
|
|
1793
|
+
"\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x11\x03\x11\x03\x11" +
|
|
1794
|
+
"\x03\x11\x03\x11\x03\x11\x03\x11\x03\x11\x03\x12\x03\x12\x03\x12\x03\x12" +
|
|
1795
|
+
"\x03\x12\x03\x12\x03\x13\x03\x13\x03\x13\x03\x13\x03\x13\x03\x13\x03\x13" +
|
|
1796
|
+
"\x05\x13\xBD\n\x13\x03\x14\x03\x14\x03\x14\x03\x15\x03\x15\x03\x15\x03" +
|
|
1797
|
+
"\x15\x07\x15\xC6\n\x15\f\x15\x0E\x15\xC9\v\x15\x03\x15\x05\x15\xCC\n\x15" +
|
|
1798
|
+
"\x05\x15\xCE\n\x15\x03\x15\x03\x15\x03\x16\x03\x16\x03\x16\x03\x16\x03" +
|
|
1799
|
+
"\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x05\x16\xDC\n\x16\x03\x16" +
|
|
1800
|
+
"\x05\x16\xDF\n\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03" +
|
|
1801
|
+
"\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03" +
|
|
1802
|
+
"\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x07" +
|
|
1803
|
+
"\x16\xF9\n\x16\f\x16\x0E\x16\xFC\v\x16\x03\x16\x05\x16\xFF\n\x16\x05\x16" +
|
|
1804
|
+
"\u0101\n\x16\x03\x16\x03\x16\x03\x16\x03\x16\x05\x16\u0107\n\x16\x03\x16" +
|
|
1795
1805
|
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16" +
|
|
1796
1806
|
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16" +
|
|
1797
|
-
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\
|
|
1798
|
-
"\
|
|
1799
|
-
"\x03\x16\x03\x16\
|
|
1800
|
-
"\
|
|
1801
|
-
"\
|
|
1802
|
-
"\
|
|
1803
|
-
"\
|
|
1804
|
-
"\
|
|
1805
|
-
"\
|
|
1806
|
-
"
|
|
1807
|
-
"\
|
|
1808
|
-
"\x02\
|
|
1809
|
-
"\
|
|
1810
|
-
"\
|
|
1811
|
-
"\
|
|
1812
|
-
"\
|
|
1813
|
-
"\
|
|
1814
|
-
"\x03\x02\x02\
|
|
1815
|
-
"\x03\x02\x02\x02\
|
|
1816
|
-
"\
|
|
1817
|
-
"\x02
|
|
1818
|
-
"\
|
|
1819
|
-
"
|
|
1820
|
-
"
|
|
1821
|
-
"
|
|
1822
|
-
"\x02
|
|
1823
|
-
"\
|
|
1824
|
-
"\x02\
|
|
1825
|
-
"\x02\
|
|
1826
|
-
"\
|
|
1827
|
-
"
|
|
1828
|
-
"
|
|
1829
|
-
"
|
|
1830
|
-
"\x02
|
|
1831
|
-
"
|
|
1832
|
-
"
|
|
1833
|
-
"\
|
|
1834
|
-
"
|
|
1835
|
-
"
|
|
1836
|
-
"
|
|
1837
|
-
"
|
|
1838
|
-
"
|
|
1839
|
-
"\x02
|
|
1840
|
-
"\x03\x02\x02\x02\
|
|
1841
|
-
"\
|
|
1842
|
-
"\x02\
|
|
1843
|
-
"\
|
|
1844
|
-
"\
|
|
1845
|
-
"\
|
|
1846
|
-
"\
|
|
1847
|
-
"\
|
|
1848
|
-
"\
|
|
1849
|
-
"\
|
|
1850
|
-
"\
|
|
1851
|
-
"
|
|
1852
|
-
"\
|
|
1853
|
-
"\
|
|
1854
|
-
"\
|
|
1855
|
-
"\
|
|
1856
|
-
"\
|
|
1857
|
-
"\
|
|
1858
|
-
"\
|
|
1859
|
-
"\
|
|
1860
|
-
"\
|
|
1861
|
-
"\x03\x02\x02\x02\
|
|
1862
|
-
"\
|
|
1863
|
-
"\x02\
|
|
1864
|
-
"\x02\xC2\
|
|
1865
|
-
"\x02\
|
|
1866
|
-
"\
|
|
1867
|
-
"\
|
|
1868
|
-
"\
|
|
1869
|
-
"\x02\
|
|
1870
|
-
"\
|
|
1871
|
-
"\
|
|
1872
|
-
"\
|
|
1873
|
-
"\
|
|
1874
|
-
"\
|
|
1875
|
-
"\
|
|
1876
|
-
"\x02\
|
|
1877
|
-
"\
|
|
1878
|
-
"\
|
|
1879
|
-
"\
|
|
1880
|
-
"\
|
|
1881
|
-
"\
|
|
1882
|
-
"\
|
|
1883
|
-
"\
|
|
1884
|
-
"\
|
|
1885
|
-
"\
|
|
1886
|
-
"\
|
|
1887
|
-
"\
|
|
1888
|
-
"\
|
|
1889
|
-
"\
|
|
1890
|
-
"\
|
|
1891
|
-
"\
|
|
1892
|
-
"\
|
|
1893
|
-
"\f\
|
|
1894
|
-
"\
|
|
1895
|
-
"\
|
|
1896
|
-
"\
|
|
1897
|
-
"\
|
|
1898
|
-
"
|
|
1899
|
-
"
|
|
1900
|
-
"\
|
|
1901
|
-
"\
|
|
1902
|
-
"\
|
|
1903
|
-
"\
|
|
1904
|
-
"\
|
|
1905
|
-
"
|
|
1906
|
-
"\
|
|
1907
|
-
"\
|
|
1908
|
-
"\x02\x02\x02\
|
|
1909
|
-
"\
|
|
1910
|
-
"\x02\x02\
|
|
1911
|
-
"\
|
|
1912
|
-
"\x02\x02\
|
|
1913
|
-
"\
|
|
1914
|
-
"\u0139\
|
|
1915
|
-
"\
|
|
1916
|
-
"\x02\x02\
|
|
1917
|
-
"\
|
|
1918
|
-
"\
|
|
1919
|
-
"\x02\x02\x02\u013C\u013D\x03\x02\x02\x02\u013D1\x03\x02\x02\x02\u013E" +
|
|
1920
|
-
"\u013F\t\v\x02\x02\u013F3\x03\x02\x02\x02\x1C7FIVbmqs~\x83\x8B\x8F\xB9" +
|
|
1921
|
-
"\xC4\xC8\xCA\xD8\xDB\xF7\xFB\xFD\u0103\u012C\u012E\u0138\u013C";
|
|
1807
|
+
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16" +
|
|
1808
|
+
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16" +
|
|
1809
|
+
"\x03\x16\x03\x16\x07\x16\u0130\n\x16\f\x16\x0E\x16\u0133\v\x16\x03\x17" +
|
|
1810
|
+
"\x03\x17\x03\x18\x03\x18\x03\x18\x03\x18\x03\x18\x05\x18\u013C\n\x18\x03" +
|
|
1811
|
+
"\x19\x03\x19\x05\x19\u0140\n\x19\x03\x1A\x03\x1A\x03\x1A\x02\x02\x03*" +
|
|
1812
|
+
"\x1B\x02\x02\x04\x02\x06\x02\b\x02\n\x02\f\x02\x0E\x02\x10\x02\x12\x02" +
|
|
1813
|
+
"\x14\x02\x16\x02\x18\x02\x1A\x02\x1C\x02\x1E\x02 \x02\"\x02$\x02&\x02" +
|
|
1814
|
+
"(\x02*\x02,\x02.\x020\x022\x02\x02\f\x03\x02\x06\f\x03\x02\x1B\x1C\x04" +
|
|
1815
|
+
"\x02\x1B\x1C\x1E!\x03\x02%&\x03\x02\')\x04\x02&&**\x03\x02\b\v\x03\x02" +
|
|
1816
|
+
"+,\x03\x02\"#\x04\x0227<<\x02\u015E\x027\x03\x02\x02\x02\x04=\x03\x02" +
|
|
1817
|
+
"\x02\x02\x06B\x03\x02\x02\x02\bD\x03\x02\x02\x02\nI\x03\x02\x02\x02\f" +
|
|
1818
|
+
"M\x03\x02\x02\x02\x0EO\x03\x02\x02\x02\x10[\x03\x02\x02\x02\x12g\x03\x02" +
|
|
1819
|
+
"\x02\x02\x14w\x03\x02\x02\x02\x16\x83\x03\x02\x02\x02\x18\x8B\x03\x02" +
|
|
1820
|
+
"\x02\x02\x1A\x8D\x03\x02\x02\x02\x1C\x99\x03\x02\x02\x02\x1E\xA2\x03\x02" +
|
|
1821
|
+
"\x02\x02 \xA7\x03\x02\x02\x02\"\xAF\x03\x02\x02\x02$\xB5\x03\x02\x02\x02" +
|
|
1822
|
+
"&\xBE\x03\x02\x02\x02(\xC1\x03\x02\x02\x02*\u0106\x03\x02\x02\x02,\u0134" +
|
|
1823
|
+
"\x03\x02\x02\x02.\u013B\x03\x02\x02\x020\u013D\x03\x02\x02\x022\u0141" +
|
|
1824
|
+
"\x03\x02\x02\x0246\x05\x04\x03\x0254\x03\x02\x02\x0269\x03\x02\x02\x02" +
|
|
1825
|
+
"75\x03\x02\x02\x0278\x03\x02\x02\x028:\x03\x02\x02\x0297\x03\x02\x02\x02" +
|
|
1826
|
+
":;\x05\x0E\b\x02;<\x07\x02\x02\x03<\x03\x03\x02\x02\x02=>\x07\x03\x02" +
|
|
1827
|
+
"\x02>?\x05\x06\x04\x02?@\x05\b\x05\x02@A\x07\x04\x02\x02A\x05\x03\x02" +
|
|
1828
|
+
"\x02\x02BC\x07\x05\x02\x02C\x07\x03\x02\x02\x02DF\x05\n\x06\x02EG\x05" +
|
|
1829
|
+
"\n\x06\x02FE\x03\x02\x02\x02FG\x03\x02\x02\x02G\t\x03\x02\x02\x02HJ\x05" +
|
|
1830
|
+
"\f\x07\x02IH\x03\x02\x02\x02IJ\x03\x02\x02\x02JK\x03\x02\x02\x02KL\x07" +
|
|
1831
|
+
"8\x02\x02L\v\x03\x02\x02\x02MN\t\x02\x02\x02N\r\x03\x02\x02\x02OP\x07" +
|
|
1832
|
+
"\r\x02\x02PQ\x07C\x02\x02QR\x05\x12\n\x02RV\x07\x0E\x02\x02SU\x05\x10" +
|
|
1833
|
+
"\t\x02TS\x03\x02\x02\x02UX\x03\x02\x02\x02VT\x03\x02\x02\x02VW\x03\x02" +
|
|
1834
|
+
"\x02\x02WY\x03\x02\x02\x02XV\x03\x02\x02\x02YZ\x07\x0F\x02\x02Z\x0F\x03" +
|
|
1835
|
+
"\x02\x02\x02[\\\x07\x10\x02\x02\\]\x07C\x02\x02]^\x05\x12\n\x02^b\x07" +
|
|
1836
|
+
"\x0E\x02\x02_a\x05\x18\r\x02`_\x03\x02\x02\x02ad\x03\x02\x02\x02b`\x03" +
|
|
1837
|
+
"\x02\x02\x02bc\x03\x02\x02\x02ce\x03\x02\x02\x02db\x03\x02\x02\x02ef\x07" +
|
|
1838
|
+
"\x0F\x02\x02f\x11\x03\x02\x02\x02gs\x07\x11\x02\x02hm\x05\x14\v\x02ij" +
|
|
1839
|
+
"\x07\x12\x02\x02jl\x05\x14\v\x02ki\x03\x02\x02\x02lo\x03\x02\x02\x02m" +
|
|
1840
|
+
"k\x03\x02\x02\x02mn\x03\x02\x02\x02nq\x03\x02\x02\x02om\x03\x02\x02\x02" +
|
|
1841
|
+
"pr\x07\x12\x02\x02qp\x03\x02\x02\x02qr\x03\x02\x02\x02rt\x03\x02\x02\x02" +
|
|
1842
|
+
"sh\x03\x02\x02\x02st\x03\x02\x02\x02tu\x03\x02\x02\x02uv\x07\x13\x02\x02" +
|
|
1843
|
+
"v\x13\x03\x02\x02\x02wx\x052\x1A\x02xy\x07C\x02\x02y\x15\x03\x02\x02\x02" +
|
|
1844
|
+
"z~\x07\x0E\x02\x02{}\x05\x18\r\x02|{\x03\x02\x02\x02}\x80\x03\x02\x02" +
|
|
1845
|
+
"\x02~|\x03\x02\x02\x02~\x7F\x03\x02\x02\x02\x7F\x81\x03\x02\x02\x02\x80" +
|
|
1846
|
+
"~\x03\x02\x02\x02\x81\x84\x07\x0F\x02\x02\x82\x84\x05\x18\r\x02\x83z\x03" +
|
|
1847
|
+
"\x02\x02\x02\x83\x82\x03\x02\x02\x02\x84\x17\x03\x02\x02\x02\x85\x8C\x05" +
|
|
1848
|
+
"\x1A\x0E\x02\x86\x8C\x05\x1C\x0F\x02\x87\x8C\x05\x1E\x10\x02\x88\x8C\x05" +
|
|
1849
|
+
" \x11\x02\x89\x8C\x05\"\x12\x02\x8A\x8C\x05$\x13\x02\x8B\x85\x03\x02\x02" +
|
|
1850
|
+
"\x02\x8B\x86\x03\x02\x02\x02\x8B\x87\x03\x02\x02\x02\x8B\x88\x03\x02\x02" +
|
|
1851
|
+
"\x02\x8B\x89\x03\x02\x02\x02\x8B\x8A\x03\x02\x02\x02\x8C\x19\x03\x02\x02" +
|
|
1852
|
+
"\x02\x8D\x91\x052\x1A\x02\x8E\x90\x05,\x17\x02\x8F\x8E\x03\x02\x02\x02" +
|
|
1853
|
+
"\x90\x93\x03\x02\x02\x02\x91\x8F\x03\x02\x02\x02\x91\x92\x03\x02\x02\x02" +
|
|
1854
|
+
"\x92\x94\x03\x02\x02\x02\x93\x91\x03\x02\x02\x02\x94\x95\x07C\x02\x02" +
|
|
1855
|
+
"\x95\x96\x07\f\x02\x02\x96\x97\x05*\x16\x02\x97\x98\x07\x04\x02\x02\x98" +
|
|
1856
|
+
"\x1B\x03\x02\x02\x02\x99\x9A\x052\x1A\x02\x9A\x9B\x07C\x02\x02\x9B\x9C" +
|
|
1857
|
+
"\x07\x12\x02\x02\x9C\x9D\x052\x1A\x02\x9D\x9E\x07C\x02\x02\x9E\x9F\x07" +
|
|
1858
|
+
"\f\x02\x02\x9F\xA0\x05*\x16\x02\xA0\xA1\x07\x04\x02\x02\xA1\x1D\x03\x02" +
|
|
1859
|
+
"\x02\x02\xA2\xA3\x07C\x02\x02\xA3\xA4\x07\f\x02\x02\xA4\xA5\x05*\x16\x02" +
|
|
1860
|
+
"\xA5\xA6\x07\x04\x02\x02\xA6\x1F\x03\x02\x02\x02\xA7\xA8\x07\x14\x02\x02" +
|
|
1861
|
+
"\xA8\xA9\x07\x11\x02\x02\xA9\xAA\x07A\x02\x02\xAA\xAB\x07\b\x02\x02\xAB" +
|
|
1862
|
+
"\xAC\x05*\x16\x02\xAC\xAD\x07\x13\x02\x02\xAD\xAE\x07\x04\x02\x02\xAE" +
|
|
1863
|
+
"!\x03\x02\x02\x02\xAF\xB0\x07\x14\x02\x02\xB0\xB1\x07\x11\x02\x02\xB1" +
|
|
1864
|
+
"\xB2\x05*\x16\x02\xB2\xB3\x07\x13\x02\x02\xB3\xB4\x07\x04\x02\x02\xB4" +
|
|
1865
|
+
"#\x03\x02\x02\x02\xB5\xB6\x07\x15\x02\x02\xB6\xB7\x07\x11\x02\x02\xB7" +
|
|
1866
|
+
"\xB8\x05*\x16\x02\xB8\xB9\x07\x13\x02\x02\xB9\xBC\x05\x16\f\x02\xBA\xBB" +
|
|
1867
|
+
"\x07\x16\x02\x02\xBB\xBD\x05\x16\f\x02\xBC\xBA\x03\x02\x02\x02\xBC\xBD" +
|
|
1868
|
+
"\x03\x02\x02\x02\xBD%\x03\x02\x02\x02\xBE\xBF\x07C\x02\x02\xBF\xC0\x05" +
|
|
1869
|
+
"(\x15\x02\xC0\'\x03\x02\x02\x02\xC1\xCD\x07\x11\x02\x02\xC2\xC7\x05*\x16" +
|
|
1870
|
+
"\x02\xC3\xC4\x07\x12\x02\x02\xC4\xC6\x05*\x16\x02\xC5\xC3\x03\x02\x02" +
|
|
1871
|
+
"\x02\xC6\xC9\x03\x02\x02\x02\xC7\xC5\x03\x02\x02\x02\xC7\xC8\x03\x02\x02" +
|
|
1872
|
+
"\x02\xC8\xCB\x03\x02\x02\x02\xC9\xC7\x03\x02\x02\x02\xCA\xCC\x07\x12\x02" +
|
|
1873
|
+
"\x02\xCB\xCA\x03\x02\x02\x02\xCB\xCC\x03\x02\x02\x02\xCC\xCE\x03\x02\x02" +
|
|
1874
|
+
"\x02\xCD\xC2\x03\x02\x02\x02\xCD\xCE\x03\x02\x02\x02\xCE\xCF\x03\x02\x02" +
|
|
1875
|
+
"\x02\xCF\xD0\x07\x13\x02\x02\xD0)\x03\x02\x02\x02\xD1\xD2\b\x16\x01\x02" +
|
|
1876
|
+
"\xD2\xD3\x07\x11\x02\x02\xD3\xD4\x05*\x16\x02\xD4\xD5\x07\x13\x02\x02" +
|
|
1877
|
+
"\xD5\u0107\x03\x02\x02\x02\xD6\xD7\x052\x1A\x02\xD7\xD8\x07\x11\x02\x02" +
|
|
1878
|
+
"\xD8\xDB\x05*\x16\x02\xD9\xDA\x07\x12\x02\x02\xDA\xDC\x05*\x16\x02\xDB" +
|
|
1879
|
+
"\xD9\x03\x02\x02\x02\xDB\xDC\x03\x02\x02\x02\xDC\xDE\x03\x02\x02\x02\xDD" +
|
|
1880
|
+
"\xDF\x07\x12\x02\x02\xDE\xDD\x03\x02\x02\x02\xDE\xDF\x03\x02\x02\x02\xDF" +
|
|
1881
|
+
"\xE0\x03\x02\x02\x02\xE0\xE1\x07\x13\x02\x02\xE1\u0107\x03\x02\x02\x02" +
|
|
1882
|
+
"\xE2\u0107\x05&\x14\x02\xE3\xE4\x07\x17\x02\x02\xE4\xE5\x07C\x02\x02\xE5" +
|
|
1883
|
+
"\u0107\x05(\x15\x02\xE6\xE7\x07\x1A\x02\x02\xE7\xE8\x07\x18\x02\x02\xE8" +
|
|
1884
|
+
"\xE9\x05*\x16\x02\xE9\xEA\x07\x19\x02\x02\xEA\xEB\t\x03\x02\x02\xEB\u0107" +
|
|
1885
|
+
"\x03\x02\x02\x02\xEC\xED\x07\x1D\x02\x02\xED\xEE\x07\x18\x02\x02\xEE\xEF" +
|
|
1886
|
+
"\x05*\x16\x02\xEF\xF0\x07\x19\x02\x02\xF0\xF1\t\x04\x02\x02\xF1\u0107" +
|
|
1887
|
+
"\x03\x02\x02\x02\xF2\xF3\t\x05\x02\x02\xF3\u0107\x05*\x16\x10\xF4\u0100" +
|
|
1888
|
+
"\x07\x18\x02\x02\xF5\xFA\x05*\x16\x02\xF6\xF7\x07\x12\x02\x02\xF7\xF9" +
|
|
1889
|
+
"\x05*\x16\x02\xF8\xF6\x03\x02\x02\x02\xF9\xFC\x03\x02\x02\x02\xFA\xF8" +
|
|
1890
|
+
"\x03\x02\x02\x02\xFA\xFB\x03\x02\x02\x02\xFB\xFE\x03\x02\x02\x02\xFC\xFA" +
|
|
1891
|
+
"\x03\x02\x02\x02\xFD\xFF\x07\x12\x02\x02\xFE\xFD\x03\x02\x02\x02\xFE\xFF" +
|
|
1892
|
+
"\x03\x02\x02\x02\xFF\u0101\x03\x02\x02\x02\u0100\xF5\x03\x02\x02\x02\u0100" +
|
|
1893
|
+
"\u0101\x03\x02\x02\x02\u0101\u0102\x03\x02\x02\x02\u0102\u0107\x07\x19" +
|
|
1894
|
+
"\x02\x02\u0103\u0107\x07B\x02\x02\u0104\u0107\x07C\x02\x02\u0105\u0107" +
|
|
1895
|
+
"\x05.\x18\x02\u0106\xD1\x03\x02\x02\x02\u0106\xD6\x03\x02\x02\x02\u0106" +
|
|
1896
|
+
"\xE2\x03\x02\x02\x02\u0106\xE3\x03\x02\x02\x02\u0106\xE6\x03\x02\x02\x02" +
|
|
1897
|
+
"\u0106\xEC\x03\x02\x02\x02\u0106\xF2\x03\x02\x02\x02\u0106\xF4\x03\x02" +
|
|
1898
|
+
"\x02\x02\u0106\u0103\x03\x02\x02\x02\u0106\u0104\x03\x02\x02\x02\u0106" +
|
|
1899
|
+
"\u0105\x03\x02\x02\x02\u0107\u0131\x03\x02\x02\x02\u0108\u0109\f\x0F\x02" +
|
|
1900
|
+
"\x02\u0109\u010A\t\x06\x02\x02\u010A\u0130\x05*\x16\x10\u010B\u010C\f" +
|
|
1901
|
+
"\x0E\x02\x02\u010C\u010D\t\x07\x02\x02\u010D\u0130\x05*\x16\x0F\u010E" +
|
|
1902
|
+
"\u010F\f\r\x02\x02\u010F\u0110\t\b\x02\x02\u0110\u0130\x05*\x16\x0E\u0111" +
|
|
1903
|
+
"\u0112\f\f\x02\x02\u0112\u0113\t\t\x02\x02\u0113\u0130\x05*\x16\r\u0114" +
|
|
1904
|
+
"\u0115\f\v\x02\x02\u0115\u0116\x07-\x02\x02\u0116\u0130\x05*\x16\f\u0117" +
|
|
1905
|
+
"\u0118\f\n\x02\x02\u0118\u0119\x07\x06\x02\x02\u0119\u0130\x05*\x16\v" +
|
|
1906
|
+
"\u011A\u011B\f\t\x02\x02\u011B\u011C\x07.\x02\x02\u011C\u0130\x05*\x16" +
|
|
1907
|
+
"\n\u011D\u011E\f\b\x02\x02\u011E\u011F\x07/\x02\x02\u011F\u0130\x05*\x16" +
|
|
1908
|
+
"\t\u0120\u0121\f\x07\x02\x02\u0121\u0122\x070\x02\x02\u0122\u0130\x05" +
|
|
1909
|
+
"*\x16\b\u0123\u0124\f\x15\x02\x02\u0124\u0125\x07\x18\x02\x02\u0125\u0126" +
|
|
1910
|
+
"\x07;\x02\x02\u0126\u0130\x07\x19\x02\x02\u0127\u0128\f\x12\x02\x02\u0128" +
|
|
1911
|
+
"\u0130\t\n\x02\x02\u0129\u012A\f\x11\x02\x02\u012A\u012B\x07$\x02\x02" +
|
|
1912
|
+
"\u012B\u012C\x07\x11\x02\x02\u012C\u012D\x05*\x16\x02\u012D\u012E\x07" +
|
|
1913
|
+
"\x13\x02\x02\u012E\u0130\x03\x02\x02\x02\u012F\u0108\x03\x02\x02\x02\u012F" +
|
|
1914
|
+
"\u010B\x03\x02\x02\x02\u012F\u010E\x03\x02\x02\x02\u012F\u0111\x03\x02" +
|
|
1915
|
+
"\x02\x02\u012F\u0114\x03\x02\x02\x02\u012F\u0117\x03\x02\x02\x02\u012F" +
|
|
1916
|
+
"\u011A\x03\x02\x02\x02\u012F\u011D\x03\x02\x02\x02\u012F\u0120\x03\x02" +
|
|
1917
|
+
"\x02\x02\u012F\u0123\x03\x02\x02\x02\u012F\u0127\x03\x02\x02\x02\u012F" +
|
|
1918
|
+
"\u0129\x03\x02\x02\x02\u0130\u0133\x03\x02\x02\x02\u0131\u012F\x03\x02" +
|
|
1919
|
+
"\x02\x02\u0131\u0132\x03\x02\x02\x02\u0132+\x03\x02\x02\x02\u0133\u0131" +
|
|
1920
|
+
"\x03\x02\x02\x02\u0134\u0135\x071\x02\x02\u0135-\x03\x02\x02\x02\u0136" +
|
|
1921
|
+
"\u013C\x079\x02\x02\u0137\u013C\x050\x19\x02\u0138\u013C\x07>\x02\x02" +
|
|
1922
|
+
"\u0139\u013C\x07?\x02\x02\u013A\u013C\x07@\x02\x02\u013B\u0136\x03\x02" +
|
|
1923
|
+
"\x02\x02\u013B\u0137\x03\x02\x02\x02\u013B\u0138\x03\x02\x02\x02\u013B" +
|
|
1924
|
+
"\u0139\x03\x02\x02\x02\u013B\u013A\x03\x02\x02\x02\u013C/\x03\x02\x02" +
|
|
1925
|
+
"\x02\u013D\u013F\x07;\x02\x02\u013E\u0140\x07:\x02\x02\u013F\u013E\x03" +
|
|
1926
|
+
"\x02\x02\x02\u013F\u0140\x03\x02\x02\x02\u01401\x03\x02\x02\x02\u0141" +
|
|
1927
|
+
"\u0142\t\v\x02\x02\u01423\x03\x02\x02\x02\x1C7FIVbmqs~\x83\x8B\x91\xBC" +
|
|
1928
|
+
"\xC7\xCB\xCD\xDB\xDE\xFA\xFE\u0100\u0106\u012F\u0131\u013B\u013F";
|
|
1922
1929
|
class SourceFileContext extends ParserRuleContext_1.ParserRuleContext {
|
|
1923
1930
|
contractDefinition() {
|
|
1924
1931
|
return this.getRuleContext(0, ContractDefinitionContext);
|
|
@@ -2367,8 +2374,13 @@ class VariableDefinitionContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
2367
2374
|
expression() {
|
|
2368
2375
|
return this.getRuleContext(0, ExpressionContext);
|
|
2369
2376
|
}
|
|
2370
|
-
modifier() {
|
|
2371
|
-
|
|
2377
|
+
modifier(i) {
|
|
2378
|
+
if (i === undefined) {
|
|
2379
|
+
return this.getRuleContexts(ModifierContext);
|
|
2380
|
+
}
|
|
2381
|
+
else {
|
|
2382
|
+
return this.getRuleContext(i, ModifierContext);
|
|
2383
|
+
}
|
|
2372
2384
|
}
|
|
2373
2385
|
constructor(parent, invokingState) {
|
|
2374
2386
|
super(parent, invokingState);
|