@apexdevtools/apex-parser 3.0.0

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