@apexdevtools/apex-parser 4.4.1 → 5.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +112 -0
- package/README.md +98 -42
- package/lib/ApexErrorListener.d.ts +25 -0
- package/lib/ApexErrorListener.js +64 -0
- package/lib/ApexErrorListener.js.map +1 -0
- package/lib/ApexParserFactory.d.ts +69 -0
- package/lib/ApexParserFactory.js +125 -0
- package/lib/ApexParserFactory.js.map +1 -0
- package/lib/CaseInsensitiveInputStream.d.ts +11 -13
- package/lib/CaseInsensitiveInputStream.js +22 -28
- package/lib/CaseInsensitiveInputStream.js.map +1 -1
- package/lib/Check.d.ts +36 -0
- package/lib/Check.js +212 -0
- package/lib/Check.js.map +1 -0
- package/lib/{ApexLexer.d.ts → antlr/ApexLexer.d.ts} +11 -18
- package/lib/antlr/ApexLexer.js +1575 -0
- package/lib/antlr/ApexLexer.js.map +1 -0
- package/lib/{ApexParser.d.ts → antlr/ApexParser.d.ts} +1344 -1304
- package/lib/antlr/ApexParser.js +20976 -0
- package/lib/antlr/ApexParser.js.map +1 -0
- package/lib/{ApexParserListener.d.ts → antlr/ApexParserListener.d.ts} +708 -686
- package/lib/antlr/ApexParserListener.js +12 -0
- package/lib/antlr/ApexParserListener.js.map +1 -0
- package/lib/{ApexParserVisitor.d.ts → antlr/ApexParserVisitor.d.ts} +420 -406
- package/lib/antlr/ApexParserVisitor.js +15 -0
- package/lib/antlr/ApexParserVisitor.js.map +1 -0
- package/lib/index.d.ts +8 -24
- package/lib/index.js +13 -140
- package/lib/index.js.map +1 -1
- package/package.json +30 -27
- package/lib/ApexLexer.js +0 -1704
- package/lib/ApexLexer.js.map +0 -1
- package/lib/ApexParser.js +0 -19514
- package/lib/ApexParser.js.map +0 -1
- package/lib/ApexParserListener.js +0 -4
- package/lib/ApexParserListener.js.map +0 -1
- package/lib/ApexParserVisitor.js +0 -4
- package/lib/ApexParserVisitor.js.map +0 -1
- package/lib/ThrowingErrorListener.d.ts +0 -10
- package/lib/ThrowingErrorListener.js +0 -18
- package/lib/ThrowingErrorListener.js.map +0 -1
- package/lib/__tests__/ApexLexerTest.d.ts +0 -1
- package/lib/__tests__/ApexLexerTest.js +0 -48
- package/lib/__tests__/ApexLexerTest.js.map +0 -1
- package/lib/__tests__/ApexListenerTest.d.ts +0 -1
- package/lib/__tests__/ApexListenerTest.js +0 -41
- package/lib/__tests__/ApexListenerTest.js.map +0 -1
- package/lib/__tests__/ApexParserTest.d.ts +0 -1
- package/lib/__tests__/ApexParserTest.js +0 -199
- package/lib/__tests__/ApexParserTest.js.map +0 -1
- package/lib/__tests__/ApexTriggerTest.d.ts +0 -1
- package/lib/__tests__/ApexTriggerTest.js +0 -66
- package/lib/__tests__/ApexTriggerTest.js.map +0 -1
- package/lib/__tests__/ApexVisitorTest.d.ts +0 -1
- package/lib/__tests__/ApexVisitorTest.js +0 -46
- package/lib/__tests__/ApexVisitorTest.js.map +0 -1
- package/lib/__tests__/SOQLParserTest.d.ts +0 -1
- package/lib/__tests__/SOQLParserTest.js +0 -121
- package/lib/__tests__/SOQLParserTest.js.map +0 -1
- package/lib/__tests__/SOSLParserTest.d.ts +0 -1
- package/lib/__tests__/SOSLParserTest.js +0 -101
- package/lib/__tests__/SOSLParserTest.js.map +0 -1
- package/lib/__tests__/SyntaxErrorCounter.d.ts +0 -10
- package/lib/__tests__/SyntaxErrorCounter.js +0 -52
- package/lib/__tests__/SyntaxErrorCounter.js.map +0 -1
- package/lib/__tests__/system/SampleParseSys.d.ts +0 -1
- package/lib/__tests__/system/SampleParseSys.js +0 -75
- package/lib/__tests__/system/SampleParseSys.js.map +0 -1
|
@@ -1,184 +1,186 @@
|
|
|
1
|
-
import { ParseTreeVisitor } from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import {
|
|
169
|
-
import {
|
|
170
|
-
import {
|
|
171
|
-
import {
|
|
172
|
-
import {
|
|
173
|
-
import {
|
|
174
|
-
import {
|
|
175
|
-
import {
|
|
176
|
-
import {
|
|
177
|
-
import {
|
|
178
|
-
import {
|
|
179
|
-
import {
|
|
180
|
-
import {
|
|
181
|
-
import {
|
|
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 { OrderByClauseContext } from "./ApexParser.js";
|
|
160
|
+
import { FieldOrderListContext } from "./ApexParser.js";
|
|
161
|
+
import { FieldOrderContext } from "./ApexParser.js";
|
|
162
|
+
import { LimitClauseContext } from "./ApexParser.js";
|
|
163
|
+
import { OffsetClauseContext } from "./ApexParser.js";
|
|
164
|
+
import { AllRowsClauseContext } from "./ApexParser.js";
|
|
165
|
+
import { ForClausesContext } from "./ApexParser.js";
|
|
166
|
+
import { BoundExpressionContext } from "./ApexParser.js";
|
|
167
|
+
import { DateFormulaContext } from "./ApexParser.js";
|
|
168
|
+
import { SignedIntegerContext } from "./ApexParser.js";
|
|
169
|
+
import { SoqlIdContext } from "./ApexParser.js";
|
|
170
|
+
import { SoslLiteralContext } from "./ApexParser.js";
|
|
171
|
+
import { SoslLiteralAltContext } from "./ApexParser.js";
|
|
172
|
+
import { SoslClausesContext } from "./ApexParser.js";
|
|
173
|
+
import { SoslWithClauseContext } from "./ApexParser.js";
|
|
174
|
+
import { SearchGroupContext } from "./ApexParser.js";
|
|
175
|
+
import { FieldSpecListContext } from "./ApexParser.js";
|
|
176
|
+
import { FieldSpecContext } from "./ApexParser.js";
|
|
177
|
+
import { FieldListContext } from "./ApexParser.js";
|
|
178
|
+
import { UpdateListContext } from "./ApexParser.js";
|
|
179
|
+
import { UpdateTypeContext } from "./ApexParser.js";
|
|
180
|
+
import { NetworkListContext } from "./ApexParser.js";
|
|
181
|
+
import { SoslIdContext } from "./ApexParser.js";
|
|
182
|
+
import { IdContext } from "./ApexParser.js";
|
|
183
|
+
import { AnyIdContext } from "./ApexParser.js";
|
|
182
184
|
/**
|
|
183
185
|
* This interface defines a complete generic visitor for a parse tree produced
|
|
184
186
|
* by `ApexParser`.
|
|
@@ -186,255 +188,49 @@ import { AnyIdContext } from "./ApexParser";
|
|
|
186
188
|
* @param <Result> The return type of the visit operation. Use `void` for
|
|
187
189
|
* operations with no return type.
|
|
188
190
|
*/
|
|
189
|
-
export
|
|
191
|
+
export default class ApexParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
190
192
|
/**
|
|
191
|
-
* Visit a parse tree produced by
|
|
192
|
-
* labeled alternative in `ApexParser.primary`.
|
|
193
|
-
* @param ctx the parse tree
|
|
194
|
-
* @return the visitor result
|
|
195
|
-
*/
|
|
196
|
-
visitThisPrimary?: (ctx: ThisPrimaryContext) => Result;
|
|
197
|
-
/**
|
|
198
|
-
* Visit a parse tree produced by the `superPrimary`
|
|
199
|
-
* labeled alternative in `ApexParser.primary`.
|
|
200
|
-
* @param ctx the parse tree
|
|
201
|
-
* @return the visitor result
|
|
202
|
-
*/
|
|
203
|
-
visitSuperPrimary?: (ctx: SuperPrimaryContext) => Result;
|
|
204
|
-
/**
|
|
205
|
-
* Visit a parse tree produced by the `literalPrimary`
|
|
206
|
-
* labeled alternative in `ApexParser.primary`.
|
|
207
|
-
* @param ctx the parse tree
|
|
208
|
-
* @return the visitor result
|
|
209
|
-
*/
|
|
210
|
-
visitLiteralPrimary?: (ctx: LiteralPrimaryContext) => Result;
|
|
211
|
-
/**
|
|
212
|
-
* Visit a parse tree produced by the `typeRefPrimary`
|
|
213
|
-
* labeled alternative in `ApexParser.primary`.
|
|
214
|
-
* @param ctx the parse tree
|
|
215
|
-
* @return the visitor result
|
|
216
|
-
*/
|
|
217
|
-
visitTypeRefPrimary?: (ctx: TypeRefPrimaryContext) => Result;
|
|
218
|
-
/**
|
|
219
|
-
* Visit a parse tree produced by the `voidPrimary`
|
|
220
|
-
* labeled alternative in `ApexParser.primary`.
|
|
221
|
-
* @param ctx the parse tree
|
|
222
|
-
* @return the visitor result
|
|
223
|
-
*/
|
|
224
|
-
visitVoidPrimary?: (ctx: VoidPrimaryContext) => Result;
|
|
225
|
-
/**
|
|
226
|
-
* Visit a parse tree produced by the `idPrimary`
|
|
227
|
-
* labeled alternative in `ApexParser.primary`.
|
|
228
|
-
* @param ctx the parse tree
|
|
229
|
-
* @return the visitor result
|
|
230
|
-
*/
|
|
231
|
-
visitIdPrimary?: (ctx: IdPrimaryContext) => Result;
|
|
232
|
-
/**
|
|
233
|
-
* Visit a parse tree produced by the `soqlPrimary`
|
|
234
|
-
* labeled alternative in `ApexParser.primary`.
|
|
235
|
-
* @param ctx the parse tree
|
|
236
|
-
* @return the visitor result
|
|
237
|
-
*/
|
|
238
|
-
visitSoqlPrimary?: (ctx: SoqlPrimaryContext) => Result;
|
|
239
|
-
/**
|
|
240
|
-
* Visit a parse tree produced by the `soslPrimary`
|
|
241
|
-
* labeled alternative in `ApexParser.primary`.
|
|
242
|
-
* @param ctx the parse tree
|
|
243
|
-
* @return the visitor result
|
|
244
|
-
*/
|
|
245
|
-
visitSoslPrimary?: (ctx: SoslPrimaryContext) => Result;
|
|
246
|
-
/**
|
|
247
|
-
* Visit a parse tree produced by the `primaryExpression`
|
|
248
|
-
* labeled alternative in `ApexParser.expression`.
|
|
249
|
-
* @param ctx the parse tree
|
|
250
|
-
* @return the visitor result
|
|
251
|
-
*/
|
|
252
|
-
visitPrimaryExpression?: (ctx: PrimaryExpressionContext) => Result;
|
|
253
|
-
/**
|
|
254
|
-
* Visit a parse tree produced by the `dotExpression`
|
|
255
|
-
* labeled alternative in `ApexParser.expression`.
|
|
256
|
-
* @param ctx the parse tree
|
|
257
|
-
* @return the visitor result
|
|
258
|
-
*/
|
|
259
|
-
visitDotExpression?: (ctx: DotExpressionContext) => Result;
|
|
260
|
-
/**
|
|
261
|
-
* Visit a parse tree produced by the `arrayExpression`
|
|
262
|
-
* labeled alternative in `ApexParser.expression`.
|
|
263
|
-
* @param ctx the parse tree
|
|
264
|
-
* @return the visitor result
|
|
265
|
-
*/
|
|
266
|
-
visitArrayExpression?: (ctx: ArrayExpressionContext) => Result;
|
|
267
|
-
/**
|
|
268
|
-
* Visit a parse tree produced by the `methodCallExpression`
|
|
269
|
-
* labeled alternative in `ApexParser.expression`.
|
|
270
|
-
* @param ctx the parse tree
|
|
271
|
-
* @return the visitor result
|
|
272
|
-
*/
|
|
273
|
-
visitMethodCallExpression?: (ctx: MethodCallExpressionContext) => Result;
|
|
274
|
-
/**
|
|
275
|
-
* Visit a parse tree produced by the `newExpression`
|
|
276
|
-
* labeled alternative in `ApexParser.expression`.
|
|
277
|
-
* @param ctx the parse tree
|
|
278
|
-
* @return the visitor result
|
|
279
|
-
*/
|
|
280
|
-
visitNewExpression?: (ctx: NewExpressionContext) => Result;
|
|
281
|
-
/**
|
|
282
|
-
* Visit a parse tree produced by the `castExpression`
|
|
283
|
-
* labeled alternative in `ApexParser.expression`.
|
|
284
|
-
* @param ctx the parse tree
|
|
285
|
-
* @return the visitor result
|
|
286
|
-
*/
|
|
287
|
-
visitCastExpression?: (ctx: CastExpressionContext) => Result;
|
|
288
|
-
/**
|
|
289
|
-
* Visit a parse tree produced by the `subExpression`
|
|
290
|
-
* labeled alternative in `ApexParser.expression`.
|
|
291
|
-
* @param ctx the parse tree
|
|
292
|
-
* @return the visitor result
|
|
293
|
-
*/
|
|
294
|
-
visitSubExpression?: (ctx: SubExpressionContext) => Result;
|
|
295
|
-
/**
|
|
296
|
-
* Visit a parse tree produced by the `postOpExpression`
|
|
297
|
-
* labeled alternative in `ApexParser.expression`.
|
|
298
|
-
* @param ctx the parse tree
|
|
299
|
-
* @return the visitor result
|
|
300
|
-
*/
|
|
301
|
-
visitPostOpExpression?: (ctx: PostOpExpressionContext) => Result;
|
|
302
|
-
/**
|
|
303
|
-
* Visit a parse tree produced by the `preOpExpression`
|
|
304
|
-
* labeled alternative in `ApexParser.expression`.
|
|
305
|
-
* @param ctx the parse tree
|
|
306
|
-
* @return the visitor result
|
|
307
|
-
*/
|
|
308
|
-
visitPreOpExpression?: (ctx: PreOpExpressionContext) => Result;
|
|
309
|
-
/**
|
|
310
|
-
* Visit a parse tree produced by the `negExpression`
|
|
311
|
-
* labeled alternative in `ApexParser.expression`.
|
|
312
|
-
* @param ctx the parse tree
|
|
313
|
-
* @return the visitor result
|
|
314
|
-
*/
|
|
315
|
-
visitNegExpression?: (ctx: NegExpressionContext) => Result;
|
|
316
|
-
/**
|
|
317
|
-
* Visit a parse tree produced by the `arth1Expression`
|
|
318
|
-
* labeled alternative in `ApexParser.expression`.
|
|
319
|
-
* @param ctx the parse tree
|
|
320
|
-
* @return the visitor result
|
|
321
|
-
*/
|
|
322
|
-
visitArth1Expression?: (ctx: Arth1ExpressionContext) => Result;
|
|
323
|
-
/**
|
|
324
|
-
* Visit a parse tree produced by the `arth2Expression`
|
|
325
|
-
* labeled alternative in `ApexParser.expression`.
|
|
326
|
-
* @param ctx the parse tree
|
|
327
|
-
* @return the visitor result
|
|
328
|
-
*/
|
|
329
|
-
visitArth2Expression?: (ctx: Arth2ExpressionContext) => Result;
|
|
330
|
-
/**
|
|
331
|
-
* Visit a parse tree produced by the `bitExpression`
|
|
332
|
-
* labeled alternative in `ApexParser.expression`.
|
|
333
|
-
* @param ctx the parse tree
|
|
334
|
-
* @return the visitor result
|
|
335
|
-
*/
|
|
336
|
-
visitBitExpression?: (ctx: BitExpressionContext) => Result;
|
|
337
|
-
/**
|
|
338
|
-
* Visit a parse tree produced by the `cmpExpression`
|
|
339
|
-
* labeled alternative in `ApexParser.expression`.
|
|
340
|
-
* @param ctx the parse tree
|
|
341
|
-
* @return the visitor result
|
|
342
|
-
*/
|
|
343
|
-
visitCmpExpression?: (ctx: CmpExpressionContext) => Result;
|
|
344
|
-
/**
|
|
345
|
-
* Visit a parse tree produced by the `instanceOfExpression`
|
|
346
|
-
* labeled alternative in `ApexParser.expression`.
|
|
347
|
-
* @param ctx the parse tree
|
|
348
|
-
* @return the visitor result
|
|
349
|
-
*/
|
|
350
|
-
visitInstanceOfExpression?: (ctx: InstanceOfExpressionContext) => Result;
|
|
351
|
-
/**
|
|
352
|
-
* Visit a parse tree produced by the `equalityExpression`
|
|
353
|
-
* labeled alternative in `ApexParser.expression`.
|
|
354
|
-
* @param ctx the parse tree
|
|
355
|
-
* @return the visitor result
|
|
356
|
-
*/
|
|
357
|
-
visitEqualityExpression?: (ctx: EqualityExpressionContext) => Result;
|
|
358
|
-
/**
|
|
359
|
-
* Visit a parse tree produced by the `bitAndExpression`
|
|
360
|
-
* labeled alternative in `ApexParser.expression`.
|
|
361
|
-
* @param ctx the parse tree
|
|
362
|
-
* @return the visitor result
|
|
363
|
-
*/
|
|
364
|
-
visitBitAndExpression?: (ctx: BitAndExpressionContext) => Result;
|
|
365
|
-
/**
|
|
366
|
-
* Visit a parse tree produced by the `bitNotExpression`
|
|
367
|
-
* labeled alternative in `ApexParser.expression`.
|
|
368
|
-
* @param ctx the parse tree
|
|
369
|
-
* @return the visitor result
|
|
370
|
-
*/
|
|
371
|
-
visitBitNotExpression?: (ctx: BitNotExpressionContext) => Result;
|
|
372
|
-
/**
|
|
373
|
-
* Visit a parse tree produced by the `bitOrExpression`
|
|
374
|
-
* labeled alternative in `ApexParser.expression`.
|
|
375
|
-
* @param ctx the parse tree
|
|
376
|
-
* @return the visitor result
|
|
377
|
-
*/
|
|
378
|
-
visitBitOrExpression?: (ctx: BitOrExpressionContext) => Result;
|
|
379
|
-
/**
|
|
380
|
-
* Visit a parse tree produced by the `logAndExpression`
|
|
381
|
-
* labeled alternative in `ApexParser.expression`.
|
|
382
|
-
* @param ctx the parse tree
|
|
383
|
-
* @return the visitor result
|
|
384
|
-
*/
|
|
385
|
-
visitLogAndExpression?: (ctx: LogAndExpressionContext) => Result;
|
|
386
|
-
/**
|
|
387
|
-
* Visit a parse tree produced by the `logOrExpression`
|
|
388
|
-
* labeled alternative in `ApexParser.expression`.
|
|
389
|
-
* @param ctx the parse tree
|
|
390
|
-
* @return the visitor result
|
|
391
|
-
*/
|
|
392
|
-
visitLogOrExpression?: (ctx: LogOrExpressionContext) => Result;
|
|
393
|
-
/**
|
|
394
|
-
* Visit a parse tree produced by the `coalExpression`
|
|
395
|
-
* labeled alternative in `ApexParser.expression`.
|
|
193
|
+
* Visit a parse tree produced by `ApexParser.triggerUnit`.
|
|
396
194
|
* @param ctx the parse tree
|
|
397
195
|
* @return the visitor result
|
|
398
196
|
*/
|
|
399
|
-
|
|
197
|
+
visitTriggerUnit?: (ctx: TriggerUnitContext) => Result;
|
|
400
198
|
/**
|
|
401
|
-
* Visit a parse tree produced by
|
|
402
|
-
* labeled alternative in `ApexParser.expression`.
|
|
199
|
+
* Visit a parse tree produced by `ApexParser.triggerCase`.
|
|
403
200
|
* @param ctx the parse tree
|
|
404
201
|
* @return the visitor result
|
|
405
202
|
*/
|
|
406
|
-
|
|
203
|
+
visitTriggerCase?: (ctx: TriggerCaseContext) => Result;
|
|
407
204
|
/**
|
|
408
|
-
* Visit a parse tree produced by
|
|
409
|
-
* labeled alternative in `ApexParser.expression`.
|
|
205
|
+
* Visit a parse tree produced by `ApexParser.triggerBlock`.
|
|
410
206
|
* @param ctx the parse tree
|
|
411
207
|
* @return the visitor result
|
|
412
208
|
*/
|
|
413
|
-
|
|
209
|
+
visitTriggerBlock?: (ctx: TriggerBlockContext) => Result;
|
|
414
210
|
/**
|
|
415
|
-
* Visit a parse tree produced by `ApexParser.
|
|
211
|
+
* Visit a parse tree produced by `ApexParser.triggerBlockMember`.
|
|
416
212
|
* @param ctx the parse tree
|
|
417
213
|
* @return the visitor result
|
|
418
214
|
*/
|
|
419
|
-
|
|
215
|
+
visitTriggerBlockMember?: (ctx: TriggerBlockMemberContext) => Result;
|
|
420
216
|
/**
|
|
421
|
-
* Visit a parse tree produced by `ApexParser.
|
|
217
|
+
* Visit a parse tree produced by `ApexParser.anonymousUnit`.
|
|
422
218
|
* @param ctx the parse tree
|
|
423
219
|
* @return the visitor result
|
|
424
220
|
*/
|
|
425
|
-
|
|
221
|
+
visitAnonymousUnit?: (ctx: AnonymousUnitContext) => Result;
|
|
426
222
|
/**
|
|
427
|
-
* Visit a parse tree produced by `ApexParser.
|
|
223
|
+
* Visit a parse tree produced by `ApexParser.anonymousBlock`.
|
|
428
224
|
* @param ctx the parse tree
|
|
429
225
|
* @return the visitor result
|
|
430
226
|
*/
|
|
431
|
-
|
|
227
|
+
visitAnonymousBlock?: (ctx: AnonymousBlockContext) => Result;
|
|
432
228
|
/**
|
|
433
|
-
* Visit a parse tree produced by `ApexParser.
|
|
229
|
+
* Visit a parse tree produced by `ApexParser.anonymousBlockMember`.
|
|
434
230
|
* @param ctx the parse tree
|
|
435
231
|
* @return the visitor result
|
|
436
232
|
*/
|
|
437
|
-
|
|
233
|
+
visitAnonymousBlockMember?: (ctx: AnonymousBlockMemberContext) => Result;
|
|
438
234
|
/**
|
|
439
235
|
* Visit a parse tree produced by `ApexParser.compilationUnit`.
|
|
440
236
|
* @param ctx the parse tree
|
|
@@ -513,6 +309,12 @@ export interface ApexParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
513
309
|
* @return the visitor result
|
|
514
310
|
*/
|
|
515
311
|
visitTriggerMemberDeclaration?: (ctx: TriggerMemberDeclarationContext) => Result;
|
|
312
|
+
/**
|
|
313
|
+
* Visit a parse tree produced by `ApexParser.anonymousMemberDeclaration`.
|
|
314
|
+
* @param ctx the parse tree
|
|
315
|
+
* @return the visitor result
|
|
316
|
+
*/
|
|
317
|
+
visitAnonymousMemberDeclaration?: (ctx: AnonymousMemberDeclarationContext) => Result;
|
|
516
318
|
/**
|
|
517
319
|
* Visit a parse tree produced by `ApexParser.methodDeclaration`.
|
|
518
320
|
* @param ctx the parse tree
|
|
@@ -868,17 +670,229 @@ export interface ApexParserVisitor<Result> extends ParseTreeVisitor<Result> {
|
|
|
868
670
|
*/
|
|
869
671
|
visitExpressionList?: (ctx: ExpressionListContext) => Result;
|
|
870
672
|
/**
|
|
871
|
-
* Visit a parse tree produced by `
|
|
673
|
+
* Visit a parse tree produced by the `primaryExpression`
|
|
674
|
+
* labeled alternative in `ApexParser.expression`.
|
|
675
|
+
* @param ctx the parse tree
|
|
676
|
+
* @return the visitor result
|
|
677
|
+
*/
|
|
678
|
+
visitPrimaryExpression?: (ctx: PrimaryExpressionContext) => Result;
|
|
679
|
+
/**
|
|
680
|
+
* Visit a parse tree produced by the `arth1Expression`
|
|
681
|
+
* labeled alternative in `ApexParser.expression`.
|
|
682
|
+
* @param ctx the parse tree
|
|
683
|
+
* @return the visitor result
|
|
684
|
+
*/
|
|
685
|
+
visitArth1Expression?: (ctx: Arth1ExpressionContext) => Result;
|
|
686
|
+
/**
|
|
687
|
+
* Visit a parse tree produced by the `coalExpression`
|
|
688
|
+
* labeled alternative in `ApexParser.expression`.
|
|
689
|
+
* @param ctx the parse tree
|
|
690
|
+
* @return the visitor result
|
|
691
|
+
*/
|
|
692
|
+
visitCoalExpression?: (ctx: CoalExpressionContext) => Result;
|
|
693
|
+
/**
|
|
694
|
+
* Visit a parse tree produced by the `dotExpression`
|
|
695
|
+
* labeled alternative in `ApexParser.expression`.
|
|
696
|
+
* @param ctx the parse tree
|
|
697
|
+
* @return the visitor result
|
|
698
|
+
*/
|
|
699
|
+
visitDotExpression?: (ctx: DotExpressionContext) => Result;
|
|
700
|
+
/**
|
|
701
|
+
* Visit a parse tree produced by the `bitOrExpression`
|
|
702
|
+
* labeled alternative in `ApexParser.expression`.
|
|
703
|
+
* @param ctx the parse tree
|
|
704
|
+
* @return the visitor result
|
|
705
|
+
*/
|
|
706
|
+
visitBitOrExpression?: (ctx: BitOrExpressionContext) => Result;
|
|
707
|
+
/**
|
|
708
|
+
* Visit a parse tree produced by the `arrayExpression`
|
|
709
|
+
* labeled alternative in `ApexParser.expression`.
|
|
710
|
+
* @param ctx the parse tree
|
|
711
|
+
* @return the visitor result
|
|
712
|
+
*/
|
|
713
|
+
visitArrayExpression?: (ctx: ArrayExpressionContext) => Result;
|
|
714
|
+
/**
|
|
715
|
+
* Visit a parse tree produced by the `newExpression`
|
|
716
|
+
* labeled alternative in `ApexParser.expression`.
|
|
717
|
+
* @param ctx the parse tree
|
|
718
|
+
* @return the visitor result
|
|
719
|
+
*/
|
|
720
|
+
visitNewExpression?: (ctx: NewExpressionContext) => Result;
|
|
721
|
+
/**
|
|
722
|
+
* Visit a parse tree produced by the `assignExpression`
|
|
723
|
+
* labeled alternative in `ApexParser.expression`.
|
|
724
|
+
* @param ctx the parse tree
|
|
725
|
+
* @return the visitor result
|
|
726
|
+
*/
|
|
727
|
+
visitAssignExpression?: (ctx: AssignExpressionContext) => Result;
|
|
728
|
+
/**
|
|
729
|
+
* Visit a parse tree produced by the `methodCallExpression`
|
|
730
|
+
* labeled alternative in `ApexParser.expression`.
|
|
731
|
+
* @param ctx the parse tree
|
|
732
|
+
* @return the visitor result
|
|
733
|
+
*/
|
|
734
|
+
visitMethodCallExpression?: (ctx: MethodCallExpressionContext) => Result;
|
|
735
|
+
/**
|
|
736
|
+
* Visit a parse tree produced by the `bitNotExpression`
|
|
737
|
+
* labeled alternative in `ApexParser.expression`.
|
|
738
|
+
* @param ctx the parse tree
|
|
739
|
+
* @return the visitor result
|
|
740
|
+
*/
|
|
741
|
+
visitBitNotExpression?: (ctx: BitNotExpressionContext) => Result;
|
|
742
|
+
/**
|
|
743
|
+
* Visit a parse tree produced by the `arth2Expression`
|
|
744
|
+
* labeled alternative in `ApexParser.expression`.
|
|
745
|
+
* @param ctx the parse tree
|
|
746
|
+
* @return the visitor result
|
|
747
|
+
*/
|
|
748
|
+
visitArth2Expression?: (ctx: Arth2ExpressionContext) => Result;
|
|
749
|
+
/**
|
|
750
|
+
* Visit a parse tree produced by the `logAndExpression`
|
|
751
|
+
* labeled alternative in `ApexParser.expression`.
|
|
752
|
+
* @param ctx the parse tree
|
|
753
|
+
* @return the visitor result
|
|
754
|
+
*/
|
|
755
|
+
visitLogAndExpression?: (ctx: LogAndExpressionContext) => Result;
|
|
756
|
+
/**
|
|
757
|
+
* Visit a parse tree produced by the `castExpression`
|
|
758
|
+
* labeled alternative in `ApexParser.expression`.
|
|
759
|
+
* @param ctx the parse tree
|
|
760
|
+
* @return the visitor result
|
|
761
|
+
*/
|
|
762
|
+
visitCastExpression?: (ctx: CastExpressionContext) => Result;
|
|
763
|
+
/**
|
|
764
|
+
* Visit a parse tree produced by the `bitAndExpression`
|
|
765
|
+
* labeled alternative in `ApexParser.expression`.
|
|
766
|
+
* @param ctx the parse tree
|
|
767
|
+
* @return the visitor result
|
|
768
|
+
*/
|
|
769
|
+
visitBitAndExpression?: (ctx: BitAndExpressionContext) => Result;
|
|
770
|
+
/**
|
|
771
|
+
* Visit a parse tree produced by the `cmpExpression`
|
|
772
|
+
* labeled alternative in `ApexParser.expression`.
|
|
773
|
+
* @param ctx the parse tree
|
|
774
|
+
* @return the visitor result
|
|
775
|
+
*/
|
|
776
|
+
visitCmpExpression?: (ctx: CmpExpressionContext) => Result;
|
|
777
|
+
/**
|
|
778
|
+
* Visit a parse tree produced by the `bitExpression`
|
|
779
|
+
* labeled alternative in `ApexParser.expression`.
|
|
780
|
+
* @param ctx the parse tree
|
|
781
|
+
* @return the visitor result
|
|
782
|
+
*/
|
|
783
|
+
visitBitExpression?: (ctx: BitExpressionContext) => Result;
|
|
784
|
+
/**
|
|
785
|
+
* Visit a parse tree produced by the `logOrExpression`
|
|
786
|
+
* labeled alternative in `ApexParser.expression`.
|
|
787
|
+
* @param ctx the parse tree
|
|
788
|
+
* @return the visitor result
|
|
789
|
+
*/
|
|
790
|
+
visitLogOrExpression?: (ctx: LogOrExpressionContext) => Result;
|
|
791
|
+
/**
|
|
792
|
+
* Visit a parse tree produced by the `condExpression`
|
|
793
|
+
* labeled alternative in `ApexParser.expression`.
|
|
794
|
+
* @param ctx the parse tree
|
|
795
|
+
* @return the visitor result
|
|
796
|
+
*/
|
|
797
|
+
visitCondExpression?: (ctx: CondExpressionContext) => Result;
|
|
798
|
+
/**
|
|
799
|
+
* Visit a parse tree produced by the `equalityExpression`
|
|
800
|
+
* labeled alternative in `ApexParser.expression`.
|
|
801
|
+
* @param ctx the parse tree
|
|
802
|
+
* @return the visitor result
|
|
803
|
+
*/
|
|
804
|
+
visitEqualityExpression?: (ctx: EqualityExpressionContext) => Result;
|
|
805
|
+
/**
|
|
806
|
+
* Visit a parse tree produced by the `postOpExpression`
|
|
807
|
+
* labeled alternative in `ApexParser.expression`.
|
|
808
|
+
* @param ctx the parse tree
|
|
809
|
+
* @return the visitor result
|
|
810
|
+
*/
|
|
811
|
+
visitPostOpExpression?: (ctx: PostOpExpressionContext) => Result;
|
|
812
|
+
/**
|
|
813
|
+
* Visit a parse tree produced by the `negExpression`
|
|
814
|
+
* labeled alternative in `ApexParser.expression`.
|
|
815
|
+
* @param ctx the parse tree
|
|
816
|
+
* @return the visitor result
|
|
817
|
+
*/
|
|
818
|
+
visitNegExpression?: (ctx: NegExpressionContext) => Result;
|
|
819
|
+
/**
|
|
820
|
+
* Visit a parse tree produced by the `preOpExpression`
|
|
821
|
+
* labeled alternative in `ApexParser.expression`.
|
|
822
|
+
* @param ctx the parse tree
|
|
823
|
+
* @return the visitor result
|
|
824
|
+
*/
|
|
825
|
+
visitPreOpExpression?: (ctx: PreOpExpressionContext) => Result;
|
|
826
|
+
/**
|
|
827
|
+
* Visit a parse tree produced by the `subExpression`
|
|
828
|
+
* labeled alternative in `ApexParser.expression`.
|
|
829
|
+
* @param ctx the parse tree
|
|
830
|
+
* @return the visitor result
|
|
831
|
+
*/
|
|
832
|
+
visitSubExpression?: (ctx: SubExpressionContext) => Result;
|
|
833
|
+
/**
|
|
834
|
+
* Visit a parse tree produced by the `instanceOfExpression`
|
|
835
|
+
* labeled alternative in `ApexParser.expression`.
|
|
836
|
+
* @param ctx the parse tree
|
|
837
|
+
* @return the visitor result
|
|
838
|
+
*/
|
|
839
|
+
visitInstanceOfExpression?: (ctx: InstanceOfExpressionContext) => Result;
|
|
840
|
+
/**
|
|
841
|
+
* Visit a parse tree produced by the `thisPrimary`
|
|
842
|
+
* labeled alternative in `ApexParser.primary`.
|
|
843
|
+
* @param ctx the parse tree
|
|
844
|
+
* @return the visitor result
|
|
845
|
+
*/
|
|
846
|
+
visitThisPrimary?: (ctx: ThisPrimaryContext) => Result;
|
|
847
|
+
/**
|
|
848
|
+
* Visit a parse tree produced by the `superPrimary`
|
|
849
|
+
* labeled alternative in `ApexParser.primary`.
|
|
850
|
+
* @param ctx the parse tree
|
|
851
|
+
* @return the visitor result
|
|
852
|
+
*/
|
|
853
|
+
visitSuperPrimary?: (ctx: SuperPrimaryContext) => Result;
|
|
854
|
+
/**
|
|
855
|
+
* Visit a parse tree produced by the `literalPrimary`
|
|
856
|
+
* labeled alternative in `ApexParser.primary`.
|
|
857
|
+
* @param ctx the parse tree
|
|
858
|
+
* @return the visitor result
|
|
859
|
+
*/
|
|
860
|
+
visitLiteralPrimary?: (ctx: LiteralPrimaryContext) => Result;
|
|
861
|
+
/**
|
|
862
|
+
* Visit a parse tree produced by the `typeRefPrimary`
|
|
863
|
+
* labeled alternative in `ApexParser.primary`.
|
|
864
|
+
* @param ctx the parse tree
|
|
865
|
+
* @return the visitor result
|
|
866
|
+
*/
|
|
867
|
+
visitTypeRefPrimary?: (ctx: TypeRefPrimaryContext) => Result;
|
|
868
|
+
/**
|
|
869
|
+
* Visit a parse tree produced by the `voidPrimary`
|
|
870
|
+
* labeled alternative in `ApexParser.primary`.
|
|
871
|
+
* @param ctx the parse tree
|
|
872
|
+
* @return the visitor result
|
|
873
|
+
*/
|
|
874
|
+
visitVoidPrimary?: (ctx: VoidPrimaryContext) => Result;
|
|
875
|
+
/**
|
|
876
|
+
* Visit a parse tree produced by the `idPrimary`
|
|
877
|
+
* labeled alternative in `ApexParser.primary`.
|
|
878
|
+
* @param ctx the parse tree
|
|
879
|
+
* @return the visitor result
|
|
880
|
+
*/
|
|
881
|
+
visitIdPrimary?: (ctx: IdPrimaryContext) => Result;
|
|
882
|
+
/**
|
|
883
|
+
* Visit a parse tree produced by the `soqlPrimary`
|
|
884
|
+
* labeled alternative in `ApexParser.primary`.
|
|
872
885
|
* @param ctx the parse tree
|
|
873
886
|
* @return the visitor result
|
|
874
887
|
*/
|
|
875
|
-
|
|
888
|
+
visitSoqlPrimary?: (ctx: SoqlPrimaryContext) => Result;
|
|
876
889
|
/**
|
|
877
|
-
* Visit a parse tree produced by `
|
|
890
|
+
* Visit a parse tree produced by the `soslPrimary`
|
|
891
|
+
* labeled alternative in `ApexParser.primary`.
|
|
878
892
|
* @param ctx the parse tree
|
|
879
893
|
* @return the visitor result
|
|
880
894
|
*/
|
|
881
|
-
|
|
895
|
+
visitSoslPrimary?: (ctx: SoslPrimaryContext) => Result;
|
|
882
896
|
/**
|
|
883
897
|
* Visit a parse tree produced by `ApexParser.methodCall`.
|
|
884
898
|
* @param ctx the parse tree
|