@apexdevtools/apex-parser 4.4.1 → 5.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/CHANGELOG.md +112 -0
  2. package/README.md +98 -42
  3. package/lib/ApexErrorListener.d.ts +25 -0
  4. package/lib/ApexErrorListener.js +64 -0
  5. package/lib/ApexErrorListener.js.map +1 -0
  6. package/lib/ApexParserFactory.d.ts +69 -0
  7. package/lib/ApexParserFactory.js +125 -0
  8. package/lib/ApexParserFactory.js.map +1 -0
  9. package/lib/CaseInsensitiveInputStream.d.ts +11 -13
  10. package/lib/CaseInsensitiveInputStream.js +22 -28
  11. package/lib/CaseInsensitiveInputStream.js.map +1 -1
  12. package/lib/Check.d.ts +36 -0
  13. package/lib/Check.js +212 -0
  14. package/lib/Check.js.map +1 -0
  15. package/lib/{ApexLexer.d.ts → antlr/ApexLexer.d.ts} +11 -18
  16. package/lib/antlr/ApexLexer.js +1575 -0
  17. package/lib/antlr/ApexLexer.js.map +1 -0
  18. package/lib/{ApexParser.d.ts → antlr/ApexParser.d.ts} +1344 -1304
  19. package/lib/antlr/ApexParser.js +20976 -0
  20. package/lib/antlr/ApexParser.js.map +1 -0
  21. package/lib/{ApexParserListener.d.ts → antlr/ApexParserListener.d.ts} +708 -686
  22. package/lib/antlr/ApexParserListener.js +12 -0
  23. package/lib/antlr/ApexParserListener.js.map +1 -0
  24. package/lib/{ApexParserVisitor.d.ts → antlr/ApexParserVisitor.d.ts} +420 -406
  25. package/lib/antlr/ApexParserVisitor.js +15 -0
  26. package/lib/antlr/ApexParserVisitor.js.map +1 -0
  27. package/lib/index.d.ts +8 -24
  28. package/lib/index.js +13 -140
  29. package/lib/index.js.map +1 -1
  30. package/package.json +30 -27
  31. package/lib/ApexLexer.js +0 -1704
  32. package/lib/ApexLexer.js.map +0 -1
  33. package/lib/ApexParser.js +0 -19514
  34. package/lib/ApexParser.js.map +0 -1
  35. package/lib/ApexParserListener.js +0 -4
  36. package/lib/ApexParserListener.js.map +0 -1
  37. package/lib/ApexParserVisitor.js +0 -4
  38. package/lib/ApexParserVisitor.js.map +0 -1
  39. package/lib/ThrowingErrorListener.d.ts +0 -10
  40. package/lib/ThrowingErrorListener.js +0 -18
  41. package/lib/ThrowingErrorListener.js.map +0 -1
  42. package/lib/__tests__/ApexLexerTest.d.ts +0 -1
  43. package/lib/__tests__/ApexLexerTest.js +0 -48
  44. package/lib/__tests__/ApexLexerTest.js.map +0 -1
  45. package/lib/__tests__/ApexListenerTest.d.ts +0 -1
  46. package/lib/__tests__/ApexListenerTest.js +0 -41
  47. package/lib/__tests__/ApexListenerTest.js.map +0 -1
  48. package/lib/__tests__/ApexParserTest.d.ts +0 -1
  49. package/lib/__tests__/ApexParserTest.js +0 -199
  50. package/lib/__tests__/ApexParserTest.js.map +0 -1
  51. package/lib/__tests__/ApexTriggerTest.d.ts +0 -1
  52. package/lib/__tests__/ApexTriggerTest.js +0 -66
  53. package/lib/__tests__/ApexTriggerTest.js.map +0 -1
  54. package/lib/__tests__/ApexVisitorTest.d.ts +0 -1
  55. package/lib/__tests__/ApexVisitorTest.js +0 -46
  56. package/lib/__tests__/ApexVisitorTest.js.map +0 -1
  57. package/lib/__tests__/SOQLParserTest.d.ts +0 -1
  58. package/lib/__tests__/SOQLParserTest.js +0 -121
  59. package/lib/__tests__/SOQLParserTest.js.map +0 -1
  60. package/lib/__tests__/SOSLParserTest.d.ts +0 -1
  61. package/lib/__tests__/SOSLParserTest.js +0 -101
  62. package/lib/__tests__/SOSLParserTest.js.map +0 -1
  63. package/lib/__tests__/SyntaxErrorCounter.d.ts +0 -10
  64. package/lib/__tests__/SyntaxErrorCounter.js +0 -52
  65. package/lib/__tests__/SyntaxErrorCounter.js.map +0 -1
  66. package/lib/__tests__/system/SampleParseSys.d.ts +0 -1
  67. package/lib/__tests__/system/SampleParseSys.js +0 -75
  68. package/lib/__tests__/system/SampleParseSys.js.map +0 -1
