@abaplint/cli 2.113.212 → 2.113.213

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.
Files changed (2) hide show
  1. package/build/cli.js +7 -6
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -40443,12 +40443,13 @@ class MethodParameters {
40443
40443
  const concat = node.concatTokens().toUpperCase();
40444
40444
  if (concat.includes(" FOR VALIDATE ")
40445
40445
  || concat.includes(" FOR BEHAVIOR ")
40446
+ || concat.includes(" FOR DETERMINE ")
40446
40447
  || concat.includes(" FOR FEATURES ")
40447
40448
  || concat.includes(" FOR INSTANCE FEATURES ")
40449
+ || concat.includes(" FOR LOCK ")
40450
+ || concat.includes(" FOR NUMBERING ")
40448
40451
  || concat.includes(" FOR READ ")
40449
40452
  || concat.includes(" FOR VALIDATION ")
40450
- || concat.includes(" FOR DETERMINE ")
40451
- || concat.includes(" FOR LOCK ")
40452
40453
  || concat.includes(" FOR MODIFY ")) {
40453
40454
  const token = isRap.getFirstToken();
40454
40455
  this.exporting.push(new _typed_identifier_1.TypedIdentifier(new identifier_1.Identifier(token.getStart(), "failed"), input.filename, basic_1.VoidType.get("RapMethodParameter"), ["exporting" /* IdentifierMeta.MethodExporting */]));
@@ -41206,7 +41207,7 @@ const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src
41206
41207
  const combi_1 = __webpack_require__(/*! ../../abap/2_statements/combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
41207
41208
  class CDSCase extends combi_1.Expression {
41208
41209
  getRunnable() {
41209
- const name = (0, combi_1.seq)(_1.CDSName, (0, combi_1.optPrio)((0, combi_1.seq)(".", _1.CDSName)));
41210
+ const name = (0, combi_1.seq)(_1.CDSName, (0, combi_1.starPrio)((0, combi_1.seq)(".", _1.CDSName)));
41210
41211
  const value = (0, combi_1.altPrio)(_1.CDSFunction, _1.CDSString, CDSCase, _1.CDSCast, _1.CDSArithmetics, name);
41211
41212
  const thenValue = (0, combi_1.altPrio)((0, combi_1.seq)("(", value, ")"), value);
41212
41213
  const simple = (0, combi_1.seq)((0, combi_1.altPrio)(_1.CDSFunction, name), (0, combi_1.plusPrio)((0, combi_1.seq)("WHEN", value, "THEN", thenValue)));
@@ -41436,8 +41437,8 @@ const cds_cast_1 = __webpack_require__(/*! ./cds_cast */ "./node_modules/@abapli
41436
41437
  class CDSElement extends combi_1.Expression {
41437
41438
  getRunnable() {
41438
41439
  const redirected = (0, combi_1.seq)(": REDIRECTED TO", (0, combi_1.opt)((0, combi_1.alt)("PARENT", "COMPOSITION CHILD")), _1.CDSName);
41439
- const colonThing = (0, combi_1.seq)(":", _1.CDSName);
41440
- return (0, combi_1.seq)((0, combi_1.starPrio)(_1.CDSAnnotation), (0, combi_1.optPrio)("KEY"), (0, combi_1.altPrio)(_1.CDSAggregate, _1.CDSString, _1.CDSArithmetics, _1.CDSFunction, cds_cast_1.CDSCast, _1.CDSCase, (0, combi_1.seq)("(", _1.CDSCase, ")"), (0, combi_1.seq)(_1.CDSPrefixedName, (0, combi_1.opt)((0, combi_1.alt)(redirected, colonThing))), _1.CDSInteger), (0, combi_1.opt)(cds_as_1.CDSAs));
41440
+ const colonThing = (0, combi_1.seq)(":", (0, combi_1.alt)(_1.CDSName, _1.CDSType));
41441
+ return (0, combi_1.seq)((0, combi_1.starPrio)(_1.CDSAnnotation), (0, combi_1.optPrio)((0, combi_1.altPrio)("KEY", "VIRTUAL")), (0, combi_1.altPrio)(_1.CDSAggregate, _1.CDSString, _1.CDSArithmetics, _1.CDSFunction, cds_cast_1.CDSCast, _1.CDSCase, (0, combi_1.seq)("(", _1.CDSCase, ")"), (0, combi_1.seq)(_1.CDSPrefixedName, (0, combi_1.opt)((0, combi_1.alt)(redirected, colonThing))), _1.CDSInteger), (0, combi_1.opt)(cds_as_1.CDSAs));
41441
41442
  }
41442
41443
  }
41443
41444
  exports.CDSElement = CDSElement;
@@ -54511,7 +54512,7 @@ class Registry {
54511
54512
  }
54512
54513
  static abaplintVersion() {
54513
54514
  // magic, see build script "version.sh"
54514
- return "2.113.212";
54515
+ return "2.113.213";
54515
54516
  }
54516
54517
  getDDICReferences() {
54517
54518
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.212",
3
+ "version": "2.113.213",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.212",
41
+ "@abaplint/core": "^2.113.213",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",