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
|
@@ -576,22 +576,27 @@ export class CashScriptParser extends Parser {
|
|
|
576
576
|
{
|
|
577
577
|
this.state = 139;
|
|
578
578
|
this.typeName();
|
|
579
|
-
this.state =
|
|
579
|
+
this.state = 143;
|
|
580
580
|
this._errHandler.sync(this);
|
|
581
581
|
_la = this._input.LA(1);
|
|
582
|
-
|
|
582
|
+
while (_la === CashScriptParser.T__46) {
|
|
583
583
|
{
|
|
584
|
-
|
|
585
|
-
|
|
584
|
+
{
|
|
585
|
+
this.state = 140;
|
|
586
|
+
this.modifier();
|
|
587
|
+
}
|
|
586
588
|
}
|
|
589
|
+
this.state = 145;
|
|
590
|
+
this._errHandler.sync(this);
|
|
591
|
+
_la = this._input.LA(1);
|
|
587
592
|
}
|
|
588
|
-
this.state =
|
|
593
|
+
this.state = 146;
|
|
589
594
|
this.match(CashScriptParser.Identifier);
|
|
590
|
-
this.state =
|
|
595
|
+
this.state = 147;
|
|
591
596
|
this.match(CashScriptParser.T__9);
|
|
592
|
-
this.state =
|
|
597
|
+
this.state = 148;
|
|
593
598
|
this.expression(0);
|
|
594
|
-
this.state =
|
|
599
|
+
this.state = 149;
|
|
595
600
|
this.match(CashScriptParser.T__1);
|
|
596
601
|
}
|
|
597
602
|
}
|
|
@@ -617,21 +622,21 @@ export class CashScriptParser extends Parser {
|
|
|
617
622
|
try {
|
|
618
623
|
this.enterOuterAlt(_localctx, 1);
|
|
619
624
|
{
|
|
620
|
-
this.state = 148;
|
|
621
|
-
this.typeName();
|
|
622
|
-
this.state = 149;
|
|
623
|
-
this.match(CashScriptParser.Identifier);
|
|
624
|
-
this.state = 150;
|
|
625
|
-
this.match(CashScriptParser.T__15);
|
|
626
625
|
this.state = 151;
|
|
627
626
|
this.typeName();
|
|
628
627
|
this.state = 152;
|
|
629
628
|
this.match(CashScriptParser.Identifier);
|
|
630
629
|
this.state = 153;
|
|
631
|
-
this.match(CashScriptParser.
|
|
630
|
+
this.match(CashScriptParser.T__15);
|
|
632
631
|
this.state = 154;
|
|
633
|
-
this.
|
|
632
|
+
this.typeName();
|
|
634
633
|
this.state = 155;
|
|
634
|
+
this.match(CashScriptParser.Identifier);
|
|
635
|
+
this.state = 156;
|
|
636
|
+
this.match(CashScriptParser.T__9);
|
|
637
|
+
this.state = 157;
|
|
638
|
+
this.expression(0);
|
|
639
|
+
this.state = 158;
|
|
635
640
|
this.match(CashScriptParser.T__1);
|
|
636
641
|
}
|
|
637
642
|
}
|
|
@@ -657,13 +662,13 @@ export class CashScriptParser extends Parser {
|
|
|
657
662
|
try {
|
|
658
663
|
this.enterOuterAlt(_localctx, 1);
|
|
659
664
|
{
|
|
660
|
-
this.state =
|
|
665
|
+
this.state = 160;
|
|
661
666
|
this.match(CashScriptParser.Identifier);
|
|
662
|
-
this.state =
|
|
667
|
+
this.state = 161;
|
|
663
668
|
this.match(CashScriptParser.T__9);
|
|
664
|
-
this.state =
|
|
669
|
+
this.state = 162;
|
|
665
670
|
this.expression(0);
|
|
666
|
-
this.state =
|
|
671
|
+
this.state = 163;
|
|
667
672
|
this.match(CashScriptParser.T__1);
|
|
668
673
|
}
|
|
669
674
|
}
|
|
@@ -689,19 +694,19 @@ export class CashScriptParser extends Parser {
|
|
|
689
694
|
try {
|
|
690
695
|
this.enterOuterAlt(_localctx, 1);
|
|
691
696
|
{
|
|
692
|
-
this.state =
|
|
697
|
+
this.state = 165;
|
|
693
698
|
this.match(CashScriptParser.T__17);
|
|
694
|
-
this.state =
|
|
699
|
+
this.state = 166;
|
|
695
700
|
this.match(CashScriptParser.T__14);
|
|
696
|
-
this.state =
|
|
701
|
+
this.state = 167;
|
|
697
702
|
this.match(CashScriptParser.TxVar);
|
|
698
|
-
this.state =
|
|
703
|
+
this.state = 168;
|
|
699
704
|
this.match(CashScriptParser.T__5);
|
|
700
|
-
this.state =
|
|
705
|
+
this.state = 169;
|
|
701
706
|
this.expression(0);
|
|
702
|
-
this.state =
|
|
707
|
+
this.state = 170;
|
|
703
708
|
this.match(CashScriptParser.T__16);
|
|
704
|
-
this.state =
|
|
709
|
+
this.state = 171;
|
|
705
710
|
this.match(CashScriptParser.T__1);
|
|
706
711
|
}
|
|
707
712
|
}
|
|
@@ -727,15 +732,15 @@ export class CashScriptParser extends Parser {
|
|
|
727
732
|
try {
|
|
728
733
|
this.enterOuterAlt(_localctx, 1);
|
|
729
734
|
{
|
|
730
|
-
this.state =
|
|
735
|
+
this.state = 173;
|
|
731
736
|
this.match(CashScriptParser.T__17);
|
|
732
|
-
this.state =
|
|
737
|
+
this.state = 174;
|
|
733
738
|
this.match(CashScriptParser.T__14);
|
|
734
|
-
this.state =
|
|
739
|
+
this.state = 175;
|
|
735
740
|
this.expression(0);
|
|
736
|
-
this.state =
|
|
741
|
+
this.state = 176;
|
|
737
742
|
this.match(CashScriptParser.T__16);
|
|
738
|
-
this.state =
|
|
743
|
+
this.state = 177;
|
|
739
744
|
this.match(CashScriptParser.T__1);
|
|
740
745
|
}
|
|
741
746
|
}
|
|
@@ -761,24 +766,24 @@ export class CashScriptParser extends Parser {
|
|
|
761
766
|
try {
|
|
762
767
|
this.enterOuterAlt(_localctx, 1);
|
|
763
768
|
{
|
|
764
|
-
this.state =
|
|
769
|
+
this.state = 179;
|
|
765
770
|
this.match(CashScriptParser.T__18);
|
|
766
|
-
this.state =
|
|
771
|
+
this.state = 180;
|
|
767
772
|
this.match(CashScriptParser.T__14);
|
|
768
|
-
this.state =
|
|
773
|
+
this.state = 181;
|
|
769
774
|
this.expression(0);
|
|
770
|
-
this.state =
|
|
775
|
+
this.state = 182;
|
|
771
776
|
this.match(CashScriptParser.T__16);
|
|
772
|
-
this.state = 180;
|
|
773
|
-
_localctx._ifBlock = this.block();
|
|
774
777
|
this.state = 183;
|
|
778
|
+
_localctx._ifBlock = this.block();
|
|
779
|
+
this.state = 186;
|
|
775
780
|
this._errHandler.sync(this);
|
|
776
781
|
switch (this.interpreter.adaptivePredict(this._input, 12, this._ctx)) {
|
|
777
782
|
case 1:
|
|
778
783
|
{
|
|
779
|
-
this.state =
|
|
784
|
+
this.state = 184;
|
|
780
785
|
this.match(CashScriptParser.T__19);
|
|
781
|
-
this.state =
|
|
786
|
+
this.state = 185;
|
|
782
787
|
_localctx._elseBlock = this.block();
|
|
783
788
|
}
|
|
784
789
|
break;
|
|
@@ -807,9 +812,9 @@ export class CashScriptParser extends Parser {
|
|
|
807
812
|
try {
|
|
808
813
|
this.enterOuterAlt(_localctx, 1);
|
|
809
814
|
{
|
|
810
|
-
this.state =
|
|
815
|
+
this.state = 188;
|
|
811
816
|
this.match(CashScriptParser.Identifier);
|
|
812
|
-
this.state =
|
|
817
|
+
this.state = 189;
|
|
813
818
|
this.expressionList();
|
|
814
819
|
}
|
|
815
820
|
}
|
|
@@ -837,45 +842,45 @@ export class CashScriptParser extends Parser {
|
|
|
837
842
|
let _alt;
|
|
838
843
|
this.enterOuterAlt(_localctx, 1);
|
|
839
844
|
{
|
|
840
|
-
this.state =
|
|
845
|
+
this.state = 191;
|
|
841
846
|
this.match(CashScriptParser.T__14);
|
|
842
|
-
this.state =
|
|
847
|
+
this.state = 203;
|
|
843
848
|
this._errHandler.sync(this);
|
|
844
849
|
_la = this._input.LA(1);
|
|
845
850
|
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)) {
|
|
846
851
|
{
|
|
847
|
-
this.state =
|
|
852
|
+
this.state = 192;
|
|
848
853
|
this.expression(0);
|
|
849
|
-
this.state =
|
|
854
|
+
this.state = 197;
|
|
850
855
|
this._errHandler.sync(this);
|
|
851
856
|
_alt = this.interpreter.adaptivePredict(this._input, 13, this._ctx);
|
|
852
857
|
while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) {
|
|
853
858
|
if (_alt === 1) {
|
|
854
859
|
{
|
|
855
860
|
{
|
|
856
|
-
this.state =
|
|
861
|
+
this.state = 193;
|
|
857
862
|
this.match(CashScriptParser.T__15);
|
|
858
|
-
this.state =
|
|
863
|
+
this.state = 194;
|
|
859
864
|
this.expression(0);
|
|
860
865
|
}
|
|
861
866
|
}
|
|
862
867
|
}
|
|
863
|
-
this.state =
|
|
868
|
+
this.state = 199;
|
|
864
869
|
this._errHandler.sync(this);
|
|
865
870
|
_alt = this.interpreter.adaptivePredict(this._input, 13, this._ctx);
|
|
866
871
|
}
|
|
867
|
-
this.state =
|
|
872
|
+
this.state = 201;
|
|
868
873
|
this._errHandler.sync(this);
|
|
869
874
|
_la = this._input.LA(1);
|
|
870
875
|
if (_la === CashScriptParser.T__15) {
|
|
871
876
|
{
|
|
872
|
-
this.state =
|
|
877
|
+
this.state = 200;
|
|
873
878
|
this.match(CashScriptParser.T__15);
|
|
874
879
|
}
|
|
875
880
|
}
|
|
876
881
|
}
|
|
877
882
|
}
|
|
878
|
-
this.state =
|
|
883
|
+
this.state = 205;
|
|
879
884
|
this.match(CashScriptParser.T__16);
|
|
880
885
|
}
|
|
881
886
|
}
|
|
@@ -910,7 +915,7 @@ export class CashScriptParser extends Parser {
|
|
|
910
915
|
let _alt;
|
|
911
916
|
this.enterOuterAlt(_localctx, 1);
|
|
912
917
|
{
|
|
913
|
-
this.state =
|
|
918
|
+
this.state = 260;
|
|
914
919
|
this._errHandler.sync(this);
|
|
915
920
|
switch (this.interpreter.adaptivePredict(this._input, 21, this._ctx)) {
|
|
916
921
|
case 1:
|
|
@@ -918,11 +923,11 @@ export class CashScriptParser extends Parser {
|
|
|
918
923
|
_localctx = new ParenthesisedContext(_localctx);
|
|
919
924
|
this._ctx = _localctx;
|
|
920
925
|
_prevctx = _localctx;
|
|
921
|
-
this.state =
|
|
926
|
+
this.state = 208;
|
|
922
927
|
this.match(CashScriptParser.T__14);
|
|
923
|
-
this.state =
|
|
928
|
+
this.state = 209;
|
|
924
929
|
this.expression(0);
|
|
925
|
-
this.state =
|
|
930
|
+
this.state = 210;
|
|
926
931
|
this.match(CashScriptParser.T__16);
|
|
927
932
|
}
|
|
928
933
|
break;
|
|
@@ -931,34 +936,34 @@ export class CashScriptParser extends Parser {
|
|
|
931
936
|
_localctx = new CastContext(_localctx);
|
|
932
937
|
this._ctx = _localctx;
|
|
933
938
|
_prevctx = _localctx;
|
|
934
|
-
this.state =
|
|
939
|
+
this.state = 212;
|
|
935
940
|
this.typeName();
|
|
936
|
-
this.state =
|
|
941
|
+
this.state = 213;
|
|
937
942
|
this.match(CashScriptParser.T__14);
|
|
938
|
-
this.state = 211;
|
|
939
|
-
_localctx._castable = this.expression(0);
|
|
940
943
|
this.state = 214;
|
|
944
|
+
_localctx._castable = this.expression(0);
|
|
945
|
+
this.state = 217;
|
|
941
946
|
this._errHandler.sync(this);
|
|
942
947
|
switch (this.interpreter.adaptivePredict(this._input, 16, this._ctx)) {
|
|
943
948
|
case 1:
|
|
944
949
|
{
|
|
945
|
-
this.state =
|
|
950
|
+
this.state = 215;
|
|
946
951
|
this.match(CashScriptParser.T__15);
|
|
947
|
-
this.state =
|
|
952
|
+
this.state = 216;
|
|
948
953
|
_localctx._size = this.expression(0);
|
|
949
954
|
}
|
|
950
955
|
break;
|
|
951
956
|
}
|
|
952
|
-
this.state =
|
|
957
|
+
this.state = 220;
|
|
953
958
|
this._errHandler.sync(this);
|
|
954
959
|
_la = this._input.LA(1);
|
|
955
960
|
if (_la === CashScriptParser.T__15) {
|
|
956
961
|
{
|
|
957
|
-
this.state =
|
|
962
|
+
this.state = 219;
|
|
958
963
|
this.match(CashScriptParser.T__15);
|
|
959
964
|
}
|
|
960
965
|
}
|
|
961
|
-
this.state =
|
|
966
|
+
this.state = 222;
|
|
962
967
|
this.match(CashScriptParser.T__16);
|
|
963
968
|
}
|
|
964
969
|
break;
|
|
@@ -967,7 +972,7 @@ export class CashScriptParser extends Parser {
|
|
|
967
972
|
_localctx = new FunctionCallExpressionContext(_localctx);
|
|
968
973
|
this._ctx = _localctx;
|
|
969
974
|
_prevctx = _localctx;
|
|
970
|
-
this.state =
|
|
975
|
+
this.state = 224;
|
|
971
976
|
this.functionCall();
|
|
972
977
|
}
|
|
973
978
|
break;
|
|
@@ -976,11 +981,11 @@ export class CashScriptParser extends Parser {
|
|
|
976
981
|
_localctx = new InstantiationContext(_localctx);
|
|
977
982
|
this._ctx = _localctx;
|
|
978
983
|
_prevctx = _localctx;
|
|
979
|
-
this.state =
|
|
984
|
+
this.state = 225;
|
|
980
985
|
this.match(CashScriptParser.T__20);
|
|
981
|
-
this.state =
|
|
986
|
+
this.state = 226;
|
|
982
987
|
this.match(CashScriptParser.Identifier);
|
|
983
|
-
this.state =
|
|
988
|
+
this.state = 227;
|
|
984
989
|
this.expressionList();
|
|
985
990
|
}
|
|
986
991
|
break;
|
|
@@ -989,15 +994,15 @@ export class CashScriptParser extends Parser {
|
|
|
989
994
|
_localctx = new UnaryIntrospectionOpContext(_localctx);
|
|
990
995
|
this._ctx = _localctx;
|
|
991
996
|
_prevctx = _localctx;
|
|
992
|
-
this.state =
|
|
997
|
+
this.state = 228;
|
|
993
998
|
_localctx._scope = this.match(CashScriptParser.T__23);
|
|
994
|
-
this.state =
|
|
999
|
+
this.state = 229;
|
|
995
1000
|
this.match(CashScriptParser.T__21);
|
|
996
|
-
this.state =
|
|
1001
|
+
this.state = 230;
|
|
997
1002
|
this.expression(0);
|
|
998
|
-
this.state =
|
|
1003
|
+
this.state = 231;
|
|
999
1004
|
this.match(CashScriptParser.T__22);
|
|
1000
|
-
this.state =
|
|
1005
|
+
this.state = 232;
|
|
1001
1006
|
_localctx._op = this._input.LT(1);
|
|
1002
1007
|
_la = this._input.LA(1);
|
|
1003
1008
|
if (!(_la === CashScriptParser.T__24 || _la === CashScriptParser.T__25)) {
|
|
@@ -1017,15 +1022,15 @@ export class CashScriptParser extends Parser {
|
|
|
1017
1022
|
_localctx = new UnaryIntrospectionOpContext(_localctx);
|
|
1018
1023
|
this._ctx = _localctx;
|
|
1019
1024
|
_prevctx = _localctx;
|
|
1020
|
-
this.state =
|
|
1025
|
+
this.state = 234;
|
|
1021
1026
|
_localctx._scope = this.match(CashScriptParser.T__26);
|
|
1022
|
-
this.state =
|
|
1027
|
+
this.state = 235;
|
|
1023
1028
|
this.match(CashScriptParser.T__21);
|
|
1024
|
-
this.state =
|
|
1029
|
+
this.state = 236;
|
|
1025
1030
|
this.expression(0);
|
|
1026
|
-
this.state =
|
|
1031
|
+
this.state = 237;
|
|
1027
1032
|
this.match(CashScriptParser.T__22);
|
|
1028
|
-
this.state =
|
|
1033
|
+
this.state = 238;
|
|
1029
1034
|
_localctx._op = this._input.LT(1);
|
|
1030
1035
|
_la = this._input.LA(1);
|
|
1031
1036
|
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))) {
|
|
@@ -1045,7 +1050,7 @@ export class CashScriptParser extends Parser {
|
|
|
1045
1050
|
_localctx = new UnaryOpContext(_localctx);
|
|
1046
1051
|
this._ctx = _localctx;
|
|
1047
1052
|
_prevctx = _localctx;
|
|
1048
|
-
this.state =
|
|
1053
|
+
this.state = 240;
|
|
1049
1054
|
_localctx._op = this._input.LT(1);
|
|
1050
1055
|
_la = this._input.LA(1);
|
|
1051
1056
|
if (!(_la === CashScriptParser.T__34 || _la === CashScriptParser.T__35)) {
|
|
@@ -1058,7 +1063,7 @@ export class CashScriptParser extends Parser {
|
|
|
1058
1063
|
this._errHandler.reportMatch(this);
|
|
1059
1064
|
this.consume();
|
|
1060
1065
|
}
|
|
1061
|
-
this.state =
|
|
1066
|
+
this.state = 241;
|
|
1062
1067
|
this.expression(14);
|
|
1063
1068
|
}
|
|
1064
1069
|
break;
|
|
@@ -1067,45 +1072,45 @@ export class CashScriptParser extends Parser {
|
|
|
1067
1072
|
_localctx = new ArrayContext(_localctx);
|
|
1068
1073
|
this._ctx = _localctx;
|
|
1069
1074
|
_prevctx = _localctx;
|
|
1070
|
-
this.state =
|
|
1075
|
+
this.state = 242;
|
|
1071
1076
|
this.match(CashScriptParser.T__21);
|
|
1072
|
-
this.state =
|
|
1077
|
+
this.state = 254;
|
|
1073
1078
|
this._errHandler.sync(this);
|
|
1074
1079
|
_la = this._input.LA(1);
|
|
1075
1080
|
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)) {
|
|
1076
1081
|
{
|
|
1077
|
-
this.state =
|
|
1082
|
+
this.state = 243;
|
|
1078
1083
|
this.expression(0);
|
|
1079
|
-
this.state =
|
|
1084
|
+
this.state = 248;
|
|
1080
1085
|
this._errHandler.sync(this);
|
|
1081
1086
|
_alt = this.interpreter.adaptivePredict(this._input, 18, this._ctx);
|
|
1082
1087
|
while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) {
|
|
1083
1088
|
if (_alt === 1) {
|
|
1084
1089
|
{
|
|
1085
1090
|
{
|
|
1086
|
-
this.state =
|
|
1091
|
+
this.state = 244;
|
|
1087
1092
|
this.match(CashScriptParser.T__15);
|
|
1088
|
-
this.state =
|
|
1093
|
+
this.state = 245;
|
|
1089
1094
|
this.expression(0);
|
|
1090
1095
|
}
|
|
1091
1096
|
}
|
|
1092
1097
|
}
|
|
1093
|
-
this.state =
|
|
1098
|
+
this.state = 250;
|
|
1094
1099
|
this._errHandler.sync(this);
|
|
1095
1100
|
_alt = this.interpreter.adaptivePredict(this._input, 18, this._ctx);
|
|
1096
1101
|
}
|
|
1097
|
-
this.state =
|
|
1102
|
+
this.state = 252;
|
|
1098
1103
|
this._errHandler.sync(this);
|
|
1099
1104
|
_la = this._input.LA(1);
|
|
1100
1105
|
if (_la === CashScriptParser.T__15) {
|
|
1101
1106
|
{
|
|
1102
|
-
this.state =
|
|
1107
|
+
this.state = 251;
|
|
1103
1108
|
this.match(CashScriptParser.T__15);
|
|
1104
1109
|
}
|
|
1105
1110
|
}
|
|
1106
1111
|
}
|
|
1107
1112
|
}
|
|
1108
|
-
this.state =
|
|
1113
|
+
this.state = 256;
|
|
1109
1114
|
this.match(CashScriptParser.T__22);
|
|
1110
1115
|
}
|
|
1111
1116
|
break;
|
|
@@ -1114,7 +1119,7 @@ export class CashScriptParser extends Parser {
|
|
|
1114
1119
|
_localctx = new NullaryOpContext(_localctx);
|
|
1115
1120
|
this._ctx = _localctx;
|
|
1116
1121
|
_prevctx = _localctx;
|
|
1117
|
-
this.state =
|
|
1122
|
+
this.state = 257;
|
|
1118
1123
|
this.match(CashScriptParser.NullaryOp);
|
|
1119
1124
|
}
|
|
1120
1125
|
break;
|
|
@@ -1123,7 +1128,7 @@ export class CashScriptParser extends Parser {
|
|
|
1123
1128
|
_localctx = new IdentifierContext(_localctx);
|
|
1124
1129
|
this._ctx = _localctx;
|
|
1125
1130
|
_prevctx = _localctx;
|
|
1126
|
-
this.state =
|
|
1131
|
+
this.state = 258;
|
|
1127
1132
|
this.match(CashScriptParser.Identifier);
|
|
1128
1133
|
}
|
|
1129
1134
|
break;
|
|
@@ -1132,13 +1137,13 @@ export class CashScriptParser extends Parser {
|
|
|
1132
1137
|
_localctx = new LiteralExpressionContext(_localctx);
|
|
1133
1138
|
this._ctx = _localctx;
|
|
1134
1139
|
_prevctx = _localctx;
|
|
1135
|
-
this.state =
|
|
1140
|
+
this.state = 259;
|
|
1136
1141
|
this.literal();
|
|
1137
1142
|
}
|
|
1138
1143
|
break;
|
|
1139
1144
|
}
|
|
1140
1145
|
this._ctx._stop = this._input.tryLT(-1);
|
|
1141
|
-
this.state =
|
|
1146
|
+
this.state = 303;
|
|
1142
1147
|
this._errHandler.sync(this);
|
|
1143
1148
|
_alt = this.interpreter.adaptivePredict(this._input, 23, this._ctx);
|
|
1144
1149
|
while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) {
|
|
@@ -1148,7 +1153,7 @@ export class CashScriptParser extends Parser {
|
|
|
1148
1153
|
}
|
|
1149
1154
|
_prevctx = _localctx;
|
|
1150
1155
|
{
|
|
1151
|
-
this.state =
|
|
1156
|
+
this.state = 301;
|
|
1152
1157
|
this._errHandler.sync(this);
|
|
1153
1158
|
switch (this.interpreter.adaptivePredict(this._input, 22, this._ctx)) {
|
|
1154
1159
|
case 1:
|
|
@@ -1156,11 +1161,11 @@ export class CashScriptParser extends Parser {
|
|
|
1156
1161
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1157
1162
|
_localctx._left = _prevctx;
|
|
1158
1163
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1159
|
-
this.state =
|
|
1164
|
+
this.state = 262;
|
|
1160
1165
|
if (!(this.precpred(this._ctx, 13))) {
|
|
1161
1166
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 13)");
|
|
1162
1167
|
}
|
|
1163
|
-
this.state =
|
|
1168
|
+
this.state = 263;
|
|
1164
1169
|
_localctx._op = this._input.LT(1);
|
|
1165
1170
|
_la = this._input.LA(1);
|
|
1166
1171
|
if (!(((((_la - 37)) & ~0x1F) === 0 && ((1 << (_la - 37)) & ((1 << (CashScriptParser.T__36 - 37)) | (1 << (CashScriptParser.T__37 - 37)) | (1 << (CashScriptParser.T__38 - 37)))) !== 0))) {
|
|
@@ -1173,7 +1178,7 @@ export class CashScriptParser extends Parser {
|
|
|
1173
1178
|
this._errHandler.reportMatch(this);
|
|
1174
1179
|
this.consume();
|
|
1175
1180
|
}
|
|
1176
|
-
this.state =
|
|
1181
|
+
this.state = 264;
|
|
1177
1182
|
_localctx._right = this.expression(14);
|
|
1178
1183
|
}
|
|
1179
1184
|
break;
|
|
@@ -1182,11 +1187,11 @@ export class CashScriptParser extends 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 = 265;
|
|
1186
1191
|
if (!(this.precpred(this._ctx, 12))) {
|
|
1187
1192
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 12)");
|
|
1188
1193
|
}
|
|
1189
|
-
this.state =
|
|
1194
|
+
this.state = 266;
|
|
1190
1195
|
_localctx._op = this._input.LT(1);
|
|
1191
1196
|
_la = this._input.LA(1);
|
|
1192
1197
|
if (!(_la === CashScriptParser.T__35 || _la === CashScriptParser.T__39)) {
|
|
@@ -1199,7 +1204,7 @@ export class CashScriptParser extends Parser {
|
|
|
1199
1204
|
this._errHandler.reportMatch(this);
|
|
1200
1205
|
this.consume();
|
|
1201
1206
|
}
|
|
1202
|
-
this.state =
|
|
1207
|
+
this.state = 267;
|
|
1203
1208
|
_localctx._right = this.expression(13);
|
|
1204
1209
|
}
|
|
1205
1210
|
break;
|
|
@@ -1208,11 +1213,11 @@ export class CashScriptParser extends 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 = 268;
|
|
1212
1217
|
if (!(this.precpred(this._ctx, 11))) {
|
|
1213
1218
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 11)");
|
|
1214
1219
|
}
|
|
1215
|
-
this.state =
|
|
1220
|
+
this.state = 269;
|
|
1216
1221
|
_localctx._op = this._input.LT(1);
|
|
1217
1222
|
_la = this._input.LA(1);
|
|
1218
1223
|
if (!((((_la) & ~0x1F) === 0 && ((1 << _la) & ((1 << CashScriptParser.T__5) | (1 << CashScriptParser.T__6) | (1 << CashScriptParser.T__7) | (1 << CashScriptParser.T__8))) !== 0))) {
|
|
@@ -1225,7 +1230,7 @@ export class CashScriptParser extends Parser {
|
|
|
1225
1230
|
this._errHandler.reportMatch(this);
|
|
1226
1231
|
this.consume();
|
|
1227
1232
|
}
|
|
1228
|
-
this.state =
|
|
1233
|
+
this.state = 270;
|
|
1229
1234
|
_localctx._right = this.expression(12);
|
|
1230
1235
|
}
|
|
1231
1236
|
break;
|
|
@@ -1234,11 +1239,11 @@ export class CashScriptParser extends 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 = 271;
|
|
1238
1243
|
if (!(this.precpred(this._ctx, 10))) {
|
|
1239
1244
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 10)");
|
|
1240
1245
|
}
|
|
1241
|
-
this.state =
|
|
1246
|
+
this.state = 272;
|
|
1242
1247
|
_localctx._op = this._input.LT(1);
|
|
1243
1248
|
_la = this._input.LA(1);
|
|
1244
1249
|
if (!(_la === CashScriptParser.T__40 || _la === CashScriptParser.T__41)) {
|
|
@@ -1251,7 +1256,7 @@ export class CashScriptParser extends Parser {
|
|
|
1251
1256
|
this._errHandler.reportMatch(this);
|
|
1252
1257
|
this.consume();
|
|
1253
1258
|
}
|
|
1254
|
-
this.state =
|
|
1259
|
+
this.state = 273;
|
|
1255
1260
|
_localctx._right = this.expression(11);
|
|
1256
1261
|
}
|
|
1257
1262
|
break;
|
|
@@ -1260,13 +1265,13 @@ export class CashScriptParser extends 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 = 274;
|
|
1264
1269
|
if (!(this.precpred(this._ctx, 9))) {
|
|
1265
1270
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 9)");
|
|
1266
1271
|
}
|
|
1267
|
-
this.state =
|
|
1272
|
+
this.state = 275;
|
|
1268
1273
|
_localctx._op = this.match(CashScriptParser.T__42);
|
|
1269
|
-
this.state =
|
|
1274
|
+
this.state = 276;
|
|
1270
1275
|
_localctx._right = this.expression(10);
|
|
1271
1276
|
}
|
|
1272
1277
|
break;
|
|
@@ -1275,13 +1280,13 @@ export class CashScriptParser extends Parser {
|
|
|
1275
1280
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1276
1281
|
_localctx._left = _prevctx;
|
|
1277
1282
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1278
|
-
this.state =
|
|
1283
|
+
this.state = 277;
|
|
1279
1284
|
if (!(this.precpred(this._ctx, 8))) {
|
|
1280
1285
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 8)");
|
|
1281
1286
|
}
|
|
1282
|
-
this.state =
|
|
1287
|
+
this.state = 278;
|
|
1283
1288
|
_localctx._op = this.match(CashScriptParser.T__3);
|
|
1284
|
-
this.state =
|
|
1289
|
+
this.state = 279;
|
|
1285
1290
|
_localctx._right = this.expression(9);
|
|
1286
1291
|
}
|
|
1287
1292
|
break;
|
|
@@ -1290,13 +1295,13 @@ export class CashScriptParser extends Parser {
|
|
|
1290
1295
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1291
1296
|
_localctx._left = _prevctx;
|
|
1292
1297
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1293
|
-
this.state =
|
|
1298
|
+
this.state = 280;
|
|
1294
1299
|
if (!(this.precpred(this._ctx, 7))) {
|
|
1295
1300
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 7)");
|
|
1296
1301
|
}
|
|
1297
|
-
this.state =
|
|
1302
|
+
this.state = 281;
|
|
1298
1303
|
_localctx._op = this.match(CashScriptParser.T__43);
|
|
1299
|
-
this.state =
|
|
1304
|
+
this.state = 282;
|
|
1300
1305
|
_localctx._right = this.expression(8);
|
|
1301
1306
|
}
|
|
1302
1307
|
break;
|
|
@@ -1305,13 +1310,13 @@ export class CashScriptParser extends Parser {
|
|
|
1305
1310
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1306
1311
|
_localctx._left = _prevctx;
|
|
1307
1312
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1308
|
-
this.state =
|
|
1313
|
+
this.state = 283;
|
|
1309
1314
|
if (!(this.precpred(this._ctx, 6))) {
|
|
1310
1315
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 6)");
|
|
1311
1316
|
}
|
|
1312
|
-
this.state =
|
|
1317
|
+
this.state = 284;
|
|
1313
1318
|
_localctx._op = this.match(CashScriptParser.T__44);
|
|
1314
|
-
this.state =
|
|
1319
|
+
this.state = 285;
|
|
1315
1320
|
_localctx._right = this.expression(7);
|
|
1316
1321
|
}
|
|
1317
1322
|
break;
|
|
@@ -1320,13 +1325,13 @@ export class CashScriptParser extends Parser {
|
|
|
1320
1325
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1321
1326
|
_localctx._left = _prevctx;
|
|
1322
1327
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1323
|
-
this.state =
|
|
1328
|
+
this.state = 286;
|
|
1324
1329
|
if (!(this.precpred(this._ctx, 5))) {
|
|
1325
1330
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");
|
|
1326
1331
|
}
|
|
1327
|
-
this.state =
|
|
1332
|
+
this.state = 287;
|
|
1328
1333
|
_localctx._op = this.match(CashScriptParser.T__45);
|
|
1329
|
-
this.state =
|
|
1334
|
+
this.state = 288;
|
|
1330
1335
|
_localctx._right = this.expression(6);
|
|
1331
1336
|
}
|
|
1332
1337
|
break;
|
|
@@ -1334,15 +1339,15 @@ export class CashScriptParser extends Parser {
|
|
|
1334
1339
|
{
|
|
1335
1340
|
_localctx = new TupleIndexOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1336
1341
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1337
|
-
this.state =
|
|
1342
|
+
this.state = 289;
|
|
1338
1343
|
if (!(this.precpred(this._ctx, 19))) {
|
|
1339
1344
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 19)");
|
|
1340
1345
|
}
|
|
1341
|
-
this.state =
|
|
1346
|
+
this.state = 290;
|
|
1342
1347
|
this.match(CashScriptParser.T__21);
|
|
1343
|
-
this.state =
|
|
1348
|
+
this.state = 291;
|
|
1344
1349
|
_localctx._index = this.match(CashScriptParser.NumberLiteral);
|
|
1345
|
-
this.state =
|
|
1350
|
+
this.state = 292;
|
|
1346
1351
|
this.match(CashScriptParser.T__22);
|
|
1347
1352
|
}
|
|
1348
1353
|
break;
|
|
@@ -1350,11 +1355,11 @@ export class CashScriptParser extends Parser {
|
|
|
1350
1355
|
{
|
|
1351
1356
|
_localctx = new UnaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1352
1357
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1353
|
-
this.state =
|
|
1358
|
+
this.state = 293;
|
|
1354
1359
|
if (!(this.precpred(this._ctx, 16))) {
|
|
1355
1360
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 16)");
|
|
1356
1361
|
}
|
|
1357
|
-
this.state =
|
|
1362
|
+
this.state = 294;
|
|
1358
1363
|
_localctx._op = this._input.LT(1);
|
|
1359
1364
|
_la = this._input.LA(1);
|
|
1360
1365
|
if (!(_la === CashScriptParser.T__31 || _la === CashScriptParser.T__32)) {
|
|
@@ -1374,24 +1379,24 @@ export class CashScriptParser extends Parser {
|
|
|
1374
1379
|
_localctx = new BinaryOpContext(new ExpressionContext(_parentctx, _parentState));
|
|
1375
1380
|
_localctx._left = _prevctx;
|
|
1376
1381
|
this.pushNewRecursionContext(_localctx, _startState, CashScriptParser.RULE_expression);
|
|
1377
|
-
this.state =
|
|
1382
|
+
this.state = 295;
|
|
1378
1383
|
if (!(this.precpred(this._ctx, 15))) {
|
|
1379
1384
|
throw this.createFailedPredicateException("this.precpred(this._ctx, 15)");
|
|
1380
1385
|
}
|
|
1381
|
-
this.state =
|
|
1386
|
+
this.state = 296;
|
|
1382
1387
|
_localctx._op = this.match(CashScriptParser.T__33);
|
|
1383
|
-
this.state =
|
|
1388
|
+
this.state = 297;
|
|
1384
1389
|
this.match(CashScriptParser.T__14);
|
|
1385
|
-
this.state =
|
|
1390
|
+
this.state = 298;
|
|
1386
1391
|
_localctx._right = this.expression(0);
|
|
1387
|
-
this.state =
|
|
1392
|
+
this.state = 299;
|
|
1388
1393
|
this.match(CashScriptParser.T__16);
|
|
1389
1394
|
}
|
|
1390
1395
|
break;
|
|
1391
1396
|
}
|
|
1392
1397
|
}
|
|
1393
1398
|
}
|
|
1394
|
-
this.state =
|
|
1399
|
+
this.state = 305;
|
|
1395
1400
|
this._errHandler.sync(this);
|
|
1396
1401
|
_alt = this.interpreter.adaptivePredict(this._input, 23, this._ctx);
|
|
1397
1402
|
}
|
|
@@ -1419,7 +1424,7 @@ export class CashScriptParser extends Parser {
|
|
|
1419
1424
|
try {
|
|
1420
1425
|
this.enterOuterAlt(_localctx, 1);
|
|
1421
1426
|
{
|
|
1422
|
-
this.state =
|
|
1427
|
+
this.state = 306;
|
|
1423
1428
|
this.match(CashScriptParser.T__46);
|
|
1424
1429
|
}
|
|
1425
1430
|
}
|
|
@@ -1443,41 +1448,41 @@ export class CashScriptParser extends Parser {
|
|
|
1443
1448
|
let _localctx = new LiteralContext(this._ctx, this.state);
|
|
1444
1449
|
this.enterRule(_localctx, 44, CashScriptParser.RULE_literal);
|
|
1445
1450
|
try {
|
|
1446
|
-
this.state =
|
|
1451
|
+
this.state = 313;
|
|
1447
1452
|
this._errHandler.sync(this);
|
|
1448
1453
|
switch (this._input.LA(1)) {
|
|
1449
1454
|
case CashScriptParser.BooleanLiteral:
|
|
1450
1455
|
this.enterOuterAlt(_localctx, 1);
|
|
1451
1456
|
{
|
|
1452
|
-
this.state =
|
|
1457
|
+
this.state = 308;
|
|
1453
1458
|
this.match(CashScriptParser.BooleanLiteral);
|
|
1454
1459
|
}
|
|
1455
1460
|
break;
|
|
1456
1461
|
case CashScriptParser.NumberLiteral:
|
|
1457
1462
|
this.enterOuterAlt(_localctx, 2);
|
|
1458
1463
|
{
|
|
1459
|
-
this.state =
|
|
1464
|
+
this.state = 309;
|
|
1460
1465
|
this.numberLiteral();
|
|
1461
1466
|
}
|
|
1462
1467
|
break;
|
|
1463
1468
|
case CashScriptParser.StringLiteral:
|
|
1464
1469
|
this.enterOuterAlt(_localctx, 3);
|
|
1465
1470
|
{
|
|
1466
|
-
this.state =
|
|
1471
|
+
this.state = 310;
|
|
1467
1472
|
this.match(CashScriptParser.StringLiteral);
|
|
1468
1473
|
}
|
|
1469
1474
|
break;
|
|
1470
1475
|
case CashScriptParser.DateLiteral:
|
|
1471
1476
|
this.enterOuterAlt(_localctx, 4);
|
|
1472
1477
|
{
|
|
1473
|
-
this.state =
|
|
1478
|
+
this.state = 311;
|
|
1474
1479
|
this.match(CashScriptParser.DateLiteral);
|
|
1475
1480
|
}
|
|
1476
1481
|
break;
|
|
1477
1482
|
case CashScriptParser.HexLiteral:
|
|
1478
1483
|
this.enterOuterAlt(_localctx, 5);
|
|
1479
1484
|
{
|
|
1480
|
-
this.state =
|
|
1485
|
+
this.state = 312;
|
|
1481
1486
|
this.match(CashScriptParser.HexLiteral);
|
|
1482
1487
|
}
|
|
1483
1488
|
break;
|
|
@@ -1507,14 +1512,14 @@ export class CashScriptParser extends Parser {
|
|
|
1507
1512
|
try {
|
|
1508
1513
|
this.enterOuterAlt(_localctx, 1);
|
|
1509
1514
|
{
|
|
1510
|
-
this.state =
|
|
1515
|
+
this.state = 315;
|
|
1511
1516
|
this.match(CashScriptParser.NumberLiteral);
|
|
1512
|
-
this.state =
|
|
1517
|
+
this.state = 317;
|
|
1513
1518
|
this._errHandler.sync(this);
|
|
1514
1519
|
switch (this.interpreter.adaptivePredict(this._input, 25, this._ctx)) {
|
|
1515
1520
|
case 1:
|
|
1516
1521
|
{
|
|
1517
|
-
this.state =
|
|
1522
|
+
this.state = 316;
|
|
1518
1523
|
this.match(CashScriptParser.NumberUnit);
|
|
1519
1524
|
}
|
|
1520
1525
|
break;
|
|
@@ -1544,7 +1549,7 @@ export class CashScriptParser extends Parser {
|
|
|
1544
1549
|
try {
|
|
1545
1550
|
this.enterOuterAlt(_localctx, 1);
|
|
1546
1551
|
{
|
|
1547
|
-
this.state =
|
|
1552
|
+
this.state = 319;
|
|
1548
1553
|
_la = this._input.LA(1);
|
|
1549
1554
|
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))) {
|
|
1550
1555
|
this._errHandler.recoverInline(this);
|
|
@@ -1742,7 +1747,7 @@ CashScriptParser._SYMBOLIC_NAMES = [
|
|
|
1742
1747
|
"COMMENT", "LINE_COMMENT",
|
|
1743
1748
|
];
|
|
1744
1749
|
CashScriptParser.VOCABULARY = new VocabularyImpl(CashScriptParser._LITERAL_NAMES, CashScriptParser._SYMBOLIC_NAMES, []);
|
|
1745
|
-
CashScriptParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03F\
|
|
1750
|
+
CashScriptParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03F\u0144\x04\x02" +
|
|
1746
1751
|
"\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07" +
|
|
1747
1752
|
"\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" +
|
|
1748
1753
|
"\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12\x04" +
|
|
@@ -1755,143 +1760,145 @@ CashScriptParser._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8
|
|
|
1755
1760
|
"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" +
|
|
1756
1761
|
"\n\x0E\no\v\n\x03\n\x05\nr\n\n\x05\nt\n\n\x03\n\x03\n\x03\v\x03\v\x03" +
|
|
1757
1762
|
"\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" +
|
|
1758
|
-
"\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x05\r\x8C\n\r\x03\x0E\x03\x0E\
|
|
1759
|
-
"\x0E\x90\n\x0E\
|
|
1760
|
-
"\x03\
|
|
1761
|
-
"\x03\
|
|
1762
|
-
"\x03\x11\x03\x11\x03\
|
|
1763
|
-
"\x03\
|
|
1764
|
-
"\
|
|
1765
|
-
"\
|
|
1766
|
-
"\x15\
|
|
1767
|
-
"\x16\x03\x16\x03\x16\
|
|
1763
|
+
"\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x05\r\x8C\n\r\x03\x0E\x03\x0E\x07" +
|
|
1764
|
+
"\x0E\x90\n\x0E\f\x0E\x0E\x0E\x93\v\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E" +
|
|
1765
|
+
"\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F" +
|
|
1766
|
+
"\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10\x03\x11\x03\x11\x03\x11" +
|
|
1767
|
+
"\x03\x11\x03\x11\x03\x11\x03\x11\x03\x11\x03\x12\x03\x12\x03\x12\x03\x12" +
|
|
1768
|
+
"\x03\x12\x03\x12\x03\x13\x03\x13\x03\x13\x03\x13\x03\x13\x03\x13\x03\x13" +
|
|
1769
|
+
"\x05\x13\xBD\n\x13\x03\x14\x03\x14\x03\x14\x03\x15\x03\x15\x03\x15\x03" +
|
|
1770
|
+
"\x15\x07\x15\xC6\n\x15\f\x15\x0E\x15\xC9\v\x15\x03\x15\x05\x15\xCC\n\x15" +
|
|
1771
|
+
"\x05\x15\xCE\n\x15\x03\x15\x03\x15\x03\x16\x03\x16\x03\x16\x03\x16\x03" +
|
|
1772
|
+
"\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x05\x16\xDC\n\x16\x03\x16" +
|
|
1773
|
+
"\x05\x16\xDF\n\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03" +
|
|
1774
|
+
"\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03" +
|
|
1775
|
+
"\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x07" +
|
|
1776
|
+
"\x16\xF9\n\x16\f\x16\x0E\x16\xFC\v\x16\x03\x16\x05\x16\xFF\n\x16\x05\x16" +
|
|
1777
|
+
"\u0101\n\x16\x03\x16\x03\x16\x03\x16\x03\x16\x05\x16\u0107\n\x16\x03\x16" +
|
|
1768
1778
|
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16" +
|
|
1769
1779
|
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16" +
|
|
1770
|
-
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\
|
|
1771
|
-
"\
|
|
1772
|
-
"\x03\x16\x03\x16\
|
|
1773
|
-
"\
|
|
1774
|
-
"\
|
|
1775
|
-
"\
|
|
1776
|
-
"\
|
|
1777
|
-
"\
|
|
1778
|
-
"\
|
|
1779
|
-
"
|
|
1780
|
-
"\
|
|
1781
|
-
"\x02\
|
|
1782
|
-
"\
|
|
1783
|
-
"\
|
|
1784
|
-
"\
|
|
1785
|
-
"\
|
|
1786
|
-
"\
|
|
1787
|
-
"\x03\x02\x02\
|
|
1788
|
-
"\x03\x02\x02\x02\
|
|
1789
|
-
"\
|
|
1790
|
-
"\x02
|
|
1791
|
-
"\
|
|
1792
|
-
"
|
|
1793
|
-
"
|
|
1794
|
-
"
|
|
1795
|
-
"\x02
|
|
1796
|
-
"\
|
|
1797
|
-
"\x02\
|
|
1798
|
-
"\x02\
|
|
1799
|
-
"\
|
|
1800
|
-
"
|
|
1801
|
-
"
|
|
1802
|
-
"
|
|
1803
|
-
"\x02
|
|
1804
|
-
"
|
|
1805
|
-
"
|
|
1806
|
-
"\
|
|
1807
|
-
"
|
|
1808
|
-
"
|
|
1809
|
-
"
|
|
1810
|
-
"
|
|
1811
|
-
"
|
|
1812
|
-
"\x02
|
|
1813
|
-
"\x03\x02\x02\x02\
|
|
1814
|
-
"\
|
|
1815
|
-
"\x02\
|
|
1816
|
-
"\
|
|
1817
|
-
"\
|
|
1818
|
-
"\
|
|
1819
|
-
"\
|
|
1820
|
-
"\
|
|
1821
|
-
"\
|
|
1822
|
-
"\
|
|
1823
|
-
"\
|
|
1824
|
-
"
|
|
1825
|
-
"\
|
|
1826
|
-
"\
|
|
1827
|
-
"\
|
|
1828
|
-
"\
|
|
1829
|
-
"\
|
|
1830
|
-
"\
|
|
1831
|
-
"\
|
|
1832
|
-
"\
|
|
1833
|
-
"\
|
|
1834
|
-
"\x03\x02\x02\x02\
|
|
1835
|
-
"\
|
|
1836
|
-
"\x02\
|
|
1837
|
-
"\x02\xC2\
|
|
1838
|
-
"\x02\
|
|
1839
|
-
"\
|
|
1840
|
-
"\
|
|
1841
|
-
"\
|
|
1842
|
-
"\x02\
|
|
1843
|
-
"\
|
|
1844
|
-
"\
|
|
1845
|
-
"\
|
|
1846
|
-
"\
|
|
1847
|
-
"\
|
|
1848
|
-
"\
|
|
1849
|
-
"\x02\
|
|
1850
|
-
"\
|
|
1851
|
-
"\
|
|
1852
|
-
"\
|
|
1853
|
-
"\
|
|
1854
|
-
"\
|
|
1855
|
-
"\
|
|
1856
|
-
"\
|
|
1857
|
-
"\
|
|
1858
|
-
"\
|
|
1859
|
-
"\
|
|
1860
|
-
"\
|
|
1861
|
-
"\
|
|
1862
|
-
"\
|
|
1863
|
-
"\
|
|
1864
|
-
"\
|
|
1865
|
-
"\
|
|
1866
|
-
"\f\
|
|
1867
|
-
"\
|
|
1868
|
-
"\
|
|
1869
|
-
"\
|
|
1870
|
-
"\
|
|
1871
|
-
"
|
|
1872
|
-
"
|
|
1873
|
-
"\
|
|
1874
|
-
"\
|
|
1875
|
-
"\
|
|
1876
|
-
"\
|
|
1877
|
-
"\
|
|
1878
|
-
"
|
|
1879
|
-
"\
|
|
1880
|
-
"\
|
|
1881
|
-
"\x02\x02\x02\
|
|
1882
|
-
"\
|
|
1883
|
-
"\x02\x02\
|
|
1884
|
-
"\
|
|
1885
|
-
"\x02\x02\
|
|
1886
|
-
"\
|
|
1887
|
-
"\u0139\
|
|
1888
|
-
"\
|
|
1889
|
-
"\x02\x02\
|
|
1890
|
-
"\
|
|
1891
|
-
"\
|
|
1892
|
-
"\x02\x02\x02\u013C\u013D\x03\x02\x02\x02\u013D1\x03\x02\x02\x02\u013E" +
|
|
1893
|
-
"\u013F\t\v\x02\x02\u013F3\x03\x02\x02\x02\x1C7FIVbmqs~\x83\x8B\x8F\xB9" +
|
|
1894
|
-
"\xC4\xC8\xCA\xD8\xDB\xF7\xFB\xFD\u0103\u012C\u012E\u0138\u013C";
|
|
1780
|
+
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16" +
|
|
1781
|
+
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16" +
|
|
1782
|
+
"\x03\x16\x03\x16\x07\x16\u0130\n\x16\f\x16\x0E\x16\u0133\v\x16\x03\x17" +
|
|
1783
|
+
"\x03\x17\x03\x18\x03\x18\x03\x18\x03\x18\x03\x18\x05\x18\u013C\n\x18\x03" +
|
|
1784
|
+
"\x19\x03\x19\x05\x19\u0140\n\x19\x03\x1A\x03\x1A\x03\x1A\x02\x02\x03*" +
|
|
1785
|
+
"\x1B\x02\x02\x04\x02\x06\x02\b\x02\n\x02\f\x02\x0E\x02\x10\x02\x12\x02" +
|
|
1786
|
+
"\x14\x02\x16\x02\x18\x02\x1A\x02\x1C\x02\x1E\x02 \x02\"\x02$\x02&\x02" +
|
|
1787
|
+
"(\x02*\x02,\x02.\x020\x022\x02\x02\f\x03\x02\x06\f\x03\x02\x1B\x1C\x04" +
|
|
1788
|
+
"\x02\x1B\x1C\x1E!\x03\x02%&\x03\x02\')\x04\x02&&**\x03\x02\b\v\x03\x02" +
|
|
1789
|
+
"+,\x03\x02\"#\x04\x0227<<\x02\u015E\x027\x03\x02\x02\x02\x04=\x03\x02" +
|
|
1790
|
+
"\x02\x02\x06B\x03\x02\x02\x02\bD\x03\x02\x02\x02\nI\x03\x02\x02\x02\f" +
|
|
1791
|
+
"M\x03\x02\x02\x02\x0EO\x03\x02\x02\x02\x10[\x03\x02\x02\x02\x12g\x03\x02" +
|
|
1792
|
+
"\x02\x02\x14w\x03\x02\x02\x02\x16\x83\x03\x02\x02\x02\x18\x8B\x03\x02" +
|
|
1793
|
+
"\x02\x02\x1A\x8D\x03\x02\x02\x02\x1C\x99\x03\x02\x02\x02\x1E\xA2\x03\x02" +
|
|
1794
|
+
"\x02\x02 \xA7\x03\x02\x02\x02\"\xAF\x03\x02\x02\x02$\xB5\x03\x02\x02\x02" +
|
|
1795
|
+
"&\xBE\x03\x02\x02\x02(\xC1\x03\x02\x02\x02*\u0106\x03\x02\x02\x02,\u0134" +
|
|
1796
|
+
"\x03\x02\x02\x02.\u013B\x03\x02\x02\x020\u013D\x03\x02\x02\x022\u0141" +
|
|
1797
|
+
"\x03\x02\x02\x0246\x05\x04\x03\x0254\x03\x02\x02\x0269\x03\x02\x02\x02" +
|
|
1798
|
+
"75\x03\x02\x02\x0278\x03\x02\x02\x028:\x03\x02\x02\x0297\x03\x02\x02\x02" +
|
|
1799
|
+
":;\x05\x0E\b\x02;<\x07\x02\x02\x03<\x03\x03\x02\x02\x02=>\x07\x03\x02" +
|
|
1800
|
+
"\x02>?\x05\x06\x04\x02?@\x05\b\x05\x02@A\x07\x04\x02\x02A\x05\x03\x02" +
|
|
1801
|
+
"\x02\x02BC\x07\x05\x02\x02C\x07\x03\x02\x02\x02DF\x05\n\x06\x02EG\x05" +
|
|
1802
|
+
"\n\x06\x02FE\x03\x02\x02\x02FG\x03\x02\x02\x02G\t\x03\x02\x02\x02HJ\x05" +
|
|
1803
|
+
"\f\x07\x02IH\x03\x02\x02\x02IJ\x03\x02\x02\x02JK\x03\x02\x02\x02KL\x07" +
|
|
1804
|
+
"8\x02\x02L\v\x03\x02\x02\x02MN\t\x02\x02\x02N\r\x03\x02\x02\x02OP\x07" +
|
|
1805
|
+
"\r\x02\x02PQ\x07C\x02\x02QR\x05\x12\n\x02RV\x07\x0E\x02\x02SU\x05\x10" +
|
|
1806
|
+
"\t\x02TS\x03\x02\x02\x02UX\x03\x02\x02\x02VT\x03\x02\x02\x02VW\x03\x02" +
|
|
1807
|
+
"\x02\x02WY\x03\x02\x02\x02XV\x03\x02\x02\x02YZ\x07\x0F\x02\x02Z\x0F\x03" +
|
|
1808
|
+
"\x02\x02\x02[\\\x07\x10\x02\x02\\]\x07C\x02\x02]^\x05\x12\n\x02^b\x07" +
|
|
1809
|
+
"\x0E\x02\x02_a\x05\x18\r\x02`_\x03\x02\x02\x02ad\x03\x02\x02\x02b`\x03" +
|
|
1810
|
+
"\x02\x02\x02bc\x03\x02\x02\x02ce\x03\x02\x02\x02db\x03\x02\x02\x02ef\x07" +
|
|
1811
|
+
"\x0F\x02\x02f\x11\x03\x02\x02\x02gs\x07\x11\x02\x02hm\x05\x14\v\x02ij" +
|
|
1812
|
+
"\x07\x12\x02\x02jl\x05\x14\v\x02ki\x03\x02\x02\x02lo\x03\x02\x02\x02m" +
|
|
1813
|
+
"k\x03\x02\x02\x02mn\x03\x02\x02\x02nq\x03\x02\x02\x02om\x03\x02\x02\x02" +
|
|
1814
|
+
"pr\x07\x12\x02\x02qp\x03\x02\x02\x02qr\x03\x02\x02\x02rt\x03\x02\x02\x02" +
|
|
1815
|
+
"sh\x03\x02\x02\x02st\x03\x02\x02\x02tu\x03\x02\x02\x02uv\x07\x13\x02\x02" +
|
|
1816
|
+
"v\x13\x03\x02\x02\x02wx\x052\x1A\x02xy\x07C\x02\x02y\x15\x03\x02\x02\x02" +
|
|
1817
|
+
"z~\x07\x0E\x02\x02{}\x05\x18\r\x02|{\x03\x02\x02\x02}\x80\x03\x02\x02" +
|
|
1818
|
+
"\x02~|\x03\x02\x02\x02~\x7F\x03\x02\x02\x02\x7F\x81\x03\x02\x02\x02\x80" +
|
|
1819
|
+
"~\x03\x02\x02\x02\x81\x84\x07\x0F\x02\x02\x82\x84\x05\x18\r\x02\x83z\x03" +
|
|
1820
|
+
"\x02\x02\x02\x83\x82\x03\x02\x02\x02\x84\x17\x03\x02\x02\x02\x85\x8C\x05" +
|
|
1821
|
+
"\x1A\x0E\x02\x86\x8C\x05\x1C\x0F\x02\x87\x8C\x05\x1E\x10\x02\x88\x8C\x05" +
|
|
1822
|
+
" \x11\x02\x89\x8C\x05\"\x12\x02\x8A\x8C\x05$\x13\x02\x8B\x85\x03\x02\x02" +
|
|
1823
|
+
"\x02\x8B\x86\x03\x02\x02\x02\x8B\x87\x03\x02\x02\x02\x8B\x88\x03\x02\x02" +
|
|
1824
|
+
"\x02\x8B\x89\x03\x02\x02\x02\x8B\x8A\x03\x02\x02\x02\x8C\x19\x03\x02\x02" +
|
|
1825
|
+
"\x02\x8D\x91\x052\x1A\x02\x8E\x90\x05,\x17\x02\x8F\x8E\x03\x02\x02\x02" +
|
|
1826
|
+
"\x90\x93\x03\x02\x02\x02\x91\x8F\x03\x02\x02\x02\x91\x92\x03\x02\x02\x02" +
|
|
1827
|
+
"\x92\x94\x03\x02\x02\x02\x93\x91\x03\x02\x02\x02\x94\x95\x07C\x02\x02" +
|
|
1828
|
+
"\x95\x96\x07\f\x02\x02\x96\x97\x05*\x16\x02\x97\x98\x07\x04\x02\x02\x98" +
|
|
1829
|
+
"\x1B\x03\x02\x02\x02\x99\x9A\x052\x1A\x02\x9A\x9B\x07C\x02\x02\x9B\x9C" +
|
|
1830
|
+
"\x07\x12\x02\x02\x9C\x9D\x052\x1A\x02\x9D\x9E\x07C\x02\x02\x9E\x9F\x07" +
|
|
1831
|
+
"\f\x02\x02\x9F\xA0\x05*\x16\x02\xA0\xA1\x07\x04\x02\x02\xA1\x1D\x03\x02" +
|
|
1832
|
+
"\x02\x02\xA2\xA3\x07C\x02\x02\xA3\xA4\x07\f\x02\x02\xA4\xA5\x05*\x16\x02" +
|
|
1833
|
+
"\xA5\xA6\x07\x04\x02\x02\xA6\x1F\x03\x02\x02\x02\xA7\xA8\x07\x14\x02\x02" +
|
|
1834
|
+
"\xA8\xA9\x07\x11\x02\x02\xA9\xAA\x07A\x02\x02\xAA\xAB\x07\b\x02\x02\xAB" +
|
|
1835
|
+
"\xAC\x05*\x16\x02\xAC\xAD\x07\x13\x02\x02\xAD\xAE\x07\x04\x02\x02\xAE" +
|
|
1836
|
+
"!\x03\x02\x02\x02\xAF\xB0\x07\x14\x02\x02\xB0\xB1\x07\x11\x02\x02\xB1" +
|
|
1837
|
+
"\xB2\x05*\x16\x02\xB2\xB3\x07\x13\x02\x02\xB3\xB4\x07\x04\x02\x02\xB4" +
|
|
1838
|
+
"#\x03\x02\x02\x02\xB5\xB6\x07\x15\x02\x02\xB6\xB7\x07\x11\x02\x02\xB7" +
|
|
1839
|
+
"\xB8\x05*\x16\x02\xB8\xB9\x07\x13\x02\x02\xB9\xBC\x05\x16\f\x02\xBA\xBB" +
|
|
1840
|
+
"\x07\x16\x02\x02\xBB\xBD\x05\x16\f\x02\xBC\xBA\x03\x02\x02\x02\xBC\xBD" +
|
|
1841
|
+
"\x03\x02\x02\x02\xBD%\x03\x02\x02\x02\xBE\xBF\x07C\x02\x02\xBF\xC0\x05" +
|
|
1842
|
+
"(\x15\x02\xC0\'\x03\x02\x02\x02\xC1\xCD\x07\x11\x02\x02\xC2\xC7\x05*\x16" +
|
|
1843
|
+
"\x02\xC3\xC4\x07\x12\x02\x02\xC4\xC6\x05*\x16\x02\xC5\xC3\x03\x02\x02" +
|
|
1844
|
+
"\x02\xC6\xC9\x03\x02\x02\x02\xC7\xC5\x03\x02\x02\x02\xC7\xC8\x03\x02\x02" +
|
|
1845
|
+
"\x02\xC8\xCB\x03\x02\x02\x02\xC9\xC7\x03\x02\x02\x02\xCA\xCC\x07\x12\x02" +
|
|
1846
|
+
"\x02\xCB\xCA\x03\x02\x02\x02\xCB\xCC\x03\x02\x02\x02\xCC\xCE\x03\x02\x02" +
|
|
1847
|
+
"\x02\xCD\xC2\x03\x02\x02\x02\xCD\xCE\x03\x02\x02\x02\xCE\xCF\x03\x02\x02" +
|
|
1848
|
+
"\x02\xCF\xD0\x07\x13\x02\x02\xD0)\x03\x02\x02\x02\xD1\xD2\b\x16\x01\x02" +
|
|
1849
|
+
"\xD2\xD3\x07\x11\x02\x02\xD3\xD4\x05*\x16\x02\xD4\xD5\x07\x13\x02\x02" +
|
|
1850
|
+
"\xD5\u0107\x03\x02\x02\x02\xD6\xD7\x052\x1A\x02\xD7\xD8\x07\x11\x02\x02" +
|
|
1851
|
+
"\xD8\xDB\x05*\x16\x02\xD9\xDA\x07\x12\x02\x02\xDA\xDC\x05*\x16\x02\xDB" +
|
|
1852
|
+
"\xD9\x03\x02\x02\x02\xDB\xDC\x03\x02\x02\x02\xDC\xDE\x03\x02\x02\x02\xDD" +
|
|
1853
|
+
"\xDF\x07\x12\x02\x02\xDE\xDD\x03\x02\x02\x02\xDE\xDF\x03\x02\x02\x02\xDF" +
|
|
1854
|
+
"\xE0\x03\x02\x02\x02\xE0\xE1\x07\x13\x02\x02\xE1\u0107\x03\x02\x02\x02" +
|
|
1855
|
+
"\xE2\u0107\x05&\x14\x02\xE3\xE4\x07\x17\x02\x02\xE4\xE5\x07C\x02\x02\xE5" +
|
|
1856
|
+
"\u0107\x05(\x15\x02\xE6\xE7\x07\x1A\x02\x02\xE7\xE8\x07\x18\x02\x02\xE8" +
|
|
1857
|
+
"\xE9\x05*\x16\x02\xE9\xEA\x07\x19\x02\x02\xEA\xEB\t\x03\x02\x02\xEB\u0107" +
|
|
1858
|
+
"\x03\x02\x02\x02\xEC\xED\x07\x1D\x02\x02\xED\xEE\x07\x18\x02\x02\xEE\xEF" +
|
|
1859
|
+
"\x05*\x16\x02\xEF\xF0\x07\x19\x02\x02\xF0\xF1\t\x04\x02\x02\xF1\u0107" +
|
|
1860
|
+
"\x03\x02\x02\x02\xF2\xF3\t\x05\x02\x02\xF3\u0107\x05*\x16\x10\xF4\u0100" +
|
|
1861
|
+
"\x07\x18\x02\x02\xF5\xFA\x05*\x16\x02\xF6\xF7\x07\x12\x02\x02\xF7\xF9" +
|
|
1862
|
+
"\x05*\x16\x02\xF8\xF6\x03\x02\x02\x02\xF9\xFC\x03\x02\x02\x02\xFA\xF8" +
|
|
1863
|
+
"\x03\x02\x02\x02\xFA\xFB\x03\x02\x02\x02\xFB\xFE\x03\x02\x02\x02\xFC\xFA" +
|
|
1864
|
+
"\x03\x02\x02\x02\xFD\xFF\x07\x12\x02\x02\xFE\xFD\x03\x02\x02\x02\xFE\xFF" +
|
|
1865
|
+
"\x03\x02\x02\x02\xFF\u0101\x03\x02\x02\x02\u0100\xF5\x03\x02\x02\x02\u0100" +
|
|
1866
|
+
"\u0101\x03\x02\x02\x02\u0101\u0102\x03\x02\x02\x02\u0102\u0107\x07\x19" +
|
|
1867
|
+
"\x02\x02\u0103\u0107\x07B\x02\x02\u0104\u0107\x07C\x02\x02\u0105\u0107" +
|
|
1868
|
+
"\x05.\x18\x02\u0106\xD1\x03\x02\x02\x02\u0106\xD6\x03\x02\x02\x02\u0106" +
|
|
1869
|
+
"\xE2\x03\x02\x02\x02\u0106\xE3\x03\x02\x02\x02\u0106\xE6\x03\x02\x02\x02" +
|
|
1870
|
+
"\u0106\xEC\x03\x02\x02\x02\u0106\xF2\x03\x02\x02\x02\u0106\xF4\x03\x02" +
|
|
1871
|
+
"\x02\x02\u0106\u0103\x03\x02\x02\x02\u0106\u0104\x03\x02\x02\x02\u0106" +
|
|
1872
|
+
"\u0105\x03\x02\x02\x02\u0107\u0131\x03\x02\x02\x02\u0108\u0109\f\x0F\x02" +
|
|
1873
|
+
"\x02\u0109\u010A\t\x06\x02\x02\u010A\u0130\x05*\x16\x10\u010B\u010C\f" +
|
|
1874
|
+
"\x0E\x02\x02\u010C\u010D\t\x07\x02\x02\u010D\u0130\x05*\x16\x0F\u010E" +
|
|
1875
|
+
"\u010F\f\r\x02\x02\u010F\u0110\t\b\x02\x02\u0110\u0130\x05*\x16\x0E\u0111" +
|
|
1876
|
+
"\u0112\f\f\x02\x02\u0112\u0113\t\t\x02\x02\u0113\u0130\x05*\x16\r\u0114" +
|
|
1877
|
+
"\u0115\f\v\x02\x02\u0115\u0116\x07-\x02\x02\u0116\u0130\x05*\x16\f\u0117" +
|
|
1878
|
+
"\u0118\f\n\x02\x02\u0118\u0119\x07\x06\x02\x02\u0119\u0130\x05*\x16\v" +
|
|
1879
|
+
"\u011A\u011B\f\t\x02\x02\u011B\u011C\x07.\x02\x02\u011C\u0130\x05*\x16" +
|
|
1880
|
+
"\n\u011D\u011E\f\b\x02\x02\u011E\u011F\x07/\x02\x02\u011F\u0130\x05*\x16" +
|
|
1881
|
+
"\t\u0120\u0121\f\x07\x02\x02\u0121\u0122\x070\x02\x02\u0122\u0130\x05" +
|
|
1882
|
+
"*\x16\b\u0123\u0124\f\x15\x02\x02\u0124\u0125\x07\x18\x02\x02\u0125\u0126" +
|
|
1883
|
+
"\x07;\x02\x02\u0126\u0130\x07\x19\x02\x02\u0127\u0128\f\x12\x02\x02\u0128" +
|
|
1884
|
+
"\u0130\t\n\x02\x02\u0129\u012A\f\x11\x02\x02\u012A\u012B\x07$\x02\x02" +
|
|
1885
|
+
"\u012B\u012C\x07\x11\x02\x02\u012C\u012D\x05*\x16\x02\u012D\u012E\x07" +
|
|
1886
|
+
"\x13\x02\x02\u012E\u0130\x03\x02\x02\x02\u012F\u0108\x03\x02\x02\x02\u012F" +
|
|
1887
|
+
"\u010B\x03\x02\x02\x02\u012F\u010E\x03\x02\x02\x02\u012F\u0111\x03\x02" +
|
|
1888
|
+
"\x02\x02\u012F\u0114\x03\x02\x02\x02\u012F\u0117\x03\x02\x02\x02\u012F" +
|
|
1889
|
+
"\u011A\x03\x02\x02\x02\u012F\u011D\x03\x02\x02\x02\u012F\u0120\x03\x02" +
|
|
1890
|
+
"\x02\x02\u012F\u0123\x03\x02\x02\x02\u012F\u0127\x03\x02\x02\x02\u012F" +
|
|
1891
|
+
"\u0129\x03\x02\x02\x02\u0130\u0133\x03\x02\x02\x02\u0131\u012F\x03\x02" +
|
|
1892
|
+
"\x02\x02\u0131\u0132\x03\x02\x02\x02\u0132+\x03\x02\x02\x02\u0133\u0131" +
|
|
1893
|
+
"\x03\x02\x02\x02\u0134\u0135\x071\x02\x02\u0135-\x03\x02\x02\x02\u0136" +
|
|
1894
|
+
"\u013C\x079\x02\x02\u0137\u013C\x050\x19\x02\u0138\u013C\x07>\x02\x02" +
|
|
1895
|
+
"\u0139\u013C\x07?\x02\x02\u013A\u013C\x07@\x02\x02\u013B\u0136\x03\x02" +
|
|
1896
|
+
"\x02\x02\u013B\u0137\x03\x02\x02\x02\u013B\u0138\x03\x02\x02\x02\u013B" +
|
|
1897
|
+
"\u0139\x03\x02\x02\x02\u013B\u013A\x03\x02\x02\x02\u013C/\x03\x02\x02" +
|
|
1898
|
+
"\x02\u013D\u013F\x07;\x02\x02\u013E\u0140\x07:\x02\x02\u013F\u013E\x03" +
|
|
1899
|
+
"\x02\x02\x02\u013F\u0140\x03\x02\x02\x02\u01401\x03\x02\x02\x02\u0141" +
|
|
1900
|
+
"\u0142\t\v\x02\x02\u01423\x03\x02\x02\x02\x1C7FIVbmqs~\x83\x8B\x91\xBC" +
|
|
1901
|
+
"\xC7\xCB\xCD\xDB\xDE\xFA\xFE\u0100\u0106\u012F\u0131\u013B\u013F";
|
|
1895
1902
|
export class SourceFileContext extends ParserRuleContext {
|
|
1896
1903
|
contractDefinition() {
|
|
1897
1904
|
return this.getRuleContext(0, ContractDefinitionContext);
|
|
@@ -2328,8 +2335,13 @@ export class VariableDefinitionContext extends ParserRuleContext {
|
|
|
2328
2335
|
expression() {
|
|
2329
2336
|
return this.getRuleContext(0, ExpressionContext);
|
|
2330
2337
|
}
|
|
2331
|
-
modifier() {
|
|
2332
|
-
|
|
2338
|
+
modifier(i) {
|
|
2339
|
+
if (i === undefined) {
|
|
2340
|
+
return this.getRuleContexts(ModifierContext);
|
|
2341
|
+
}
|
|
2342
|
+
else {
|
|
2343
|
+
return this.getRuleContext(i, ModifierContext);
|
|
2344
|
+
}
|
|
2333
2345
|
}
|
|
2334
2346
|
constructor(parent, invokingState) {
|
|
2335
2347
|
super(parent, invokingState);
|