@abaplint/cli 2.113.88 → 2.113.89

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 +37 -8
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -5239,7 +5239,7 @@ const _1 = __webpack_require__(/*! . */ "./node_modules/@abaplint/core/build/src
5239
5239
  class FieldLength extends combi_1.Expression {
5240
5240
  getRunnable() {
5241
5241
  const normal = (0, combi_1.seq)((0, combi_1.optPrio)((0, combi_1.tok)(tokens_1.Plus)), (0, combi_1.altPrio)((0, combi_1.regex)(/^\d+$/), _1.SimpleFieldChain2));
5242
- const length = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeft), (0, combi_1.altPrio)(normal, "*"), (0, combi_1.tok)(tokens_1.ParenRightW));
5242
+ const length = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeft), (0, combi_1.optPrio)((0, combi_1.altPrio)(normal, "*")), (0, combi_1.tok)(tokens_1.ParenRightW));
5243
5243
  return length;
5244
5244
  }
5245
5245
  }
@@ -8306,7 +8306,7 @@ exports.SQLFieldName = void 0;
8306
8306
  const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
8307
8307
  class SQLFieldName extends combi_1.Expression {
8308
8308
  getRunnable() {
8309
- return (0, combi_1.regex)(/^(?!(?:SINGLE|INTO|DISTINCT|AS|WHERE|FOR|HAVING|APPENDING|UP|FROM)$)(\/\w+\/)?(\w+~(\w+|\*)|\w+)$/i);
8309
+ return (0, combi_1.regex)(/^(?!(?:SINGLE|INTO|DISTINCT|AS|WHERE|FOR|HAVING|APPENDING|UP|FROM)$)(\/\w+\/)?(\w+~(\/\w+\/)?(\w+|\*)|\w+)$/i);
8310
8310
  }
8311
8311
  }
8312
8312
  exports.SQLFieldName = SQLFieldName;
@@ -8468,7 +8468,8 @@ class SQLFunction extends combi_1.Expression {
8468
8468
  const round = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)((0, combi_1.regex)(/^round$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
8469
8469
  const upper = (0, combi_1.ver)(version_1.Version.v751, (0, combi_1.seq)((0, combi_1.regex)(/^upper$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, (0, combi_1.tok)(tokens_1.WParenRightW)));
8470
8470
  const uuid = (0, combi_1.ver)(version_1.Version.v754, (0, combi_1.seq)((0, combi_1.regex)(/^uuid$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), (0, combi_1.tok)(tokens_1.WParenRightW)));
8471
- return (0, combi_1.altPrio)(uuid, abs, ceil, floor, cast, div, mod, coalesce, concat, replace, length, lower, upper, round);
8471
+ const concat_with_space = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.seq)((0, combi_1.regex)(/^uuid$/i), (0, combi_1.tok)(tokens_1.ParenLeftW), sql_function_input_1.SQLFunctionInput, commaParam, commaParam, (0, combi_1.tok)(tokens_1.WParenRightW)));
8472
+ return (0, combi_1.altPrio)(uuid, abs, ceil, floor, cast, div, mod, coalesce, concat, replace, length, lower, upper, round, concat_with_space);
8472
8473
  }
8473
8474
  }
8474
8475
  exports.SQLFunction = SQLFunction;
@@ -11987,7 +11988,7 @@ class DeleteMemory {
11987
11988
  const memory = (0, combi_1.seq)("MEMORY ID", expressions_1.Source);
11988
11989
  const id = (0, combi_1.seq)("ID", expressions_1.Source);
11989
11990
  const client = (0, combi_1.seq)("CLIENT", expressions_1.Source);
11990
- const shared = (0, combi_1.seq)("SHARED", (0, combi_1.altPrio)("MEMORY", "BUFFER"), expressions_1.Field, "(", (0, combi_1.regex)(/^\w+$/), ")", (0, combi_1.optPrio)(client), id);
11991
+ const shared = (0, combi_1.seq)("SHARED", (0, combi_1.altPrio)("MEMORY", "BUFFER"), expressions_1.Field, "(", (0, combi_1.regex)(/^[\w%]+$/), ")", (0, combi_1.optPrio)(client), id);
11991
11992
  const ret = (0, combi_1.seq)("DELETE FROM", (0, combi_1.alt)(memory, shared));
11992
11993
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
11993
11994
  }
