@apexdevtools/apex-parser 3.3.0 → 3.5.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,13 @@
1
1
  # apex-parser - Changelog
2
2
 
3
+ ## 3.5.0 - 2023-10-15
4
+
5
+ - Correct do-while to require block rather than statement
6
+
7
+ ## 3.4.0 - 2023-08-22
8
+
9
+ - Support +/- sequences on numeric literals in switch 'when' expressions
10
+
3
11
  ## 3.3.0 - 2023-04-30
4
12
 
5
13
  - Update to ANTLR 4.9.1
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.3.0</version>
51
+ <version>3.5.0</version>
52
52
  </dependency>
53
53
 
54
54
  NPM
55
55
 
56
- "@apexdevtools/apex-parser": "^3.3.0"
56
+ "@apexdevtools/apex-parser": "^3.5.0"
57
57
 
58
58
  ## Building
59
59
 
@@ -1114,7 +1114,10 @@ export declare class WhenValueContext extends ParserRuleContext {
1114
1114
  }
1115
1115
  export declare class WhenLiteralContext extends ParserRuleContext {
1116
1116
  IntegerLiteral(): TerminalNode | undefined;
1117
- SUB(): TerminalNode | undefined;
1117
+ SUB(): TerminalNode[];
1118
+ SUB(i: number): TerminalNode;
1119
+ ADD(): TerminalNode[];
1120
+ ADD(i: number): TerminalNode;
1118
1121
  LongLiteral(): TerminalNode | undefined;
1119
1122
  StringLiteral(): TerminalNode | undefined;
1120
1123
  NULL(): TerminalNode | undefined;
@@ -1154,7 +1157,7 @@ export declare class WhileStatementContext extends ParserRuleContext {
1154
1157
  }
1155
1158
  export declare class DoWhileStatementContext extends ParserRuleContext {
1156
1159
  DO(): TerminalNode;
1157
- statement(): StatementContext;
1160
+ block(): BlockContext;
1158
1161
  WHILE(): TerminalNode;
1159
1162
  parExpression(): ParExpressionContext;
1160
1163
  SEMI(): TerminalNode;