@@ -1,1353 +1,1375 @@
1
- import { ParseTreeListener } from "antlr4ts/tree/ParseTreeListener";
2
- import { ThisPrimaryContext } from "./ApexParser";
3
- import { SuperPrimaryContext } from "./ApexParser";
4
- import { LiteralPrimaryContext } from "./ApexParser";
5
- import { TypeRefPrimaryContext } from "./ApexParser";
6
- import { VoidPrimaryContext } from "./ApexParser";
7
- import { IdPrimaryContext } from "./ApexParser";
8
- import { SoqlPrimaryContext } from "./ApexParser";
9
- import { SoslPrimaryContext } from "./ApexParser";
10
- import { PrimaryExpressionContext } from "./ApexParser";
11
- import { DotExpressionContext } from "./ApexParser";
12
- import { ArrayExpressionContext } from "./ApexParser";
13
- import { MethodCallExpressionContext } from "./ApexParser";
14
- import { NewExpressionContext } from "./ApexParser";
15
- import { CastExpressionContext } from "./ApexParser";
16
- import { SubExpressionContext } from "./ApexParser";
17
- import { PostOpExpressionContext } from "./ApexParser";
18
- import { PreOpExpressionContext } from "./ApexParser";
19
- import { NegExpressionContext } from "./ApexParser";
20
- import { Arth1ExpressionContext } from "./ApexParser";
21
- import { Arth2ExpressionContext } from "./ApexParser";
22
- import { BitExpressionContext } from "./ApexParser";
23
- import { CmpExpressionContext } from "./ApexParser";
24
- import { InstanceOfExpressionContext } from "./ApexParser";
25
- import { EqualityExpressionContext } from "./ApexParser";
26
- import { BitAndExpressionContext } from "./ApexParser";
27
- import { BitNotExpressionContext } from "./ApexParser";
28
- import { BitOrExpressionContext } from "./ApexParser";
29
- import { LogAndExpressionContext } from "./ApexParser";
30
- import { LogOrExpressionContext } from "./ApexParser";
31
- import { CoalExpressionContext } from "./ApexParser";
32
- import { CondExpressionContext } from "./ApexParser";
33
- import { AssignExpressionContext } from "./ApexParser";
34
- import { TriggerUnitContext } from "./ApexParser";
35
- import { TriggerCaseContext } from "./ApexParser";
36
- import { TriggerBlockContext } from "./ApexParser";
37
- import { TriggerBlockMemberContext } from "./ApexParser";
38
- import { CompilationUnitContext } from "./ApexParser";
39
- import { TypeDeclarationContext } from "./ApexParser";
40
- import { ClassDeclarationContext } from "./ApexParser";
41
- import { EnumDeclarationContext } from "./ApexParser";
42
- import { EnumConstantsContext } from "./ApexParser";
43
- import { InterfaceDeclarationContext } from "./ApexParser";
44
- import { TypeListContext } from "./ApexParser";
45
- import { ClassBodyContext } from "./ApexParser";
46
- import { InterfaceBodyContext } from "./ApexParser";
47
- import { ClassBodyDeclarationContext } from "./ApexParser";
48
- import { ModifierContext } from "./ApexParser";
49
- import { MemberDeclarationContext } from "./ApexParser";
50
- import { TriggerMemberDeclarationContext } from "./ApexParser";
51
- import { MethodDeclarationContext } from "./ApexParser";
52
- import { ConstructorDeclarationContext } from "./ApexParser";
53
- import { FieldDeclarationContext } from "./ApexParser";
54
- import { PropertyDeclarationContext } from "./ApexParser";
55
- import { InterfaceMethodDeclarationContext } from "./ApexParser";
56
- import { VariableDeclaratorsContext } from "./ApexParser";
57
- import { VariableDeclaratorContext } from "./ApexParser";
58
- import { ArrayInitializerContext } from "./ApexParser";
59
- import { TypeRefContext } from "./ApexParser";
60
- import { ArraySubscriptsContext } from "./ApexParser";
61
- import { TypeNameContext } from "./ApexParser";
62
- import { TypeArgumentsContext } from "./ApexParser";
63
- import { FormalParametersContext } from "./ApexParser";
64
- import { FormalParameterListContext } from "./ApexParser";
65
- import { FormalParameterContext } from "./ApexParser";
66
- import { QualifiedNameContext } from "./ApexParser";
67
- import { LiteralContext } from "./ApexParser";
68
- import { AnnotationContext } from "./ApexParser";
69
- import { ElementValuePairsContext } from "./ApexParser";
70
- import { ElementValuePairContext } from "./ApexParser";
71
- import { ElementValueContext } from "./ApexParser";
72
- import { ElementValueArrayInitializerContext } from "./ApexParser";
73
- import { BlockContext } from "./ApexParser";
74
- import { LocalVariableDeclarationStatementContext } from "./ApexParser";
75
- import { LocalVariableDeclarationContext } from "./ApexParser";
76
- import { StatementContext } from "./ApexParser";
77
- import { IfStatementContext } from "./ApexParser";
78
- import { SwitchStatementContext } from "./ApexParser";
79
- import { WhenControlContext } from "./ApexParser";
80
- import { WhenValueContext } from "./ApexParser";
81
- import { WhenLiteralContext } from "./ApexParser";
82
- import { ForStatementContext } from "./ApexParser";
83
- import { WhileStatementContext } from "./ApexParser";
84
- import { DoWhileStatementContext } from "./ApexParser";
85
- import { TryStatementContext } from "./ApexParser";
86
- import { ReturnStatementContext } from "./ApexParser";
87
- import { ThrowStatementContext } from "./ApexParser";
88
- import { BreakStatementContext } from "./ApexParser";
89
- import { ContinueStatementContext } from "./ApexParser";
90
- import { AccessLevelContext } from "./ApexParser";
91
- import { InsertStatementContext } from "./ApexParser";
92
- import { UpdateStatementContext } from "./ApexParser";
93
- import { DeleteStatementContext } from "./ApexParser";
94
- import { UndeleteStatementContext } from "./ApexParser";
95
- import { UpsertStatementContext } from "./ApexParser";
96
- import { MergeStatementContext } from "./ApexParser";
97
- import { RunAsStatementContext } from "./ApexParser";
98
- import { ExpressionStatementContext } from "./ApexParser";
99
- import { PropertyBlockContext } from "./ApexParser";
100
- import { GetterContext } from "./ApexParser";
101
- import { SetterContext } from "./ApexParser";
102
- import { CatchClauseContext } from "./ApexParser";
103
- import { FinallyBlockContext } from "./ApexParser";
104
- import { ForControlContext } from "./ApexParser";
105
- import { ForInitContext } from "./ApexParser";
106
- import { EnhancedForControlContext } from "./ApexParser";
107
- import { ForUpdateContext } from "./ApexParser";
108
- import { ParExpressionContext } from "./ApexParser";
109
- import { ExpressionListContext } from "./ApexParser";
110
- import { ExpressionContext } from "./ApexParser";
111
- import { PrimaryContext } from "./ApexParser";
112
- import { MethodCallContext } from "./ApexParser";
113
- import { DotMethodCallContext } from "./ApexParser";
114
- import { CreatorContext } from "./ApexParser";
115
- import { CreatedNameContext } from "./ApexParser";
116
- import { IdCreatedNamePairContext } from "./ApexParser";
117
- import { NoRestContext } from "./ApexParser";
118
- import { ClassCreatorRestContext } from "./ApexParser";
119
- import { ArrayCreatorRestContext } from "./ApexParser";
120
- import { MapCreatorRestContext } from "./ApexParser";
121
- import { MapCreatorRestPairContext } from "./ApexParser";
122
- import { SetCreatorRestContext } from "./ApexParser";
123
- import { ArgumentsContext } from "./ApexParser";
124
- import { SoqlLiteralContext } from "./ApexParser";
125
- import { QueryContext } from "./ApexParser";
126
- import { SubQueryContext } from "./ApexParser";
127
- import { SelectListContext } from "./ApexParser";
128
- import { SelectEntryContext } from "./ApexParser";
129
- import { FieldNameContext } from "./ApexParser";
130
- import { FromNameListContext } from "./ApexParser";
131
- import { SubFieldListContext } from "./ApexParser";
132
- import { SubFieldEntryContext } from "./ApexParser";
133
- import { SoqlFieldsParameterContext } from "./ApexParser";
134
- import { SoqlFunctionContext } from "./ApexParser";
135
- import { DateFieldNameContext } from "./ApexParser";
136
- import { LocationValueContext } from "./ApexParser";
137
- import { CoordinateValueContext } from "./ApexParser";
138
- import { TypeOfContext } from "./ApexParser";
139
- import { WhenClauseContext } from "./ApexParser";
140
- import { ElseClauseContext } from "./ApexParser";
141
- import { FieldNameListContext } from "./ApexParser";
142
- import { UsingScopeContext } from "./ApexParser";
143
- import { WhereClauseContext } from "./ApexParser";
144
- import { LogicalExpressionContext } from "./ApexParser";
145
- import { ConditionalExpressionContext } from "./ApexParser";
146
- import { FieldExpressionContext } from "./ApexParser";
147
- import { ComparisonOperatorContext } from "./ApexParser";
148
- import { ValueContext } from "./ApexParser";
149
- import { ValueListContext } from "./ApexParser";
150
- import { SignedNumberContext } from "./ApexParser";
151
- import { WithClauseContext } from "./ApexParser";
152
- import { FilteringExpressionContext } from "./ApexParser";
153
- import { DataCategorySelectionContext } from "./ApexParser";
154
- import { DataCategoryNameContext } from "./ApexParser";
155
- import { FilteringSelectorContext } from "./ApexParser";
156
- import { GroupByClauseContext } from "./ApexParser";
157
- import { OrderByClauseContext } from "./ApexParser";
158
- import { FieldOrderListContext } from "./ApexParser";
159
- import { FieldOrderContext } from "./ApexParser";
160
- import { LimitClauseContext } from "./ApexParser";
161
- import { OffsetClauseContext } from "./ApexParser";
162
- import { AllRowsClauseContext } from "./ApexParser";
163
- import { ForClausesContext } from "./ApexParser";
164
- import { BoundExpressionContext } from "./ApexParser";
165
- import { DateFormulaContext } from "./ApexParser";
166
- import { SignedIntegerContext } from "./ApexParser";
167
- import { SoqlIdContext } from "./ApexParser";
168
- import { SoslLiteralContext } from "./ApexParser";
169
- import { SoslLiteralAltContext } from "./ApexParser";
170
- import { SoslClausesContext } from "./ApexParser";
171
- import { SoslWithClauseContext } from "./ApexParser";
172
- import { SearchGroupContext } from "./ApexParser";
173
- import { FieldSpecListContext } from "./ApexParser";
174
- import { FieldSpecContext } from "./ApexParser";
175
- import { FieldListContext } from "./ApexParser";
176
- import { UpdateListContext } from "./ApexParser";
177
- import { UpdateTypeContext } from "./ApexParser";
178
- import { NetworkListContext } from "./ApexParser";
179
- import { SoslIdContext } from "./ApexParser";
180
- import { IdContext } from "./ApexParser";
181
- import { AnyIdContext } from "./ApexParser";
1
+ import { ParseTreeListener } from "antlr4";
2
+ import { TriggerUnitContext } from "./ApexParser.js";
3
+ import { TriggerCaseContext } from "./ApexParser.js";
4
+ import { TriggerBlockContext } from "./ApexParser.js";
5
+ import { TriggerBlockMemberContext } from "./ApexParser.js";
6
+ import { AnonymousUnitContext } from "./ApexParser.js";
7
+ import { AnonymousBlockContext } from "./ApexParser.js";
8
+ import { AnonymousBlockMemberContext } from "./ApexParser.js";
9
+ import { CompilationUnitContext } from "./ApexParser.js";
10
+ import { TypeDeclarationContext } from "./ApexParser.js";
11
+ import { ClassDeclarationContext } from "./ApexParser.js";
12
+ import { EnumDeclarationContext } from "./ApexParser.js";
13
+ import { EnumConstantsContext } from "./ApexParser.js";
14
+ import { InterfaceDeclarationContext } from "./ApexParser.js";
15
+ import { TypeListContext } from "./ApexParser.js";
16
+ import { ClassBodyContext } from "./ApexParser.js";
17
+ import { InterfaceBodyContext } from "./ApexParser.js";
18
+ import { ClassBodyDeclarationContext } from "./ApexParser.js";
19
+ import { ModifierContext } from "./ApexParser.js";
20
+ import { MemberDeclarationContext } from "./ApexParser.js";
21
+ import { TriggerMemberDeclarationContext } from "./ApexParser.js";
22
+ import { AnonymousMemberDeclarationContext } from "./ApexParser.js";
23
+ import { MethodDeclarationContext } from "./ApexParser.js";
24
+ import { ConstructorDeclarationContext } from "./ApexParser.js";
25
+ import { FieldDeclarationContext } from "./ApexParser.js";
26
+ import { PropertyDeclarationContext } from "./ApexParser.js";
27
+ import { InterfaceMethodDeclarationContext } from "./ApexParser.js";
28
+ import { VariableDeclaratorsContext } from "./ApexParser.js";
29
+ import { VariableDeclaratorContext } from "./ApexParser.js";
30
+ import { ArrayInitializerContext } from "./ApexParser.js";
31
+ import { TypeRefContext } from "./ApexParser.js";
32
+ import { ArraySubscriptsContext } from "./ApexParser.js";
33
+ import { TypeNameContext } from "./ApexParser.js";
34
+ import { TypeArgumentsContext } from "./ApexParser.js";
35
+ import { FormalParametersContext } from "./ApexParser.js";
36
+ import { FormalParameterListContext } from "./ApexParser.js";
37
+ import { FormalParameterContext } from "./ApexParser.js";
38
+ import { QualifiedNameContext } from "./ApexParser.js";
39
+ import { LiteralContext } from "./ApexParser.js";
40
+ import { AnnotationContext } from "./ApexParser.js";
41
+ import { ElementValuePairsContext } from "./ApexParser.js";
42
+ import { ElementValuePairContext } from "./ApexParser.js";
43
+ import { ElementValueContext } from "./ApexParser.js";
44
+ import { ElementValueArrayInitializerContext } from "./ApexParser.js";
45
+ import { BlockContext } from "./ApexParser.js";
46
+ import { LocalVariableDeclarationStatementContext } from "./ApexParser.js";
47
+ import { LocalVariableDeclarationContext } from "./ApexParser.js";
48
+ import { StatementContext } from "./ApexParser.js";
49
+ import { IfStatementContext } from "./ApexParser.js";
50
+ import { SwitchStatementContext } from "./ApexParser.js";
51
+ import { WhenControlContext } from "./ApexParser.js";
52
+ import { WhenValueContext } from "./ApexParser.js";
53
+ import { WhenLiteralContext } from "./ApexParser.js";
54
+ import { ForStatementContext } from "./ApexParser.js";
55
+ import { WhileStatementContext } from "./ApexParser.js";
56
+ import { DoWhileStatementContext } from "./ApexParser.js";
57
+ import { TryStatementContext } from "./ApexParser.js";
58
+ import { ReturnStatementContext } from "./ApexParser.js";
59
+ import { ThrowStatementContext } from "./ApexParser.js";
60
+ import { BreakStatementContext } from "./ApexParser.js";
61
+ import { ContinueStatementContext } from "./ApexParser.js";
62
+ import { AccessLevelContext } from "./ApexParser.js";
63
+ import { InsertStatementContext } from "./ApexParser.js";
64
+ import { UpdateStatementContext } from "./ApexParser.js";
65
+ import { DeleteStatementContext } from "./ApexParser.js";
66
+ import { UndeleteStatementContext } from "./ApexParser.js";
67
+ import { UpsertStatementContext } from "./ApexParser.js";
68
+ import { MergeStatementContext } from "./ApexParser.js";
69
+ import { RunAsStatementContext } from "./ApexParser.js";
70
+ import { ExpressionStatementContext } from "./ApexParser.js";
71
+ import { PropertyBlockContext } from "./ApexParser.js";
72
+ import { GetterContext } from "./ApexParser.js";
73
+ import { SetterContext } from "./ApexParser.js";
74
+ import { CatchClauseContext } from "./ApexParser.js";
75
+ import { FinallyBlockContext } from "./ApexParser.js";
76
+ import { ForControlContext } from "./ApexParser.js";
77
+ import { ForInitContext } from "./ApexParser.js";
78
+ import { EnhancedForControlContext } from "./ApexParser.js";
79
+ import { ForUpdateContext } from "./ApexParser.js";
80
+ import { ParExpressionContext } from "./ApexParser.js";
81
+ import { ExpressionListContext } from "./ApexParser.js";
82
+ import { PrimaryExpressionContext } from "./ApexParser.js";
83
+ import { Arth1ExpressionContext } from "./ApexParser.js";
84
+ import { CoalExpressionContext } from "./ApexParser.js";
85
+ import { DotExpressionContext } from "./ApexParser.js";
86
+ import { BitOrExpressionContext } from "./ApexParser.js";
87
+ import { ArrayExpressionContext } from "./ApexParser.js";
88
+ import { NewExpressionContext } from "./ApexParser.js";
89
+ import { AssignExpressionContext } from "./ApexParser.js";
90
+ import { MethodCallExpressionContext } from "./ApexParser.js";
91
+ import { BitNotExpressionContext } from "./ApexParser.js";
92
+ import { Arth2ExpressionContext } from "./ApexParser.js";
93
+ import { LogAndExpressionContext } from "./ApexParser.js";
94
+ import { CastExpressionContext } from "./ApexParser.js";
95
+ import { BitAndExpressionContext } from "./ApexParser.js";
96
+ import { CmpExpressionContext } from "./ApexParser.js";
97
+ import { BitExpressionContext } from "./ApexParser.js";
98
+ import { LogOrExpressionContext } from "./ApexParser.js";
99
+ import { CondExpressionContext } from "./ApexParser.js";
100
+ import { EqualityExpressionContext } from "./ApexParser.js";
101
+ import { PostOpExpressionContext } from "./ApexParser.js";
102
+ import { NegExpressionContext } from "./ApexParser.js";
103
+ import { PreOpExpressionContext } from "./ApexParser.js";
104
+ import { SubExpressionContext } from "./ApexParser.js";
105
+ import { InstanceOfExpressionContext } from "./ApexParser.js";
106
+ import { ThisPrimaryContext } from "./ApexParser.js";
107
+ import { SuperPrimaryContext } from "./ApexParser.js";
108
+ import { LiteralPrimaryContext } from "./ApexParser.js";
109
+ import { TypeRefPrimaryContext } from "./ApexParser.js";
110
+ import { VoidPrimaryContext } from "./ApexParser.js";
111
+ import { IdPrimaryContext } from "./ApexParser.js";
112
+ import { SoqlPrimaryContext } from "./ApexParser.js";
113
+ import { SoslPrimaryContext } from "./ApexParser.js";
114
+ import { MethodCallContext } from "./ApexParser.js";
115
+ import { DotMethodCallContext } from "./ApexParser.js";
116
+ import { CreatorContext } from "./ApexParser.js";
117
+ import { CreatedNameContext } from "./ApexParser.js";
118
+ import { IdCreatedNamePairContext } from "./ApexParser.js";
119
+ import { NoRestContext } from "./ApexParser.js";
120
+ import { ClassCreatorRestContext } from "./ApexParser.js";
121
+ import { ArrayCreatorRestContext } from "./ApexParser.js";
122
+ import { MapCreatorRestContext } from "./ApexParser.js";
123
+ import { MapCreatorRestPairContext } from "./ApexParser.js";
124
+ import { SetCreatorRestContext } from "./ApexParser.js";
125
+ import { ArgumentsContext } from "./ApexParser.js";
126
+ import { SoqlLiteralContext } from "./ApexParser.js";
127
+ import { QueryContext } from "./ApexParser.js";
128
+ import { SubQueryContext } from "./ApexParser.js";
129
+ import { SelectListContext } from "./ApexParser.js";
130
+ import { SelectEntryContext } from "./ApexParser.js";
131
+ import { FieldNameContext } from "./ApexParser.js";
132
+ import { FromNameListContext } from "./ApexParser.js";
133
+ import { SubFieldListContext } from "./ApexParser.js";
134
+ import { SubFieldEntryContext } from "./ApexParser.js";
135
+ import { SoqlFieldsParameterContext } from "./ApexParser.js";
136
+ import { SoqlFunctionContext } from "./ApexParser.js";
137
+ import { DateFieldNameContext } from "./ApexParser.js";
138
+ import { LocationValueContext } from "./ApexParser.js";
139
+ import { CoordinateValueContext } from "./ApexParser.js";
140
+ import { TypeOfContext } from "./ApexParser.js";
141
+ import { WhenClauseContext } from "./ApexParser.js";
142
+ import { ElseClauseContext } from "./ApexParser.js";
143
+ import { FieldNameListContext } from "./ApexParser.js";
144
+ import { UsingScopeContext } from "./ApexParser.js";
145
+ import { WhereClauseContext } from "./ApexParser.js";
146
+ import { LogicalExpressionContext } from "./ApexParser.js";
147
+ import { ConditionalExpressionContext } from "./ApexParser.js";
148
+ import { FieldExpressionContext } from "./ApexParser.js";
149
+ import { ComparisonOperatorContext } from "./ApexParser.js";
150
+ import { ValueContext } from "./ApexParser.js";
151
+ import { ValueListContext } from "./ApexParser.js";
152
+ import { SignedNumberContext } from "./ApexParser.js";
153
+ import { WithClauseContext } from "./ApexParser.js";
154
+ import { FilteringExpressionContext } from "./ApexParser.js";
155
+ import { DataCategorySelectionContext } from "./ApexParser.js";
156
+ import { DataCategoryNameContext } from "./ApexParser.js";
157
+ import { FilteringSelectorContext } from "./ApexParser.js";
158
+ import { GroupByClauseContext } from "./ApexParser.js";
159
+ import { OrderByClauseContext } from "./ApexParser.js";
160
+ import { FieldOrderListContext } from "./ApexParser.js";
161
+ import { FieldOrderContext } from "./ApexParser.js";
162
+ import { LimitClauseContext } from "./ApexParser.js";
163
+ import { OffsetClauseContext } from "./ApexParser.js";
164
+ import { AllRowsClauseContext } from "./ApexParser.js";
165
+ import { ForClausesContext } from "./ApexParser.js";
166
+ import { BoundExpressionContext } from "./ApexParser.js";
167
+ import { DateFormulaContext } from "./ApexParser.js";
168
+ import { SignedIntegerContext } from "./ApexParser.js";
169
+ import { SoqlIdContext } from "./ApexParser.js";
170
+ import { SoslLiteralContext } from "./ApexParser.js";
171
+ import { SoslLiteralAltContext } from "./ApexParser.js";
172
+ import { SoslClausesContext } from "./ApexParser.js";
173
+ import { SoslWithClauseContext } from "./ApexParser.js";
174
+ import { SearchGroupContext } from "./ApexParser.js";
175
+ import { FieldSpecListContext } from "./ApexParser.js";
176
+ import { FieldSpecContext } from "./ApexParser.js";
177
+ import { FieldListContext } from "./ApexParser.js";
178
+ import { UpdateListContext } from "./ApexParser.js";
179
+ import { UpdateTypeContext } from "./ApexParser.js";
180
+ import { NetworkListContext } from "./ApexParser.js";
181
+ import { SoslIdContext } from "./ApexParser.js";
182
+ import { IdContext } from "./ApexParser.js";
183
+ import { AnyIdContext } from "./ApexParser.js";
182
184
  /**
183
185
  * This interface defines a complete listener for a parse tree produced by
184
186
  * `ApexParser`.
185
187
  */
