@apexdevtools/apex-parser 3.5.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # apex-parser - Changelog
2
2
 
3
+ ## 4.0.0 - 2023-03-28
4
+
5
+ - Correct trigger body parsing to allow member declarations
6
+ - Add support for TYPEOF in SOQL subqueries
7
+ - Change com.nawforce.apexparser packages to io.github.apexdevtools.apexparser
8
+
9
+ ## 3.6.0 - 2024-02-15
10
+
11
+ - Add null coalesce operator and expression
12
+
3
13
  ## 3.5.0 - 2023-10-15
4
14
 
5
15
  - Correct do-while to require block rather than statement
package/README.md CHANGED
@@ -48,12 +48,12 @@ Maven
48
48
  <dependency>
49
49
  <groupId>io.github.apex-dev-tools</groupId>
50
50
  <artifactId>apex-parser</artifactId>
51
- <version>3.5.0</version>
51
+ <version>4.0.0</version>
52
52
  </dependency>
53
53
 
54
54
  NPM
55
55
 
56
- "@apexdevtools/apex-parser": "^3.5.0"
56
+ "@apexdevtools/apex-parser": "^4.0.0"
57
57
 
58
58
  ## Building
59
59
 
@@ -224,32 +224,33 @@ export declare class ApexLexer extends Lexer {
224
224
  static readonly TRIPLENOTEQUAL = 219;
225
225
  static readonly AND = 220;
226
226
  static readonly OR = 221;
227
- static readonly INC = 222;
228
- static readonly DEC = 223;
229
- static readonly ADD = 224;
230
- static readonly SUB = 225;
231
- static readonly MUL = 226;
232
- static readonly DIV = 227;
233
- static readonly BITAND = 228;
234
- static readonly BITOR = 229;
235
- static readonly CARET = 230;
236
- static readonly MAPTO = 231;
237
- static readonly ADD_ASSIGN = 232;
238
- static readonly SUB_ASSIGN = 233;
239
- static readonly MUL_ASSIGN = 234;
240
- static readonly DIV_ASSIGN = 235;
241
- static readonly AND_ASSIGN = 236;
242
- static readonly OR_ASSIGN = 237;
243
- static readonly XOR_ASSIGN = 238;
244
- static readonly LSHIFT_ASSIGN = 239;
245
- static readonly RSHIFT_ASSIGN = 240;
246
- static readonly URSHIFT_ASSIGN = 241;
247
- static readonly ATSIGN = 242;
248
- static readonly Identifier = 243;
249
- static readonly WS = 244;
250
- static readonly DOC_COMMENT = 245;
251
- static readonly COMMENT = 246;
252
- static readonly LINE_COMMENT = 247;
227
+ static readonly COAL = 222;
228
+ static readonly INC = 223;
229
+ static readonly DEC = 224;
230
+ static readonly ADD = 225;
231
+ static readonly SUB = 226;
232
+ static readonly MUL = 227;
233
+ static readonly DIV = 228;
234
+ static readonly BITAND = 229;
235
+ static readonly BITOR = 230;
236
+ static readonly CARET = 231;
237
+ static readonly MAPTO = 232;
238
+ static readonly ADD_ASSIGN = 233;
239
+ static readonly SUB_ASSIGN = 234;
240
+ static readonly MUL_ASSIGN = 235;
241
+ static readonly DIV_ASSIGN = 236;
242
+ static readonly AND_ASSIGN = 237;
243
+ static readonly OR_ASSIGN = 238;
244
+ static readonly XOR_ASSIGN = 239;
245
+ static readonly LSHIFT_ASSIGN = 240;
246
+ static readonly RSHIFT_ASSIGN = 241;
247
+ static readonly URSHIFT_ASSIGN = 242;
248
+ static readonly ATSIGN = 243;
249
+ static readonly Identifier = 244;
250
+ static readonly WS = 245;
251
+ static readonly DOC_COMMENT = 246;
252
+ static readonly COMMENT = 247;
253
+ static readonly LINE_COMMENT = 248;
253
254
  static readonly WHITESPACE_CHANNEL = 2;
254
255
  static readonly COMMENT_CHANNEL = 3;
255
256
  static readonly channelNames: string[];