@apexdevtools/apex-parser 4.4.0 → 4.4.1
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/README.md +2 -2
- package/lib/ApexParser.d.ts +2 -2
- package/lib/ApexParser.js +22 -22
- package/lib/ApexParser.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,12 +48,12 @@ Maven
|
|
|
48
48
|
<dependency>
|
|
49
49
|
<groupId>io.github.apex-dev-tools</groupId>
|
|
50
50
|
<artifactId>apex-parser</artifactId>
|
|
51
|
-
<version>4.4.
|
|
51
|
+
<version>4.4.1</version>
|
|
52
52
|
</dependency>
|
|
53
53
|
|
|
54
54
|
NPM
|
|
55
55
|
|
|
56
|
-
"@apexdevtools/apex-parser": "^4.4.
|
|
56
|
+
"@apexdevtools/apex-parser": "^4.4.1"
|
|
57
57
|
|
|
58
58
|
## Building
|
|
59
59
|
|
package/lib/ApexParser.d.ts
CHANGED
|
@@ -774,12 +774,12 @@ export declare class ModifierContext extends ParserRuleContext {
|
|
|
774
774
|
}
|
|
775
775
|
export declare class MemberDeclarationContext extends ParserRuleContext {
|
|
776
776
|
methodDeclaration(): MethodDeclarationContext | undefined;
|
|
777
|
-
fieldDeclaration(): FieldDeclarationContext | undefined;
|
|
778
777
|
constructorDeclaration(): ConstructorDeclarationContext | undefined;
|
|
779
778
|
interfaceDeclaration(): InterfaceDeclarationContext | undefined;
|
|
780
779
|
classDeclaration(): ClassDeclarationContext | undefined;
|
|
781
780
|
enumDeclaration(): EnumDeclarationContext | undefined;
|
|
782
781
|
propertyDeclaration(): PropertyDeclarationContext | undefined;
|
|
782
|
+
fieldDeclaration(): FieldDeclarationContext | undefined;
|
|
783
783
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
784
784
|
get ruleIndex(): number;
|
|
785
785
|
enterRule(listener: ApexParserListener): void;
|
|
@@ -788,11 +788,11 @@ export declare class MemberDeclarationContext extends ParserRuleContext {
|
|
|
788
788
|
}
|
|
789
789
|
export declare class TriggerMemberDeclarationContext extends ParserRuleContext {
|
|
790
790
|
methodDeclaration(): MethodDeclarationContext | undefined;
|
|
791
|
-
fieldDeclaration(): FieldDeclarationContext | undefined;
|
|
792
791
|
interfaceDeclaration(): InterfaceDeclarationContext | undefined;
|
|
793
792
|
classDeclaration(): ClassDeclarationContext | undefined;
|
|
794
793
|
enumDeclaration(): EnumDeclarationContext | undefined;
|
|
795
794
|
propertyDeclaration(): PropertyDeclarationContext | undefined;
|
|
795
|
+
fieldDeclaration(): FieldDeclarationContext | undefined;
|
|
796
796
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
797
797
|
get ruleIndex(): number;
|
|
798
798
|
enterRule(listener: ApexParserListener): void;
|
package/lib/ApexParser.js
CHANGED
|
@@ -906,42 +906,42 @@ class ApexParser extends Parser_1.Parser {
|
|
|
906
906
|
this.enterOuterAlt(_localctx, 2);
|
|
907
907
|
{
|
|
908
908
|
this.state = 459;
|
|
909
|
-
this.
|
|
909
|
+
this.constructorDeclaration();
|
|
910
910
|
}
|
|
911
911
|
break;
|
|
912
912
|
case 3:
|
|
913
913
|
this.enterOuterAlt(_localctx, 3);
|
|
914
914
|
{
|
|
915
915
|
this.state = 460;
|
|
916
|
-
this.
|
|
916
|
+
this.interfaceDeclaration();
|
|
917
917
|
}
|
|
918
918
|
break;
|
|
919
919
|
case 4:
|
|
920
920
|
this.enterOuterAlt(_localctx, 4);
|
|
921
921
|
{
|
|
922
922
|
this.state = 461;
|
|
923
|
-
this.
|
|
923
|
+
this.classDeclaration();
|
|
924
924
|
}
|
|
925
925
|
break;
|
|
926
926
|
case 5:
|
|
927
927
|
this.enterOuterAlt(_localctx, 5);
|
|
928
928
|
{
|
|
929
929
|
this.state = 462;
|
|
930
|
-
this.
|
|
930
|
+
this.enumDeclaration();
|
|
931
931
|
}
|
|
932
932
|
break;
|
|
933
933
|
case 6:
|
|
934
934
|
this.enterOuterAlt(_localctx, 6);
|
|
935
935
|
{
|
|
936
936
|
this.state = 463;
|
|
937
|
-
this.
|
|
937
|
+
this.propertyDeclaration();
|
|
938
938
|
}
|
|
939
939
|
break;
|
|
940
940
|
case 7:
|
|
941
941
|
this.enterOuterAlt(_localctx, 7);
|
|
942
942
|
{
|
|
943
943
|
this.state = 464;
|
|
944
|
-
this.
|
|
944
|
+
this.fieldDeclaration();
|
|
945
945
|
}
|
|
946
946
|
break;
|
|
947
947
|
}
|
|
@@ -980,35 +980,35 @@ class ApexParser extends Parser_1.Parser {
|
|
|
980
980
|
this.enterOuterAlt(_localctx, 2);
|
|
981
981
|
{
|
|
982
982
|
this.state = 468;
|
|
983
|
-
this.
|
|
983
|
+
this.interfaceDeclaration();
|
|
984
984
|
}
|
|
985
985
|
break;
|
|
986
986
|
case 3:
|
|
987
987
|
this.enterOuterAlt(_localctx, 3);
|
|
988
988
|
{
|
|
989
989
|
this.state = 469;
|
|
990
|
-
this.
|
|
990
|
+
this.classDeclaration();
|
|
991
991
|
}
|
|
992
992
|
break;
|
|
993
993
|
case 4:
|
|
994
994
|
this.enterOuterAlt(_localctx, 4);
|
|
995
995
|
{
|
|
996
996
|
this.state = 470;
|
|
997
|
-
this.
|
|
997
|
+
this.enumDeclaration();
|
|
998
998
|
}
|
|
999
999
|
break;
|
|
1000
1000
|
case 5:
|
|
1001
1001
|
this.enterOuterAlt(_localctx, 5);
|
|
1002
1002
|
{
|
|
1003
1003
|
this.state = 471;
|
|
1004
|
-
this.
|
|
1004
|
+
this.propertyDeclaration();
|
|
1005
1005
|
}
|
|
1006
1006
|
break;
|
|
1007
1007
|
case 6:
|
|
1008
1008
|
this.enterOuterAlt(_localctx, 6);
|
|
1009
1009
|
{
|
|
1010
1010
|
this.state = 472;
|
|
1011
|
-
this.
|
|
1011
|
+
this.fieldDeclaration();
|
|
1012
1012
|
}
|
|
1013
1013
|
break;
|
|
1014
1014
|
}
|
|
@@ -11167,14 +11167,14 @@ ApexParser._serializedATNSegment1 = "\x02\x02r\u0331\x03\x02\x02\x02t\u0334\x03\
|
|
|
11167
11167
|
"\x02\x02\x02\u01CA\u01C1\x03\x02\x02\x02\u01CA\u01C2\x03\x02\x02\x02\u01CA" +
|
|
11168
11168
|
"\u01C3\x03\x02\x02\x02\u01CA\u01C4\x03\x02\x02\x02\u01CA\u01C6\x03\x02" +
|
|
11169
11169
|
"\x02\x02\u01CA\u01C8\x03\x02\x02\x02\u01CB\x1F\x03\x02\x02\x02\u01CC\u01D4" +
|
|
11170
|
-
"\x05$\x13\x02\u01CD\u01D4\x05
|
|
11171
|
-
"\u01D4\x05\
|
|
11172
|
-
"\u01D2\u01D4\x05
|
|
11170
|
+
"\x05$\x13\x02\u01CD\u01D4\x05&\x14\x02\u01CE\u01D4\x05\x14\v\x02\u01CF" +
|
|
11171
|
+
"\u01D4\x05\x0E\b\x02\u01D0\u01D4\x05\x10\t\x02\u01D1\u01D4\x05*\x16\x02" +
|
|
11172
|
+
"\u01D2\u01D4\x05(\x15\x02\u01D3\u01CC\x03\x02\x02\x02\u01D3\u01CD\x03" +
|
|
11173
11173
|
"\x02\x02\x02\u01D3\u01CE\x03\x02\x02\x02\u01D3\u01CF\x03\x02\x02\x02\u01D3" +
|
|
11174
11174
|
"\u01D0\x03\x02\x02\x02\u01D3\u01D1\x03\x02\x02\x02\u01D3\u01D2\x03\x02" +
|
|
11175
11175
|
"\x02\x02\u01D4!\x03\x02\x02\x02\u01D5\u01DC\x05$\x13\x02\u01D6\u01DC\x05" +
|
|
11176
|
-
"
|
|
11177
|
-
"\x05\
|
|
11176
|
+
"\x14\v\x02\u01D7\u01DC\x05\x0E\b\x02\u01D8\u01DC\x05\x10\t\x02\u01D9\u01DC" +
|
|
11177
|
+
"\x05*\x16\x02\u01DA\u01DC\x05(\x15\x02\u01DB\u01D5\x03\x02\x02\x02\u01DB" +
|
|
11178
11178
|
"\u01D6\x03\x02\x02\x02\u01DB\u01D7\x03\x02\x02\x02\u01DB\u01D8\x03\x02" +
|
|
11179
11179
|
"\x02\x02\u01DB\u01D9\x03\x02\x02\x02\u01DB\u01DA\x03\x02\x02\x02\u01DC" +
|
|
11180
11180
|
"#\x03\x02\x02\x02\u01DD\u01E0\x054\x1B\x02\u01DE\u01E0\x073\x02\x02\u01DF" +
|
|
@@ -12547,9 +12547,6 @@ class MemberDeclarationContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
12547
12547
|
methodDeclaration() {
|
|
12548
12548
|
return this.tryGetRuleContext(0, MethodDeclarationContext);
|
|
12549
12549
|
}
|
|
12550
|
-
fieldDeclaration() {
|
|
12551
|
-
return this.tryGetRuleContext(0, FieldDeclarationContext);
|
|
12552
|
-
}
|
|
12553
12550
|
constructorDeclaration() {
|
|
12554
12551
|
return this.tryGetRuleContext(0, ConstructorDeclarationContext);
|
|
12555
12552
|
}
|
|
@@ -12565,6 +12562,9 @@ class MemberDeclarationContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
12565
12562
|
propertyDeclaration() {
|
|
12566
12563
|
return this.tryGetRuleContext(0, PropertyDeclarationContext);
|
|
12567
12564
|
}
|
|
12565
|
+
fieldDeclaration() {
|
|
12566
|
+
return this.tryGetRuleContext(0, FieldDeclarationContext);
|
|
12567
|
+
}
|
|
12568
12568
|
constructor(parent, invokingState) {
|
|
12569
12569
|
super(parent, invokingState);
|
|
12570
12570
|
}
|
|
@@ -12597,9 +12597,6 @@ class TriggerMemberDeclarationContext extends ParserRuleContext_1.ParserRuleCont
|
|
|
12597
12597
|
methodDeclaration() {
|
|
12598
12598
|
return this.tryGetRuleContext(0, MethodDeclarationContext);
|
|
12599
12599
|
}
|
|
12600
|
-
fieldDeclaration() {
|
|
12601
|
-
return this.tryGetRuleContext(0, FieldDeclarationContext);
|
|
12602
|
-
}
|
|
12603
12600
|
interfaceDeclaration() {
|
|
12604
12601
|
return this.tryGetRuleContext(0, InterfaceDeclarationContext);
|
|
12605
12602
|
}
|
|
@@ -12612,6 +12609,9 @@ class TriggerMemberDeclarationContext extends ParserRuleContext_1.ParserRuleCont
|
|
|
12612
12609
|
propertyDeclaration() {
|
|
12613
12610
|
return this.tryGetRuleContext(0, PropertyDeclarationContext);
|
|
12614
12611
|
}
|
|
12612
|
+
fieldDeclaration() {
|
|
12613
|
+
return this.tryGetRuleContext(0, FieldDeclarationContext);
|
|
12614
|
+
}
|
|
12615
12615
|
constructor(parent, invokingState) {
|
|
12616
12616
|
super(parent, invokingState);
|
|
12617
12617
|
}
|