@@ -13001,7 +13002,7 @@ class Export {
13001
13002
  const client = (0, combi_1.seq)("CLIENT", expressions_1.Source);
13002
13003
  const id = (0, combi_1.seq)("ID", expressions_1.Source);
13003
13004
  const using = (0, combi_1.seq)("USING", expressions_1.Source);
13004
- const cluster = (0, combi_1.seq)(expressions_1.NamespaceSimpleName, (0, combi_1.tok)(tokens_1.ParenLeft), (0, combi_1.regex)(/^[\w$%\^]{2}$/), (0, combi_1.tok)(tokens_1.ParenRightW));
13005
+ const cluster = (0, combi_1.seq)(expressions_1.NamespaceSimpleName, (0, combi_1.tok)(tokens_1.ParenLeft), (0, combi_1.regex)(/^[\w$%\^~]{2}$/), (0, combi_1.tok)(tokens_1.ParenRightW));
13005
13006
  const buffer = (0, combi_1.seq)("DATA BUFFER", expressions_1.Target);
13006
13007
  const memory = (0, combi_1.seq)("MEMORY", (0, combi_1.opt)((0, combi_1.seq)("ID", expressions_1.Source)));
13007
13008
  const table = (0, combi_1.seq)("INTERNAL TABLE", expressions_1.Target);
@@ -13755,7 +13756,7 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/
13755
13756
  const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
13756
13757
  class GetProperty {
13757
13758
  getMatcher() {
13758
- const ret = (0, combi_1.seq)("GET PROPERTY OF", expressions_1.FieldSub, expressions_1.Source, "=", expressions_1.Source, (0, combi_1.opt)("NO FLUSH"), (0, combi_1.opt)("QUEUE-ONLY"), (0, combi_1.opt)(expressions_1.OLEExporting));
13759
+ const ret = (0, combi_1.seq)("GET PROPERTY OF", expressions_1.FieldSub, (0, combi_1.alt)(expressions_1.Source, expressions_1.ConstantString), "=", expressions_1.Source, (0, combi_1.opt)("NO FLUSH"), (0, combi_1.opt)((0, combi_1.alt)("QUEUE-ONLY", "QUEUEONLY")), (0, combi_1.opt)(expressions_1.OLEExporting));
13759
13760
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
13760
13761
  }
13761
13762
  }
@@ -14353,6 +14354,7 @@ __exportStar(__webpack_require__(/*! ./set_locks */ "./node_modules/@abaplint/co
14353
14354
  __exportStar(__webpack_require__(/*! ./enhancement */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/enhancement.js"), exports);
14354
14355
  __exportStar(__webpack_require__(/*! ./end_enhancement */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/end_enhancement.js"), exports);
14355
14356
  __exportStar(__webpack_require__(/*! ./form_definition */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/form_definition.js"), exports);
14357
+ __exportStar(__webpack_require__(/*! ./verification_message */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/verification_message.js"), exports);
14356
14358
  //# sourceMappingURL=index.js.map
14357
14359
 
14358
14360
  /***/ }),
@@ -14889,7 +14891,7 @@ class MethodDef {
14889
14891
  const forfunction = (0, combi_1.seq)("FOR FUNCTION", expressions_1.TypeName, result);
14890
14892
  const behavior = (0, combi_1.altPrio)((0, combi_1.seq)("VALIDATE ON SAVE IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("MODIFY IMPORTING", expressions_1.MethodParamName, modify), (0, combi_1.seq)("READ IMPORTING", expressions_1.MethodParamName, (0, combi_1.altPrio)(forRead, forfunction)), (0, combi_1.seq)("FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.NamespaceSimpleName, "FOR", expressions_1.NamespaceSimpleName, result), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR CREATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR UPDATE", expressions_1.TypeName, expressions_1.MethodParamName, "FOR DELETE", expressions_1.TypeName), (0, combi_1.seq)("BEHAVIOR IMPORTING", expressions_1.MethodParamName, "FOR READ", expressions_1.TypeName, result), (0, combi_1.seq)((0, combi_1.alt)("BEHAVIOR", "LOCK"), "IMPORTING", expressions_1.MethodParamName, "FOR LOCK", expressions_1.TypeName), (0, combi_1.seq)("DETERMINE", (0, combi_1.alt)("ON MODIFY", "ON SAVE"), "IMPORTING", expressions_1.MethodParamName, "FOR", expressions_1.TypeName), (0, combi_1.seq)("GLOBAL AUTHORIZATION IMPORTING REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("INSTANCE AUTHORIZATION IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result), (0, combi_1.seq)("INSTANCE FEATURES IMPORTING", expressions_1.MethodParamName, "REQUEST", expressions_1.MethodParamName, "FOR", expressions_1.TypeName, result));
14891
14893
  // todo, this is only from version something
14892
- const amdp = (0, combi_1.seq)("AMDP OPTIONS CDS SESSION CLIENT CURRENT", (0, combi_1.optPrio)(expressions_1.MethodDefImporting), (0, combi_1.optPrio)(expressions_1.MethodDefExporting), (0, combi_1.optPrio)(expressions_1.MethodDefRaising));
14894
+ const amdp = (0, combi_1.seq)("AMDP OPTIONS", (0, combi_1.optPrio)("READ-ONLY"), "CDS SESSION CLIENT CURRENT", (0, combi_1.optPrio)(expressions_1.MethodDefImporting), (0, combi_1.optPrio)(expressions_1.MethodDefExporting), (0, combi_1.optPrio)(expressions_1.MethodDefRaising));
14893
14895
  const ret = (0, combi_1.seq)((0, combi_1.altPrio)("CLASS-METHODS", "METHODS"), expressions_1.MethodName, (0, combi_1.alt)((0, combi_1.seq)((0, combi_1.optPrio)(expressions_1.Abstract), (0, combi_1.optPrio)(def), expressions_1.EventHandler), parameters, testing, (0, combi_1.seq)("FOR", (0, combi_1.alt)(tableFunction, ddl, behavior)), amdp, "NOT AT END OF MODE", (0, combi_1.optPrio)(expressions_1.Redefinition)));
14894
14896
  return ret;
14895
14897
  }
@@ -18109,6 +18111,30 @@ exports.UpdateDatabase = UpdateDatabase;
18109
18111
 
18110
18112
  /***/ }),
18111
18113
 
18114
+ /***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/verification_message.js":
18115
+ /*!****************************************************************************************************!*\
18116
+ !*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/verification_message.js ***!
18117
+ \****************************************************************************************************/
18118
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
18119
+
18120
+ "use strict";
18121
+
18122
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
18123
+ exports.VerificationMessage = void 0;
18124
+ const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
18125
+ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
18126
+ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
18127
+ class VerificationMessage {
18128
+ getMatcher() {
18129
+ const ret = (0, combi_1.seq)("VERIFICATION-MESSAGE", expressions_1.Source, expressions_1.Source);
18130
+ return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
18131
+ }
18132
+ }
18133
+ exports.VerificationMessage = VerificationMessage;
18134
+ //# sourceMappingURL=verification_message.js.map
18135
+
18136
+ /***/ }),
18137
+
18112
18138
  /***/ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/wait.js":
18113
18139
  /*!************************************************************************************!*\
18114
18140
  !*** ./node_modules/@abaplint/core/build/src/abap/2_statements/statements/wait.js ***!
@@ -52516,6 +52542,9 @@ class TableType extends _abstract_object_1.AbstractObject {
52516
52542
  return;
52517
52543
  }
52518
52544
  const values = parsed.abapGit["asx:abap"]["asx:values"];
52545
+ if (values === undefined) {
52546
+ return;
52547
+ }
52519
52548
  const dd40v = values.DD40V;
52520
52549
  this.parsedXML.rowtype = dd40v.ROWTYPE ? dd40v.ROWTYPE : "";
52521
52550
  this.parsedXML.rowkind = dd40v.ROWKIND ? dd40v.ROWKIND : "";
@@ -53640,7 +53669,7 @@ class Registry {
53640
53669
  }
53641
53670
  static abaplintVersion() {
53642
53671
  // magic, see build script "version.sh"
53643
- return "2.113.88";
53672
+ return "2.113.89";
53644
53673
  }
53645
53674
  getDDICReferences() {
53646
53675
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.88",
3
+ "version": "2.113.89",
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.88",
41
+ "@abaplint/core": "^2.113.89",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",