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