@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.
@@ -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 SELECT = 57;
69
- static readonly COUNT = 58;
70
- static readonly FROM = 59;
71
- static readonly AS = 60;
72
- static readonly USING = 61;
73
- static readonly SCOPE = 62;
74
- static readonly WHERE = 63;
75
- static readonly ORDER = 64;
76
- static readonly BY = 65;
77
- static readonly LIMIT = 66;
78
- static readonly SOQLAND = 67;
79
- static readonly SOQLOR = 68;
80
- static readonly NOT = 69;
81
- static readonly AVG = 70;
82
- static readonly COUNT_DISTINCT = 71;
83
- static readonly MIN = 72;
84
- static readonly MAX = 73;
85
- static readonly SUM = 74;
86
- static readonly TYPEOF = 75;
87
- static readonly END = 76;
88
- static readonly THEN = 77;
89
- static readonly LIKE = 78;
90
- static readonly IN = 79;
91
- static readonly INCLUDES = 80;
92
- static readonly EXCLUDES = 81;
93
- static readonly ASC = 82;
94
- static readonly DESC = 83;
95
- static readonly NULLS = 84;
96
- static readonly FIRST = 85;
97
- static readonly LAST = 86;
98
- static readonly GROUP = 87;
99
- static readonly ALL = 88;
100
- static readonly ROWS = 89;
101
- static readonly VIEW = 90;
102
- static readonly HAVING = 91;
103
- static readonly ROLLUP = 92;
104
- static readonly TOLABEL = 93;
105
- static readonly OFFSET = 94;
106
- static readonly DATA = 95;
107
- static readonly CATEGORY = 96;
108
- static readonly AT = 97;
109
- static readonly ABOVE = 98;
110
- static readonly BELOW = 99;
111
- static readonly ABOVE_OR_BELOW = 100;
112
- static readonly SECURITY_ENFORCED = 101;
113
- static readonly REFERENCE = 102;
114
- static readonly CUBE = 103;
115
- static readonly FORMAT = 104;
116
- static readonly TRACKING = 105;
117
- static readonly VIEWSTAT = 106;
118
- static readonly CUSTOM = 107;
119
- static readonly STANDARD = 108;
120
- static readonly DISTANCE = 109;
121
- static readonly GEOLOCATION = 110;
122
- static readonly CALENDAR_MONTH = 111;
123
- static readonly CALENDAR_QUARTER = 112;
124
- static readonly CALENDAR_YEAR = 113;
125
- static readonly DAY_IN_MONTH = 114;
126
- static readonly DAY_IN_WEEK = 115;
127
- static readonly DAY_IN_YEAR = 116;
128
- static readonly DAY_ONLY = 117;
129
- static readonly FISCAL_MONTH = 118;
130
- static readonly FISCAL_QUARTER = 119;
131
- static readonly FISCAL_YEAR = 120;
132
- static readonly HOUR_IN_DAY = 121;
133
- static readonly WEEK_IN_MONTH = 122;
134
- static readonly WEEK_IN_YEAR = 123;
135
- static readonly CONVERT_TIMEZONE = 124;
136
- static readonly YESTERDAY = 125;
137
- static readonly TODAY = 126;
138
- static readonly TOMORROW = 127;
139
- static readonly LAST_WEEK = 128;
140
- static readonly THIS_WEEK = 129;
141
- static readonly NEXT_WEEK = 130;
142
- static readonly LAST_MONTH = 131;
143
- static readonly THIS_MONTH = 132;
144
- static readonly NEXT_MONTH = 133;
145
- static readonly LAST_90_DAYS = 134;
146
- static readonly NEXT_90_DAYS = 135;
147
- static readonly LAST_N_DAYS_N = 136;
148
- static readonly NEXT_N_DAYS_N = 137;
149
- static readonly N_DAYS_AGO_N = 138;
150
- static readonly NEXT_N_WEEKS_N = 139;
151
- static readonly LAST_N_WEEKS_N = 140;
152
- static readonly N_WEEKS_AGO_N = 141;
153
- static readonly NEXT_N_MONTHS_N = 142;
154
- static readonly LAST_N_MONTHS_N = 143;
155
- static readonly N_MONTHS_AGO_N = 144;
156
- static readonly THIS_QUARTER = 145;
157
- static readonly LAST_QUARTER = 146;
158
- static readonly NEXT_QUARTER = 147;
159
- static readonly NEXT_N_QUARTERS_N = 148;
160
- static readonly LAST_N_QUARTERS_N = 149;
161
- static readonly N_QUARTERS_AGO_N = 150;
162
- static readonly THIS_YEAR = 151;
163
- static readonly LAST_YEAR = 152;
164
- static readonly NEXT_YEAR = 153;
165
- static readonly NEXT_N_YEARS_N = 154;
166
- static readonly LAST_N_YEARS_N = 155;
167
- static readonly N_YEARS_AGO_N = 156;
168
- static readonly THIS_FISCAL_QUARTER = 157;
169
- static readonly LAST_FISCAL_QUARTER = 158;
170
- static readonly NEXT_FISCAL_QUARTER = 159;
171
- static readonly NEXT_N_FISCAL_QUARTERS_N = 160;
172
- static readonly LAST_N_FISCAL_QUARTERS_N = 161;
173
- static readonly N_FISCAL_QUARTERS_AGO_N = 162;
174
- static readonly THIS_FISCAL_YEAR = 163;
175
- static readonly LAST_FISCAL_YEAR = 164;
176
- static readonly NEXT_FISCAL_YEAR = 165;
177
- static readonly NEXT_N_FISCAL_YEARS_N = 166;
178
- static readonly LAST_N_FISCAL_YEARS_N = 167;
179
- static readonly N_FISCAL_YEARS_AGO_N = 168;
180
- static readonly DateLiteral = 169;
181
- static readonly DateTimeLiteral = 170;
182
- static readonly IntegralCurrencyLiteral = 171;
183
- static readonly FIND = 172;
184
- static readonly EMAIL = 173;
185
- static readonly NAME = 174;
186
- static readonly PHONE = 175;
187
- static readonly SIDEBAR = 176;
188
- static readonly FIELDS = 177;
189
- static readonly METADATA = 178;
190
- static readonly PRICEBOOKID = 179;
191
- static readonly NETWORK = 180;
192
- static readonly SNIPPET = 181;
193
- static readonly TARGET_LENGTH = 182;
194
- static readonly DIVISION = 183;
195
- static readonly RETURNING = 184;
196
- static readonly LISTVIEW = 185;
197
- static readonly FindLiteral = 186;
198
- static readonly FindLiteralAlt = 187;
199
- static readonly IntegerLiteral = 188;
200
- static readonly LongLiteral = 189;
201
- static readonly NumberLiteral = 190;
202
- static readonly BooleanLiteral = 191;
203
- static readonly StringLiteral = 192;
204
- static readonly NullLiteral = 193;
205
- static readonly LPAREN = 194;
206
- static readonly RPAREN = 195;
207
- static readonly LBRACE = 196;
208
- static readonly RBRACE = 197;
209
- static readonly LBRACK = 198;
210
- static readonly RBRACK = 199;
211
- static readonly SEMI = 200;
212
- static readonly COMMA = 201;
213
- static readonly DOT = 202;
214
- static readonly ASSIGN = 203;
215
- static readonly GT = 204;
216
- static readonly LT = 205;
217
- static readonly BANG = 206;
218
- static readonly TILDE = 207;
219
- static readonly QUESTIONDOT = 208;
220
- static readonly QUESTION = 209;
221
- static readonly COLON = 210;
222
- static readonly EQUAL = 211;
223
- static readonly TRIPLEEQUAL = 212;
224
- static readonly NOTEQUAL = 213;
225
- static readonly LESSANDGREATER = 214;
226
- static readonly TRIPLENOTEQUAL = 215;
227
- static readonly AND = 216;
228
- static readonly OR = 217;
229
- static readonly INC = 218;
230
- static readonly DEC = 219;
231
- static readonly ADD = 220;
232
- static readonly SUB = 221;
233
- static readonly MUL = 222;
234
- static readonly DIV = 223;
235
- static readonly BITAND = 224;
236
- static readonly BITOR = 225;
237
- static readonly CARET = 226;
238
- static readonly MAPTO = 227;
239
- static readonly ADD_ASSIGN = 228;
240
- static readonly SUB_ASSIGN = 229;
241
- static readonly MUL_ASSIGN = 230;
242
- static readonly DIV_ASSIGN = 231;
243
- static readonly AND_ASSIGN = 232;
244
- static readonly OR_ASSIGN = 233;
245
- static readonly XOR_ASSIGN = 234;
246
- static readonly LSHIFT_ASSIGN = 235;
247
- static readonly RSHIFT_ASSIGN = 236;
248
- static readonly URSHIFT_ASSIGN = 237;
249
- static readonly ATSIGN = 238;
250
- static readonly Identifier = 239;
251
- static readonly WS = 240;
252
- static readonly DOC_COMMENT = 241;
253
- static readonly COMMENT = 242;
254
- static readonly LINE_COMMENT = 243;
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 RULE_insertStatement = 53;
309
- static readonly RULE_updateStatement = 54;
310
- static readonly RULE_deleteStatement = 55;
311
- static readonly RULE_undeleteStatement = 56;
312
- static readonly RULE_upsertStatement = 57;
313
- static readonly RULE_mergeStatement = 58;
314
- static readonly RULE_runAsStatement = 59;
315
- static readonly RULE_expressionStatement = 60;
316
- static readonly RULE_propertyBlock = 61;
317
- static readonly RULE_getter = 62;
318
- static readonly RULE_setter = 63;
319
- static readonly RULE_catchClause = 64;
320
- static readonly RULE_finallyBlock = 65;
321
- static readonly RULE_forControl = 66;
322
- static readonly RULE_forInit = 67;
323
- static readonly RULE_enhancedForControl = 68;
324
- static readonly RULE_forUpdate = 69;
325
- static readonly RULE_parExpression = 70;
326
- static readonly RULE_expressionList = 71;
327
- static readonly RULE_expression = 72;
328
- static readonly RULE_primary = 73;
329
- static readonly RULE_methodCall = 74;
330
- static readonly RULE_dotMethodCall = 75;
331
- static readonly RULE_creator = 76;
332
- static readonly RULE_createdName = 77;
333
- static readonly RULE_idCreatedNamePair = 78;
334
- static readonly RULE_noRest = 79;
335
- static readonly RULE_classCreatorRest = 80;
336
- static readonly RULE_arrayCreatorRest = 81;
337
- static readonly RULE_mapCreatorRest = 82;
338
- static readonly RULE_mapCreatorRestPair = 83;
339
- static readonly RULE_setCreatorRest = 84;
340
- static readonly RULE_arguments = 85;
341
- static readonly RULE_soqlLiteral = 86;
342
- static readonly RULE_query = 87;
343
- static readonly RULE_subQuery = 88;
344
- static readonly RULE_selectList = 89;
345
- static readonly RULE_selectEntry = 90;
346
- static readonly RULE_fieldName = 91;
347
- static readonly RULE_fromNameList = 92;
348
- static readonly RULE_subFieldList = 93;
349
- static readonly RULE_subFieldEntry = 94;
350
- static readonly RULE_soqlFieldsParameter = 95;
351
- static readonly RULE_soqlFunction = 96;
352
- static readonly RULE_dateFieldName = 97;
353
- static readonly RULE_locationValue = 98;
354
- static readonly RULE_coordinateValue = 99;
355
- static readonly RULE_typeOf = 100;
356
- static readonly RULE_whenClause = 101;
357
- static readonly RULE_elseClause = 102;
358
- static readonly RULE_fieldNameList = 103;
359
- static readonly RULE_usingScope = 104;
360
- static readonly RULE_whereClause = 105;
361
- static readonly RULE_logicalExpression = 106;
362
- static readonly RULE_conditionalExpression = 107;
363
- static readonly RULE_fieldExpression = 108;
364
- static readonly RULE_comparisonOperator = 109;
365
- static readonly RULE_value = 110;
366
- static readonly RULE_valueList = 111;
367
- static readonly RULE_signedNumber = 112;
368
- static readonly RULE_withClause = 113;
369
- static readonly RULE_filteringExpression = 114;
370
- static readonly RULE_dataCategorySelection = 115;
371
- static readonly RULE_dataCategoryName = 116;
372
- static readonly RULE_filteringSelector = 117;
373
- static readonly RULE_groupByClause = 118;
374
- static readonly RULE_orderByClause = 119;
375
- static readonly RULE_fieldOrderList = 120;
376
- static readonly RULE_fieldOrder = 121;
377
- static readonly RULE_limitClause = 122;
378
- static readonly RULE_offsetClause = 123;
379
- static readonly RULE_allRowsClause = 124;
380
- static readonly RULE_forClauses = 125;
381
- static readonly RULE_boundExpression = 126;
382
- static readonly RULE_dateFormula = 127;
383
- static readonly RULE_signedInteger = 128;
384
- static readonly RULE_soqlId = 129;
385
- static readonly RULE_soslLiteral = 130;
386
- static readonly RULE_soslLiteralAlt = 131;
387
- static readonly RULE_soslClauses = 132;
388
- static readonly RULE_searchGroup = 133;
389
- static readonly RULE_fieldSpecList = 134;
390
- static readonly RULE_fieldSpec = 135;
391
- static readonly RULE_fieldList = 136;
392
- static readonly RULE_updateList = 137;
393
- static readonly RULE_updateType = 138;
394
- static readonly RULE_networkList = 139;
395
- static readonly RULE_soslId = 140;
396
- static readonly RULE_id = 141;
397
- static readonly RULE_anyId = 142;
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;