@apexdevtools/apex-parser 5.0.0 → 5.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +55 -4
  3. package/dist/browser/apex-parser.mjs +64579 -0
  4. package/dist/browser/apex-parser.mjs.map +1 -0
  5. package/dist/browser/apex-parser.umd.js +64784 -0
  6. package/dist/browser/apex-parser.umd.js.map +1 -0
  7. package/dist/cjs/ApexErrorListener.cjs +31 -0
  8. package/dist/cjs/ApexErrorListener.cjs.map +1 -0
  9. package/dist/cjs/ApexParserFactory.cjs +83 -0
  10. package/dist/cjs/ApexParserFactory.cjs.map +1 -0
  11. package/dist/cjs/CaseInsensitiveInputStream.cjs +30 -0
  12. package/dist/cjs/CaseInsensitiveInputStream.cjs.map +1 -0
  13. package/dist/cjs/Check.cjs +172 -0
  14. package/dist/cjs/Check.cjs.map +1 -0
  15. package/dist/cjs/antlr/ApexLexer.cjs +23244 -0
  16. package/dist/cjs/antlr/ApexLexer.cjs.map +1 -0
  17. package/dist/cjs/antlr/ApexParser.cjs +38369 -0
  18. package/dist/cjs/antlr/ApexParser.cjs.map +1 -0
  19. package/dist/cjs/antlr/ApexParserListener.cjs +1915 -0
  20. package/dist/cjs/antlr/ApexParserListener.cjs.map +1 -0
  21. package/dist/cjs/antlr/ApexParserVisitor.cjs +1147 -0
  22. package/dist/cjs/antlr/ApexParserVisitor.cjs.map +1 -0
  23. package/dist/cjs/index.cjs +214 -0
  24. package/dist/cjs/index.cjs.map +1 -0
  25. package/dist/esm/ApexErrorListener.js +27 -0
  26. package/dist/esm/ApexErrorListener.js.map +1 -0
  27. package/dist/esm/ApexParserFactory.js +78 -0
  28. package/dist/esm/ApexParserFactory.js.map +1 -0
  29. package/dist/esm/CaseInsensitiveInputStream.js +28 -0
  30. package/dist/esm/CaseInsensitiveInputStream.js.map +1 -0
  31. package/dist/esm/Check.js +169 -0
  32. package/dist/esm/Check.js.map +1 -0
  33. package/dist/esm/antlr/ApexLexer.js +23240 -0
  34. package/dist/esm/antlr/ApexLexer.js.map +1 -0
  35. package/dist/esm/antlr/ApexParser.js +38179 -0
  36. package/dist/esm/antlr/ApexParser.js.map +1 -0
  37. package/dist/esm/antlr/ApexParserListener.js +1911 -0
  38. package/dist/esm/antlr/ApexParserListener.js.map +1 -0
  39. package/dist/esm/antlr/ApexParserVisitor.js +1143 -0
  40. package/dist/esm/antlr/ApexParserVisitor.js.map +1 -0
  41. package/dist/esm/index.js +9 -0
  42. package/dist/esm/index.js.map +1 -0
  43. package/dist/types/ApexErrorListener.d.cts +26 -0
  44. package/dist/{src → types}/ApexErrorListener.d.ts +4 -3
  45. package/dist/types/ApexParserFactory.d.cts +81 -0
  46. package/dist/{src → types}/ApexParserFactory.d.ts +12 -0
  47. package/dist/types/CaseInsensitiveInputStream.d.ts +14 -0
  48. package/dist/types/Check.d.ts +36 -0
  49. package/dist/types/antlr/ApexLexer.d.cts +275 -0
  50. package/dist/{src → types}/antlr/ApexLexer.d.ts +54 -53
  51. package/dist/types/antlr/ApexParser.d.cts +3126 -0
  52. package/dist/{src → types}/antlr/ApexParser.d.ts +113 -85
  53. package/dist/{src/antlr/ApexParserListener.js → types/antlr/ApexParserListener.d.cts} +568 -366
  54. package/dist/{src → types}/antlr/ApexParserListener.d.ts +22 -0
  55. package/dist/{src/antlr/ApexParserVisitor.js → types/antlr/ApexParserVisitor.d.cts} +379 -185
  56. package/dist/{src → types}/antlr/ApexParserVisitor.d.ts +14 -0
  57. package/dist/types/index.browser.d.cts +8 -0
  58. package/dist/types/index.browser.d.ts +8 -0
  59. package/dist/types/index.d.ts +9 -0
  60. package/package.json +89 -21
  61. package/dist/src/ApexErrorListener.js +0 -61
  62. package/dist/src/ApexErrorListener.js.map +0 -1
  63. package/dist/src/ApexParserFactory.js +0 -116
  64. package/dist/src/ApexParserFactory.js.map +0 -1
  65. package/dist/src/CaseInsensitiveInputStream.js +0 -64
  66. package/dist/src/CaseInsensitiveInputStream.js.map +0 -1
  67. package/dist/src/Check.js +0 -205
  68. package/dist/src/Check.js.map +0 -1
  69. package/dist/src/antlr/ApexLexer.js +0 -1573
  70. package/dist/src/antlr/ApexLexer.js.map +0 -1
  71. package/dist/src/antlr/ApexParser.js +0 -20786
  72. package/dist/src/antlr/ApexParser.js.map +0 -1
  73. package/dist/src/antlr/ApexParserListener.js.map +0 -1
  74. package/dist/src/antlr/ApexParserVisitor.js.map +0 -1
  75. package/dist/src/index.js +0 -37
  76. package/dist/src/index.js.map +0 -1
  77. /package/dist/{src/CaseInsensitiveInputStream.d.ts → types/CaseInsensitiveInputStream.d.cts} +0 -0
  78. /package/dist/{src/Check.d.ts → types/Check.d.cts} +0 -0
  79. /package/dist/{src/index.d.ts → types/index.d.cts} +0 -0
@@ -1,5 +1,188 @@
1
- // Generated from ApexParser.g4 by ANTLR 4.13.2
2
1
  import { ParseTreeVisitor } 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 { FieldGroupByListContext } from "./ApexParser.js";
160
+ import { FieldGroupByContext } from "./ApexParser.js";
161
+ import { OrderByClauseContext } from "./ApexParser.js";
162
+ import { FieldOrderListContext } from "./ApexParser.js";
163
+ import { FieldOrderContext } from "./ApexParser.js";
164
+ import { LimitClauseContext } from "./ApexParser.js";
165
+ import { OffsetClauseContext } from "./ApexParser.js";
166
+ import { AllRowsClauseContext } from "./ApexParser.js";
167
+ import { ForClausesContext } from "./ApexParser.js";
168
+ import { BoundExpressionContext } from "./ApexParser.js";
169
+ import { DateFormulaContext } from "./ApexParser.js";
170
+ import { SignedIntegerContext } from "./ApexParser.js";
171
+ import { SoqlIdContext } from "./ApexParser.js";
172
+ import { SoslLiteralContext } from "./ApexParser.js";
173
+ import { SoslLiteralAltContext } from "./ApexParser.js";
174
+ import { SoslClausesContext } from "./ApexParser.js";
175
+ import { SoslWithClauseContext } from "./ApexParser.js";
176
+ import { SearchGroupContext } from "./ApexParser.js";
177
+ import { FieldSpecListContext } from "./ApexParser.js";
178
+ import { FieldSpecContext } from "./ApexParser.js";
179
+ import { FieldListContext } from "./ApexParser.js";
180
+ import { UpdateListContext } from "./ApexParser.js";
181
+ import { UpdateTypeContext } from "./ApexParser.js";
182
+ import { NetworkListContext } from "./ApexParser.js";
183
+ import { SoslIdContext } from "./ApexParser.js";
184
+ import { IdContext } from "./ApexParser.js";
185
+ import { AnyIdContext } from "./ApexParser.js";
3
186
  /**
4
187
  * This interface defines a complete generic visitor for a parse tree produced
5
188
  * by `ApexParser`.
@@ -7,1130 +190,1141 @@ import { ParseTreeVisitor } from 'antlr4';
7
190
  * @param <Result> The return type of the visit operation. Use `void` for
8
191
  * operations with no return type.
9
192
  */
