@apexdevtools/apex-parser 3.1.0 → 3.3.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.
- package/CHANGELOG.md +13 -5
- package/README.md +5 -27
- package/lib/ApexLexer.d.ts +191 -187
- package/lib/ApexLexer.js +1405 -1375
- package/lib/ApexLexer.js.map +1 -1
- package/lib/ApexParser.d.ts +309 -277
- package/lib/ApexParser.js +2888 -2652
- package/lib/ApexParser.js.map +1 -1
- package/lib/ApexParserListener.d.ts +11 -0
- package/lib/ApexParserVisitor.d.ts +7 -0
- package/lib/__tests__/ApexLexerTest.js +13 -0
- package/lib/__tests__/ApexLexerTest.js.map +1 -1
- package/lib/__tests__/ApexListenerTest.js +13 -0
- package/lib/__tests__/ApexListenerTest.js.map +1 -1
- package/lib/__tests__/ApexParserTest.js +31 -0
- package/lib/__tests__/ApexParserTest.js.map +1 -1
- package/lib/__tests__/ApexVisitorTest.js +13 -0
- package/lib/__tests__/ApexVisitorTest.js.map +1 -1
- package/lib/__tests__/SOQLParserTest.js +13 -0
- package/lib/__tests__/SOQLParserTest.js.map +1 -1
- package/lib/__tests__/SOSLParserTest.js +13 -0
- package/lib/__tests__/SOSLParserTest.js.map +1 -1
- package/lib/__tests__/SyntaxErrorCounter.js +13 -0
- package/lib/__tests__/SyntaxErrorCounter.js.map +1 -1
- package/lib/__tests__/system/SampleParseSys.js +3 -0
- package/lib/__tests__/system/SampleParseSys.js.map +1 -1
- package/package.json +1 -1
package/lib/ApexParser.d.ts
CHANGED
|
@@ -65,193 +65,197 @@ export declare class ApexParser extends Parser {
|
|
|
65
65
|
static readonly WITHOUT = 54;
|
|
66
66
|
static readonly LIST = 55;
|
|
67
67
|
static readonly MAP = 56;
|
|
68
|
-
static readonly
|
|
69
|
-
static readonly
|
|
70
|
-
static readonly
|
|
71
|
-
static readonly
|
|
72
|
-
static readonly
|
|
73
|
-
static readonly
|
|
74
|
-
static readonly
|
|
75
|
-
static readonly
|
|
76
|
-
static readonly
|
|
77
|
-
static readonly
|
|
78
|
-
static readonly
|
|
79
|
-
static readonly
|
|
80
|
-
static readonly
|
|
81
|
-
static readonly
|
|
82
|
-
static readonly
|
|
83
|
-
static readonly
|
|
84
|
-
static readonly
|
|
85
|
-
static readonly
|
|
86
|
-
static readonly
|
|
87
|
-
static readonly
|
|
88
|
-
static readonly
|
|
89
|
-
static readonly
|
|
90
|
-
static readonly
|
|
91
|
-
static readonly
|
|
92
|
-
static readonly
|
|
93
|
-
static readonly
|
|
94
|
-
static readonly
|
|
95
|
-
static readonly
|
|
96
|
-
static readonly
|
|
97
|
-
static readonly
|
|
98
|
-
static readonly
|
|
99
|
-
static readonly
|
|
100
|
-
static readonly
|
|
101
|
-
static readonly
|
|
102
|
-
static readonly
|
|
103
|
-
static readonly
|
|
104
|
-
static readonly
|
|
105
|
-
static readonly
|
|
106
|
-
static readonly
|
|
107
|
-
static readonly
|
|
108
|
-
static readonly
|
|
109
|
-
static readonly
|
|
110
|
-
static readonly
|
|
111
|
-
static readonly
|
|
112
|
-
static readonly
|
|
113
|
-
static readonly
|
|
114
|
-
static readonly
|
|
115
|
-
static readonly
|
|
116
|
-
static readonly
|
|
117
|
-
static readonly
|
|
118
|
-
static readonly
|
|
119
|
-
static readonly
|
|
120
|
-
static readonly
|
|
121
|
-
static readonly
|
|
122
|
-
static readonly
|
|
123
|
-
static readonly
|
|
124
|
-
static readonly
|
|
125
|
-
static readonly
|
|
126
|
-
static readonly
|
|
127
|
-
static readonly
|
|
128
|
-
static readonly
|
|
129
|
-
static readonly
|
|
130
|
-
static readonly
|
|
131
|
-
static readonly
|
|
132
|
-
static readonly
|
|
133
|
-
static readonly
|
|
134
|
-
static readonly
|
|
135
|
-
static readonly
|
|
136
|
-
static readonly
|
|
137
|
-
static readonly
|
|
138
|
-
static readonly
|
|
139
|
-
static readonly
|
|
140
|
-
static readonly
|
|
141
|
-
static readonly
|
|
142
|
-
static readonly
|
|
143
|
-
static readonly
|
|
144
|
-
static readonly
|
|
145
|
-
static readonly
|
|
146
|
-
static readonly
|
|
147
|
-
static readonly
|
|
148
|
-
static readonly
|
|
149
|
-
static readonly
|
|
150
|
-
static readonly
|
|
151
|
-
static readonly
|
|
152
|
-
static readonly
|
|
153
|
-
static readonly
|
|
154
|
-
static readonly
|
|
155
|
-
static readonly
|
|
156
|
-
static readonly
|
|
157
|
-
static readonly
|
|
158
|
-
static readonly
|
|
159
|
-
static readonly
|
|
160
|
-
static readonly
|
|
161
|
-
static readonly
|
|
162
|
-
static readonly
|
|
163
|
-
static readonly
|
|
164
|
-
static readonly
|
|
165
|
-
static readonly
|
|
166
|
-
static readonly
|
|
167
|
-
static readonly
|
|
168
|
-
static readonly
|
|
169
|
-
static readonly
|
|
170
|
-
static readonly
|
|
171
|
-
static readonly
|
|
172
|
-
static readonly
|
|
173
|
-
static readonly
|
|
174
|
-
static readonly
|
|
175
|
-
static readonly
|
|
176
|
-
static readonly
|
|
177
|
-
static readonly
|
|
178
|
-
static readonly
|
|
179
|
-
static readonly
|
|
180
|
-
static readonly
|
|
181
|
-
static readonly
|
|
182
|
-
static readonly
|
|
183
|
-
static readonly
|
|
184
|
-
static readonly
|
|
185
|
-
static readonly
|
|
186
|
-
static readonly
|
|
187
|
-
static readonly
|
|
188
|
-
static readonly
|
|
189
|
-
static readonly
|
|
190
|
-
static readonly
|
|
191
|
-
static readonly
|
|
192
|
-
static readonly
|
|
193
|
-
static readonly
|
|
194
|
-
static readonly
|
|
195
|
-
static readonly
|
|
196
|
-
static readonly
|
|
197
|
-
static readonly
|
|
198
|
-
static readonly
|
|
199
|
-
static readonly
|
|
200
|
-
static readonly
|
|
201
|
-
static readonly
|
|
202
|
-
static readonly
|
|
203
|
-
static readonly
|
|
204
|
-
static readonly
|
|
205
|
-
static readonly
|
|
206
|
-
static readonly
|
|
207
|
-
static readonly
|
|
208
|
-
static readonly
|
|
209
|
-
static readonly
|
|
210
|
-
static readonly
|
|
211
|
-
static readonly
|
|
212
|
-
static readonly
|
|
213
|
-
static readonly
|
|
214
|
-
static readonly
|
|
215
|
-
static readonly
|
|
216
|
-
static readonly
|
|
217
|
-
static readonly
|
|
218
|
-
static readonly
|
|
219
|
-
static readonly
|
|
220
|
-
static readonly
|
|
221
|
-
static readonly
|
|
222
|
-
static readonly
|
|
223
|
-
static readonly
|
|
224
|
-
static readonly
|
|
225
|
-
static readonly
|
|
226
|
-
static readonly
|
|
227
|
-
static readonly
|
|
228
|
-
static readonly
|
|
229
|
-
static readonly
|
|
230
|
-
static readonly
|
|
231
|
-
static readonly
|
|
232
|
-
static readonly
|
|
233
|
-
static readonly
|
|
234
|
-
static readonly
|
|
235
|
-
static readonly
|
|
236
|
-
static readonly
|
|
237
|
-
static readonly
|
|
238
|
-
static readonly
|
|
239
|
-
static readonly
|
|
240
|
-
static readonly
|
|
241
|
-
static readonly
|
|
242
|
-
static readonly
|
|
243
|
-
static readonly
|
|
244
|
-
static readonly
|
|
245
|
-
static readonly
|
|
246
|
-
static readonly
|
|
247
|
-
static readonly
|
|
248
|
-
static readonly
|
|
249
|
-
static readonly
|
|
250
|
-
static readonly
|
|
251
|
-
static readonly
|
|
252
|
-
static readonly
|
|
253
|
-
static readonly
|
|
254
|
-
static readonly
|
|
68
|
+
static readonly SYSTEM = 57;
|
|
69
|
+
static readonly USER = 58;
|
|
70
|
+
static readonly SELECT = 59;
|
|
71
|
+
static readonly COUNT = 60;
|
|
72
|
+
static readonly FROM = 61;
|
|
73
|
+
static readonly AS = 62;
|
|
74
|
+
static readonly USING = 63;
|
|
75
|
+
static readonly SCOPE = 64;
|
|
76
|
+
static readonly WHERE = 65;
|
|
77
|
+
static readonly ORDER = 66;
|
|
78
|
+
static readonly BY = 67;
|
|
79
|
+
static readonly LIMIT = 68;
|
|
80
|
+
static readonly SOQLAND = 69;
|
|
81
|
+
static readonly SOQLOR = 70;
|
|
82
|
+
static readonly NOT = 71;
|
|
83
|
+
static readonly AVG = 72;
|
|
84
|
+
static readonly COUNT_DISTINCT = 73;
|
|
85
|
+
static readonly MIN = 74;
|
|
86
|
+
static readonly MAX = 75;
|
|
87
|
+
static readonly SUM = 76;
|
|
88
|
+
static readonly TYPEOF = 77;
|
|
89
|
+
static readonly END = 78;
|
|
90
|
+
static readonly THEN = 79;
|
|
91
|
+
static readonly LIKE = 80;
|
|
92
|
+
static readonly IN = 81;
|
|
93
|
+
static readonly INCLUDES = 82;
|
|
94
|
+
static readonly EXCLUDES = 83;
|
|
95
|
+
static readonly ASC = 84;
|
|
96
|
+
static readonly DESC = 85;
|
|
97
|
+
static readonly NULLS = 86;
|
|
98
|
+
static readonly FIRST = 87;
|
|
99
|
+
static readonly LAST = 88;
|
|
100
|
+
static readonly GROUP = 89;
|
|
101
|
+
static readonly ALL = 90;
|
|
102
|
+
static readonly ROWS = 91;
|
|
103
|
+
static readonly VIEW = 92;
|
|
104
|
+
static readonly HAVING = 93;
|
|
105
|
+
static readonly ROLLUP = 94;
|
|
106
|
+
static readonly TOLABEL = 95;
|
|
107
|
+
static readonly OFFSET = 96;
|
|
108
|
+
static readonly DATA = 97;
|
|
109
|
+
static readonly CATEGORY = 98;
|
|
110
|
+
static readonly AT = 99;
|
|
111
|
+
static readonly ABOVE = 100;
|
|
112
|
+
static readonly BELOW = 101;
|
|
113
|
+
static readonly ABOVE_OR_BELOW = 102;
|
|
114
|
+
static readonly SECURITY_ENFORCED = 103;
|
|
115
|
+
static readonly SYSTEM_MODE = 104;
|
|
116
|
+
static readonly USER_MODE = 105;
|
|
117
|
+
static readonly REFERENCE = 106;
|
|
118
|
+
static readonly CUBE = 107;
|
|
119
|
+
static readonly FORMAT = 108;
|
|
120
|
+
static readonly TRACKING = 109;
|
|
121
|
+
static readonly VIEWSTAT = 110;
|
|
122
|
+
static readonly CUSTOM = 111;
|
|
123
|
+
static readonly STANDARD = 112;
|
|
124
|
+
static readonly DISTANCE = 113;
|
|
125
|
+
static readonly GEOLOCATION = 114;
|
|
126
|
+
static readonly CALENDAR_MONTH = 115;
|
|
127
|
+
static readonly CALENDAR_QUARTER = 116;
|
|
128
|
+
static readonly CALENDAR_YEAR = 117;
|
|
129
|
+
static readonly DAY_IN_MONTH = 118;
|
|
130
|
+
static readonly DAY_IN_WEEK = 119;
|
|
131
|
+
static readonly DAY_IN_YEAR = 120;
|
|
132
|
+
static readonly DAY_ONLY = 121;
|
|
133
|
+
static readonly FISCAL_MONTH = 122;
|
|
134
|
+
static readonly FISCAL_QUARTER = 123;
|
|
135
|
+
static readonly FISCAL_YEAR = 124;
|
|
136
|
+
static readonly HOUR_IN_DAY = 125;
|
|
137
|
+
static readonly WEEK_IN_MONTH = 126;
|
|
138
|
+
static readonly WEEK_IN_YEAR = 127;
|
|
139
|
+
static readonly CONVERT_TIMEZONE = 128;
|
|
140
|
+
static readonly YESTERDAY = 129;
|
|
141
|
+
static readonly TODAY = 130;
|
|
142
|
+
static readonly TOMORROW = 131;
|
|
143
|
+
static readonly LAST_WEEK = 132;
|
|
144
|
+
static readonly THIS_WEEK = 133;
|
|
145
|
+
static readonly NEXT_WEEK = 134;
|
|
146
|
+
static readonly LAST_MONTH = 135;
|
|
147
|
+
static readonly THIS_MONTH = 136;
|
|
148
|
+
static readonly NEXT_MONTH = 137;
|
|
149
|
+
static readonly LAST_90_DAYS = 138;
|
|
150
|
+
static readonly NEXT_90_DAYS = 139;
|
|
151
|
+
static readonly LAST_N_DAYS_N = 140;
|
|
152
|
+
static readonly NEXT_N_DAYS_N = 141;
|
|
153
|
+
static readonly N_DAYS_AGO_N = 142;
|
|
154
|
+
static readonly NEXT_N_WEEKS_N = 143;
|
|
155
|
+
static readonly LAST_N_WEEKS_N = 144;
|
|
156
|
+
static readonly N_WEEKS_AGO_N = 145;
|
|
157
|
+
static readonly NEXT_N_MONTHS_N = 146;
|
|
158
|
+
static readonly LAST_N_MONTHS_N = 147;
|
|
159
|
+
static readonly N_MONTHS_AGO_N = 148;
|
|
160
|
+
static readonly THIS_QUARTER = 149;
|
|
161
|
+
static readonly LAST_QUARTER = 150;
|
|
162
|
+
static readonly NEXT_QUARTER = 151;
|
|
163
|
+
static readonly NEXT_N_QUARTERS_N = 152;
|
|
164
|
+
static readonly LAST_N_QUARTERS_N = 153;
|
|
165
|
+
static readonly N_QUARTERS_AGO_N = 154;
|
|
166
|
+
static readonly THIS_YEAR = 155;
|
|
167
|
+
static readonly LAST_YEAR = 156;
|
|
168
|
+
static readonly NEXT_YEAR = 157;
|
|
169
|
+
static readonly NEXT_N_YEARS_N = 158;
|
|
170
|
+
static readonly LAST_N_YEARS_N = 159;
|
|
171
|
+
static readonly N_YEARS_AGO_N = 160;
|
|
172
|
+
static readonly THIS_FISCAL_QUARTER = 161;
|
|
173
|
+
static readonly LAST_FISCAL_QUARTER = 162;
|
|
174
|
+
static readonly NEXT_FISCAL_QUARTER = 163;
|
|
175
|
+
static readonly NEXT_N_FISCAL_QUARTERS_N = 164;
|
|
176
|
+
static readonly LAST_N_FISCAL_QUARTERS_N = 165;
|
|
177
|
+
static readonly N_FISCAL_QUARTERS_AGO_N = 166;
|
|
178
|
+
static readonly THIS_FISCAL_YEAR = 167;
|
|
179
|
+
static readonly LAST_FISCAL_YEAR = 168;
|
|
180
|
+
static readonly NEXT_FISCAL_YEAR = 169;
|
|
181
|
+
static readonly NEXT_N_FISCAL_YEARS_N = 170;
|
|
182
|
+
static readonly LAST_N_FISCAL_YEARS_N = 171;
|
|
183
|
+
static readonly N_FISCAL_YEARS_AGO_N = 172;
|
|
184
|
+
static readonly DateLiteral = 173;
|
|
185
|
+
static readonly DateTimeLiteral = 174;
|
|
186
|
+
static readonly IntegralCurrencyLiteral = 175;
|
|
187
|
+
static readonly FIND = 176;
|
|
188
|
+
static readonly EMAIL = 177;
|
|
189
|
+
static readonly NAME = 178;
|
|
190
|
+
static readonly PHONE = 179;
|
|
191
|
+
static readonly SIDEBAR = 180;
|
|
192
|
+
static readonly FIELDS = 181;
|
|
193
|
+
static readonly METADATA = 182;
|
|
194
|
+
static readonly PRICEBOOKID = 183;
|
|
195
|
+
static readonly NETWORK = 184;
|
|
196
|
+
static readonly SNIPPET = 185;
|
|
197
|
+
static readonly TARGET_LENGTH = 186;
|
|
198
|
+
static readonly DIVISION = 187;
|
|
199
|
+
static readonly RETURNING = 188;
|
|
200
|
+
static readonly LISTVIEW = 189;
|
|
201
|
+
static readonly FindLiteral = 190;
|
|
202
|
+
static readonly FindLiteralAlt = 191;
|
|
203
|
+
static readonly IntegerLiteral = 192;
|
|
204
|
+
static readonly LongLiteral = 193;
|
|
205
|
+
static readonly NumberLiteral = 194;
|
|
206
|
+
static readonly BooleanLiteral = 195;
|
|
207
|
+
static readonly StringLiteral = 196;
|
|
208
|
+
static readonly NullLiteral = 197;
|
|
209
|
+
static readonly LPAREN = 198;
|
|
210
|
+
static readonly RPAREN = 199;
|
|
211
|
+
static readonly LBRACE = 200;
|
|
212
|
+
static readonly RBRACE = 201;
|
|
213
|
+
static readonly LBRACK = 202;
|
|
214
|
+
static readonly RBRACK = 203;
|
|
215
|
+
static readonly SEMI = 204;
|
|
216
|
+
static readonly COMMA = 205;
|
|
217
|
+
static readonly DOT = 206;
|
|
218
|
+
static readonly ASSIGN = 207;
|
|
219
|
+
static readonly GT = 208;
|
|
220
|
+
static readonly LT = 209;
|
|
221
|
+
static readonly BANG = 210;
|
|
222
|
+
static readonly TILDE = 211;
|
|
223
|
+
static readonly QUESTIONDOT = 212;
|
|
224
|
+
static readonly QUESTION = 213;
|
|
225
|
+
static readonly COLON = 214;
|
|
226
|
+
static readonly EQUAL = 215;
|
|
227
|
+
static readonly TRIPLEEQUAL = 216;
|
|
228
|
+
static readonly NOTEQUAL = 217;
|
|
229
|
+
static readonly LESSANDGREATER = 218;
|
|
230
|
+
static readonly TRIPLENOTEQUAL = 219;
|
|
231
|
+
static readonly AND = 220;
|
|
232
|
+
static readonly OR = 221;
|
|
233
|
+
static readonly INC = 222;
|
|
234
|
+
static readonly DEC = 223;
|
|
235
|
+
static readonly ADD = 224;
|
|
236
|
+
static readonly SUB = 225;
|
|
237
|
+
static readonly MUL = 226;
|
|
238
|
+
static readonly DIV = 227;
|
|
239
|
+
static readonly BITAND = 228;
|
|
240
|
+
static readonly BITOR = 229;
|
|
241
|
+
static readonly CARET = 230;
|
|
242
|
+
static readonly MAPTO = 231;
|
|
243
|
+
static readonly ADD_ASSIGN = 232;
|
|
244
|
+
static readonly SUB_ASSIGN = 233;
|
|
245
|
+
static readonly MUL_ASSIGN = 234;
|
|
246
|
+
static readonly DIV_ASSIGN = 235;
|
|
247
|
+
static readonly AND_ASSIGN = 236;
|
|
248
|
+
static readonly OR_ASSIGN = 237;
|
|
249
|
+
static readonly XOR_ASSIGN = 238;
|
|
250
|
+
static readonly LSHIFT_ASSIGN = 239;
|
|
251
|
+
static readonly RSHIFT_ASSIGN = 240;
|
|
252
|
+
static readonly URSHIFT_ASSIGN = 241;
|
|
253
|
+
static readonly ATSIGN = 242;
|
|
254
|
+
static readonly Identifier = 243;
|
|
255
|
+
static readonly WS = 244;
|
|
256
|
+
static readonly DOC_COMMENT = 245;
|
|
257
|
+
static readonly COMMENT = 246;
|
|
258
|
+
static readonly LINE_COMMENT = 247;
|
|
255
259
|
static readonly RULE_triggerUnit = 0;
|
|
256
260
|
static readonly RULE_triggerCase = 1;
|
|
257
261
|
static readonly RULE_compilationUnit = 2;
|
|
@@ -305,96 +309,97 @@ export declare class ApexParser extends Parser {
|
|
|
305
309
|
static readonly RULE_throwStatement = 50;
|
|
306
310
|
static readonly RULE_breakStatement = 51;
|
|
307
311
|
static readonly RULE_continueStatement = 52;
|
|
308
|
-
static readonly
|
|
309
|
-
static readonly
|
|
310
|
-
static readonly
|
|
311
|
-
static readonly
|
|
312
|
-
static readonly
|
|
313
|
-
static readonly
|
|
314
|
-
static readonly
|
|
315
|
-
static readonly
|
|
316
|
-
static readonly
|
|
317
|
-
static readonly
|
|
318
|
-
static readonly
|
|
319
|
-
static readonly
|
|
320
|
-
static readonly
|
|
321
|
-
static readonly
|
|
322
|
-
static readonly
|
|
323
|
-
static readonly
|
|
324
|
-
static readonly
|
|
325
|
-
static readonly
|
|
326
|
-
static readonly
|
|
327
|
-
static readonly
|
|
328
|
-
static readonly
|
|
329
|
-
static readonly
|
|
330
|
-
static readonly
|
|
331
|
-
static readonly
|
|
332
|
-
static readonly
|
|
333
|
-
static readonly
|
|
334
|
-
static readonly
|
|
335
|
-
static readonly
|
|
336
|
-
static readonly
|
|
337
|
-
static readonly
|
|
338
|
-
static readonly
|
|
339
|
-
static readonly
|
|
340
|
-
static readonly
|
|
341
|
-
static readonly
|
|
342
|
-
static readonly
|
|
343
|
-
static readonly
|
|
344
|
-
static readonly
|
|
345
|
-
static readonly
|
|
346
|
-
static readonly
|
|
347
|
-
static readonly
|
|
348
|
-
static readonly
|
|
349
|
-
static readonly
|
|
350
|
-
static readonly
|
|
351
|
-
static readonly
|
|
352
|
-
static readonly
|
|
353
|
-
static readonly
|
|
354
|
-
static readonly
|
|
355
|
-
static readonly
|
|
356
|
-
static readonly
|
|
357
|
-
static readonly
|
|
358
|
-
static readonly
|
|
359
|
-
static readonly
|
|
360
|
-
static readonly
|
|
361
|
-
static readonly
|
|
362
|
-
static readonly
|
|
363
|
-
static readonly
|
|
364
|
-
static readonly
|
|
365
|
-
static readonly
|
|
366
|
-
static readonly
|
|
367
|
-
static readonly
|
|
368
|
-
static readonly
|
|
369
|
-
static readonly
|
|
370
|
-
static readonly
|
|
371
|
-
static readonly
|
|
372
|
-
static readonly
|
|
373
|
-
static readonly
|
|
374
|
-
static readonly
|
|
375
|
-
static readonly
|
|
376
|
-
static readonly
|
|
377
|
-
static readonly
|
|
378
|
-
static readonly
|
|
379
|
-
static readonly
|
|
380
|
-
static readonly
|
|
381
|
-
static readonly
|
|
382
|
-
static readonly
|
|
383
|
-
static readonly
|
|
384
|
-
static readonly
|
|
385
|
-
static readonly
|
|
386
|
-
static readonly
|
|
387
|
-
static readonly
|
|
388
|
-
static readonly
|
|
389
|
-
static readonly
|
|
390
|
-
static readonly
|
|
391
|
-
static readonly
|
|
392
|
-
static readonly
|
|
393
|
-
static readonly
|
|
394
|
-
static readonly
|
|
395
|
-
static readonly
|
|
396
|
-
static readonly
|
|
397
|
-
static readonly
|
|
312
|
+
static readonly RULE_accessLevel = 53;
|
|
313
|
+
static readonly RULE_insertStatement = 54;
|
|
314
|
+
static readonly RULE_updateStatement = 55;
|
|
315
|
+
static readonly RULE_deleteStatement = 56;
|
|
316
|
+
static readonly RULE_undeleteStatement = 57;
|
|
317
|
+
static readonly RULE_upsertStatement = 58;
|
|
318
|
+
static readonly RULE_mergeStatement = 59;
|
|
319
|
+
static readonly RULE_runAsStatement = 60;
|
|
320
|
+
static readonly RULE_expressionStatement = 61;
|
|
321
|
+
static readonly RULE_propertyBlock = 62;
|
|
322
|
+
static readonly RULE_getter = 63;
|
|
323
|
+
static readonly RULE_setter = 64;
|
|
324
|
+
static readonly RULE_catchClause = 65;
|
|
325
|
+
static readonly RULE_finallyBlock = 66;
|
|
326
|
+
static readonly RULE_forControl = 67;
|
|
327
|
+
static readonly RULE_forInit = 68;
|
|
328
|
+
static readonly RULE_enhancedForControl = 69;
|
|
329
|
+
static readonly RULE_forUpdate = 70;
|
|
330
|
+
static readonly RULE_parExpression = 71;
|
|
331
|
+
static readonly RULE_expressionList = 72;
|
|
332
|
+
static readonly RULE_expression = 73;
|
|
333
|
+
static readonly RULE_primary = 74;
|
|
334
|
+
static readonly RULE_methodCall = 75;
|
|
335
|
+
static readonly RULE_dotMethodCall = 76;
|
|
336
|
+
static readonly RULE_creator = 77;
|
|
337
|
+
static readonly RULE_createdName = 78;
|
|
338
|
+
static readonly RULE_idCreatedNamePair = 79;
|
|
339
|
+
static readonly RULE_noRest = 80;
|
|
340
|
+
static readonly RULE_classCreatorRest = 81;
|
|
341
|
+
static readonly RULE_arrayCreatorRest = 82;
|
|
342
|
+
static readonly RULE_mapCreatorRest = 83;
|
|
343
|
+
static readonly RULE_mapCreatorRestPair = 84;
|
|
344
|
+
static readonly RULE_setCreatorRest = 85;
|
|
345
|
+
static readonly RULE_arguments = 86;
|
|
346
|
+
static readonly RULE_soqlLiteral = 87;
|
|
347
|
+
static readonly RULE_query = 88;
|
|
348
|
+
static readonly RULE_subQuery = 89;
|
|
349
|
+
static readonly RULE_selectList = 90;
|
|
350
|
+
static readonly RULE_selectEntry = 91;
|
|
351
|
+
static readonly RULE_fieldName = 92;
|
|
352
|
+
static readonly RULE_fromNameList = 93;
|
|
353
|
+
static readonly RULE_subFieldList = 94;
|
|
354
|
+
static readonly RULE_subFieldEntry = 95;
|
|
355
|
+
static readonly RULE_soqlFieldsParameter = 96;
|
|
356
|
+
static readonly RULE_soqlFunction = 97;
|
|
357
|
+
static readonly RULE_dateFieldName = 98;
|
|
358
|
+
static readonly RULE_locationValue = 99;
|
|
359
|
+
static readonly RULE_coordinateValue = 100;
|
|
360
|
+
static readonly RULE_typeOf = 101;
|
|
361
|
+
static readonly RULE_whenClause = 102;
|
|
362
|
+
static readonly RULE_elseClause = 103;
|
|
363
|
+
static readonly RULE_fieldNameList = 104;
|
|
364
|
+
static readonly RULE_usingScope = 105;
|
|
365
|
+
static readonly RULE_whereClause = 106;
|
|
366
|
+
static readonly RULE_logicalExpression = 107;
|
|
367
|
+
static readonly RULE_conditionalExpression = 108;
|
|
368
|
+
static readonly RULE_fieldExpression = 109;
|
|
369
|
+
static readonly RULE_comparisonOperator = 110;
|
|
370
|
+
static readonly RULE_value = 111;
|
|
371
|
+
static readonly RULE_valueList = 112;
|
|
372
|
+
static readonly RULE_signedNumber = 113;
|
|
373
|
+
static readonly RULE_withClause = 114;
|
|
374
|
+
static readonly RULE_filteringExpression = 115;
|
|
375
|
+
static readonly RULE_dataCategorySelection = 116;
|
|
376
|
+
static readonly RULE_dataCategoryName = 117;
|
|
377
|
+
static readonly RULE_filteringSelector = 118;
|
|
378
|
+
static readonly RULE_groupByClause = 119;
|
|
379
|
+
static readonly RULE_orderByClause = 120;
|
|
380
|
+
static readonly RULE_fieldOrderList = 121;
|
|
381
|
+
static readonly RULE_fieldOrder = 122;
|
|
382
|
+
static readonly RULE_limitClause = 123;
|
|
383
|
+
static readonly RULE_offsetClause = 124;
|
|
384
|
+
static readonly RULE_allRowsClause = 125;
|
|
385
|
+
static readonly RULE_forClauses = 126;
|
|
386
|
+
static readonly RULE_boundExpression = 127;
|
|
387
|
+
static readonly RULE_dateFormula = 128;
|
|
388
|
+
static readonly RULE_signedInteger = 129;
|
|
389
|
+
static readonly RULE_soqlId = 130;
|
|
390
|
+
static readonly RULE_soslLiteral = 131;
|
|
391
|
+
static readonly RULE_soslLiteralAlt = 132;
|
|
392
|
+
static readonly RULE_soslClauses = 133;
|
|
393
|
+
static readonly RULE_searchGroup = 134;
|
|
394
|
+
static readonly RULE_fieldSpecList = 135;
|
|
395
|
+
static readonly RULE_fieldSpec = 136;
|
|
396
|
+
static readonly RULE_fieldList = 137;
|
|
397
|
+
static readonly RULE_updateList = 138;
|
|
398
|
+
static readonly RULE_updateType = 139;
|
|
399
|
+
static readonly RULE_networkList = 140;
|
|
400
|
+
static readonly RULE_soslId = 141;
|
|
401
|
+
static readonly RULE_id = 142;
|
|
402
|
+
static readonly RULE_anyId = 143;
|
|
398
403
|
static readonly ruleNames: string[];
|
|
399
404
|
private static readonly _LITERAL_NAMES;
|
|
400
405
|
private static readonly _SYMBOLIC_NAMES;
|
|
@@ -458,6 +463,7 @@ export declare class ApexParser extends Parser {
|
|
|
458
463
|
throwStatement(): ThrowStatementContext;
|
|
459
464
|
breakStatement(): BreakStatementContext;
|
|
460
465
|
continueStatement(): ContinueStatementContext;
|
|
466
|
+
accessLevel(): AccessLevelContext;
|
|
461
467
|
insertStatement(): InsertStatementContext;
|
|
462
468
|
updateStatement(): UpdateStatementContext;
|
|
463
469
|
deleteStatement(): DeleteStatementContext;
|
|
@@ -1208,10 +1214,21 @@ export declare class ContinueStatementContext extends ParserRuleContext {
|
|
|
1208
1214
|
exitRule(listener: ApexParserListener): void;
|
|
1209
1215
|
accept<Result>(visitor: ApexParserVisitor<Result>): Result;
|
|
1210
1216
|
}
|
|
1217
|
+
export declare class AccessLevelContext extends ParserRuleContext {
|
|
1218
|
+
AS(): TerminalNode;
|
|
1219
|
+
SYSTEM(): TerminalNode | undefined;
|
|
1220
|
+
USER(): TerminalNode | undefined;
|
|
1221
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1222
|
+
get ruleIndex(): number;
|
|
1223
|
+
enterRule(listener: ApexParserListener): void;
|
|
1224
|
+
exitRule(listener: ApexParserListener): void;
|
|
1225
|
+
accept<Result>(visitor: ApexParserVisitor<Result>): Result;
|
|
1226
|
+
}
|
|
1211
1227
|
export declare class InsertStatementContext extends ParserRuleContext {
|
|
1212
1228
|
INSERT(): TerminalNode;
|
|
1213
1229
|
expression(): ExpressionContext;
|
|
1214
1230
|
SEMI(): TerminalNode;
|
|
1231
|
+
accessLevel(): AccessLevelContext | undefined;
|
|
1215
1232
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1216
1233
|
get ruleIndex(): number;
|
|
1217
1234
|
enterRule(listener: ApexParserListener): void;
|
|
@@ -1222,6 +1239,7 @@ export declare class UpdateStatementContext extends ParserRuleContext {
|
|
|
1222
1239
|
UPDATE(): TerminalNode;
|
|
1223
1240
|
expression(): ExpressionContext;
|
|
1224
1241
|
SEMI(): TerminalNode;
|
|
1242
|
+
accessLevel(): AccessLevelContext | undefined;
|
|
1225
1243
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1226
1244
|
get ruleIndex(): number;
|
|
1227
1245
|
enterRule(listener: ApexParserListener): void;
|
|
@@ -1232,6 +1250,7 @@ export declare class DeleteStatementContext extends ParserRuleContext {
|
|
|
1232
1250
|
DELETE(): TerminalNode;
|
|
1233
1251
|
expression(): ExpressionContext;
|
|
1234
1252
|
SEMI(): TerminalNode;
|
|
1253
|
+
accessLevel(): AccessLevelContext | undefined;
|
|
1235
1254
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1236
1255
|
get ruleIndex(): number;
|
|
1237
1256
|
enterRule(listener: ApexParserListener): void;
|
|
@@ -1242,6 +1261,7 @@ export declare class UndeleteStatementContext extends ParserRuleContext {
|
|
|
1242
1261
|
UNDELETE(): TerminalNode;
|
|
1243
1262
|
expression(): ExpressionContext;
|
|
1244
1263
|
SEMI(): TerminalNode;
|
|
1264
|
+
accessLevel(): AccessLevelContext | undefined;
|
|
1245
1265
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1246
1266
|
get ruleIndex(): number;
|
|
1247
1267
|
enterRule(listener: ApexParserListener): void;
|
|
@@ -1252,6 +1272,7 @@ export declare class UpsertStatementContext extends ParserRuleContext {
|
|
|
1252
1272
|
UPSERT(): TerminalNode;
|
|
1253
1273
|
expression(): ExpressionContext;
|
|
1254
1274
|
SEMI(): TerminalNode;
|
|
1275
|
+
accessLevel(): AccessLevelContext | undefined;
|
|
1255
1276
|
qualifiedName(): QualifiedNameContext | undefined;
|
|
1256
1277
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1257
1278
|
get ruleIndex(): number;
|
|
@@ -1264,6 +1285,7 @@ export declare class MergeStatementContext extends ParserRuleContext {
|
|
|
1264
1285
|
expression(): ExpressionContext[];
|
|
1265
1286
|
expression(i: number): ExpressionContext;
|
|
1266
1287
|
SEMI(): TerminalNode;
|
|
1288
|
+
accessLevel(): AccessLevelContext | undefined;
|
|
1267
1289
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
1268
1290
|
get ruleIndex(): number;
|
|
1269
1291
|
enterRule(listener: ApexParserListener): void;
|
|
@@ -2213,6 +2235,8 @@ export declare class WithClauseContext extends ParserRuleContext {
|
|
|
2213
2235
|
CATEGORY(): TerminalNode | undefined;
|
|
2214
2236
|
filteringExpression(): FilteringExpressionContext | undefined;
|
|
2215
2237
|
SECURITY_ENFORCED(): TerminalNode | undefined;
|
|
2238
|
+
SYSTEM_MODE(): TerminalNode | undefined;
|
|
2239
|
+
USER_MODE(): TerminalNode | undefined;
|
|
2216
2240
|
logicalExpression(): LogicalExpressionContext | undefined;
|
|
2217
2241
|
constructor(parent: ParserRuleContext | undefined, invokingState: number);
|
|
2218
2242
|
get ruleIndex(): number;
|
|
@@ -2619,6 +2643,8 @@ export declare class IdContext extends ParserRuleContext {
|
|
|
2619
2643
|
WHEN(): TerminalNode | undefined;
|
|
2620
2644
|
WITH(): TerminalNode | undefined;
|
|
2621
2645
|
WITHOUT(): TerminalNode | undefined;
|
|
2646
|
+
USER(): TerminalNode | undefined;
|
|
2647
|
+
SYSTEM(): TerminalNode | undefined;
|
|
2622
2648
|
IntegralCurrencyLiteral(): TerminalNode | undefined;
|
|
2623
2649
|
SELECT(): TerminalNode | undefined;
|
|
2624
2650
|
COUNT(): TerminalNode | undefined;
|
|
@@ -2665,6 +2691,8 @@ export declare class IdContext extends ParserRuleContext {
|
|
|
2665
2691
|
BELOW(): TerminalNode | undefined;
|
|
2666
2692
|
ABOVE_OR_BELOW(): TerminalNode | undefined;
|
|
2667
2693
|
SECURITY_ENFORCED(): TerminalNode | undefined;
|
|
2694
|
+
USER_MODE(): TerminalNode | undefined;
|
|
2695
|
+
SYSTEM_MODE(): TerminalNode | undefined;
|
|
2668
2696
|
REFERENCE(): TerminalNode | undefined;
|
|
2669
2697
|
CUBE(): TerminalNode | undefined;
|
|
2670
2698
|
FORMAT(): TerminalNode | undefined;
|
|
@@ -2808,6 +2836,8 @@ export declare class AnyIdContext extends ParserRuleContext {
|
|
|
2808
2836
|
WHILE(): TerminalNode | undefined;
|
|
2809
2837
|
WITH(): TerminalNode | undefined;
|
|
2810
2838
|
WITHOUT(): TerminalNode | undefined;
|
|
2839
|
+
USER(): TerminalNode | undefined;
|
|
2840
|
+
SYSTEM(): TerminalNode | undefined;
|
|
2811
2841
|
IntegralCurrencyLiteral(): TerminalNode | undefined;
|
|
2812
2842
|
SELECT(): TerminalNode | undefined;
|
|
2813
2843
|
COUNT(): TerminalNode | undefined;
|
|
@@ -2854,6 +2884,8 @@ export declare class AnyIdContext extends ParserRuleContext {
|
|
|
2854
2884
|
BELOW(): TerminalNode | undefined;
|
|
2855
2885
|
ABOVE_OR_BELOW(): TerminalNode | undefined;
|
|
2856
2886
|
SECURITY_ENFORCED(): TerminalNode | undefined;
|
|
2887
|
+
SYSTEM_MODE(): TerminalNode | undefined;
|
|
2888
|
+
USER_MODE(): TerminalNode | undefined;
|
|
2857
2889
|
REFERENCE(): TerminalNode | undefined;
|
|
2858
2890
|
CUBE(): TerminalNode | undefined;
|
|
2859
2891
|
FORMAT(): TerminalNode | undefined;
|