186
- export interface ApexParserListener extends ParseTreeListener {
188
+ export default class ApexParserListener extends ParseTreeListener {
187
189
  /**
188
- * Enter a parse tree produced by the `thisPrimary`
189
- * labeled alternative in `ApexParser.primary`.
190
+ * Enter a parse tree produced by `ApexParser.triggerUnit`.
190
191
  * @param ctx the parse tree
191
192
  */
192
- enterThisPrimary?: (ctx: ThisPrimaryContext) => void;
193
+ enterTriggerUnit?: (ctx: TriggerUnitContext) => void;
193
194
  /**
194
- * Exit a parse tree produced by the `thisPrimary`
195
- * labeled alternative in `ApexParser.primary`.
195
+ * Exit a parse tree produced by `ApexParser.triggerUnit`.
196
196
  * @param ctx the parse tree
197
197
  */
198
- exitThisPrimary?: (ctx: ThisPrimaryContext) => void;
198
+ exitTriggerUnit?: (ctx: TriggerUnitContext) => void;
199
199
  /**
200
- * Enter a parse tree produced by the `superPrimary`
201
- * labeled alternative in `ApexParser.primary`.
200
+ * Enter a parse tree produced by `ApexParser.triggerCase`.
202
201
  * @param ctx the parse tree
203
202
  */
204
- enterSuperPrimary?: (ctx: SuperPrimaryContext) => void;
203
+ enterTriggerCase?: (ctx: TriggerCaseContext) => void;
205
204
  /**
206
- * Exit a parse tree produced by the `superPrimary`
207
- * labeled alternative in `ApexParser.primary`.
205
+ * Exit a parse tree produced by `ApexParser.triggerCase`.
208
206
  * @param ctx the parse tree
209
207
  */
210
- exitSuperPrimary?: (ctx: SuperPrimaryContext) => void;
208
+ exitTriggerCase?: (ctx: TriggerCaseContext) => void;
211
209
  /**
212
- * Enter a parse tree produced by the `literalPrimary`
213
- * labeled alternative in `ApexParser.primary`.
210
+ * Enter a parse tree produced by `ApexParser.triggerBlock`.
214
211
  * @param ctx the parse tree
215
212
  */
216
- enterLiteralPrimary?: (ctx: LiteralPrimaryContext) => void;
213
+ enterTriggerBlock?: (ctx: TriggerBlockContext) => void;
217
214
  /**
218
- * Exit a parse tree produced by the `literalPrimary`
219
- * labeled alternative in `ApexParser.primary`.
215
+ * Exit a parse tree produced by `ApexParser.triggerBlock`.
220
216
  * @param ctx the parse tree
221
217
  */
222
- exitLiteralPrimary?: (ctx: LiteralPrimaryContext) => void;
218
+ exitTriggerBlock?: (ctx: TriggerBlockContext) => void;
223
219
  /**
224
- * Enter a parse tree produced by the `typeRefPrimary`
225
- * labeled alternative in `ApexParser.primary`.
220
+ * Enter a parse tree produced by `ApexParser.triggerBlockMember`.
226
221
  * @param ctx the parse tree
227
222
  */
228
- enterTypeRefPrimary?: (ctx: TypeRefPrimaryContext) => void;
223
+ enterTriggerBlockMember?: (ctx: TriggerBlockMemberContext) => void;
229
224
  /**
230
- * Exit a parse tree produced by the `typeRefPrimary`
231
- * labeled alternative in `ApexParser.primary`.
225
+ * Exit a parse tree produced by `ApexParser.triggerBlockMember`.
232
226
  * @param ctx the parse tree
233
227
  */
234
- exitTypeRefPrimary?: (ctx: TypeRefPrimaryContext) => void;
228
+ exitTriggerBlockMember?: (ctx: TriggerBlockMemberContext) => void;
235
229
  /**
236
- * Enter a parse tree produced by the `voidPrimary`
237
- * labeled alternative in `ApexParser.primary`.
230
+ * Enter a parse tree produced by `ApexParser.anonymousUnit`.
238
231
  * @param ctx the parse tree
239
232
  */
240
- enterVoidPrimary?: (ctx: VoidPrimaryContext) => void;
233
+ enterAnonymousUnit?: (ctx: AnonymousUnitContext) => void;
241
234
  /**
242
- * Exit a parse tree produced by the `voidPrimary`
243
- * labeled alternative in `ApexParser.primary`.
235
+ * Exit a parse tree produced by `ApexParser.anonymousUnit`.
244
236
  * @param ctx the parse tree
245
237
  */
246
- exitVoidPrimary?: (ctx: VoidPrimaryContext) => void;
238
+ exitAnonymousUnit?: (ctx: AnonymousUnitContext) => void;
247
239
  /**
248
- * Enter a parse tree produced by the `idPrimary`
249
- * labeled alternative in `ApexParser.primary`.
240
+ * Enter a parse tree produced by `ApexParser.anonymousBlock`.
250
241
  * @param ctx the parse tree
251
242
  */
252
- enterIdPrimary?: (ctx: IdPrimaryContext) => void;
243
+ enterAnonymousBlock?: (ctx: AnonymousBlockContext) => void;
253
244
  /**
254
- * Exit a parse tree produced by the `idPrimary`
255
- * labeled alternative in `ApexParser.primary`.
245
+ * Exit a parse tree produced by `ApexParser.anonymousBlock`.
256
246
  * @param ctx the parse tree
257
247
  */
258
- exitIdPrimary?: (ctx: IdPrimaryContext) => void;
248
+ exitAnonymousBlock?: (ctx: AnonymousBlockContext) => void;
259
249
  /**
260
- * Enter a parse tree produced by the `soqlPrimary`
261
- * labeled alternative in `ApexParser.primary`.
250
+ * Enter a parse tree produced by `ApexParser.anonymousBlockMember`.
262
251
  * @param ctx the parse tree
263
252
  */
264
- enterSoqlPrimary?: (ctx: SoqlPrimaryContext) => void;
253
+ enterAnonymousBlockMember?: (ctx: AnonymousBlockMemberContext) => void;
265
254
  /**
266
- * Exit a parse tree produced by the `soqlPrimary`
267
- * labeled alternative in `ApexParser.primary`.
255
+ * Exit a parse tree produced by `ApexParser.anonymousBlockMember`.
268
256
  * @param ctx the parse tree
269
257
  */
270
- exitSoqlPrimary?: (ctx: SoqlPrimaryContext) => void;
258
+ exitAnonymousBlockMember?: (ctx: AnonymousBlockMemberContext) => void;
271
259
  /**
272
- * Enter a parse tree produced by the `soslPrimary`
273
- * labeled alternative in `ApexParser.primary`.
260
+ * Enter a parse tree produced by `ApexParser.compilationUnit`.
274
261
  * @param ctx the parse tree
275
262
  */
276
- enterSoslPrimary?: (ctx: SoslPrimaryContext) => void;
263
+ enterCompilationUnit?: (ctx: CompilationUnitContext) => void;
277
264
  /**
278
- * Exit a parse tree produced by the `soslPrimary`
279
- * labeled alternative in `ApexParser.primary`.
265
+ * Exit a parse tree produced by `ApexParser.compilationUnit`.
280
266
  * @param ctx the parse tree
281
267
  */
282
- exitSoslPrimary?: (ctx: SoslPrimaryContext) => void;
268
+ exitCompilationUnit?: (ctx: CompilationUnitContext) => void;
283
269
  /**
284
- * Enter a parse tree produced by the `primaryExpression`
285
- * labeled alternative in `ApexParser.expression`.
270
+ * Enter a parse tree produced by `ApexParser.typeDeclaration`.
286
271
  * @param ctx the parse tree
287
272
  */
288
- enterPrimaryExpression?: (ctx: PrimaryExpressionContext) => void;
273
+ enterTypeDeclaration?: (ctx: TypeDeclarationContext) => void;
289
274
  /**
290
- * Exit a parse tree produced by the `primaryExpression`
291
- * labeled alternative in `ApexParser.expression`.
275
+ * Exit a parse tree produced by `ApexParser.typeDeclaration`.
292
276
  * @param ctx the parse tree
293
277
  */
294
- exitPrimaryExpression?: (ctx: PrimaryExpressionContext) => void;
278
+ exitTypeDeclaration?: (ctx: TypeDeclarationContext) => void;
295
279
  /**
296
- * Enter a parse tree produced by the `dotExpression`
297
- * labeled alternative in `ApexParser.expression`.
280
+ * Enter a parse tree produced by `ApexParser.classDeclaration`.
298
281
  * @param ctx the parse tree
299
282
  */
300
- enterDotExpression?: (ctx: DotExpressionContext) => void;
283
+ enterClassDeclaration?: (ctx: ClassDeclarationContext) => void;
301
284
  /**
302
- * Exit a parse tree produced by the `dotExpression`
303
- * labeled alternative in `ApexParser.expression`.
285
+ * Exit a parse tree produced by `ApexParser.classDeclaration`.
304
286
  * @param ctx the parse tree
305
287
  */
306
- exitDotExpression?: (ctx: DotExpressionContext) => void;
288
+ exitClassDeclaration?: (ctx: ClassDeclarationContext) => void;
307
289
  /**
308
- * Enter a parse tree produced by the `arrayExpression`
309
- * labeled alternative in `ApexParser.expression`.
290
+ * Enter a parse tree produced by `ApexParser.enumDeclaration`.
310
291
  * @param ctx the parse tree
311
292
  */
312
- enterArrayExpression?: (ctx: ArrayExpressionContext) => void;
293
+ enterEnumDeclaration?: (ctx: EnumDeclarationContext) => void;
313
294
  /**
314
- * Exit a parse tree produced by the `arrayExpression`
315
- * labeled alternative in `ApexParser.expression`.
295
+ * Exit a parse tree produced by `ApexParser.enumDeclaration`.
316
296
  * @param ctx the parse tree
317
297
  */
318
- exitArrayExpression?: (ctx: ArrayExpressionContext) => void;
298
+ exitEnumDeclaration?: (ctx: EnumDeclarationContext) => void;
319
299
  /**
320
- * Enter a parse tree produced by the `methodCallExpression`
321
- * labeled alternative in `ApexParser.expression`.
300
+ * Enter a parse tree produced by `ApexParser.enumConstants`.
322
301
  * @param ctx the parse tree
323
302
  */
324
- enterMethodCallExpression?: (ctx: MethodCallExpressionContext) => void;
303
+ enterEnumConstants?: (ctx: EnumConstantsContext) => void;
325
304
  /**
326
- * Exit a parse tree produced by the `methodCallExpression`
327
- * labeled alternative in `ApexParser.expression`.
305
+ * Exit a parse tree produced by `ApexParser.enumConstants`.
328
306
  * @param ctx the parse tree
329
307
  */
330
- exitMethodCallExpression?: (ctx: MethodCallExpressionContext) => void;
308
+ exitEnumConstants?: (ctx: EnumConstantsContext) => void;
331
309
  /**
332
- * Enter a parse tree produced by the `newExpression`
333
- * labeled alternative in `ApexParser.expression`.
310
+ * Enter a parse tree produced by `ApexParser.interfaceDeclaration`.
334
311
  * @param ctx the parse tree
335
312
  */
336
- enterNewExpression?: (ctx: NewExpressionContext) => void;
313
+ enterInterfaceDeclaration?: (ctx: InterfaceDeclarationContext) => void;
337
314
  /**
338
- * Exit a parse tree produced by the `newExpression`
339
- * labeled alternative in `ApexParser.expression`.
315
+ * Exit a parse tree produced by `ApexParser.interfaceDeclaration`.
340
316
  * @param ctx the parse tree
341
317
  */
342
- exitNewExpression?: (ctx: NewExpressionContext) => void;
318
+ exitInterfaceDeclaration?: (ctx: InterfaceDeclarationContext) => void;
343
319
  /**
344
- * Enter a parse tree produced by the `castExpression`
345
- * labeled alternative in `ApexParser.expression`.
320
+ * Enter a parse tree produced by `ApexParser.typeList`.
346
321
  * @param ctx the parse tree
347
322
  */
348
- enterCastExpression?: (ctx: CastExpressionContext) => void;
323
+ enterTypeList?: (ctx: TypeListContext) => void;
349
324
  /**
350
- * Exit a parse tree produced by the `castExpression`
351
- * labeled alternative in `ApexParser.expression`.
325
+ * Exit a parse tree produced by `ApexParser.typeList`.
352
326
  * @param ctx the parse tree
353
327
  */
354
- exitCastExpression?: (ctx: CastExpressionContext) => void;
328
+ exitTypeList?: (ctx: TypeListContext) => void;
355
329
  /**
356
- * Enter a parse tree produced by the `subExpression`
357
- * labeled alternative in `ApexParser.expression`.
330
+ * Enter a parse tree produced by `ApexParser.classBody`.
358
331
  * @param ctx the parse tree
359
332
  */
360
- enterSubExpression?: (ctx: SubExpressionContext) => void;
333
+ enterClassBody?: (ctx: ClassBodyContext) => void;
361
334
  /**
362
- * Exit a parse tree produced by the `subExpression`
363
- * labeled alternative in `ApexParser.expression`.
335
+ * Exit a parse tree produced by `ApexParser.classBody`.
364
336
  * @param ctx the parse tree
365
337
  */
366
- exitSubExpression?: (ctx: SubExpressionContext) => void;
338
+ exitClassBody?: (ctx: ClassBodyContext) => void;
367
339
  /**
368
- * Enter a parse tree produced by the `postOpExpression`
369
- * labeled alternative in `ApexParser.expression`.
340
+ * Enter a parse tree produced by `ApexParser.interfaceBody`.
370
341
  * @param ctx the parse tree
371
342
  */
372
- enterPostOpExpression?: (ctx: PostOpExpressionContext) => void;
343
+ enterInterfaceBody?: (ctx: InterfaceBodyContext) => void;
373
344
  /**
374
- * Exit a parse tree produced by the `postOpExpression`
375
- * labeled alternative in `ApexParser.expression`.
345
+ * Exit a parse tree produced by `ApexParser.interfaceBody`.
376
346
  * @param ctx the parse tree
377
347
  */
378
- exitPostOpExpression?: (ctx: PostOpExpressionContext) => void;
348
+ exitInterfaceBody?: (ctx: InterfaceBodyContext) => void;
379
349
  /**
380
- * Enter a parse tree produced by the `preOpExpression`
381
- * labeled alternative in `ApexParser.expression`.
350
+ * Enter a parse tree produced by `ApexParser.classBodyDeclaration`.
382
351
  * @param ctx the parse tree
383
352
  */
384
- enterPreOpExpression?: (ctx: PreOpExpressionContext) => void;
353
+ enterClassBodyDeclaration?: (ctx: ClassBodyDeclarationContext) => void;
385
354
  /**
386
- * Exit a parse tree produced by the `preOpExpression`
387
- * labeled alternative in `ApexParser.expression`.
355
+ * Exit a parse tree produced by `ApexParser.classBodyDeclaration`.
388
356
  * @param ctx the parse tree
389
357
  */
390
- exitPreOpExpression?: (ctx: PreOpExpressionContext) => void;
358
+ exitClassBodyDeclaration?: (ctx: ClassBodyDeclarationContext) => void;
391
359
  /**
392
- * Enter a parse tree produced by the `negExpression`
393
- * labeled alternative in `ApexParser.expression`.
360
+ * Enter a parse tree produced by `ApexParser.modifier`.
394
361
  * @param ctx the parse tree
395
362
  */
396
- enterNegExpression?: (ctx: NegExpressionContext) => void;
363
+ enterModifier?: (ctx: ModifierContext) => void;
397
364
  /**
398
- * Exit a parse tree produced by the `negExpression`
399
- * labeled alternative in `ApexParser.expression`.
365
+ * Exit a parse tree produced by `ApexParser.modifier`.
400
366
  * @param ctx the parse tree
401
367
  */
402
- exitNegExpression?: (ctx: NegExpressionContext) => void;
368
+ exitModifier?: (ctx: ModifierContext) => void;
403
369
  /**
404
- * Enter a parse tree produced by the `arth1Expression`
405
- * labeled alternative in `ApexParser.expression`.
370
+ * Enter a parse tree produced by `ApexParser.memberDeclaration`.
406
371
  * @param ctx the parse tree
407
372
  */
408
- enterArth1Expression?: (ctx: Arth1ExpressionContext) => void;
373
+ enterMemberDeclaration?: (ctx: MemberDeclarationContext) => void;
409
374
  /**
410
- * Exit a parse tree produced by the `arth1Expression`
411
- * labeled alternative in `ApexParser.expression`.
375
+ * Exit a parse tree produced by `ApexParser.memberDeclaration`.
412
376
  * @param ctx the parse tree
413
377
  */
414
- exitArth1Expression?: (ctx: Arth1ExpressionContext) => void;
378
+ exitMemberDeclaration?: (ctx: MemberDeclarationContext) => void;
415
379
  /**
416
- * Enter a parse tree produced by the `arth2Expression`
417
- * labeled alternative in `ApexParser.expression`.
380
+ * Enter a parse tree produced by `ApexParser.triggerMemberDeclaration`.
418
381
  * @param ctx the parse tree
419
382
  */
420
- enterArth2Expression?: (ctx: Arth2ExpressionContext) => void;
383
+ enterTriggerMemberDeclaration?: (ctx: TriggerMemberDeclarationContext) => void;
421
384
  /**
422
- * Exit a parse tree produced by the `arth2Expression`
423
- * labeled alternative in `ApexParser.expression`.
385
+ * Exit a parse tree produced by `ApexParser.triggerMemberDeclaration`.
424
386
  * @param ctx the parse tree
425
387
  */
426
- exitArth2Expression?: (ctx: Arth2ExpressionContext) => void;
388
+ exitTriggerMemberDeclaration?: (ctx: TriggerMemberDeclarationContext) => void;
427
389
  /**
428
- * Enter a parse tree produced by the `bitExpression`
429
- * labeled alternative in `ApexParser.expression`.
390
+ * Enter a parse tree produced by `ApexParser.anonymousMemberDeclaration`.
430
391
  * @param ctx the parse tree
431
392
  */
432
- enterBitExpression?: (ctx: BitExpressionContext) => void;
393
+ enterAnonymousMemberDeclaration?: (ctx: AnonymousMemberDeclarationContext) => void;
433
394
  /**
434
- * Exit a parse tree produced by the `bitExpression`
435
- * labeled alternative in `ApexParser.expression`.
395
+ * Exit a parse tree produced by `ApexParser.anonymousMemberDeclaration`.
436
396
  * @param ctx the parse tree
437
397
  */
438
- exitBitExpression?: (ctx: BitExpressionContext) => void;
398
+ exitAnonymousMemberDeclaration?: (ctx: AnonymousMemberDeclarationContext) => void;
439
399
  /**
440
- * Enter a parse tree produced by the `cmpExpression`
441
- * labeled alternative in `ApexParser.expression`.
400
+ * Enter a parse tree produced by `ApexParser.methodDeclaration`.
442
401
  * @param ctx the parse tree
443
402
  */
444
- enterCmpExpression?: (ctx: CmpExpressionContext) => void;
403
+ enterMethodDeclaration?: (ctx: MethodDeclarationContext) => void;
445
404
  /**
446
- * Exit a parse tree produced by the `cmpExpression`
447
- * labeled alternative in `ApexParser.expression`.
405
+ * Exit a parse tree produced by `ApexParser.methodDeclaration`.
448
406
  * @param ctx the parse tree
449
407
  */
450
- exitCmpExpression?: (ctx: CmpExpressionContext) => void;
408
+ exitMethodDeclaration?: (ctx: MethodDeclarationContext) => void;
451
409
  /**
452
- * Enter a parse tree produced by the `instanceOfExpression`
453
- * labeled alternative in `ApexParser.expression`.
410
+ * Enter a parse tree produced by `ApexParser.constructorDeclaration`.
454
411
  * @param ctx the parse tree
455
412
  */
456
- enterInstanceOfExpression?: (ctx: InstanceOfExpressionContext) => void;
413
+ enterConstructorDeclaration?: (ctx: ConstructorDeclarationContext) => void;
457
414
  /**
458
- * Exit a parse tree produced by the `instanceOfExpression`
459
- * labeled alternative in `ApexParser.expression`.
415
+ * Exit a parse tree produced by `ApexParser.constructorDeclaration`.
460
416
  * @param ctx the parse tree
461
417
  */
462
- exitInstanceOfExpression?: (ctx: InstanceOfExpressionContext) => void;
418
+ exitConstructorDeclaration?: (ctx: ConstructorDeclarationContext) => void;
463
419
  /**
464
- * Enter a parse tree produced by the `equalityExpression`
465
- * labeled alternative in `ApexParser.expression`.
420
+ * Enter a parse tree produced by `ApexParser.fieldDeclaration`.
466
421
  * @param ctx the parse tree
467
422
  */
468
- enterEqualityExpression?: (ctx: EqualityExpressionContext) => void;
423
+ enterFieldDeclaration?: (ctx: FieldDeclarationContext) => void;
469
424
  /**
470
- * Exit a parse tree produced by the `equalityExpression`
471
- * labeled alternative in `ApexParser.expression`.
425
+ * Exit a parse tree produced by `ApexParser.fieldDeclaration`.
472
426
  * @param ctx the parse tree
473
427
  */
474
- exitEqualityExpression?: (ctx: EqualityExpressionContext) => void;
428
+ exitFieldDeclaration?: (ctx: FieldDeclarationContext) => void;
475
429
  /**
476
- * Enter a parse tree produced by the `bitAndExpression`
477
- * labeled alternative in `ApexParser.expression`.
430
+ * Enter a parse tree produced by `ApexParser.propertyDeclaration`.
478
431
  * @param ctx the parse tree
479
432
  */
480
- enterBitAndExpression?: (ctx: BitAndExpressionContext) => void;
433
+ enterPropertyDeclaration?: (ctx: PropertyDeclarationContext) => void;
481
434
  /**
482
- * Exit a parse tree produced by the `bitAndExpression`
483
- * labeled alternative in `ApexParser.expression`.
435
+ * Exit a parse tree produced by `ApexParser.propertyDeclaration`.
484
436
  * @param ctx the parse tree
485
437
  */
486
- exitBitAndExpression?: (ctx: BitAndExpressionContext) => void;
438
+ exitPropertyDeclaration?: (ctx: PropertyDeclarationContext) => void;
487
439
  /**
488
- * Enter a parse tree produced by the `bitNotExpression`
489
- * labeled alternative in `ApexParser.expression`.
440
+ * Enter a parse tree produced by `ApexParser.interfaceMethodDeclaration`.
490
441
  * @param ctx the parse tree
491
442
  */
492
- enterBitNotExpression?: (ctx: BitNotExpressionContext) => void;
443
+ enterInterfaceMethodDeclaration?: (ctx: InterfaceMethodDeclarationContext) => void;
493
444
  /**
494
- * Exit a parse tree produced by the `bitNotExpression`
495
- * labeled alternative in `ApexParser.expression`.
445
+ * Exit a parse tree produced by `ApexParser.interfaceMethodDeclaration`.
496
446
  * @param ctx the parse tree
497
447
  */
498
- exitBitNotExpression?: (ctx: BitNotExpressionContext) => void;
448
+ exitInterfaceMethodDeclaration?: (ctx: InterfaceMethodDeclarationContext) => void;
499
449
  /**
500
- * Enter a parse tree produced by the `bitOrExpression`
501
- * labeled alternative in `ApexParser.expression`.
450
+ * Enter a parse tree produced by `ApexParser.variableDeclarators`.
502
451
  * @param ctx the parse tree
503
452
  */
504
- enterBitOrExpression?: (ctx: BitOrExpressionContext) => void;
453
+ enterVariableDeclarators?: (ctx: VariableDeclaratorsContext) => void;
505
454
  /**
506
- * Exit a parse tree produced by the `bitOrExpression`
507
- * labeled alternative in `ApexParser.expression`.
455
+ * Exit a parse tree produced by `ApexParser.variableDeclarators`.
508
456
  * @param ctx the parse tree
509
457
  */
510
- exitBitOrExpression?: (ctx: BitOrExpressionContext) => void;
458
+ exitVariableDeclarators?: (ctx: VariableDeclaratorsContext) => void;
511
459
  /**
512
- * Enter a parse tree produced by the `logAndExpression`
513
- * labeled alternative in `ApexParser.expression`.
460
+ * Enter a parse tree produced by `ApexParser.variableDeclarator`.
514
461
  * @param ctx the parse tree
515
462
  */
516
- enterLogAndExpression?: (ctx: LogAndExpressionContext) => void;
463
+ enterVariableDeclarator?: (ctx: VariableDeclaratorContext) => void;
517
464
  /**
518
- * Exit a parse tree produced by the `logAndExpression`
519
- * labeled alternative in `ApexParser.expression`.
465
+ * Exit a parse tree produced by `ApexParser.variableDeclarator`.
520
466
  * @param ctx the parse tree
521
467
  */
522
- exitLogAndExpression?: (ctx: LogAndExpressionContext) => void;
468
+ exitVariableDeclarator?: (ctx: VariableDeclaratorContext) => void;
523
469
  /**
524
- * Enter a parse tree produced by the `logOrExpression`
525
- * labeled alternative in `ApexParser.expression`.
470
+ * Enter a parse tree produced by `ApexParser.arrayInitializer`.
526
471
  * @param ctx the parse tree
527
472
  */
528
- enterLogOrExpression?: (ctx: LogOrExpressionContext) => void;
473
+ enterArrayInitializer?: (ctx: ArrayInitializerContext) => void;
529
474
  /**
530
- * Exit a parse tree produced by the `logOrExpression`
531
- * labeled alternative in `ApexParser.expression`.
475
+ * Exit a parse tree produced by `ApexParser.arrayInitializer`.
532
476
  * @param ctx the parse tree
533
477
  */
534
- exitLogOrExpression?: (ctx: LogOrExpressionContext) => void;
478
+ exitArrayInitializer?: (ctx: ArrayInitializerContext) => void;
535
479
  /**
536
- * Enter a parse tree produced by the `coalExpression`
537
- * labeled alternative in `ApexParser.expression`.
480
+ * Enter a parse tree produced by `ApexParser.typeRef`.
538
481
  * @param ctx the parse tree
539
482
  */
540
- enterCoalExpression?: (ctx: CoalExpressionContext) => void;
483
+ enterTypeRef?: (ctx: TypeRefContext) => void;
541
484
  /**
542
- * Exit a parse tree produced by the `coalExpression`
543
- * labeled alternative in `ApexParser.expression`.
485
+ * Exit a parse tree produced by `ApexParser.typeRef`.
544
486
  * @param ctx the parse tree
545
487
  */
546
- exitCoalExpression?: (ctx: CoalExpressionContext) => void;
488
+ exitTypeRef?: (ctx: TypeRefContext) => void;
547
489
  /**
548
- * Enter a parse tree produced by the `condExpression`
549
- * labeled alternative in `ApexParser.expression`.
490
+ * Enter a parse tree produced by `ApexParser.arraySubscripts`.
550
491
  * @param ctx the parse tree
551
492
  */
552
- enterCondExpression?: (ctx: CondExpressionContext) => void;
493
+ enterArraySubscripts?: (ctx: ArraySubscriptsContext) => void;
553
494
  /**
554
- * Exit a parse tree produced by the `condExpression`
555
- * labeled alternative in `ApexParser.expression`.
495
+ * Exit a parse tree produced by `ApexParser.arraySubscripts`.
556
496
  * @param ctx the parse tree
557
497
  */
558
- exitCondExpression?: (ctx: CondExpressionContext) => void;
498
+ exitArraySubscripts?: (ctx: ArraySubscriptsContext) => void;
559
499
  /**
560
- * Enter a parse tree produced by the `assignExpression`
561
- * labeled alternative in `ApexParser.expression`.
500
+ * Enter a parse tree produced by `ApexParser.typeName`.
562
501
  * @param ctx the parse tree
563
502
  */
564
- enterAssignExpression?: (ctx: AssignExpressionContext) => void;
503
+ enterTypeName?: (ctx: TypeNameContext) => void;
565
504
  /**
566
- * Exit a parse tree produced by the `assignExpression`
567
- * labeled alternative in `ApexParser.expression`.
505
+ * Exit a parse tree produced by `ApexParser.typeName`.
568
506
  * @param ctx the parse tree
569
507
  */
570
- exitAssignExpression?: (ctx: AssignExpressionContext) => void;
508
+ exitTypeName?: (ctx: TypeNameContext) => void;
571
509
  /**
572
- * Enter a parse tree produced by `ApexParser.triggerUnit`.
510
+ * Enter a parse tree produced by `ApexParser.typeArguments`.
573
511
  * @param ctx the parse tree
574
512
  */
575
- enterTriggerUnit?: (ctx: TriggerUnitContext) => void;
513
+ enterTypeArguments?: (ctx: TypeArgumentsContext) => void;
576
514
  /**
577
- * Exit a parse tree produced by `ApexParser.triggerUnit`.
515
+ * Exit a parse tree produced by `ApexParser.typeArguments`.
578
516
  * @param ctx the parse tree
579
517
  */
580
- exitTriggerUnit?: (ctx: TriggerUnitContext) => void;
518
+ exitTypeArguments?: (ctx: TypeArgumentsContext) => void;
581
519
  /**
582
- * Enter a parse tree produced by `ApexParser.triggerCase`.
520
+ * Enter a parse tree produced by `ApexParser.formalParameters`.
583
521
  * @param ctx the parse tree
584
522
  */
585
- enterTriggerCase?: (ctx: TriggerCaseContext) => void;
523
+ enterFormalParameters?: (ctx: FormalParametersContext) => void;
586
524
  /**
587
- * Exit a parse tree produced by `ApexParser.triggerCase`.
525
+ * Exit a parse tree produced by `ApexParser.formalParameters`.
588
526
  * @param ctx the parse tree
589
527
  */
590
- exitTriggerCase?: (ctx: TriggerCaseContext) => void;
528
+ exitFormalParameters?: (ctx: FormalParametersContext) => void;
591
529
  /**
592
- * Enter a parse tree produced by `ApexParser.triggerBlock`.
530
+ * Enter a parse tree produced by `ApexParser.formalParameterList`.
593
531
  * @param ctx the parse tree
594
532
  */
595
- enterTriggerBlock?: (ctx: TriggerBlockContext) => void;
533
+ enterFormalParameterList?: (ctx: FormalParameterListContext) => void;
596
534
  /**
597
- * Exit a parse tree produced by `ApexParser.triggerBlock`.
535
+ * Exit a parse tree produced by `ApexParser.formalParameterList`.
598
536
  * @param ctx the parse tree
599
537
  */
600
- exitTriggerBlock?: (ctx: TriggerBlockContext) => void;
538
+ exitFormalParameterList?: (ctx: FormalParameterListContext) => void;
601
539
  /**
602
- * Enter a parse tree produced by `ApexParser.triggerBlockMember`.
540
+ * Enter a parse tree produced by `ApexParser.formalParameter`.
603
541
  * @param ctx the parse tree
604
542
  */
605
- enterTriggerBlockMember?: (ctx: TriggerBlockMemberContext) => void;
543
+ enterFormalParameter?: (ctx: FormalParameterContext) => void;
606
544
  /**
607
- * Exit a parse tree produced by `ApexParser.triggerBlockMember`.
545
+ * Exit a parse tree produced by `ApexParser.formalParameter`.
608
546
  * @param ctx the parse tree
609
547
  */
610
- exitTriggerBlockMember?: (ctx: TriggerBlockMemberContext) => void;
548
+ exitFormalParameter?: (ctx: FormalParameterContext) => void;
611
549
  /**
612
- * Enter a parse tree produced by `ApexParser.compilationUnit`.
550
+ * Enter a parse tree produced by `ApexParser.qualifiedName`.
613
551
  * @param ctx the parse tree
614
552
  */
615
- enterCompilationUnit?: (ctx: CompilationUnitContext) => void;
553
+ enterQualifiedName?: (ctx: QualifiedNameContext) => void;
616
554
  /**
617
- * Exit a parse tree produced by `ApexParser.compilationUnit`.
555
+ * Exit a parse tree produced by `ApexParser.qualifiedName`.
618
556
  * @param ctx the parse tree
619
557
  */
620
- exitCompilationUnit?: (ctx: CompilationUnitContext) => void;
558
+ exitQualifiedName?: (ctx: QualifiedNameContext) => void;
621
559
  /**
622
- * Enter a parse tree produced by `ApexParser.typeDeclaration`.
560
+ * Enter a parse tree produced by `ApexParser.literal`.
623
561
  * @param ctx the parse tree
624
562
  */
625
- enterTypeDeclaration?: (ctx: TypeDeclarationContext) => void;
563
+ enterLiteral?: (ctx: LiteralContext) => void;
626
564
  /**
627
- * Exit a parse tree produced by `ApexParser.typeDeclaration`.
565
+ * Exit a parse tree produced by `ApexParser.literal`.
628
566
  * @param ctx the parse tree
629
567
  */
630
- exitTypeDeclaration?: (ctx: TypeDeclarationContext) => void;
568
+ exitLiteral?: (ctx: LiteralContext) => void;
631
569
  /**
632
- * Enter a parse tree produced by `ApexParser.classDeclaration`.
570
+ * Enter a parse tree produced by `ApexParser.annotation`.
633
571
  * @param ctx the parse tree
634
572
  */
635
- enterClassDeclaration?: (ctx: ClassDeclarationContext) => void;
573
+ enterAnnotation?: (ctx: AnnotationContext) => void;
636
574
  /**
637
- * Exit a parse tree produced by `ApexParser.classDeclaration`.
575
+ * Exit a parse tree produced by `ApexParser.annotation`.
638
576
  * @param ctx the parse tree
639
577
  */
640
- exitClassDeclaration?: (ctx: ClassDeclarationContext) => void;
578
+ exitAnnotation?: (ctx: AnnotationContext) => void;
641
579
  /**
642
- * Enter a parse tree produced by `ApexParser.enumDeclaration`.
580
+ * Enter a parse tree produced by `ApexParser.elementValuePairs`.
643
581
  * @param ctx the parse tree
644
582
  */
645
- enterEnumDeclaration?: (ctx: EnumDeclarationContext) => void;
583
+ enterElementValuePairs?: (ctx: ElementValuePairsContext) => void;
646
584
  /**
647
- * Exit a parse tree produced by `ApexParser.enumDeclaration`.
585
+ * Exit a parse tree produced by `ApexParser.elementValuePairs`.
648
586
  * @param ctx the parse tree
649
587
  */
650
- exitEnumDeclaration?: (ctx: EnumDeclarationContext) => void;
588
+ exitElementValuePairs?: (ctx: ElementValuePairsContext) => void;
651
589
  /**
652
- * Enter a parse tree produced by `ApexParser.enumConstants`.
590
+ * Enter a parse tree produced by `ApexParser.elementValuePair`.
653
591
  * @param ctx the parse tree
654
592
  */
655
- enterEnumConstants?: (ctx: EnumConstantsContext) => void;
593
+ enterElementValuePair?: (ctx: ElementValuePairContext) => void;
656
594
  /**
657
- * Exit a parse tree produced by `ApexParser.enumConstants`.
595
+ * Exit a parse tree produced by `ApexParser.elementValuePair`.
658
596
  * @param ctx the parse tree
659
597
  */
660
- exitEnumConstants?: (ctx: EnumConstantsContext) => void;
598
+ exitElementValuePair?: (ctx: ElementValuePairContext) => void;
661
599
  /**
662
- * Enter a parse tree produced by `ApexParser.interfaceDeclaration`.
600
+ * Enter a parse tree produced by `ApexParser.elementValue`.
663
601
  * @param ctx the parse tree
664
602
  */
665
- enterInterfaceDeclaration?: (ctx: InterfaceDeclarationContext) => void;
603
+ enterElementValue?: (ctx: ElementValueContext) => void;
666
604
  /**
667
- * Exit a parse tree produced by `ApexParser.interfaceDeclaration`.
605
+ * Exit a parse tree produced by `ApexParser.elementValue`.
668
606
  * @param ctx the parse tree
669
607
  */
670
- exitInterfaceDeclaration?: (ctx: InterfaceDeclarationContext) => void;
608
+ exitElementValue?: (ctx: ElementValueContext) => void;
671
609
  /**
672
- * Enter a parse tree produced by `ApexParser.typeList`.
610
+ * Enter a parse tree produced by `ApexParser.elementValueArrayInitializer`.
673
611
  * @param ctx the parse tree
674
612
  */
675
- enterTypeList?: (ctx: TypeListContext) => void;
613
+ enterElementValueArrayInitializer?: (ctx: ElementValueArrayInitializerContext) => void;
676
614
  /**
677
- * Exit a parse tree produced by `ApexParser.typeList`.
615
+ * Exit a parse tree produced by `ApexParser.elementValueArrayInitializer`.
678
616
  * @param ctx the parse tree
679
617
  */
680
- exitTypeList?: (ctx: TypeListContext) => void;
618
+ exitElementValueArrayInitializer?: (ctx: ElementValueArrayInitializerContext) => void;
681
619
  /**
682
- * Enter a parse tree produced by `ApexParser.classBody`.
620
+ * Enter a parse tree produced by `ApexParser.block`.
683
621
  * @param ctx the parse tree
684
622
  */
685
- enterClassBody?: (ctx: ClassBodyContext) => void;
623
+ enterBlock?: (ctx: BlockContext) => void;
686
624
  /**
687
- * Exit a parse tree produced by `ApexParser.classBody`.
625
+ * Exit a parse tree produced by `ApexParser.block`.
688
626
  * @param ctx the parse tree
689
627
  */
690
- exitClassBody?: (ctx: ClassBodyContext) => void;
628
+ exitBlock?: (ctx: BlockContext) => void;
691
629
  /**
692
- * Enter a parse tree produced by `ApexParser.interfaceBody`.
630
+ * Enter a parse tree produced by `ApexParser.localVariableDeclarationStatement`.
693
631
  * @param ctx the parse tree
694
632
  */
695
- enterInterfaceBody?: (ctx: InterfaceBodyContext) => void;
633
+ enterLocalVariableDeclarationStatement?: (ctx: LocalVariableDeclarationStatementContext) => void;
696
634
  /**
697
- * Exit a parse tree produced by `ApexParser.interfaceBody`.
635
+ * Exit a parse tree produced by `ApexParser.localVariableDeclarationStatement`.
698
636
  * @param ctx the parse tree
699
637
  */
700
- exitInterfaceBody?: (ctx: InterfaceBodyContext) => void;
638
+ exitLocalVariableDeclarationStatement?: (ctx: LocalVariableDeclarationStatementContext) => void;
701
639
  /**
702
- * Enter a parse tree produced by `ApexParser.classBodyDeclaration`.
640
+ * Enter a parse tree produced by `ApexParser.localVariableDeclaration`.
703
641
  * @param ctx the parse tree
704
642
  */
705
- enterClassBodyDeclaration?: (ctx: ClassBodyDeclarationContext) => void;
643
+ enterLocalVariableDeclaration?: (ctx: LocalVariableDeclarationContext) => void;
706
644
  /**
707
- * Exit a parse tree produced by `ApexParser.classBodyDeclaration`.
645
+ * Exit a parse tree produced by `ApexParser.localVariableDeclaration`.
708
646
  * @param ctx the parse tree
709
647
  */
710
- exitClassBodyDeclaration?: (ctx: ClassBodyDeclarationContext) => void;
648
+ exitLocalVariableDeclaration?: (ctx: LocalVariableDeclarationContext) => void;
711
649
  /**
712
- * Enter a parse tree produced by `ApexParser.modifier`.
650
+ * Enter a parse tree produced by `ApexParser.statement`.
713
651
  * @param ctx the parse tree
714
652
  */
715
- enterModifier?: (ctx: ModifierContext) => void;
653
+ enterStatement?: (ctx: StatementContext) => void;
716
654
  /**
717
- * Exit a parse tree produced by `ApexParser.modifier`.
655
+ * Exit a parse tree produced by `ApexParser.statement`.
718
656
  * @param ctx the parse tree
719
657
  */
720
- exitModifier?: (ctx: ModifierContext) => void;
658
+ exitStatement?: (ctx: StatementContext) => void;
721
659
  /**
722
- * Enter a parse tree produced by `ApexParser.memberDeclaration`.
660
+ * Enter a parse tree produced by `ApexParser.ifStatement`.
723
661
  * @param ctx the parse tree
724
662
  */
725
- enterMemberDeclaration?: (ctx: MemberDeclarationContext) => void;
663
+ enterIfStatement?: (ctx: IfStatementContext) => void;
726
664
  /**
727
- * Exit a parse tree produced by `ApexParser.memberDeclaration`.
665
+ * Exit a parse tree produced by `ApexParser.ifStatement`.
728
666
  * @param ctx the parse tree
729
667
  */
730
- exitMemberDeclaration?: (ctx: MemberDeclarationContext) => void;
668
+ exitIfStatement?: (ctx: IfStatementContext) => void;
731
669
  /**
732
- * Enter a parse tree produced by `ApexParser.triggerMemberDeclaration`.
670
+ * Enter a parse tree produced by `ApexParser.switchStatement`.
733
671
  * @param ctx the parse tree
734
672
  */
735
- enterTriggerMemberDeclaration?: (ctx: TriggerMemberDeclarationContext) => void;
673
+ enterSwitchStatement?: (ctx: SwitchStatementContext) => void;
736
674
  /**
737
- * Exit a parse tree produced by `ApexParser.triggerMemberDeclaration`.
675
+ * Exit a parse tree produced by `ApexParser.switchStatement`.
738
676
  * @param ctx the parse tree
739
677
  */
740
- exitTriggerMemberDeclaration?: (ctx: TriggerMemberDeclarationContext) => void;
678
+ exitSwitchStatement?: (ctx: SwitchStatementContext) => void;
741
679
  /**
742
- * Enter a parse tree produced by `ApexParser.methodDeclaration`.
680
+ * Enter a parse tree produced by `ApexParser.whenControl`.
743
681
  * @param ctx the parse tree
744
682
  */
745
- enterMethodDeclaration?: (ctx: MethodDeclarationContext) => void;
683
+ enterWhenControl?: (ctx: WhenControlContext) => void;
746
684
  /**
747
- * Exit a parse tree produced by `ApexParser.methodDeclaration`.
685
+ * Exit a parse tree produced by `ApexParser.whenControl`.
748
686
  * @param ctx the parse tree
749
687
  */
750
- exitMethodDeclaration?: (ctx: MethodDeclarationContext) => void;
688
+ exitWhenControl?: (ctx: WhenControlContext) => void;
751
689
  /**
752
- * Enter a parse tree produced by `ApexParser.constructorDeclaration`.
690
+ * Enter a parse tree produced by `ApexParser.whenValue`.
753
691
  * @param ctx the parse tree
754
692
  */
755
- enterConstructorDeclaration?: (ctx: ConstructorDeclarationContext) => void;
693
+ enterWhenValue?: (ctx: WhenValueContext) => void;
756
694
  /**
757
- * Exit a parse tree produced by `ApexParser.constructorDeclaration`.
695
+ * Exit a parse tree produced by `ApexParser.whenValue`.
758
696
  * @param ctx the parse tree
759
697
  */
760
- exitConstructorDeclaration?: (ctx: ConstructorDeclarationContext) => void;
698
+ exitWhenValue?: (ctx: WhenValueContext) => void;
761
699
  /**
762
- * Enter a parse tree produced by `ApexParser.fieldDeclaration`.
700
+ * Enter a parse tree produced by `ApexParser.whenLiteral`.
763
701
  * @param ctx the parse tree
764
702
  */
765
- enterFieldDeclaration?: (ctx: FieldDeclarationContext) => void;
703
+ enterWhenLiteral?: (ctx: WhenLiteralContext) => void;
766
704
  /**
767
- * Exit a parse tree produced by `ApexParser.fieldDeclaration`.
705
+ * Exit a parse tree produced by `ApexParser.whenLiteral`.
768
706
  * @param ctx the parse tree
769
707
  */
770
- exitFieldDeclaration?: (ctx: FieldDeclarationContext) => void;
708
+ exitWhenLiteral?: (ctx: WhenLiteralContext) => void;
771
709
  /**
772
- * Enter a parse tree produced by `ApexParser.propertyDeclaration`.
710
+ * Enter a parse tree produced by `ApexParser.forStatement`.
773
711
  * @param ctx the parse tree
774
712
  */
775
- enterPropertyDeclaration?: (ctx: PropertyDeclarationContext) => void;
713
+ enterForStatement?: (ctx: ForStatementContext) => void;
776
714
  /**
777
- * Exit a parse tree produced by `ApexParser.propertyDeclaration`.
715
+ * Exit a parse tree produced by `ApexParser.forStatement`.
778
716
  * @param ctx the parse tree
779
717
  */
780
- exitPropertyDeclaration?: (ctx: PropertyDeclarationContext) => void;
718
+ exitForStatement?: (ctx: ForStatementContext) => void;
781
719
  /**
782
- * Enter a parse tree produced by `ApexParser.interfaceMethodDeclaration`.
720
+ * Enter a parse tree produced by `ApexParser.whileStatement`.
783
721
  * @param ctx the parse tree
784
722
  */
785
- enterInterfaceMethodDeclaration?: (ctx: InterfaceMethodDeclarationContext) => void;
723
+ enterWhileStatement?: (ctx: WhileStatementContext) => void;
786
724
  /**
787
- * Exit a parse tree produced by `ApexParser.interfaceMethodDeclaration`.
725
+ * Exit a parse tree produced by `ApexParser.whileStatement`.
788
726
  * @param ctx the parse tree
789
727
  */
790
- exitInterfaceMethodDeclaration?: (ctx: InterfaceMethodDeclarationContext) => void;
728
+ exitWhileStatement?: (ctx: WhileStatementContext) => void;
791
729
  /**
792
- * Enter a parse tree produced by `ApexParser.variableDeclarators`.
730
+ * Enter a parse tree produced by `ApexParser.doWhileStatement`.
793
731
  * @param ctx the parse tree
794
732
  */
795
- enterVariableDeclarators?: (ctx: VariableDeclaratorsContext) => void;
733
+ enterDoWhileStatement?: (ctx: DoWhileStatementContext) => void;
796
734
  /**
797
- * Exit a parse tree produced by `ApexParser.variableDeclarators`.
735
+ * Exit a parse tree produced by `ApexParser.doWhileStatement`.
798
736
  * @param ctx the parse tree
799
737
  */
800
- exitVariableDeclarators?: (ctx: VariableDeclaratorsContext) => void;
738
+ exitDoWhileStatement?: (ctx: DoWhileStatementContext) => void;
801
739
  /**
802
- * Enter a parse tree produced by `ApexParser.variableDeclarator`.
740
+ * Enter a parse tree produced by `ApexParser.tryStatement`.
803
741
  * @param ctx the parse tree
804
742
  */
805
- enterVariableDeclarator?: (ctx: VariableDeclaratorContext) => void;
743
+ enterTryStatement?: (ctx: TryStatementContext) => void;
806
744
  /**
807
- * Exit a parse tree produced by `ApexParser.variableDeclarator`.
745
+ * Exit a parse tree produced by `ApexParser.tryStatement`.
808
746
  * @param ctx the parse tree
809
747
  */
810
- exitVariableDeclarator?: (ctx: VariableDeclaratorContext) => void;
748
+ exitTryStatement?: (ctx: TryStatementContext) => void;
811
749
  /**
812
- * Enter a parse tree produced by `ApexParser.arrayInitializer`.
750
+ * Enter a parse tree produced by `ApexParser.returnStatement`.
813
751
  * @param ctx the parse tree
814
752
  */
815
- enterArrayInitializer?: (ctx: ArrayInitializerContext) => void;
753
+ enterReturnStatement?: (ctx: ReturnStatementContext) => void;
816
754
  /**
817
- * Exit a parse tree produced by `ApexParser.arrayInitializer`.
755
+ * Exit a parse tree produced by `ApexParser.returnStatement`.
818
756
  * @param ctx the parse tree
819
757
  */
820
- exitArrayInitializer?: (ctx: ArrayInitializerContext) => void;
758
+ exitReturnStatement?: (ctx: ReturnStatementContext) => void;
821
759
  /**
822
- * Enter a parse tree produced by `ApexParser.typeRef`.
760
+ * Enter a parse tree produced by `ApexParser.throwStatement`.
823
761
  * @param ctx the parse tree
824
762
  */
825
- enterTypeRef?: (ctx: TypeRefContext) => void;
763
+ enterThrowStatement?: (ctx: ThrowStatementContext) => void;
826
764
  /**
827
- * Exit a parse tree produced by `ApexParser.typeRef`.
765
+ * Exit a parse tree produced by `ApexParser.throwStatement`.
828
766
  * @param ctx the parse tree
829
767
  */
830
- exitTypeRef?: (ctx: TypeRefContext) => void;
768
+ exitThrowStatement?: (ctx: ThrowStatementContext) => void;
831
769
  /**
832
- * Enter a parse tree produced by `ApexParser.arraySubscripts`.
770
+ * Enter a parse tree produced by `ApexParser.breakStatement`.
833
771
  * @param ctx the parse tree
834
772
  */
835
- enterArraySubscripts?: (ctx: ArraySubscriptsContext) => void;
773
+ enterBreakStatement?: (ctx: BreakStatementContext) => void;
836
774
  /**
837
- * Exit a parse tree produced by `ApexParser.arraySubscripts`.
775
+ * Exit a parse tree produced by `ApexParser.breakStatement`.
838
776
  * @param ctx the parse tree
839
777
  */
840
- exitArraySubscripts?: (ctx: ArraySubscriptsContext) => void;
778
+ exitBreakStatement?: (ctx: BreakStatementContext) => void;
841
779
  /**
842
- * Enter a parse tree produced by `ApexParser.typeName`.
780
+ * Enter a parse tree produced by `ApexParser.continueStatement`.
843
781
  * @param ctx the parse tree
844
782
  */
845
- enterTypeName?: (ctx: TypeNameContext) => void;
783
+ enterContinueStatement?: (ctx: ContinueStatementContext) => void;
846
784
  /**
847
- * Exit a parse tree produced by `ApexParser.typeName`.
785
+ * Exit a parse tree produced by `ApexParser.continueStatement`.
848
786
  * @param ctx the parse tree
849
787
  */
850
- exitTypeName?: (ctx: TypeNameContext) => void;
788
+ exitContinueStatement?: (ctx: ContinueStatementContext) => void;
851
789
  /**
852
- * Enter a parse tree produced by `ApexParser.typeArguments`.
790
+ * Enter a parse tree produced by `ApexParser.accessLevel`.
853
791
  * @param ctx the parse tree
854
792
  */
855
- enterTypeArguments?: (ctx: TypeArgumentsContext) => void;
793
+ enterAccessLevel?: (ctx: AccessLevelContext) => void;
856
794
  /**
857
- * Exit a parse tree produced by `ApexParser.typeArguments`.
795
+ * Exit a parse tree produced by `ApexParser.accessLevel`.
858
796
  * @param ctx the parse tree
859
797
  */
860
- exitTypeArguments?: (ctx: TypeArgumentsContext) => void;
798
+ exitAccessLevel?: (ctx: AccessLevelContext) => void;
861
799
  /**
862
- * Enter a parse tree produced by `ApexParser.formalParameters`.
800
+ * Enter a parse tree produced by `ApexParser.insertStatement`.
863
801
  * @param ctx the parse tree
864
802
  */
865
- enterFormalParameters?: (ctx: FormalParametersContext) => void;
803
+ enterInsertStatement?: (ctx: InsertStatementContext) => void;
866
804
  /**
867
- * Exit a parse tree produced by `ApexParser.formalParameters`.
805
+ * Exit a parse tree produced by `ApexParser.insertStatement`.
868
806
  * @param ctx the parse tree
869
807
  */
870
- exitFormalParameters?: (ctx: FormalParametersContext) => void;
808
+ exitInsertStatement?: (ctx: InsertStatementContext) => void;
871
809
  /**
872
- * Enter a parse tree produced by `ApexParser.formalParameterList`.
810
+ * Enter a parse tree produced by `ApexParser.updateStatement`.
873
811
  * @param ctx the parse tree
874
812
  */
875
- enterFormalParameterList?: (ctx: FormalParameterListContext) => void;
813
+ enterUpdateStatement?: (ctx: UpdateStatementContext) => void;
876
814
  /**
877
- * Exit a parse tree produced by `ApexParser.formalParameterList`.
815
+ * Exit a parse tree produced by `ApexParser.updateStatement`.
878
816
  * @param ctx the parse tree
879
817
  */
880
- exitFormalParameterList?: (ctx: FormalParameterListContext) => void;
818
+ exitUpdateStatement?: (ctx: UpdateStatementContext) => void;
881
819
  /**
882
- * Enter a parse tree produced by `ApexParser.formalParameter`.
820
+ * Enter a parse tree produced by `ApexParser.deleteStatement`.
883
821
  * @param ctx the parse tree
884
822
  */
885
- enterFormalParameter?: (ctx: FormalParameterContext) => void;
823
+ enterDeleteStatement?: (ctx: DeleteStatementContext) => void;
886
824
  /**
887
- * Exit a parse tree produced by `ApexParser.formalParameter`.
825
+ * Exit a parse tree produced by `ApexParser.deleteStatement`.
888
826
  * @param ctx the parse tree
889
827
  */
890
- exitFormalParameter?: (ctx: FormalParameterContext) => void;
828
+ exitDeleteStatement?: (ctx: DeleteStatementContext) => void;
891
829
  /**
892
- * Enter a parse tree produced by `ApexParser.qualifiedName`.
830
+ * Enter a parse tree produced by `ApexParser.undeleteStatement`.
893
831
  * @param ctx the parse tree
894
832
  */
895
- enterQualifiedName?: (ctx: QualifiedNameContext) => void;
833
+ enterUndeleteStatement?: (ctx: UndeleteStatementContext) => void;
896
834
  /**
897
- * Exit a parse tree produced by `ApexParser.qualifiedName`.
835
+ * Exit a parse tree produced by `ApexParser.undeleteStatement`.
898
836
  * @param ctx the parse tree
899
837
  */
900
- exitQualifiedName?: (ctx: QualifiedNameContext) => void;
838
+ exitUndeleteStatement?: (ctx: UndeleteStatementContext) => void;
901
839
  /**
902
- * Enter a parse tree produced by `ApexParser.literal`.
840
+ * Enter a parse tree produced by `ApexParser.upsertStatement`.
903
841
  * @param ctx the parse tree
904
842
  */
905
- enterLiteral?: (ctx: LiteralContext) => void;
843
+ enterUpsertStatement?: (ctx: UpsertStatementContext) => void;
906
844
  /**
907
- * Exit a parse tree produced by `ApexParser.literal`.
845
+ * Exit a parse tree produced by `ApexParser.upsertStatement`.
908
846
  * @param ctx the parse tree
909
847
  */
910
- exitLiteral?: (ctx: LiteralContext) => void;
848
+ exitUpsertStatement?: (ctx: UpsertStatementContext) => void;
911
849
  /**
912
- * Enter a parse tree produced by `ApexParser.annotation`.
850
+ * Enter a parse tree produced by `ApexParser.mergeStatement`.
913
851
  * @param ctx the parse tree
914
852
  */
915
- enterAnnotation?: (ctx: AnnotationContext) => void;
853
+ enterMergeStatement?: (ctx: MergeStatementContext) => void;
916
854
  /**
917
- * Exit a parse tree produced by `ApexParser.annotation`.
855
+ * Exit a parse tree produced by `ApexParser.mergeStatement`.
918
856
  * @param ctx the parse tree
919
857
  */
920
- exitAnnotation?: (ctx: AnnotationContext) => void;
858
+ exitMergeStatement?: (ctx: MergeStatementContext) => void;
921
859
  /**
922
- * Enter a parse tree produced by `ApexParser.elementValuePairs`.
860
+ * Enter a parse tree produced by `ApexParser.runAsStatement`.
923
861
  * @param ctx the parse tree
924
862
  */
925
- enterElementValuePairs?: (ctx: ElementValuePairsContext) => void;
863
+ enterRunAsStatement?: (ctx: RunAsStatementContext) => void;
926
864
  /**
927
- * Exit a parse tree produced by `ApexParser.elementValuePairs`.
865
+ * Exit a parse tree produced by `ApexParser.runAsStatement`.
928
866
  * @param ctx the parse tree
929
867
  */
930
- exitElementValuePairs?: (ctx: ElementValuePairsContext) => void;
868
+ exitRunAsStatement?: (ctx: RunAsStatementContext) => void;
931
869
  /**
932
- * Enter a parse tree produced by `ApexParser.elementValuePair`.
870
+ * Enter a parse tree produced by `ApexParser.expressionStatement`.
933
871
  * @param ctx the parse tree
934
872
  */
935
- enterElementValuePair?: (ctx: ElementValuePairContext) => void;
873
+ enterExpressionStatement?: (ctx: ExpressionStatementContext) => void;
936
874
  /**
937
- * Exit a parse tree produced by `ApexParser.elementValuePair`.
875
+ * Exit a parse tree produced by `ApexParser.expressionStatement`.
938
876
  * @param ctx the parse tree
939
877
  */
940
- exitElementValuePair?: (ctx: ElementValuePairContext) => void;
878
+ exitExpressionStatement?: (ctx: ExpressionStatementContext) => void;
941
879
  /**
942
- * Enter a parse tree produced by `ApexParser.elementValue`.
880
+ * Enter a parse tree produced by `ApexParser.propertyBlock`.
943
881
  * @param ctx the parse tree
944
882
  */
945
- enterElementValue?: (ctx: ElementValueContext) => void;
883
+ enterPropertyBlock?: (ctx: PropertyBlockContext) => void;
946
884
  /**
947
- * Exit a parse tree produced by `ApexParser.elementValue`.
885
+ * Exit a parse tree produced by `ApexParser.propertyBlock`.
948
886
  * @param ctx the parse tree
949
887
  */
950
- exitElementValue?: (ctx: ElementValueContext) => void;
888
+ exitPropertyBlock?: (ctx: PropertyBlockContext) => void;
951
889
  /**
952
- * Enter a parse tree produced by `ApexParser.elementValueArrayInitializer`.
890
+ * Enter a parse tree produced by `ApexParser.getter`.
953
891
  * @param ctx the parse tree
954
892
  */
955
- enterElementValueArrayInitializer?: (ctx: ElementValueArrayInitializerContext) => void;
893
+ enterGetter?: (ctx: GetterContext) => void;
956
894
  /**
957
- * Exit a parse tree produced by `ApexParser.elementValueArrayInitializer`.
895
+ * Exit a parse tree produced by `ApexParser.getter`.
958
896
  * @param ctx the parse tree
959
897
  */
960
- exitElementValueArrayInitializer?: (ctx: ElementValueArrayInitializerContext) => void;
898
+ exitGetter?: (ctx: GetterContext) => void;
961
899
  /**
962
- * Enter a parse tree produced by `ApexParser.block`.
900
+ * Enter a parse tree produced by `ApexParser.setter`.
963
901
  * @param ctx the parse tree
964
902
  */
965
- enterBlock?: (ctx: BlockContext) => void;
903
+ enterSetter?: (ctx: SetterContext) => void;
966
904
  /**
967
- * Exit a parse tree produced by `ApexParser.block`.
905
+ * Exit a parse tree produced by `ApexParser.setter`.
968
906
  * @param ctx the parse tree
969
907
  */
970
- exitBlock?: (ctx: BlockContext) => void;
908
+ exitSetter?: (ctx: SetterContext) => void;
971
909
  /**
972
- * Enter a parse tree produced by `ApexParser.localVariableDeclarationStatement`.
910
+ * Enter a parse tree produced by `ApexParser.catchClause`.
973
911
  * @param ctx the parse tree
974
912
  */
975
- enterLocalVariableDeclarationStatement?: (ctx: LocalVariableDeclarationStatementContext) => void;
913
+ enterCatchClause?: (ctx: CatchClauseContext) => void;
976
914
  /**
977
- * Exit a parse tree produced by `ApexParser.localVariableDeclarationStatement`.
915
+ * Exit a parse tree produced by `ApexParser.catchClause`.
978
916
  * @param ctx the parse tree
979
917
  */
980
- exitLocalVariableDeclarationStatement?: (ctx: LocalVariableDeclarationStatementContext) => void;
918
+ exitCatchClause?: (ctx: CatchClauseContext) => void;
981
919
  /**
982
- * Enter a parse tree produced by `ApexParser.localVariableDeclaration`.
920
+ * Enter a parse tree produced by `ApexParser.finallyBlock`.
983
921
  * @param ctx the parse tree
984
922
  */
985
- enterLocalVariableDeclaration?: (ctx: LocalVariableDeclarationContext) => void;
923
+ enterFinallyBlock?: (ctx: FinallyBlockContext) => void;
986
924
  /**
987
- * Exit a parse tree produced by `ApexParser.localVariableDeclaration`.
925
+ * Exit a parse tree produced by `ApexParser.finallyBlock`.
988
926
  * @param ctx the parse tree
989
927
  */
990
- exitLocalVariableDeclaration?: (ctx: LocalVariableDeclarationContext) => void;
928
+ exitFinallyBlock?: (ctx: FinallyBlockContext) => void;
991
929
  /**
992
- * Enter a parse tree produced by `ApexParser.statement`.
930
+ * Enter a parse tree produced by `ApexParser.forControl`.
993
931
  * @param ctx the parse tree
994
932
  */
995
- enterStatement?: (ctx: StatementContext) => void;
933
+ enterForControl?: (ctx: ForControlContext) => void;
996
934
  /**
997
- * Exit a parse tree produced by `ApexParser.statement`.
935
+ * Exit a parse tree produced by `ApexParser.forControl`.
998
936
  * @param ctx the parse tree
999
937
  */
1000
- exitStatement?: (ctx: StatementContext) => void;
938
+ exitForControl?: (ctx: ForControlContext) => void;
1001
939
  /**
1002
- * Enter a parse tree produced by `ApexParser.ifStatement`.
940
+ * Enter a parse tree produced by `ApexParser.forInit`.
1003
941
  * @param ctx the parse tree
1004
942
  */
1005
- enterIfStatement?: (ctx: IfStatementContext) => void;
943
+ enterForInit?: (ctx: ForInitContext) => void;
1006
944
  /**
1007
- * Exit a parse tree produced by `ApexParser.ifStatement`.
945
+ * Exit a parse tree produced by `ApexParser.forInit`.
1008
946
  * @param ctx the parse tree
1009
947
  */
1010
- exitIfStatement?: (ctx: IfStatementContext) => void;
948
+ exitForInit?: (ctx: ForInitContext) => void;
1011
949
  /**
1012
- * Enter a parse tree produced by `ApexParser.switchStatement`.
950
+ * Enter a parse tree produced by `ApexParser.enhancedForControl`.
1013
951
  * @param ctx the parse tree
1014
952
  */
1015
- enterSwitchStatement?: (ctx: SwitchStatementContext) => void;
953
+ enterEnhancedForControl?: (ctx: EnhancedForControlContext) => void;
1016
954
  /**
1017
- * Exit a parse tree produced by `ApexParser.switchStatement`.
955
+ * Exit a parse tree produced by `ApexParser.enhancedForControl`.
1018
956
  * @param ctx the parse tree
1019
957
  */
1020
- exitSwitchStatement?: (ctx: SwitchStatementContext) => void;
958
+ exitEnhancedForControl?: (ctx: EnhancedForControlContext) => void;
1021
959
  /**
1022
- * Enter a parse tree produced by `ApexParser.whenControl`.
960
+ * Enter a parse tree produced by `ApexParser.forUpdate`.
1023
961
  * @param ctx the parse tree
1024
962
  */
1025
- enterWhenControl?: (ctx: WhenControlContext) => void;
963
+ enterForUpdate?: (ctx: ForUpdateContext) => void;
1026
964
  /**
1027
- * Exit a parse tree produced by `ApexParser.whenControl`.
965
+ * Exit a parse tree produced by `ApexParser.forUpdate`.
1028
966
  * @param ctx the parse tree
1029
967
  */
1030
- exitWhenControl?: (ctx: WhenControlContext) => void;
968
+ exitForUpdate?: (ctx: ForUpdateContext) => void;
1031
969
  /**
1032
- * Enter a parse tree produced by `ApexParser.whenValue`.
970
+ * Enter a parse tree produced by `ApexParser.parExpression`.
1033
971
  * @param ctx the parse tree
1034
972
  */
1035
- enterWhenValue?: (ctx: WhenValueContext) => void;
973
+ enterParExpression?: (ctx: ParExpressionContext) => void;
1036
974
  /**
1037
- * Exit a parse tree produced by `ApexParser.whenValue`.
975
+ * Exit a parse tree produced by `ApexParser.parExpression`.
1038
976
  * @param ctx the parse tree
1039
977
  */
1040
- exitWhenValue?: (ctx: WhenValueContext) => void;
978
+ exitParExpression?: (ctx: ParExpressionContext) => void;
1041
979
  /**
1042
- * Enter a parse tree produced by `ApexParser.whenLiteral`.
980
+ * Enter a parse tree produced by `ApexParser.expressionList`.
1043
981
  * @param ctx the parse tree
1044
982
  */
1045
- enterWhenLiteral?: (ctx: WhenLiteralContext) => void;
983
+ enterExpressionList?: (ctx: ExpressionListContext) => void;
1046
984
  /**
1047
- * Exit a parse tree produced by `ApexParser.whenLiteral`.
985
+ * Exit a parse tree produced by `ApexParser.expressionList`.
1048
986
  * @param ctx the parse tree
1049
987
  */
1050
- exitWhenLiteral?: (ctx: WhenLiteralContext) => void;
988
+ exitExpressionList?: (ctx: ExpressionListContext) => void;
1051
989
  /**
1052
- * Enter a parse tree produced by `ApexParser.forStatement`.
990
+ * Enter a parse tree produced by the `primaryExpression`
991
+ * labeled alternative in `ApexParser.expression`.
1053
992
  * @param ctx the parse tree
1054
993
  */
1055
- enterForStatement?: (ctx: ForStatementContext) => void;
994
+ enterPrimaryExpression?: (ctx: PrimaryExpressionContext) => void;
1056
995
  /**
1057
- * Exit a parse tree produced by `ApexParser.forStatement`.
996
+ * Exit a parse tree produced by the `primaryExpression`
997
+ * labeled alternative in `ApexParser.expression`.
1058
998
  * @param ctx the parse tree
1059
999
  */
1060
- exitForStatement?: (ctx: ForStatementContext) => void;
1000
+ exitPrimaryExpression?: (ctx: PrimaryExpressionContext) => void;
1061
1001
  /**
1062
- * Enter a parse tree produced by `ApexParser.whileStatement`.
1002
+ * Enter a parse tree produced by the `arth1Expression`
1003
+ * labeled alternative in `ApexParser.expression`.
1063
1004
  * @param ctx the parse tree
1064
1005
  */
1065
- enterWhileStatement?: (ctx: WhileStatementContext) => void;
1006
+ enterArth1Expression?: (ctx: Arth1ExpressionContext) => void;
1066
1007
  /**
1067
- * Exit a parse tree produced by `ApexParser.whileStatement`.
1008
+ * Exit a parse tree produced by the `arth1Expression`
1009
+ * labeled alternative in `ApexParser.expression`.
1068
1010
  * @param ctx the parse tree
1069
1011
  */
1070
- exitWhileStatement?: (ctx: WhileStatementContext) => void;
1012
+ exitArth1Expression?: (ctx: Arth1ExpressionContext) => void;
1071
1013
  /**
1072
- * Enter a parse tree produced by `ApexParser.doWhileStatement`.
1014
+ * Enter a parse tree produced by the `coalExpression`
1015
+ * labeled alternative in `ApexParser.expression`.
1073
1016
  * @param ctx the parse tree
1074
1017
  */
1075
- enterDoWhileStatement?: (ctx: DoWhileStatementContext) => void;
1018
+ enterCoalExpression?: (ctx: CoalExpressionContext) => void;
1076
1019
  /**
1077
- * Exit a parse tree produced by `ApexParser.doWhileStatement`.
1020
+ * Exit a parse tree produced by the `coalExpression`
1021
+ * labeled alternative in `ApexParser.expression`.
1078
1022
  * @param ctx the parse tree
1079
1023
  */
1080
- exitDoWhileStatement?: (ctx: DoWhileStatementContext) => void;
1024
+ exitCoalExpression?: (ctx: CoalExpressionContext) => void;
1081
1025
  /**
1082
- * Enter a parse tree produced by `ApexParser.tryStatement`.
1026
+ * Enter a parse tree produced by the `dotExpression`
1027
+ * labeled alternative in `ApexParser.expression`.
1083
1028
  * @param ctx the parse tree
1084
1029
  */
1085
- enterTryStatement?: (ctx: TryStatementContext) => void;
1030
+ enterDotExpression?: (ctx: DotExpressionContext) => void;
1086
1031
  /**
1087
- * Exit a parse tree produced by `ApexParser.tryStatement`.
1032
+ * Exit a parse tree produced by the `dotExpression`
1033
+ * labeled alternative in `ApexParser.expression`.
1088
1034
  * @param ctx the parse tree
1089
1035
  */
1090
- exitTryStatement?: (ctx: TryStatementContext) => void;
1036
+ exitDotExpression?: (ctx: DotExpressionContext) => void;
1091
1037
  /**
1092
- * Enter a parse tree produced by `ApexParser.returnStatement`.
1038
+ * Enter a parse tree produced by the `bitOrExpression`
1039
+ * labeled alternative in `ApexParser.expression`.
1093
1040
  * @param ctx the parse tree
1094
1041
  */
1095
- enterReturnStatement?: (ctx: ReturnStatementContext) => void;
1042
+ enterBitOrExpression?: (ctx: BitOrExpressionContext) => void;
1096
1043
  /**
1097
- * Exit a parse tree produced by `ApexParser.returnStatement`.
1044
+ * Exit a parse tree produced by the `bitOrExpression`
1045
+ * labeled alternative in `ApexParser.expression`.
1098
1046
  * @param ctx the parse tree
1099
1047
  */
1100
- exitReturnStatement?: (ctx: ReturnStatementContext) => void;
1048
+ exitBitOrExpression?: (ctx: BitOrExpressionContext) => void;
1101
1049
  /**
1102
- * Enter a parse tree produced by `ApexParser.throwStatement`.
1050
+ * Enter a parse tree produced by the `arrayExpression`
1051
+ * labeled alternative in `ApexParser.expression`.
1103
1052
  * @param ctx the parse tree
1104
1053
  */
1105
- enterThrowStatement?: (ctx: ThrowStatementContext) => void;
1054
+ enterArrayExpression?: (ctx: ArrayExpressionContext) => void;
1106
1055
  /**
1107
- * Exit a parse tree produced by `ApexParser.throwStatement`.
1056
+ * Exit a parse tree produced by the `arrayExpression`
1057
+ * labeled alternative in `ApexParser.expression`.
1108
1058
  * @param ctx the parse tree
1109
1059
  */
1110
- exitThrowStatement?: (ctx: ThrowStatementContext) => void;
1060
+ exitArrayExpression?: (ctx: ArrayExpressionContext) => void;
1111
1061
  /**
1112
- * Enter a parse tree produced by `ApexParser.breakStatement`.
1062
+ * Enter a parse tree produced by the `newExpression`
1063
+ * labeled alternative in `ApexParser.expression`.
1113
1064
  * @param ctx the parse tree
1114
1065
  */
1115
- enterBreakStatement?: (ctx: BreakStatementContext) => void;
1066
+ enterNewExpression?: (ctx: NewExpressionContext) => void;
1116
1067
  /**
1117
- * Exit a parse tree produced by `ApexParser.breakStatement`.
1068
+ * Exit a parse tree produced by the `newExpression`
1069
+ * labeled alternative in `ApexParser.expression`.
1118
1070
  * @param ctx the parse tree
1119
1071
  */
1120
- exitBreakStatement?: (ctx: BreakStatementContext) => void;
1072
+ exitNewExpression?: (ctx: NewExpressionContext) => void;
1121
1073
  /**
1122
- * Enter a parse tree produced by `ApexParser.continueStatement`.
1074
+ * Enter a parse tree produced by the `assignExpression`
1075
+ * labeled alternative in `ApexParser.expression`.
1123
1076
  * @param ctx the parse tree
1124
1077
  */
1125
- enterContinueStatement?: (ctx: ContinueStatementContext) => void;
1078
+ enterAssignExpression?: (ctx: AssignExpressionContext) => void;
1126
1079
  /**
1127
- * Exit a parse tree produced by `ApexParser.continueStatement`.
1080
+ * Exit a parse tree produced by the `assignExpression`
1081
+ * labeled alternative in `ApexParser.expression`.
1128
1082
  * @param ctx the parse tree
1129
1083
  */
1130
- exitContinueStatement?: (ctx: ContinueStatementContext) => void;
1084
+ exitAssignExpression?: (ctx: AssignExpressionContext) => void;
1131
1085
  /**
1132
- * Enter a parse tree produced by `ApexParser.accessLevel`.
1086
+ * Enter a parse tree produced by the `methodCallExpression`
1087
+ * labeled alternative in `ApexParser.expression`.
1133
1088
  * @param ctx the parse tree
1134
1089
  */
1135
- enterAccessLevel?: (ctx: AccessLevelContext) => void;
1090
+ enterMethodCallExpression?: (ctx: MethodCallExpressionContext) => void;
1136
1091
  /**
1137
- * Exit a parse tree produced by `ApexParser.accessLevel`.
1092
+ * Exit a parse tree produced by the `methodCallExpression`
1093
+ * labeled alternative in `ApexParser.expression`.
1138
1094
  * @param ctx the parse tree
1139
1095
  */
1140
- exitAccessLevel?: (ctx: AccessLevelContext) => void;
1096
+ exitMethodCallExpression?: (ctx: MethodCallExpressionContext) => void;
1141
1097
  /**
1142
- * Enter a parse tree produced by `ApexParser.insertStatement`.
1098
+ * Enter a parse tree produced by the `bitNotExpression`
1099
+ * labeled alternative in `ApexParser.expression`.
1143
1100
  * @param ctx the parse tree
1144
1101
  */
1145
- enterInsertStatement?: (ctx: InsertStatementContext) => void;
1102
+ enterBitNotExpression?: (ctx: BitNotExpressionContext) => void;
1146
1103
  /**
1147
- * Exit a parse tree produced by `ApexParser.insertStatement`.
1104
+ * Exit a parse tree produced by the `bitNotExpression`
1105
+ * labeled alternative in `ApexParser.expression`.
1148
1106
  * @param ctx the parse tree
1149
1107
  */
1150
- exitInsertStatement?: (ctx: InsertStatementContext) => void;
1108
+ exitBitNotExpression?: (ctx: BitNotExpressionContext) => void;
1151
1109
  /**
1152
- * Enter a parse tree produced by `ApexParser.updateStatement`.
1110
+ * Enter a parse tree produced by the `arth2Expression`
1111
+ * labeled alternative in `ApexParser.expression`.
1153
1112
  * @param ctx the parse tree
1154
1113
  */
1155
- enterUpdateStatement?: (ctx: UpdateStatementContext) => void;
1114
+ enterArth2Expression?: (ctx: Arth2ExpressionContext) => void;
1156
1115
  /**
1157
- * Exit a parse tree produced by `ApexParser.updateStatement`.
1116
+ * Exit a parse tree produced by the `arth2Expression`
1117
+ * labeled alternative in `ApexParser.expression`.
1158
1118
  * @param ctx the parse tree
1159
1119
  */
1160
- exitUpdateStatement?: (ctx: UpdateStatementContext) => void;
1120
+ exitArth2Expression?: (ctx: Arth2ExpressionContext) => void;
1161
1121
  /**
1162
- * Enter a parse tree produced by `ApexParser.deleteStatement`.
1122
+ * Enter a parse tree produced by the `logAndExpression`
1123
+ * labeled alternative in `ApexParser.expression`.
1163
1124
  * @param ctx the parse tree
1164
1125
  */
1165
- enterDeleteStatement?: (ctx: DeleteStatementContext) => void;
1126
+ enterLogAndExpression?: (ctx: LogAndExpressionContext) => void;
1166
1127
  /**
1167
- * Exit a parse tree produced by `ApexParser.deleteStatement`.
1128
+ * Exit a parse tree produced by the `logAndExpression`
1129
+ * labeled alternative in `ApexParser.expression`.
1168
1130
  * @param ctx the parse tree
1169
1131
  */
1170
- exitDeleteStatement?: (ctx: DeleteStatementContext) => void;
1132
+ exitLogAndExpression?: (ctx: LogAndExpressionContext) => void;
1171
1133
  /**
1172
- * Enter a parse tree produced by `ApexParser.undeleteStatement`.
1134
+ * Enter a parse tree produced by the `castExpression`
1135
+ * labeled alternative in `ApexParser.expression`.
1173
1136
  * @param ctx the parse tree
1174
1137
  */
1175
- enterUndeleteStatement?: (ctx: UndeleteStatementContext) => void;
1138
+ enterCastExpression?: (ctx: CastExpressionContext) => void;
1176
1139
  /**
1177
- * Exit a parse tree produced by `ApexParser.undeleteStatement`.
1140
+ * Exit a parse tree produced by the `castExpression`
1141
+ * labeled alternative in `ApexParser.expression`.
1178
1142
  * @param ctx the parse tree
1179
1143
  */
1180
- exitUndeleteStatement?: (ctx: UndeleteStatementContext) => void;
1144
+ exitCastExpression?: (ctx: CastExpressionContext) => void;
1181
1145
  /**
1182
- * Enter a parse tree produced by `ApexParser.upsertStatement`.
1146
+ * Enter a parse tree produced by the `bitAndExpression`
1147
+ * labeled alternative in `ApexParser.expression`.
1183
1148
  * @param ctx the parse tree
1184
1149
  */
1185
- enterUpsertStatement?: (ctx: UpsertStatementContext) => void;
1150
+ enterBitAndExpression?: (ctx: BitAndExpressionContext) => void;
1186
1151
  /**
1187
- * Exit a parse tree produced by `ApexParser.upsertStatement`.
1152
+ * Exit a parse tree produced by the `bitAndExpression`
1153
+ * labeled alternative in `ApexParser.expression`.
1188
1154
  * @param ctx the parse tree
1189
1155
  */
1190
- exitUpsertStatement?: (ctx: UpsertStatementContext) => void;
1156
+ exitBitAndExpression?: (ctx: BitAndExpressionContext) => void;
1191
1157
  /**
1192
- * Enter a parse tree produced by `ApexParser.mergeStatement`.
1158
+ * Enter a parse tree produced by the `cmpExpression`
1159
+ * labeled alternative in `ApexParser.expression`.
1193
1160
  * @param ctx the parse tree
1194
1161
  */
1195
- enterMergeStatement?: (ctx: MergeStatementContext) => void;
1162
+ enterCmpExpression?: (ctx: CmpExpressionContext) => void;
1196
1163
  /**
1197
- * Exit a parse tree produced by `ApexParser.mergeStatement`.
1164
+ * Exit a parse tree produced by the `cmpExpression`
1165
+ * labeled alternative in `ApexParser.expression`.
1198
1166
  * @param ctx the parse tree
1199
1167
  */
1200
- exitMergeStatement?: (ctx: MergeStatementContext) => void;
1168
+ exitCmpExpression?: (ctx: CmpExpressionContext) => void;
1201
1169
  /**
1202
- * Enter a parse tree produced by `ApexParser.runAsStatement`.
1170
+ * Enter a parse tree produced by the `bitExpression`
1171
+ * labeled alternative in `ApexParser.expression`.
1203
1172
  * @param ctx the parse tree
1204
1173
  */
1205
- enterRunAsStatement?: (ctx: RunAsStatementContext) => void;
1174
+ enterBitExpression?: (ctx: BitExpressionContext) => void;
1206
1175
  /**
1207
- * Exit a parse tree produced by `ApexParser.runAsStatement`.
1176
+ * Exit a parse tree produced by the `bitExpression`
1177
+ * labeled alternative in `ApexParser.expression`.
1208
1178
  * @param ctx the parse tree
1209
1179
  */
1210
- exitRunAsStatement?: (ctx: RunAsStatementContext) => void;
1180
+ exitBitExpression?: (ctx: BitExpressionContext) => void;
1211
1181
  /**
1212
- * Enter a parse tree produced by `ApexParser.expressionStatement`.
1182
+ * Enter a parse tree produced by the `logOrExpression`
1183
+ * labeled alternative in `ApexParser.expression`.
1213
1184
  * @param ctx the parse tree
1214
1185
  */
1215
- enterExpressionStatement?: (ctx: ExpressionStatementContext) => void;
1186
+ enterLogOrExpression?: (ctx: LogOrExpressionContext) => void;
1216
1187
  /**
1217
- * Exit a parse tree produced by `ApexParser.expressionStatement`.
1188
+ * Exit a parse tree produced by the `logOrExpression`
1189
+ * labeled alternative in `ApexParser.expression`.
1218
1190
  * @param ctx the parse tree
1219
1191
  */
1220
- exitExpressionStatement?: (ctx: ExpressionStatementContext) => void;
1192
+ exitLogOrExpression?: (ctx: LogOrExpressionContext) => void;
1221
1193
  /**
1222
- * Enter a parse tree produced by `ApexParser.propertyBlock`.
1194
+ * Enter a parse tree produced by the `condExpression`
1195
+ * labeled alternative in `ApexParser.expression`.
1223
1196
  * @param ctx the parse tree
1224
1197
  */
1225
- enterPropertyBlock?: (ctx: PropertyBlockContext) => void;
1198
+ enterCondExpression?: (ctx: CondExpressionContext) => void;
1226
1199
  /**
1227
- * Exit a parse tree produced by `ApexParser.propertyBlock`.
1200
+ * Exit a parse tree produced by the `condExpression`
1201
+ * labeled alternative in `ApexParser.expression`.
1228
1202
  * @param ctx the parse tree
1229
1203
  */
1230
- exitPropertyBlock?: (ctx: PropertyBlockContext) => void;
1204
+ exitCondExpression?: (ctx: CondExpressionContext) => void;
1231
1205
  /**
1232
- * Enter a parse tree produced by `ApexParser.getter`.
1206
+ * Enter a parse tree produced by the `equalityExpression`
1207
+ * labeled alternative in `ApexParser.expression`.
1233
1208
  * @param ctx the parse tree
1234
1209
  */
1235
- enterGetter?: (ctx: GetterContext) => void;
1210
+ enterEqualityExpression?: (ctx: EqualityExpressionContext) => void;
1236
1211
  /**
1237
- * Exit a parse tree produced by `ApexParser.getter`.
1212
+ * Exit a parse tree produced by the `equalityExpression`
1213
+ * labeled alternative in `ApexParser.expression`.
1238
1214
  * @param ctx the parse tree
1239
1215
  */
1240
- exitGetter?: (ctx: GetterContext) => void;
1216
+ exitEqualityExpression?: (ctx: EqualityExpressionContext) => void;
1241
1217
  /**
1242
- * Enter a parse tree produced by `ApexParser.setter`.
1218
+ * Enter a parse tree produced by the `postOpExpression`
1219
+ * labeled alternative in `ApexParser.expression`.
1243
1220
  * @param ctx the parse tree
1244
1221
  */
1245
- enterSetter?: (ctx: SetterContext) => void;
1222
+ enterPostOpExpression?: (ctx: PostOpExpressionContext) => void;
1246
1223
  /**
1247
- * Exit a parse tree produced by `ApexParser.setter`.
1224
+ * Exit a parse tree produced by the `postOpExpression`
1225
+ * labeled alternative in `ApexParser.expression`.
1248
1226
  * @param ctx the parse tree
1249
1227
  */
1250
- exitSetter?: (ctx: SetterContext) => void;
1228
+ exitPostOpExpression?: (ctx: PostOpExpressionContext) => void;
1251
1229
  /**
1252
- * Enter a parse tree produced by `ApexParser.catchClause`.
1230
+ * Enter a parse tree produced by the `negExpression`
1231
+ * labeled alternative in `ApexParser.expression`.
1253
1232
  * @param ctx the parse tree
1254
1233
  */
1255
- enterCatchClause?: (ctx: CatchClauseContext) => void;
1234
+ enterNegExpression?: (ctx: NegExpressionContext) => void;
1256
1235
  /**
1257
- * Exit a parse tree produced by `ApexParser.catchClause`.
1236
+ * Exit a parse tree produced by the `negExpression`
1237
+ * labeled alternative in `ApexParser.expression`.
1258
1238
  * @param ctx the parse tree
1259
1239
  */
1260
- exitCatchClause?: (ctx: CatchClauseContext) => void;
1240
+ exitNegExpression?: (ctx: NegExpressionContext) => void;
1261
1241
  /**
1262
- * Enter a parse tree produced by `ApexParser.finallyBlock`.
1242
+ * Enter a parse tree produced by the `preOpExpression`
1243
+ * labeled alternative in `ApexParser.expression`.
1263
1244
  * @param ctx the parse tree
1264
1245
  */
1265
- enterFinallyBlock?: (ctx: FinallyBlockContext) => void;
1246
+ enterPreOpExpression?: (ctx: PreOpExpressionContext) => void;
1266
1247
  /**
1267
- * Exit a parse tree produced by `ApexParser.finallyBlock`.
1248
+ * Exit a parse tree produced by the `preOpExpression`
1249
+ * labeled alternative in `ApexParser.expression`.
1268
1250
  * @param ctx the parse tree
1269
1251
  */
1270
- exitFinallyBlock?: (ctx: FinallyBlockContext) => void;
1252
+ exitPreOpExpression?: (ctx: PreOpExpressionContext) => void;
1271
1253
  /**
1272
- * Enter a parse tree produced by `ApexParser.forControl`.
1254
+ * Enter a parse tree produced by the `subExpression`
1255
+ * labeled alternative in `ApexParser.expression`.
1273
1256
  * @param ctx the parse tree
1274
1257
  */
1275
- enterForControl?: (ctx: ForControlContext) => void;
1258
+ enterSubExpression?: (ctx: SubExpressionContext) => void;
1276
1259
  /**
1277
- * Exit a parse tree produced by `ApexParser.forControl`.
1260
+ * Exit a parse tree produced by the `subExpression`
1261
+ * labeled alternative in `ApexParser.expression`.
1278
1262
  * @param ctx the parse tree
1279
1263
  */
1280
- exitForControl?: (ctx: ForControlContext) => void;
1264
+ exitSubExpression?: (ctx: SubExpressionContext) => void;
1281
1265
  /**
1282
- * Enter a parse tree produced by `ApexParser.forInit`.
1266
+ * Enter a parse tree produced by the `instanceOfExpression`
1267
+ * labeled alternative in `ApexParser.expression`.
1283
1268
  * @param ctx the parse tree
1284
1269
  */
1285
- enterForInit?: (ctx: ForInitContext) => void;
1270
+ enterInstanceOfExpression?: (ctx: InstanceOfExpressionContext) => void;
1286
1271
  /**
1287
- * Exit a parse tree produced by `ApexParser.forInit`.
1272
+ * Exit a parse tree produced by the `instanceOfExpression`
1273
+ * labeled alternative in `ApexParser.expression`.
1288
1274
  * @param ctx the parse tree
1289
1275
  */
1290
- exitForInit?: (ctx: ForInitContext) => void;
1276
+ exitInstanceOfExpression?: (ctx: InstanceOfExpressionContext) => void;
1291
1277
  /**
1292
- * Enter a parse tree produced by `ApexParser.enhancedForControl`.
1278
+ * Enter a parse tree produced by the `thisPrimary`
1279
+ * labeled alternative in `ApexParser.primary`.
1293
1280
  * @param ctx the parse tree
1294
1281
  */
1295
- enterEnhancedForControl?: (ctx: EnhancedForControlContext) => void;
1282
+ enterThisPrimary?: (ctx: ThisPrimaryContext) => void;
1296
1283
  /**
1297
- * Exit a parse tree produced by `ApexParser.enhancedForControl`.
1284
+ * Exit a parse tree produced by the `thisPrimary`
1285
+ * labeled alternative in `ApexParser.primary`.
1298
1286
  * @param ctx the parse tree
1299
1287
  */
1300
- exitEnhancedForControl?: (ctx: EnhancedForControlContext) => void;
1288
+ exitThisPrimary?: (ctx: ThisPrimaryContext) => void;
1301
1289
  /**
1302
- * Enter a parse tree produced by `ApexParser.forUpdate`.
1290
+ * Enter a parse tree produced by the `superPrimary`
1291
+ * labeled alternative in `ApexParser.primary`.
1303
1292
  * @param ctx the parse tree
1304
1293
  */
1305
- enterForUpdate?: (ctx: ForUpdateContext) => void;
1294
+ enterSuperPrimary?: (ctx: SuperPrimaryContext) => void;
1306
1295
  /**
1307
- * Exit a parse tree produced by `ApexParser.forUpdate`.
1296
+ * Exit a parse tree produced by the `superPrimary`
1297
+ * labeled alternative in `ApexParser.primary`.
1308
1298
  * @param ctx the parse tree
1309
1299
  */
1310
- exitForUpdate?: (ctx: ForUpdateContext) => void;
1300
+ exitSuperPrimary?: (ctx: SuperPrimaryContext) => void;
1311
1301
  /**
1312
- * Enter a parse tree produced by `ApexParser.parExpression`.
1302
+ * Enter a parse tree produced by the `literalPrimary`
1303
+ * labeled alternative in `ApexParser.primary`.
1313
1304
  * @param ctx the parse tree
1314
1305
  */
1315
- enterParExpression?: (ctx: ParExpressionContext) => void;
1306
+ enterLiteralPrimary?: (ctx: LiteralPrimaryContext) => void;
1316
1307
  /**
1317
- * Exit a parse tree produced by `ApexParser.parExpression`.
1308
+ * Exit a parse tree produced by the `literalPrimary`
1309
+ * labeled alternative in `ApexParser.primary`.
1318
1310
  * @param ctx the parse tree
1319
1311
  */
1320
- exitParExpression?: (ctx: ParExpressionContext) => void;
1312
+ exitLiteralPrimary?: (ctx: LiteralPrimaryContext) => void;
1321
1313
  /**
1322
- * Enter a parse tree produced by `ApexParser.expressionList`.
1314
+ * Enter a parse tree produced by the `typeRefPrimary`
1315
+ * labeled alternative in `ApexParser.primary`.
1323
1316
  * @param ctx the parse tree
1324
1317
  */
1325
- enterExpressionList?: (ctx: ExpressionListContext) => void;
1318
+ enterTypeRefPrimary?: (ctx: TypeRefPrimaryContext) => void;
1326
1319
  /**
1327
- * Exit a parse tree produced by `ApexParser.expressionList`.
1320
+ * Exit a parse tree produced by the `typeRefPrimary`
1321
+ * labeled alternative in `ApexParser.primary`.
1328
1322
  * @param ctx the parse tree
1329
1323
  */
1330
- exitExpressionList?: (ctx: ExpressionListContext) => void;
1324
+ exitTypeRefPrimary?: (ctx: TypeRefPrimaryContext) => void;
1331
1325
  /**
1332
- * Enter a parse tree produced by `ApexParser.expression`.
1326
+ * Enter a parse tree produced by the `voidPrimary`
1327
+ * labeled alternative in `ApexParser.primary`.
1333
1328
  * @param ctx the parse tree
1334
1329
  */
1335
- enterExpression?: (ctx: ExpressionContext) => void;
1330
+ enterVoidPrimary?: (ctx: VoidPrimaryContext) => void;
1336
1331
  /**
1337
- * Exit a parse tree produced by `ApexParser.expression`.
1332
+ * Exit a parse tree produced by the `voidPrimary`
1333
+ * labeled alternative in `ApexParser.primary`.
1338
1334
  * @param ctx the parse tree
1339
1335
  */
1340
- exitExpression?: (ctx: ExpressionContext) => void;
1336
+ exitVoidPrimary?: (ctx: VoidPrimaryContext) => void;
1341
1337
  /**
1342
- * Enter a parse tree produced by `ApexParser.primary`.
1338
+ * Enter a parse tree produced by the `idPrimary`
1339
+ * labeled alternative in `ApexParser.primary`.
1340
+ * @param ctx the parse tree
1341
+ */
1342
+ enterIdPrimary?: (ctx: IdPrimaryContext) => void;
1343
+ /**
1344
+ * Exit a parse tree produced by the `idPrimary`
1345
+ * labeled alternative in `ApexParser.primary`.
1346
+ * @param ctx the parse tree
1347
+ */
1348
+ exitIdPrimary?: (ctx: IdPrimaryContext) => void;
1349
+ /**
1350
+ * Enter a parse tree produced by the `soqlPrimary`
1351
+ * labeled alternative in `ApexParser.primary`.
1352
+ * @param ctx the parse tree
1353
+ */
1354
+ enterSoqlPrimary?: (ctx: SoqlPrimaryContext) => void;
1355
+ /**
1356
+ * Exit a parse tree produced by the `soqlPrimary`
1357
+ * labeled alternative in `ApexParser.primary`.
1343
1358
  * @param ctx the parse tree
1344
1359
  */
1345
- enterPrimary?: (ctx: PrimaryContext) => void;
1360
+ exitSoqlPrimary?: (ctx: SoqlPrimaryContext) => void;
1346
1361
  /**
1347
- * Exit a parse tree produced by `ApexParser.primary`.
1362
+ * Enter a parse tree produced by the `soslPrimary`
1363
+ * labeled alternative in `ApexParser.primary`.
1348
1364
  * @param ctx the parse tree
1349
1365
  */
1350
- exitPrimary?: (ctx: PrimaryContext) => void;
1366
+ enterSoslPrimary?: (ctx: SoslPrimaryContext) => void;
1367
+ /**
1368
+ * Exit a parse tree produced by the `soslPrimary`
1369
+ * labeled alternative in `ApexParser.primary`.
1370
+ * @param ctx the parse tree
1371
+ */
1372
+ exitSoslPrimary?: (ctx: SoslPrimaryContext) => void;
1351
1373
  /**
1352
1374
  * Enter a parse tree produced by `ApexParser.methodCall`.
1353
1375
  * @param ctx the parse tree