10
- export default class ApexParserVisitor extends ParseTreeVisitor {
193
+ export default class ApexParserVisitor<Result> extends ParseTreeVisitor<Result> {
11
194
  /**
12
195
  * Visit a parse tree produced by `ApexParser.triggerUnit`.
13
196
  * @param ctx the parse tree
14
197
  * @return the visitor result
15
198
  */
16
- visitTriggerUnit;
199
+ visitTriggerUnit?: (ctx: TriggerUnitContext) => Result;
17
200
  /**
18
201
  * Visit a parse tree produced by `ApexParser.triggerCase`.
19
202
  * @param ctx the parse tree
20
203
  * @return the visitor result
21
204
  */
22
- visitTriggerCase;
205
+ visitTriggerCase?: (ctx: TriggerCaseContext) => Result;
23
206
  /**
24
207
  * Visit a parse tree produced by `ApexParser.triggerBlock`.
25
208
  * @param ctx the parse tree
26
209
  * @return the visitor result
27
210
  */
28
- visitTriggerBlock;
211
+ visitTriggerBlock?: (ctx: TriggerBlockContext) => Result;
29
212
  /**
30
213
  * Visit a parse tree produced by `ApexParser.triggerBlockMember`.
31
214
  * @param ctx the parse tree
32
215
  * @return the visitor result
33
216
  */
34
- visitTriggerBlockMember;
217
+ visitTriggerBlockMember?: (ctx: TriggerBlockMemberContext) => Result;
35
218
  /**
36
219
  * Visit a parse tree produced by `ApexParser.anonymousUnit`.
37
220
  * @param ctx the parse tree
38
221
  * @return the visitor result
39
222
  */
40
- visitAnonymousUnit;
223
+ visitAnonymousUnit?: (ctx: AnonymousUnitContext) => Result;
41
224
  /**
42
225
  * Visit a parse tree produced by `ApexParser.anonymousBlock`.
43
226
  * @param ctx the parse tree
44
227
  * @return the visitor result
45
228
  */
46
- visitAnonymousBlock;
229
+ visitAnonymousBlock?: (ctx: AnonymousBlockContext) => Result;
47
230
  /**
48
231
  * Visit a parse tree produced by `ApexParser.anonymousBlockMember`.
49
232
  * @param ctx the parse tree
50
233
  * @return the visitor result
51
234
  */
52
- visitAnonymousBlockMember;
235
+ visitAnonymousBlockMember?: (ctx: AnonymousBlockMemberContext) => Result;
53
236
  /**
54
237
  * Visit a parse tree produced by `ApexParser.compilationUnit`.
55
238
  * @param ctx the parse tree
56
239
  * @return the visitor result
57
240
  */
58
- visitCompilationUnit;
241
+ visitCompilationUnit?: (ctx: CompilationUnitContext) => Result;
59
242
  /**
60
243
  * Visit a parse tree produced by `ApexParser.typeDeclaration`.
61
244
  * @param ctx the parse tree
62
245
  * @return the visitor result
63
246
  */
64
- visitTypeDeclaration;
247
+ visitTypeDeclaration?: (ctx: TypeDeclarationContext) => Result;
65
248
  /**
66
249
  * Visit a parse tree produced by `ApexParser.classDeclaration`.
67
250
  * @param ctx the parse tree
68
251
  * @return the visitor result
69
252
  */
70
- visitClassDeclaration;
253
+ visitClassDeclaration?: (ctx: ClassDeclarationContext) => Result;
71
254
  /**
72
255
  * Visit a parse tree produced by `ApexParser.enumDeclaration`.
73
256
  * @param ctx the parse tree
74
257
  * @return the visitor result
75
258
  */
76
- visitEnumDeclaration;
259
+ visitEnumDeclaration?: (ctx: EnumDeclarationContext) => Result;
77
260
  /**
78
261
  * Visit a parse tree produced by `ApexParser.enumConstants`.
79
262
  * @param ctx the parse tree
80
263
  * @return the visitor result
81
264
  */
82
- visitEnumConstants;
265
+ visitEnumConstants?: (ctx: EnumConstantsContext) => Result;
83
266
  /**
84
267
  * Visit a parse tree produced by `ApexParser.interfaceDeclaration`.
85
268
  * @param ctx the parse tree
86
269
  * @return the visitor result
87
270
  */
88
- visitInterfaceDeclaration;
271
+ visitInterfaceDeclaration?: (ctx: InterfaceDeclarationContext) => Result;
89
272
  /**
90
273
  * Visit a parse tree produced by `ApexParser.typeList`.
91
274
  * @param ctx the parse tree
92
275
  * @return the visitor result
93
276
  */
94
- visitTypeList;
277
+ visitTypeList?: (ctx: TypeListContext) => Result;
95
278
  /**
96
279
  * Visit a parse tree produced by `ApexParser.classBody`.
97
280
  * @param ctx the parse tree
98
281
  * @return the visitor result
99
282
  */
100
- visitClassBody;
283
+ visitClassBody?: (ctx: ClassBodyContext) => Result;
101
284
  /**
102
285
  * Visit a parse tree produced by `ApexParser.interfaceBody`.
103
286
  * @param ctx the parse tree
104
287
  * @return the visitor result
105
288
  */
106
- visitInterfaceBody;
289
+ visitInterfaceBody?: (ctx: InterfaceBodyContext) => Result;
107
290
  /**
108
291
  * Visit a parse tree produced by `ApexParser.classBodyDeclaration`.
109
292
  * @param ctx the parse tree
110
293
  * @return the visitor result
111
294
  */
112
- visitClassBodyDeclaration;
295
+ visitClassBodyDeclaration?: (ctx: ClassBodyDeclarationContext) => Result;
113
296
  /**
114
297
  * Visit a parse tree produced by `ApexParser.modifier`.
115
298
  * @param ctx the parse tree
116
299
  * @return the visitor result
117
300
  */
118
- visitModifier;
301
+ visitModifier?: (ctx: ModifierContext) => Result;
119
302
  /**
120
303
  * Visit a parse tree produced by `ApexParser.memberDeclaration`.
121
304
  * @param ctx the parse tree
122
305
  * @return the visitor result
123
306
  */
124
- visitMemberDeclaration;
307
+ visitMemberDeclaration?: (ctx: MemberDeclarationContext) => Result;
125
308
  /**
126
309
  * Visit a parse tree produced by `ApexParser.triggerMemberDeclaration`.
127
310
  * @param ctx the parse tree
128
311
  * @return the visitor result
129
312
  */
130
- visitTriggerMemberDeclaration;
313
+ visitTriggerMemberDeclaration?: (ctx: TriggerMemberDeclarationContext) => Result;
131
314
  /**
132
315
  * Visit a parse tree produced by `ApexParser.anonymousMemberDeclaration`.
133
316
  * @param ctx the parse tree
134
317
  * @return the visitor result
135
318
  */
136
- visitAnonymousMemberDeclaration;
319
+ visitAnonymousMemberDeclaration?: (ctx: AnonymousMemberDeclarationContext) => Result;
137
320
  /**
138
321
  * Visit a parse tree produced by `ApexParser.methodDeclaration`.
139
322
  * @param ctx the parse tree
140
323
  * @return the visitor result
141
324
  */
142
- visitMethodDeclaration;
325
+ visitMethodDeclaration?: (ctx: MethodDeclarationContext) => Result;
143
326
  /**
144
327
  * Visit a parse tree produced by `ApexParser.constructorDeclaration`.
145
328
  * @param ctx the parse tree
146
329
  * @return the visitor result
147
330
  */
148
- visitConstructorDeclaration;
331
+ visitConstructorDeclaration?: (ctx: ConstructorDeclarationContext) => Result;
149
332
  /**
150
333
  * Visit a parse tree produced by `ApexParser.fieldDeclaration`.
151
334
  * @param ctx the parse tree
152
335
  * @return the visitor result
153
336
  */
154
- visitFieldDeclaration;
337
+ visitFieldDeclaration?: (ctx: FieldDeclarationContext) => Result;
155
338
  /**
156
339
  * Visit a parse tree produced by `ApexParser.propertyDeclaration`.
157
340
  * @param ctx the parse tree
158
341
  * @return the visitor result
159
342
  */
160
- visitPropertyDeclaration;
343
+ visitPropertyDeclaration?: (ctx: PropertyDeclarationContext) => Result;
161
344
  /**
162
345
  * Visit a parse tree produced by `ApexParser.interfaceMethodDeclaration`.
163
346
  * @param ctx the parse tree
164
347
  * @return the visitor result
165
348
  */
166
- visitInterfaceMethodDeclaration;
349
+ visitInterfaceMethodDeclaration?: (ctx: InterfaceMethodDeclarationContext) => Result;
167
350
  /**
168
351
  * Visit a parse tree produced by `ApexParser.variableDeclarators`.
169
352
  * @param ctx the parse tree
170
353
  * @return the visitor result
171
354
  */
172
- visitVariableDeclarators;
355
+ visitVariableDeclarators?: (ctx: VariableDeclaratorsContext) => Result;
173
356
  /**
174
357
  * Visit a parse tree produced by `ApexParser.variableDeclarator`.
175
358
  * @param ctx the parse tree
176
359
  * @return the visitor result
177
360
  */
178
- visitVariableDeclarator;
361
+ visitVariableDeclarator?: (ctx: VariableDeclaratorContext) => Result;
179
362
  /**
180
363
  * Visit a parse tree produced by `ApexParser.arrayInitializer`.
181
364
  * @param ctx the parse tree
182
365
  * @return the visitor result
183
366
  */
184
- visitArrayInitializer;
367
+ visitArrayInitializer?: (ctx: ArrayInitializerContext) => Result;
185
368
  /**
186
369
  * Visit a parse tree produced by `ApexParser.typeRef`.
187
370
  * @param ctx the parse tree
188
371
  * @return the visitor result
189
372
  */
190
- visitTypeRef;
373
+ visitTypeRef?: (ctx: TypeRefContext) => Result;
191
374
  /**
192
375
  * Visit a parse tree produced by `ApexParser.arraySubscripts`.
193
376
  * @param ctx the parse tree
194
377
  * @return the visitor result
195
378
  */
196
- visitArraySubscripts;
379
+ visitArraySubscripts?: (ctx: ArraySubscriptsContext) => Result;
197
380
  /**
198
381
  * Visit a parse tree produced by `ApexParser.typeName`.
199
382
  * @param ctx the parse tree
200
383
  * @return the visitor result
201
384
  */
202
- visitTypeName;
385
+ visitTypeName?: (ctx: TypeNameContext) => Result;
203
386
  /**
204
387
  * Visit a parse tree produced by `ApexParser.typeArguments`.
205
388
  * @param ctx the parse tree
206
389
  * @return the visitor result
207
390
  */
208
- visitTypeArguments;
391
+ visitTypeArguments?: (ctx: TypeArgumentsContext) => Result;
209
392
  /**
210
393
  * Visit a parse tree produced by `ApexParser.formalParameters`.
211
394
  * @param ctx the parse tree
212
395
  * @return the visitor result
213
396
  */
214
- visitFormalParameters;
397
+ visitFormalParameters?: (ctx: FormalParametersContext) => Result;
215
398
  /**
216
399
  * Visit a parse tree produced by `ApexParser.formalParameterList`.
217
400
  * @param ctx the parse tree
218
401
  * @return the visitor result
219
402
  */
220
- visitFormalParameterList;
403
+ visitFormalParameterList?: (ctx: FormalParameterListContext) => Result;
221
404
  /**
222
405
  * Visit a parse tree produced by `ApexParser.formalParameter`.
223
406
  * @param ctx the parse tree
224
407
  * @return the visitor result
225
408
  */
226
- visitFormalParameter;
409
+ visitFormalParameter?: (ctx: FormalParameterContext) => Result;
227
410
  /**
228
411
  * Visit a parse tree produced by `ApexParser.qualifiedName`.
229
412
  * @param ctx the parse tree
230
413
  * @return the visitor result
231
414
  */
232
- visitQualifiedName;
415
+ visitQualifiedName?: (ctx: QualifiedNameContext) => Result;
233
416
  /**
234
417
  * Visit a parse tree produced by `ApexParser.literal`.
235
418
  * @param ctx the parse tree
236
419
  * @return the visitor result
237
420
  */
238
- visitLiteral;
421
+ visitLiteral?: (ctx: LiteralContext) => Result;
239
422
  /**
240
423
  * Visit a parse tree produced by `ApexParser.annotation`.
241
424
  * @param ctx the parse tree
242
425
  * @return the visitor result
243
426
  */
244
- visitAnnotation;
427
+ visitAnnotation?: (ctx: AnnotationContext) => Result;
245
428
  /**
246
429
  * Visit a parse tree produced by `ApexParser.elementValuePairs`.
247
430
  * @param ctx the parse tree
248
431
  * @return the visitor result
249
432
  */
250
- visitElementValuePairs;
433
+ visitElementValuePairs?: (ctx: ElementValuePairsContext) => Result;
251
434
  /**
252
435
  * Visit a parse tree produced by `ApexParser.elementValuePair`.
253
436
  * @param ctx the parse tree
254
437
  * @return the visitor result
255
438
  */
256
- visitElementValuePair;
439
+ visitElementValuePair?: (ctx: ElementValuePairContext) => Result;
257
440
  /**
258
441
  * Visit a parse tree produced by `ApexParser.elementValue`.
259
442
  * @param ctx the parse tree
260
443
  * @return the visitor result
261
444
  */
262
- visitElementValue;
445
+ visitElementValue?: (ctx: ElementValueContext) => Result;
263
446
  /**
264
447
  * Visit a parse tree produced by `ApexParser.elementValueArrayInitializer`.
265
448
  * @param ctx the parse tree
266
449
  * @return the visitor result
267
450
  */
268
- visitElementValueArrayInitializer;
451
+ visitElementValueArrayInitializer?: (ctx: ElementValueArrayInitializerContext) => Result;
269
452
  /**
270
453
  * Visit a parse tree produced by `ApexParser.block`.
271
454
  * @param ctx the parse tree
272
455
  * @return the visitor result
273
456
  */
274
- visitBlock;
457
+ visitBlock?: (ctx: BlockContext) => Result;
275
458
  /**
276
459
  * Visit a parse tree produced by `ApexParser.localVariableDeclarationStatement`.
277
460
  * @param ctx the parse tree
278
461
  * @return the visitor result
279
462
  */
280
- visitLocalVariableDeclarationStatement;
463
+ visitLocalVariableDeclarationStatement?: (ctx: LocalVariableDeclarationStatementContext) => Result;
281
464
  /**
282
465
  * Visit a parse tree produced by `ApexParser.localVariableDeclaration`.
283
466
  * @param ctx the parse tree
284
467
  * @return the visitor result
285
468
  */
286
- visitLocalVariableDeclaration;
469
+ visitLocalVariableDeclaration?: (ctx: LocalVariableDeclarationContext) => Result;
287
470
  /**
288
471
  * Visit a parse tree produced by `ApexParser.statement`.
289
472
  * @param ctx the parse tree
290
473
  * @return the visitor result
291
474
  */
292
- visitStatement;
475
+ visitStatement?: (ctx: StatementContext) => Result;
293
476
  /**
294
477
  * Visit a parse tree produced by `ApexParser.ifStatement`.
295
478
  * @param ctx the parse tree
296
479
  * @return the visitor result
297
480
  */
298
- visitIfStatement;
481
+ visitIfStatement?: (ctx: IfStatementContext) => Result;
299
482
  /**
300
483
  * Visit a parse tree produced by `ApexParser.switchStatement`.
301
484
  * @param ctx the parse tree
302
485
  * @return the visitor result
303
486
  */
304
- visitSwitchStatement;
487
+ visitSwitchStatement?: (ctx: SwitchStatementContext) => Result;
305
488
  /**
306
489
  * Visit a parse tree produced by `ApexParser.whenControl`.
307
490
  * @param ctx the parse tree
308
491
  * @return the visitor result
309
492
  */
310
- visitWhenControl;
493
+ visitWhenControl?: (ctx: WhenControlContext) => Result;
311
494
  /**
312
495
  * Visit a parse tree produced by `ApexParser.whenValue`.
313
496
  * @param ctx the parse tree
314
497
  * @return the visitor result
315
498
  */
316
- visitWhenValue;
499
+ visitWhenValue?: (ctx: WhenValueContext) => Result;
317
500
  /**
318
501
  * Visit a parse tree produced by `ApexParser.whenLiteral`.
319
502
  * @param ctx the parse tree
320
503
  * @return the visitor result
321
504
  */
322
- visitWhenLiteral;
505
+ visitWhenLiteral?: (ctx: WhenLiteralContext) => Result;
323
506
  /**
324
507
  * Visit a parse tree produced by `ApexParser.forStatement`.
325
508
  * @param ctx the parse tree
326
509
  * @return the visitor result
327
510
  */
328
- visitForStatement;
511
+ visitForStatement?: (ctx: ForStatementContext) => Result;
329
512
  /**
330
513
  * Visit a parse tree produced by `ApexParser.whileStatement`.
331
514
  * @param ctx the parse tree
332
515
  * @return the visitor result
333
516
  */
334
- visitWhileStatement;
517
+ visitWhileStatement?: (ctx: WhileStatementContext) => Result;
335
518
  /**
336
519
  * Visit a parse tree produced by `ApexParser.doWhileStatement`.
337
520
  * @param ctx the parse tree
338
521
  * @return the visitor result
339
522
  */
340
- visitDoWhileStatement;
523
+ visitDoWhileStatement?: (ctx: DoWhileStatementContext) => Result;
341
524
  /**
342
525
  * Visit a parse tree produced by `ApexParser.tryStatement`.
343
526
  * @param ctx the parse tree
344
527
  * @return the visitor result
345
528
  */
346
- visitTryStatement;
529
+ visitTryStatement?: (ctx: TryStatementContext) => Result;
347
530
  /**
348
531
  * Visit a parse tree produced by `ApexParser.returnStatement`.
349
532
  * @param ctx the parse tree
350
533
  * @return the visitor result
351
534
  */
352
- visitReturnStatement;
535
+ visitReturnStatement?: (ctx: ReturnStatementContext) => Result;
353
536
  /**
354
537
  * Visit a parse tree produced by `ApexParser.throwStatement`.
355
538
  * @param ctx the parse tree
356
539
  * @return the visitor result
357
540
  */
358
- visitThrowStatement;
541
+ visitThrowStatement?: (ctx: ThrowStatementContext) => Result;
359
542
  /**
360
543
  * Visit a parse tree produced by `ApexParser.breakStatement`.
361
544
  * @param ctx the parse tree
362
545
  * @return the visitor result
363
546
  */
364
- visitBreakStatement;
547
+ visitBreakStatement?: (ctx: BreakStatementContext) => Result;
365
548
  /**
366
549
  * Visit a parse tree produced by `ApexParser.continueStatement`.
367
550
  * @param ctx the parse tree
368
551
  * @return the visitor result
369
552
  */
370
- visitContinueStatement;
553
+ visitContinueStatement?: (ctx: ContinueStatementContext) => Result;
371
554
  /**
372
555
  * Visit a parse tree produced by `ApexParser.accessLevel`.
373
556
  * @param ctx the parse tree
374
557
  * @return the visitor result
375
558
  */
376
- visitAccessLevel;
559
+ visitAccessLevel?: (ctx: AccessLevelContext) => Result;
377
560
  /**
378
561
  * Visit a parse tree produced by `ApexParser.insertStatement`.
379
562
  * @param ctx the parse tree
380
563
  * @return the visitor result
381
564
  */
382
- visitInsertStatement;
565
+ visitInsertStatement?: (ctx: InsertStatementContext) => Result;
383
566
  /**
384
567
  * Visit a parse tree produced by `ApexParser.updateStatement`.
385
568
  * @param ctx the parse tree
386
569
  * @return the visitor result
387
570
  */
388
- visitUpdateStatement;
571
+ visitUpdateStatement?: (ctx: UpdateStatementContext) => Result;
389
572
  /**
390
573
  * Visit a parse tree produced by `ApexParser.deleteStatement`.
391
574
  * @param ctx the parse tree
392
575
  * @return the visitor result
393
576
  */
394
- visitDeleteStatement;
577
+ visitDeleteStatement?: (ctx: DeleteStatementContext) => Result;
395
578
  /**
396
579
  * Visit a parse tree produced by `ApexParser.undeleteStatement`.
397
580
  * @param ctx the parse tree
398
581
  * @return the visitor result
399
582
  */
400
- visitUndeleteStatement;
583
+ visitUndeleteStatement?: (ctx: UndeleteStatementContext) => Result;
401
584
  /**
402
585
  * Visit a parse tree produced by `ApexParser.upsertStatement`.
403
586
  * @param ctx the parse tree
404
587
  * @return the visitor result
405
588
  */
406
- visitUpsertStatement;
589
+ visitUpsertStatement?: (ctx: UpsertStatementContext) => Result;
407
590
  /**
408
591
  * Visit a parse tree produced by `ApexParser.mergeStatement`.
409
592
  * @param ctx the parse tree
410
593
  * @return the visitor result
411
594
  */
412
- visitMergeStatement;
595
+ visitMergeStatement?: (ctx: MergeStatementContext) => Result;
413
596
  /**
414
597
  * Visit a parse tree produced by `ApexParser.runAsStatement`.
415
598
  * @param ctx the parse tree
416
599
  * @return the visitor result
417
600
  */
418
- visitRunAsStatement;
601
+ visitRunAsStatement?: (ctx: RunAsStatementContext) => Result;
419
602
  /**
420
603
  * Visit a parse tree produced by `ApexParser.expressionStatement`.
421
604
  * @param ctx the parse tree
422
605
  * @return the visitor result
423
606
  */
424
- visitExpressionStatement;
607
+ visitExpressionStatement?: (ctx: ExpressionStatementContext) => Result;
425
608
  /**
426
609
  * Visit a parse tree produced by `ApexParser.propertyBlock`.
427
610
  * @param ctx the parse tree
428
611
  * @return the visitor result
429
612
  */
430
- visitPropertyBlock;
613
+ visitPropertyBlock?: (ctx: PropertyBlockContext) => Result;
431
614
  /**
432
615
  * Visit a parse tree produced by `ApexParser.getter`.
433
616
  * @param ctx the parse tree
434
617
  * @return the visitor result
435
618
  */
436
- visitGetter;
619
+ visitGetter?: (ctx: GetterContext) => Result;
437
620
  /**
438
621
  * Visit a parse tree produced by `ApexParser.setter`.
439
622
  * @param ctx the parse tree
440
623
  * @return the visitor result
441
624
  */
442
- visitSetter;
625
+ visitSetter?: (ctx: SetterContext) => Result;
443
626
  /**
444
627
  * Visit a parse tree produced by `ApexParser.catchClause`.
445
628
  * @param ctx the parse tree
446
629
  * @return the visitor result
447
630
  */
448
- visitCatchClause;
631
+ visitCatchClause?: (ctx: CatchClauseContext) => Result;
449
632
  /**
450
633
  * Visit a parse tree produced by `ApexParser.finallyBlock`.
451
634
  * @param ctx the parse tree
452
635
  * @return the visitor result
453
636
  */
454
- visitFinallyBlock;
637
+ visitFinallyBlock?: (ctx: FinallyBlockContext) => Result;
455
638
  /**
456
639
  * Visit a parse tree produced by `ApexParser.forControl`.
457
640
  * @param ctx the parse tree
458
641
  * @return the visitor result
459
642
  */
460
- visitForControl;
643
+ visitForControl?: (ctx: ForControlContext) => Result;
461
644
  /**
462
645
  * Visit a parse tree produced by `ApexParser.forInit`.
463
646
  * @param ctx the parse tree
464
647
  * @return the visitor result
465
648
  */
466
- visitForInit;
649
+ visitForInit?: (ctx: ForInitContext) => Result;
467
650
  /**
468
651
  * Visit a parse tree produced by `ApexParser.enhancedForControl`.
469
652
  * @param ctx the parse tree
470
653
  * @return the visitor result
471
654
  */
472
- visitEnhancedForControl;
655
+ visitEnhancedForControl?: (ctx: EnhancedForControlContext) => Result;
473
656
  /**
474
657
  * Visit a parse tree produced by `ApexParser.forUpdate`.
475
658
  * @param ctx the parse tree
476
659
  * @return the visitor result
477
660
  */
478
- visitForUpdate;
661
+ visitForUpdate?: (ctx: ForUpdateContext) => Result;
479
662
  /**
480
663
  * Visit a parse tree produced by `ApexParser.parExpression`.
481
664
  * @param ctx the parse tree
482
665
  * @return the visitor result
483
666
  */
484
- visitParExpression;
667
+ visitParExpression?: (ctx: ParExpressionContext) => Result;
485
668
  /**
486
669
  * Visit a parse tree produced by `ApexParser.expressionList`.
487
670
  * @param ctx the parse tree
488
671
  * @return the visitor result
489
672
  */
490
- visitExpressionList;
673
+ visitExpressionList?: (ctx: ExpressionListContext) => Result;
491
674
  /**
492
675
  * Visit a parse tree produced by the `primaryExpression`
493
676
  * labeled alternative in `ApexParser.expression`.
494
677
  * @param ctx the parse tree
495
678
  * @return the visitor result
496
679
  */
497
- visitPrimaryExpression;
680
+ visitPrimaryExpression?: (ctx: PrimaryExpressionContext) => Result;
498
681
  /**
499
682
  * Visit a parse tree produced by the `arth1Expression`
500
683
  * labeled alternative in `ApexParser.expression`.
501
684
  * @param ctx the parse tree
502
685
  * @return the visitor result
503
686
  */
504
- visitArth1Expression;
687
+ visitArth1Expression?: (ctx: Arth1ExpressionContext) => Result;
505
688
  /**
506
689
  * Visit a parse tree produced by the `coalExpression`
507
690
  * labeled alternative in `ApexParser.expression`.
508
691
  * @param ctx the parse tree
509
692
  * @return the visitor result
510
693
  */
511
- visitCoalExpression;
694
+ visitCoalExpression?: (ctx: CoalExpressionContext) => Result;
512
695
  /**
513
696
  * Visit a parse tree produced by the `dotExpression`
514
697
  * labeled alternative in `ApexParser.expression`.
515
698
  * @param ctx the parse tree
516
699
  * @return the visitor result
517
700
  */
518
- visitDotExpression;
701
+ visitDotExpression?: (ctx: DotExpressionContext) => Result;
519
702
  /**
520
703
  * Visit a parse tree produced by the `bitOrExpression`
521
704
  * labeled alternative in `ApexParser.expression`.
522
705
  * @param ctx the parse tree
523
706
  * @return the visitor result
524
707
  */
525
- visitBitOrExpression;
708
+ visitBitOrExpression?: (ctx: BitOrExpressionContext) => Result;
526
709
  /**
527
710
  * Visit a parse tree produced by the `arrayExpression`
528
711
  * labeled alternative in `ApexParser.expression`.
529
712
  * @param ctx the parse tree
530
713
  * @return the visitor result
531
714
  */
532
- visitArrayExpression;
715
+ visitArrayExpression?: (ctx: ArrayExpressionContext) => Result;
533
716
  /**
534
717
  * Visit a parse tree produced by the `newExpression`
535
718
  * labeled alternative in `ApexParser.expression`.
536
719
  * @param ctx the parse tree
537
720
  * @return the visitor result
538
721
  */
539
- visitNewExpression;
722
+ visitNewExpression?: (ctx: NewExpressionContext) => Result;
540
723
  /**
541
724
  * Visit a parse tree produced by the `assignExpression`
542
725
  * labeled alternative in `ApexParser.expression`.
543
726
  * @param ctx the parse tree
544
727
  * @return the visitor result
545
728
  */
546
- visitAssignExpression;
729
+ visitAssignExpression?: (ctx: AssignExpressionContext) => Result;
547
730
  /**
548
731
  * Visit a parse tree produced by the `methodCallExpression`
549
732
  * labeled alternative in `ApexParser.expression`.
550
733
  * @param ctx the parse tree
551
734
  * @return the visitor result
552
735
  */
553
- visitMethodCallExpression;
736
+ visitMethodCallExpression?: (ctx: MethodCallExpressionContext) => Result;
554
737
  /**
555
738
  * Visit a parse tree produced by the `bitNotExpression`
556
739
  * labeled alternative in `ApexParser.expression`.
557
740
  * @param ctx the parse tree
558
741
  * @return the visitor result
559
742
  */
560
- visitBitNotExpression;
743
+ visitBitNotExpression?: (ctx: BitNotExpressionContext) => Result;
561
744
  /**
562
745
  * Visit a parse tree produced by the `arth2Expression`
563
746
  * labeled alternative in `ApexParser.expression`.
564
747
  * @param ctx the parse tree
565
748
  * @return the visitor result
566
749
  */
567
- visitArth2Expression;
750
+ visitArth2Expression?: (ctx: Arth2ExpressionContext) => Result;
568
751
  /**
569
752
  * Visit a parse tree produced by the `logAndExpression`
570
753
  * labeled alternative in `ApexParser.expression`.
571
754
  * @param ctx the parse tree
572
755
  * @return the visitor result
573
756
  */
574
- visitLogAndExpression;
757
+ visitLogAndExpression?: (ctx: LogAndExpressionContext) => Result;
575
758
  /**
576
759
  * Visit a parse tree produced by the `castExpression`
577
760
  * labeled alternative in `ApexParser.expression`.
578
761
  * @param ctx the parse tree
579
762
  * @return the visitor result
580
763
  */
581
- visitCastExpression;
764
+ visitCastExpression?: (ctx: CastExpressionContext) => Result;
582
765
  /**
583
766
  * Visit a parse tree produced by the `bitAndExpression`
584
767
  * labeled alternative in `ApexParser.expression`.
585
768
  * @param ctx the parse tree
586
769
  * @return the visitor result
587
770
  */
588
- visitBitAndExpression;
771
+ visitBitAndExpression?: (ctx: BitAndExpressionContext) => Result;
589
772
  /**
590
773
  * Visit a parse tree produced by the `cmpExpression`
591
774
  * labeled alternative in `ApexParser.expression`.
592
775
  * @param ctx the parse tree
593
776
  * @return the visitor result
594
777
  */
595
- visitCmpExpression;
778
+ visitCmpExpression?: (ctx: CmpExpressionContext) => Result;
596
779
  /**
597
780
  * Visit a parse tree produced by the `bitExpression`
598
781
  * labeled alternative in `ApexParser.expression`.
599
782
  * @param ctx the parse tree
600
783
  * @return the visitor result
601
784
  */
602
- visitBitExpression;
785
+ visitBitExpression?: (ctx: BitExpressionContext) => Result;
603
786
  /**
604
787
  * Visit a parse tree produced by the `logOrExpression`
605
788
  * labeled alternative in `ApexParser.expression`.
606
789
  * @param ctx the parse tree
607
790
  * @return the visitor result
608
791
  */
609
- visitLogOrExpression;
792
+ visitLogOrExpression?: (ctx: LogOrExpressionContext) => Result;
610
793
  /**
611
794
  * Visit a parse tree produced by the `condExpression`
612
795
  * labeled alternative in `ApexParser.expression`.
613
796
  * @param ctx the parse tree
614
797
  * @return the visitor result
615
798
  */
616
- visitCondExpression;
799
+ visitCondExpression?: (ctx: CondExpressionContext) => Result;
617
800
  /**
618
801
  * Visit a parse tree produced by the `equalityExpression`
619
802
  * labeled alternative in `ApexParser.expression`.
620
803
  * @param ctx the parse tree
621
804
  * @return the visitor result
622
805
  */
623
- visitEqualityExpression;
806
+ visitEqualityExpression?: (ctx: EqualityExpressionContext) => Result;
624
807
  /**
625
808
  * Visit a parse tree produced by the `postOpExpression`
626
809
  * labeled alternative in `ApexParser.expression`.
627
810
  * @param ctx the parse tree
628
811
  * @return the visitor result
629
812
  */
630
- visitPostOpExpression;
813
+ visitPostOpExpression?: (ctx: PostOpExpressionContext) => Result;
631
814
  /**
632
815
  * Visit a parse tree produced by the `negExpression`
633
816
  * labeled alternative in `ApexParser.expression`.
634
817
  * @param ctx the parse tree
635
818
  * @return the visitor result
636
819
  */
637
- visitNegExpression;
820
+ visitNegExpression?: (ctx: NegExpressionContext) => Result;
638
821
  /**
639
822
  * Visit a parse tree produced by the `preOpExpression`
640
823
  * labeled alternative in `ApexParser.expression`.
641
824
  * @param ctx the parse tree
642
825
  * @return the visitor result
643
826
  */
644
- visitPreOpExpression;
827
+ visitPreOpExpression?: (ctx: PreOpExpressionContext) => Result;
645
828
  /**
646
829
  * Visit a parse tree produced by the `subExpression`
647
830
  * labeled alternative in `ApexParser.expression`.
648
831
  * @param ctx the parse tree
649
832
  * @return the visitor result
650
833
  */
651
- visitSubExpression;
834
+ visitSubExpression?: (ctx: SubExpressionContext) => Result;
652
835
  /**
653
836
  * Visit a parse tree produced by the `instanceOfExpression`
654
837
  * labeled alternative in `ApexParser.expression`.
655
838
  * @param ctx the parse tree
656
839
  * @return the visitor result
657
840
  */
658
- visitInstanceOfExpression;
841
+ visitInstanceOfExpression?: (ctx: InstanceOfExpressionContext) => Result;
659
842
  /**
660
843
  * Visit a parse tree produced by the `thisPrimary`
661
844
  * labeled alternative in `ApexParser.primary`.
662
845
  * @param ctx the parse tree
663
846
  * @return the visitor result
664
847
  */
665
- visitThisPrimary;
848
+ visitThisPrimary?: (ctx: ThisPrimaryContext) => Result;
666
849
  /**
667
850
  * Visit a parse tree produced by the `superPrimary`
668
851
  * labeled alternative in `ApexParser.primary`.
669
852
  * @param ctx the parse tree
670
853
  * @return the visitor result
671
854
  */
672
- visitSuperPrimary;
855
+ visitSuperPrimary?: (ctx: SuperPrimaryContext) => Result;
673
856
  /**
674
857
  * Visit a parse tree produced by the `literalPrimary`
675
858
  * labeled alternative in `ApexParser.primary`.
676
859
  * @param ctx the parse tree
677
860
  * @return the visitor result
678
861
  */
679
- visitLiteralPrimary;
862
+ visitLiteralPrimary?: (ctx: LiteralPrimaryContext) => Result;
680
863
  /**
681
864
  * Visit a parse tree produced by the `typeRefPrimary`
682
865
  * labeled alternative in `ApexParser.primary`.
683
866
  * @param ctx the parse tree
684
867
  * @return the visitor result
685
868
  */
686
- visitTypeRefPrimary;
869
+ visitTypeRefPrimary?: (ctx: TypeRefPrimaryContext) => Result;
687
870
  /**
688
871
  * Visit a parse tree produced by the `voidPrimary`
689
872
  * labeled alternative in `ApexParser.primary`.
690
873
  * @param ctx the parse tree
691
874
  * @return the visitor result
692
875
  */
693
- visitVoidPrimary;
876
+ visitVoidPrimary?: (ctx: VoidPrimaryContext) => Result;
694
877
  /**
695
878
  * Visit a parse tree produced by the `idPrimary`
696
879
  * labeled alternative in `ApexParser.primary`.
697
880
  * @param ctx the parse tree
698
881
  * @return the visitor result
699
882
  */
700
- visitIdPrimary;
883
+ visitIdPrimary?: (ctx: IdPrimaryContext) => Result;
701
884
  /**
702
885
  * Visit a parse tree produced by the `soqlPrimary`
703
886
  * labeled alternative in `ApexParser.primary`.
704
887
  * @param ctx the parse tree
705
888
  * @return the visitor result
706
889
  */
707
- visitSoqlPrimary;
890
+ visitSoqlPrimary?: (ctx: SoqlPrimaryContext) => Result;
708
891
  /**
709
892
  * Visit a parse tree produced by the `soslPrimary`
710
893
  * labeled alternative in `ApexParser.primary`.
711
894
  * @param ctx the parse tree
712
895
  * @return the visitor result
713
896
  */
714
- visitSoslPrimary;
897
+ visitSoslPrimary?: (ctx: SoslPrimaryContext) => Result;
715
898
  /**
716
899
  * Visit a parse tree produced by `ApexParser.methodCall`.
717
900
  * @param ctx the parse tree
718
901
  * @return the visitor result
719
902
  */
720
- visitMethodCall;
903
+ visitMethodCall?: (ctx: MethodCallContext) => Result;
721
904
  /**
722
905
  * Visit a parse tree produced by `ApexParser.dotMethodCall`.
723
906
  * @param ctx the parse tree
724
907
  * @return the visitor result
725
908
  */
726
- visitDotMethodCall;
909
+ visitDotMethodCall?: (ctx: DotMethodCallContext) => Result;
727
910
  /**
728
911
  * Visit a parse tree produced by `ApexParser.creator`.
729
912
  * @param ctx the parse tree
730
913
  * @return the visitor result
731
914
  */
732
- visitCreator;
915
+ visitCreator?: (ctx: CreatorContext) => Result;
733
916
  /**
734
917
  * Visit a parse tree produced by `ApexParser.createdName`.
735
918
  * @param ctx the parse tree
736
919
  * @return the visitor result
737
920
  */
738
- visitCreatedName;
921
+ visitCreatedName?: (ctx: CreatedNameContext) => Result;
739
922
  /**
740
923
  * Visit a parse tree produced by `ApexParser.idCreatedNamePair`.
741
924
  * @param ctx the parse tree
742
925
  * @return the visitor result
743
926
  */
744
- visitIdCreatedNamePair;
927
+ visitIdCreatedNamePair?: (ctx: IdCreatedNamePairContext) => Result;
745
928
  /**
746
929
  * Visit a parse tree produced by `ApexParser.noRest`.
747
930
  * @param ctx the parse tree
748
931
  * @return the visitor result
749
932
  */
750
- visitNoRest;
933
+ visitNoRest?: (ctx: NoRestContext) => Result;
751
934
  /**
752
935
  * Visit a parse tree produced by `ApexParser.classCreatorRest`.
753
936
  * @param ctx the parse tree
754
937
  * @return the visitor result
755
938
  */
756
- visitClassCreatorRest;
939
+ visitClassCreatorRest?: (ctx: ClassCreatorRestContext) => Result;
757
940
  /**
758
941
  * Visit a parse tree produced by `ApexParser.arrayCreatorRest`.
759
942
  * @param ctx the parse tree
760
943
  * @return the visitor result
761
944
  */
762
- visitArrayCreatorRest;
945
+ visitArrayCreatorRest?: (ctx: ArrayCreatorRestContext) => Result;
763
946
  /**
764
947
  * Visit a parse tree produced by `ApexParser.mapCreatorRest`.
765
948
  * @param ctx the parse tree
766
949
  * @return the visitor result
767
950
  */
768
- visitMapCreatorRest;
951
+ visitMapCreatorRest?: (ctx: MapCreatorRestContext) => Result;
769
952
  /**
770
953
  * Visit a parse tree produced by `ApexParser.mapCreatorRestPair`.
771
954
  * @param ctx the parse tree
772
955
  * @return the visitor result
773
956
  */
774
- visitMapCreatorRestPair;
957
+ visitMapCreatorRestPair?: (ctx: MapCreatorRestPairContext) => Result;
775
958
  /**
776
959
  * Visit a parse tree produced by `ApexParser.setCreatorRest`.
777
960
  * @param ctx the parse tree
778
961
  * @return the visitor result
779
962
  */
780
- visitSetCreatorRest;
963
+ visitSetCreatorRest?: (ctx: SetCreatorRestContext) => Result;
781
964
  /**
782
965
  * Visit a parse tree produced by `ApexParser.arguments`.
783
966
  * @param ctx the parse tree
784
967
  * @return the visitor result
785
968
  */
786
- visitArguments;
969
+ visitArguments?: (ctx: ArgumentsContext) => Result;
787
970
  /**
788
971
  * Visit a parse tree produced by `ApexParser.soqlLiteral`.
789
972
  * @param ctx the parse tree
790
973
  * @return the visitor result
791
974
  */
792
- visitSoqlLiteral;
975
+ visitSoqlLiteral?: (ctx: SoqlLiteralContext) => Result;
793
976
  /**
794
977
  * Visit a parse tree produced by `ApexParser.query`.
795
978
  * @param ctx the parse tree
796
979
  * @return the visitor result
797
980
  */
798
- visitQuery;
981
+ visitQuery?: (ctx: QueryContext) => Result;
799
982
  /**
800
983
  * Visit a parse tree produced by `ApexParser.subQuery`.
801
984
  * @param ctx the parse tree
802
985
  * @return the visitor result
803
986
  */
804
- visitSubQuery;
987
+ visitSubQuery?: (ctx: SubQueryContext) => Result;
805
988
  /**
806
989
  * Visit a parse tree produced by `ApexParser.selectList`.
807
990
  * @param ctx the parse tree
808
991
  * @return the visitor result
809
992
  */
810
- visitSelectList;
993
+ visitSelectList?: (ctx: SelectListContext) => Result;
811
994
  /**
812
995
  * Visit a parse tree produced by `ApexParser.selectEntry`.
813
996
  * @param ctx the parse tree
814
997
  * @return the visitor result
815
998
  */
816
- visitSelectEntry;
999
+ visitSelectEntry?: (ctx: SelectEntryContext) => Result;
817
1000
  /**
818
1001
  * Visit a parse tree produced by `ApexParser.fieldName`.
819
1002
  * @param ctx the parse tree
820
1003
  * @return the visitor result
821
1004
  */
822
- visitFieldName;
1005
+ visitFieldName?: (ctx: FieldNameContext) => Result;
823
1006
  /**
824
1007
  * Visit a parse tree produced by `ApexParser.fromNameList`.
825
1008
  * @param ctx the parse tree
826
1009
  * @return the visitor result
827
1010
  */
828
- visitFromNameList;
1011
+ visitFromNameList?: (ctx: FromNameListContext) => Result;
829
1012
  /**
830
1013
  * Visit a parse tree produced by `ApexParser.subFieldList`.
831
1014
  * @param ctx the parse tree
832
1015
  * @return the visitor result
833
1016
  */
834
- visitSubFieldList;
1017
+ visitSubFieldList?: (ctx: SubFieldListContext) => Result;
835
1018
  /**
836
1019
  * Visit a parse tree produced by `ApexParser.subFieldEntry`.
837
1020
  * @param ctx the parse tree
838
1021
  * @return the visitor result
839
1022
  */
840
- visitSubFieldEntry;
1023
+ visitSubFieldEntry?: (ctx: SubFieldEntryContext) => Result;
841
1024
  /**
842
1025
  * Visit a parse tree produced by `ApexParser.soqlFieldsParameter`.
843
1026
  * @param ctx the parse tree
844
1027
  * @return the visitor result
845
1028
  */
846
- visitSoqlFieldsParameter;
1029
+ visitSoqlFieldsParameter?: (ctx: SoqlFieldsParameterContext) => Result;
847
1030
  /**
848
1031
  * Visit a parse tree produced by `ApexParser.soqlFunction`.
849
1032
  * @param ctx the parse tree
850
1033
  * @return the visitor result
851
1034
  */
852
- visitSoqlFunction;
1035
+ visitSoqlFunction?: (ctx: SoqlFunctionContext) => Result;
853
1036
  /**
854
1037
  * Visit a parse tree produced by `ApexParser.dateFieldName`.
855
1038
  * @param ctx the parse tree
856
1039
  * @return the visitor result
857
1040
  */
858
- visitDateFieldName;
1041
+ visitDateFieldName?: (ctx: DateFieldNameContext) => Result;
859
1042
  /**
860
1043
  * Visit a parse tree produced by `ApexParser.locationValue`.
861
1044
  * @param ctx the parse tree
862
1045
  * @return the visitor result
863
1046
  */
864
- visitLocationValue;
1047
+ visitLocationValue?: (ctx: LocationValueContext) => Result;
865
1048
  /**
866
1049
  * Visit a parse tree produced by `ApexParser.coordinateValue`.
867
1050
  * @param ctx the parse tree
868
1051
  * @return the visitor result
869
1052
  */
870
- visitCoordinateValue;
1053
+ visitCoordinateValue?: (ctx: CoordinateValueContext) => Result;
871
1054
  /**
872
1055
  * Visit a parse tree produced by `ApexParser.typeOf`.
873
1056
  * @param ctx the parse tree
874
1057
  * @return the visitor result
875
1058
  */
876
- visitTypeOf;
1059
+ visitTypeOf?: (ctx: TypeOfContext) => Result;
877
1060
  /**
878
1061
  * Visit a parse tree produced by `ApexParser.whenClause`.
879
1062
  * @param ctx the parse tree
880
1063
  * @return the visitor result
881
1064
  */
882
- visitWhenClause;
1065
+ visitWhenClause?: (ctx: WhenClauseContext) => Result;
883
1066
  /**
884
1067
  * Visit a parse tree produced by `ApexParser.elseClause`.
885
1068
  * @param ctx the parse tree
886
1069
  * @return the visitor result
887
1070
  */
888
- visitElseClause;
1071
+ visitElseClause?: (ctx: ElseClauseContext) => Result;
889
1072
  /**
890
1073
  * Visit a parse tree produced by `ApexParser.fieldNameList`.
891
1074
  * @param ctx the parse tree
892
1075
  * @return the visitor result
893
1076
  */
894
- visitFieldNameList;
1077
+ visitFieldNameList?: (ctx: FieldNameListContext) => Result;
895
1078
  /**
896
1079
  * Visit a parse tree produced by `ApexParser.usingScope`.
897
1080
  * @param ctx the parse tree
898
1081
  * @return the visitor result
899
1082
  */
900
- visitUsingScope;
1083
+ visitUsingScope?: (ctx: UsingScopeContext) => Result;
901
1084
  /**
902
1085
  * Visit a parse tree produced by `ApexParser.whereClause`.
903
1086
  * @param ctx the parse tree
904
1087
  * @return the visitor result
905
1088
  */
906
- visitWhereClause;
1089
+ visitWhereClause?: (ctx: WhereClauseContext) => Result;
907
1090
  /**
908
1091
  * Visit a parse tree produced by `ApexParser.logicalExpression`.
909
1092
  * @param ctx the parse tree
910
1093
  * @return the visitor result
911
1094
  */
912
- visitLogicalExpression;
1095
+ visitLogicalExpression?: (ctx: LogicalExpressionContext) => Result;
913
1096
  /**
914
1097
  * Visit a parse tree produced by `ApexParser.conditionalExpression`.
915
1098
  * @param ctx the parse tree
916
1099
  * @return the visitor result
917
1100
  */
918
- visitConditionalExpression;
1101
+ visitConditionalExpression?: (ctx: ConditionalExpressionContext) => Result;
919
1102
  /**
920
1103
  * Visit a parse tree produced by `ApexParser.fieldExpression`.
921
1104
  * @param ctx the parse tree
922
1105
  * @return the visitor result
923
1106
  */
924
- visitFieldExpression;
1107
+ visitFieldExpression?: (ctx: FieldExpressionContext) => Result;
925
1108
  /**
926
1109
  * Visit a parse tree produced by `ApexParser.comparisonOperator`.
927
1110
  * @param ctx the parse tree
928
1111
  * @return the visitor result
929
1112
  */
930
- visitComparisonOperator;
1113
+ visitComparisonOperator?: (ctx: ComparisonOperatorContext) => Result;
931
1114
  /**
932
1115
  * Visit a parse tree produced by `ApexParser.value`.
933
1116
  * @param ctx the parse tree
934
1117
  * @return the visitor result
935
1118
  */
936
- visitValue;
1119
+ visitValue?: (ctx: ValueContext) => Result;
937
1120
  /**
938
1121
  * Visit a parse tree produced by `ApexParser.valueList`.
939
1122
  * @param ctx the parse tree
940
1123
  * @return the visitor result
941
1124
  */
942
- visitValueList;
1125
+ visitValueList?: (ctx: ValueListContext) => Result;
943
1126
  /**
944
1127
  * Visit a parse tree produced by `ApexParser.signedNumber`.
945
1128
  * @param ctx the parse tree
946
1129
  * @return the visitor result
947
1130
  */
948
- visitSignedNumber;
1131
+ visitSignedNumber?: (ctx: SignedNumberContext) => Result;
949
1132
  /**
950
1133
  * Visit a parse tree produced by `ApexParser.withClause`.
951
1134
  * @param ctx the parse tree
952
1135
  * @return the visitor result
953
1136
  */
954
- visitWithClause;
1137
+ visitWithClause?: (ctx: WithClauseContext) => Result;
955
1138
  /**
956
1139
  * Visit a parse tree produced by `ApexParser.filteringExpression`.
957
1140
  * @param ctx the parse tree
958
1141
  * @return the visitor result
959
1142
  */
960
- visitFilteringExpression;
1143
+ visitFilteringExpression?: (ctx: FilteringExpressionContext) => Result;
961
1144
  /**
962
1145
  * Visit a parse tree produced by `ApexParser.dataCategorySelection`.
963
1146
  * @param ctx the parse tree
964
1147
  * @return the visitor result
965
1148
  */
966
- visitDataCategorySelection;
1149
+ visitDataCategorySelection?: (ctx: DataCategorySelectionContext) => Result;
967
1150
  /**
968
1151
  * Visit a parse tree produced by `ApexParser.dataCategoryName`.
969
1152
  * @param ctx the parse tree
970
1153
  * @return the visitor result
971
1154
  */
972
- visitDataCategoryName;
1155
+ visitDataCategoryName?: (ctx: DataCategoryNameContext) => Result;
973
1156
  /**
974
1157
  * Visit a parse tree produced by `ApexParser.filteringSelector`.
975
1158
  * @param ctx the parse tree
976
1159
  * @return the visitor result
977
1160
  */
978
- visitFilteringSelector;
1161
+ visitFilteringSelector?: (ctx: FilteringSelectorContext) => Result;
979
1162
  /**
980
1163
  * Visit a parse tree produced by `ApexParser.groupByClause`.
981
1164
  * @param ctx the parse tree
982
1165
  * @return the visitor result
983
1166
  */
984
- visitGroupByClause;
1167
+ visitGroupByClause?: (ctx: GroupByClauseContext) => Result;
1168
+ /**
1169
+ * Visit a parse tree produced by `ApexParser.fieldGroupByList`.
1170
+ * @param ctx the parse tree
1171
+ * @return the visitor result
1172
+ */
1173
+ visitFieldGroupByList?: (ctx: FieldGroupByListContext) => Result;
1174
+ /**
1175
+ * Visit a parse tree produced by `ApexParser.fieldGroupBy`.
1176
+ * @param ctx the parse tree
1177
+ * @return the visitor result
1178
+ */
1179
+ visitFieldGroupBy?: (ctx: FieldGroupByContext) => Result;
985
1180
  /**
986
1181
  * Visit a parse tree produced by `ApexParser.orderByClause`.
987
1182
  * @param ctx the parse tree
988
1183
  * @return the visitor result
989
1184
  */
990
- visitOrderByClause;
1185
+ visitOrderByClause?: (ctx: OrderByClauseContext) => Result;
991
1186
  /**
992
1187
  * Visit a parse tree produced by `ApexParser.fieldOrderList`.
993
1188
  * @param ctx the parse tree
994
1189
  * @return the visitor result
995
1190
  */
996
- visitFieldOrderList;
1191
+ visitFieldOrderList?: (ctx: FieldOrderListContext) => Result;
997
1192
  /**
998
1193
  * Visit a parse tree produced by `ApexParser.fieldOrder`.
999
1194
  * @param ctx the parse tree
1000
1195
  * @return the visitor result
1001
1196
  */
1002
- visitFieldOrder;
1197
+ visitFieldOrder?: (ctx: FieldOrderContext) => Result;
1003
1198
  /**
1004
1199
  * Visit a parse tree produced by `ApexParser.limitClause`.
1005
1200
  * @param ctx the parse tree
1006
1201
  * @return the visitor result
1007
1202
  */
1008
- visitLimitClause;
1203
+ visitLimitClause?: (ctx: LimitClauseContext) => Result;
1009
1204
  /**
1010
1205
  * Visit a parse tree produced by `ApexParser.offsetClause`.
1011
1206
  * @param ctx the parse tree
1012
1207
  * @return the visitor result
1013
1208
  */
1014
- visitOffsetClause;
1209
+ visitOffsetClause?: (ctx: OffsetClauseContext) => Result;
1015
1210
  /**
1016
1211
  * Visit a parse tree produced by `ApexParser.allRowsClause`.
1017
1212
  * @param ctx the parse tree
1018
1213
  * @return the visitor result
1019
1214
  */
1020
- visitAllRowsClause;
1215
+ visitAllRowsClause?: (ctx: AllRowsClauseContext) => Result;
1021
1216
  /**
1022
1217
  * Visit a parse tree produced by `ApexParser.forClauses`.
1023
1218
  * @param ctx the parse tree
1024
1219
  * @return the visitor result
1025
1220
  */
1026
- visitForClauses;
1221
+ visitForClauses?: (ctx: ForClausesContext) => Result;
1027
1222
  /**
1028
1223
  * Visit a parse tree produced by `ApexParser.boundExpression`.
1029
1224
  * @param ctx the parse tree
1030
1225
  * @return the visitor result
1031
1226
  */
1032
- visitBoundExpression;
1227
+ visitBoundExpression?: (ctx: BoundExpressionContext) => Result;
1033
1228
  /**
1034
1229
  * Visit a parse tree produced by `ApexParser.dateFormula`.
1035
1230
  * @param ctx the parse tree
1036
1231
  * @return the visitor result
1037
1232
  */
1038
- visitDateFormula;
1233
+ visitDateFormula?: (ctx: DateFormulaContext) => Result;
1039
1234
  /**
1040
1235
  * Visit a parse tree produced by `ApexParser.signedInteger`.
1041
1236
  * @param ctx the parse tree
1042
1237
  * @return the visitor result
1043
1238
  */
1044
- visitSignedInteger;
1239
+ visitSignedInteger?: (ctx: SignedIntegerContext) => Result;
1045
1240
  /**
1046
1241
  * Visit a parse tree produced by `ApexParser.soqlId`.
1047
1242
  * @param ctx the parse tree
1048
1243
  * @return the visitor result
1049
1244
  */
1050
- visitSoqlId;
1245
+ visitSoqlId?: (ctx: SoqlIdContext) => Result;
1051
1246
  /**
1052
1247
  * Visit a parse tree produced by `ApexParser.soslLiteral`.
1053
1248
  * @param ctx the parse tree
1054
1249
  * @return the visitor result
1055
1250
  */
1056
- visitSoslLiteral;
1251
+ visitSoslLiteral?: (ctx: SoslLiteralContext) => Result;
1057
1252
  /**
1058
1253
  * Visit a parse tree produced by `ApexParser.soslLiteralAlt`.
1059
1254
  * @param ctx the parse tree
1060
1255
  * @return the visitor result
1061
1256
  */
1062
- visitSoslLiteralAlt;
1257
+ visitSoslLiteralAlt?: (ctx: SoslLiteralAltContext) => Result;
1063
1258
  /**
1064
1259
  * Visit a parse tree produced by `ApexParser.soslClauses`.
1065
1260
  * @param ctx the parse tree
1066
1261
  * @return the visitor result
1067
1262
  */
1068
- visitSoslClauses;
1263
+ visitSoslClauses?: (ctx: SoslClausesContext) => Result;
1069
1264
  /**
1070
1265
  * Visit a parse tree produced by `ApexParser.soslWithClause`.
1071
1266
  * @param ctx the parse tree
1072
1267
  * @return the visitor result
1073
1268
  */
1074
- visitSoslWithClause;
1269
+ visitSoslWithClause?: (ctx: SoslWithClauseContext) => Result;
1075
1270
  /**
1076
1271
  * Visit a parse tree produced by `ApexParser.searchGroup`.
1077
1272
  * @param ctx the parse tree
1078
1273
  * @return the visitor result
1079
1274
  */
1080
- visitSearchGroup;
1275
+ visitSearchGroup?: (ctx: SearchGroupContext) => Result;
1081
1276
  /**
1082
1277
  * Visit a parse tree produced by `ApexParser.fieldSpecList`.
1083
1278
  * @param ctx the parse tree
1084
1279
  * @return the visitor result
1085
1280
  */
1086
- visitFieldSpecList;
1281
+ visitFieldSpecList?: (ctx: FieldSpecListContext) => Result;
1087
1282
  /**
1088
1283
  * Visit a parse tree produced by `ApexParser.fieldSpec`.
1089
1284
  * @param ctx the parse tree
1090
1285
  * @return the visitor result
1091
1286
  */
1092
- visitFieldSpec;
1287
+ visitFieldSpec?: (ctx: FieldSpecContext) => Result;
1093
1288
  /**
1094
1289
  * Visit a parse tree produced by `ApexParser.fieldList`.
1095
1290
  * @param ctx the parse tree
1096
1291
  * @return the visitor result
1097
1292
  */
1098
- visitFieldList;
1293
+ visitFieldList?: (ctx: FieldListContext) => Result;
1099
1294
  /**
1100
1295
  * Visit a parse tree produced by `ApexParser.updateList`.
1101
1296
  * @param ctx the parse tree
1102
1297
  * @return the visitor result
1103
1298
  */
1104
- visitUpdateList;
1299
+ visitUpdateList?: (ctx: UpdateListContext) => Result;
1105
1300
  /**
1106
1301
  * Visit a parse tree produced by `ApexParser.updateType`.
1107
1302
  * @param ctx the parse tree
1108
1303
  * @return the visitor result
1109
1304
  */
1110
- visitUpdateType;
1305
+ visitUpdateType?: (ctx: UpdateTypeContext) => Result;
1111
1306
  /**
1112
1307
  * Visit a parse tree produced by `ApexParser.networkList`.
1113
1308
  * @param ctx the parse tree
1114
1309
  * @return the visitor result
1115
1310
  */
1116
- visitNetworkList;
1311
+ visitNetworkList?: (ctx: NetworkListContext) => Result;
1117
1312
  /**
1118
1313
  * Visit a parse tree produced by `ApexParser.soslId`.
1119
1314
  * @param ctx the parse tree
1120
1315
  * @return the visitor result
1121
1316
  */
1122
- visitSoslId;
1317
+ visitSoslId?: (ctx: SoslIdContext) => Result;
1123
1318
  /**
1124
1319
  * Visit a parse tree produced by `ApexParser.id`.
1125
1320
  * @param ctx the parse tree
1126
1321
  * @return the visitor result
1127
1322
  */
1128
- visitId;
1323
+ visitId?: (ctx: IdContext) => Result;
1129
1324
  /**
1130
1325
  * Visit a parse tree produced by `ApexParser.anyId`.
1131
1326
  * @param ctx the parse tree
1132
1327
  * @return the visitor result
1133
1328
  */
1134
- visitAnyId;
1329
+ visitAnyId?: (ctx: AnyIdContext) => Result;
1135
1330
  }
1136
- //# sourceMappingURL=ApexParserVisitor.js.map