@abaplint/cli 2.102.38 → 2.102.40

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 +19 -9
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -10176,7 +10176,7 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/
10176
10176
  const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
10177
10177
  class CloseCursor {
10178
10178
  getMatcher() {
10179
- const ret = (0, combi_1.seq)("CLOSE CURSOR", expressions_1.SQLSource);
10179
+ const ret = (0, combi_1.seq)("CLOSE CURSOR", expressions_1.SQLSourceSimple);
10180
10180
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
10181
10181
  }
10182
10182
  }
@@ -11992,8 +11992,8 @@ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@a
11992
11992
  const sql_into_structure_1 = __webpack_require__(/*! ../expressions/sql_into_structure */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/sql_into_structure.js");
11993
11993
  class FetchNextCursor {
11994
11994
  getMatcher() {
11995
- const size = (0, combi_1.seq)("PACKAGE SIZE", expressions_1.SQLSource);
11996
- const ret = (0, combi_1.seq)("FETCH NEXT CURSOR", expressions_1.SQLSource, (0, combi_1.alt)(sql_into_structure_1.SQLIntoStructure, expressions_1.SQLIntoTable), (0, combi_1.opt)(size));
11995
+ const size = (0, combi_1.seq)("PACKAGE SIZE", expressions_1.SQLSourceSimple);
11996
+ const ret = (0, combi_1.seq)("FETCH NEXT CURSOR", expressions_1.SQLSourceSimple, (0, combi_1.alt)(sql_into_structure_1.SQLIntoStructure, expressions_1.SQLIntoTable), (0, combi_1.optPrio)(size));
11997
11997
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
11998
11998
  }
11999
11999
  }
@@ -14167,7 +14167,7 @@ const expressions_1 = __webpack_require__(/*! ../expressions */ "./node_modules/
14167
14167
  const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@abaplint/core/build/src/version.js");
14168
14168
  class OpenCursor {
14169
14169
  getMatcher() {
14170
- const ret = (0, combi_1.seq)("OPEN CURSOR", (0, combi_1.optPrio)("WITH HOLD"), expressions_1.SQLTarget, "FOR", expressions_1.Select, (0, combi_1.optPrio)(expressions_1.SQLHints));
14170
+ const ret = (0, combi_1.seq)("OPEN CURSOR", (0, combi_1.optPrio)("WITH HOLD"), expressions_1.SQLTarget, "FOR", expressions_1.Select, (0, combi_1.optPrio)(expressions_1.DatabaseConnection), (0, combi_1.optPrio)(expressions_1.SQLHints));
14171
14171
  return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
14172
14172
  }
14173
14173
  }
@@ -19385,8 +19385,14 @@ class BuiltIn {
19385
19385
  }
19386
19386
  getTypes() {
19387
19387
  const ret = this.buildSY();
19388
- const id = new tokens_1.Identifier(new position_1.Position(1, 1), "abap_bool");
19389
- ret.push(new _typed_identifier_1.TypedIdentifier(id, BuiltIn.filename, new basic_1.CharacterType(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" })));
19388
+ {
19389
+ const id = new tokens_1.Identifier(new position_1.Position(1, 1), "abap_bool");
19390
+ ret.push(new _typed_identifier_1.TypedIdentifier(id, BuiltIn.filename, new basic_1.CharacterType(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" })));
19391
+ }
19392
+ {
19393
+ const id = new tokens_1.Identifier(new position_1.Position(1, 1), "cursor");
19394
+ ret.push(new _typed_identifier_1.TypedIdentifier(id, BuiltIn.filename, basic_1.IntegerType.get({ qualifiedName: "CURSOR", ddicName: "CURSOR" })));
19395
+ }
19390
19396
  return ret;
19391
19397
  }
19392
19398
  get(extras) {
@@ -39682,8 +39688,12 @@ class AbstractFile {
39682
39688
  // handle additional escaping
39683
39689
  split[0] = split[0].replace(/%3e/g, ">");
39684
39690
  split[0] = split[0].replace(/%3c/g, "<");
39685
- // handle namespace
39686
- return split[0].toUpperCase().replace(/#/g, "/");
39691
+ // handle abapGit namespace
39692
+ split[0] = split[0].toUpperCase().replace(/#/g, "/");
39693
+ // handle AFF namespace
39694
+ split[0] = split[0].replace("(", "/");
39695
+ split[0] = split[0].replace(")", "/");
39696
+ return split[0];
39687
39697
  }
39688
39698
  }
39689
39699
  exports.AbstractFile = AbstractFile;
@@ -48883,7 +48893,7 @@ class Registry {
48883
48893
  }
48884
48894
  static abaplintVersion() {
48885
48895
  // magic, see build script "version.sh"
48886
- return "2.102.38";
48896
+ return "2.102.40";
48887
48897
  }
48888
48898
  getDDICReferences() {
48889
48899
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.102.38",
3
+ "version": "2.102.40",
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.102.38",
41
+ "@abaplint/core": "^2.102.40",
42
42
  "@types/chai": "^4.3.6",
43
43
  "@types/glob": "^7.2.0",
44
44
  "@types/minimist": "^1.2.2",