@abaplint/cli 2.113.145 → 2.113.147

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 +83 -5
  2. package/package.json +3 -3
package/build/cli.js CHANGED
@@ -30479,6 +30479,30 @@ exports.Clear = Clear;
30479
30479
 
30480
30480
  /***/ }),
30481
30481
 
30482
+ /***/ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/close_cursor.js":
30483
+ /*!****************************************************************************************!*\
30484
+ !*** ./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/close_cursor.js ***!
30485
+ \****************************************************************************************/
30486
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
30487
+
30488
+ "use strict";
30489
+
30490
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
30491
+ exports.CloseCursor = void 0;
30492
+ const Expressions = __webpack_require__(/*! ../../2_statements/expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
30493
+ const sql_source_1 = __webpack_require__(/*! ../expressions/sql_source */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/sql_source.js");
30494
+ class CloseCursor {
30495
+ runSyntax(node, input) {
30496
+ for (const t of node.findAllExpressions(Expressions.SQLSourceSimple)) {
30497
+ sql_source_1.SQLSource.runSyntax(t, input);
30498
+ }
30499
+ }
30500
+ }
30501
+ exports.CloseCursor = CloseCursor;
30502
+ //# sourceMappingURL=close_cursor.js.map
30503
+
30504
+ /***/ }),
30505
+
30482
30506
  /***/ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/close_dataset.js":
30483
30507
  /*!*****************************************************************************************!*\
30484
30508
  !*** ./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/close_dataset.js ***!
@@ -31460,6 +31484,30 @@ exports.Export = Export;
31460
31484
 
31461
31485
  /***/ }),
31462
31486
 
31487
+ /***/ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/fetch_next_cursor.js":
31488
+ /*!*********************************************************************************************!*\
31489
+ !*** ./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/fetch_next_cursor.js ***!
31490
+ \*********************************************************************************************/
31491
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
31492
+
31493
+ "use strict";
31494
+
31495
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
31496
+ exports.FetchNextCursor = void 0;
31497
+ const Expressions = __webpack_require__(/*! ../../2_statements/expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
31498
+ const target_1 = __webpack_require__(/*! ../expressions/target */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/target.js");
31499
+ class FetchNextCursor {
31500
+ runSyntax(node, input) {
31501
+ for (const t of node.findAllExpressions(Expressions.Target)) {
31502
+ target_1.Target.runSyntax(t, input);
31503
+ }
31504
+ }
31505
+ }
31506
+ exports.FetchNextCursor = FetchNextCursor;
31507
+ //# sourceMappingURL=fetch_next_cursor.js.map
31508
+
31509
+ /***/ }),
31510
+
31463
31511
  /***/ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/fieldsymbol.js":
31464
31512
  /*!***************************************************************************************!*\
31465
31513
  !*** ./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/fieldsymbol.js ***!
@@ -32910,6 +32958,30 @@ exports.Multiply = Multiply;
32910
32958
 
32911
32959
  /***/ }),
32912
32960
 
32961
+ /***/ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/open_cursor.js":
32962
+ /*!***************************************************************************************!*\
32963
+ !*** ./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/open_cursor.js ***!
32964
+ \***************************************************************************************/
32965
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
32966
+
32967
+ "use strict";
32968
+
32969
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
32970
+ exports.OpenCursor = void 0;
32971
+ const Expressions = __webpack_require__(/*! ../../2_statements/expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
32972
+ const target_1 = __webpack_require__(/*! ../expressions/target */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/target.js");
32973
+ class OpenCursor {
32974
+ runSyntax(node, input) {
32975
+ for (const t of node.findAllExpressions(Expressions.Target)) {
32976
+ target_1.Target.runSyntax(t, input);
32977
+ }
32978
+ }
32979
+ }
32980
+ exports.OpenCursor = OpenCursor;
32981
+ //# sourceMappingURL=open_cursor.js.map
32982
+
32983
+ /***/ }),
32984
+
32913
32985
  /***/ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/open_dataset.js":
32914
32986
  /*!****************************************************************************************!*\
32915
32987
  !*** ./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/open_dataset.js ***!
@@ -35440,6 +35512,9 @@ const get_reference_1 = __webpack_require__(/*! ./statements/get_reference */ ".
35440
35512
  const insert_database_1 = __webpack_require__(/*! ./statements/insert_database */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/insert_database.js");
35441
35513
  const delete_database_1 = __webpack_require__(/*! ./statements/delete_database */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/delete_database.js");
35442
35514
  const import_dynpro_1 = __webpack_require__(/*! ./statements/import_dynpro */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/import_dynpro.js");
35515
+ const open_cursor_1 = __webpack_require__(/*! ./statements/open_cursor */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/open_cursor.js");
35516
+ const fetch_next_cursor_1 = __webpack_require__(/*! ./statements/fetch_next_cursor */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/fetch_next_cursor.js");
35517
+ const close_cursor_1 = __webpack_require__(/*! ./statements/close_cursor */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/close_cursor.js");
35443
35518
  const syntax_check_1 = __webpack_require__(/*! ./statements/syntax_check */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/syntax_check.js");
35444
35519
  const import_1 = __webpack_require__(/*! ./statements/import */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/import.js");
35445
35520
  const export_1 = __webpack_require__(/*! ./statements/export */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/statements/export.js");
@@ -35624,6 +35699,9 @@ if (Object.keys(map).length === 0) {
35624
35699
  addToMap(new modify_entities_1.ModifyEntities());
35625
35700
  addToMap(new commit_entities_1.CommitEntities());
35626
35701
  addToMap(new call_kernel_1.CallKernel());
35702
+ addToMap(new open_cursor_1.OpenCursor());
35703
+ addToMap(new fetch_next_cursor_1.FetchNextCursor());
35704
+ addToMap(new close_cursor_1.CloseCursor());
35627
35705
  addToMap(new search_1.Search());
35628
35706
  addToMap(new translate_1.Translate());
35629
35707
  addToMap(new modify_internal_1.ModifyInternal());
@@ -41457,9 +41535,9 @@ const cds_name_1 = __webpack_require__(/*! ./cds_name */ "./node_modules/@abapli
41457
41535
  const cds_type_1 = __webpack_require__(/*! ./cds_type */ "./node_modules/@abaplint/core/build/src/cds/expressions/cds_type.js");
41458
41536
  class CDSDefineCustom extends combi_1.Expression {
41459
41537
  getRunnable() {
41460
- const field = (0, combi_1.seq)((0, combi_1.star)(_1.CDSAnnotation), (0, combi_1.opt)((0, combi_1.str)("KEY")), cds_name_1.CDSName, ":", cds_type_1.CDSType, ";");
41461
- const composition = (0, combi_1.seq)((0, combi_1.star)(_1.CDSAnnotation), cds_name_1.CDSName, ":", _1.CDSComposition, ";");
41462
- return (0, combi_1.seq)((0, combi_1.star)(_1.CDSAnnotation), (0, combi_1.str)("DEFINE"), (0, combi_1.opt)((0, combi_1.str)("ROOT")), (0, combi_1.str)("CUSTOM ENTITY"), cds_name_1.CDSName, (0, combi_1.str)("{"), (0, combi_1.plus)((0, combi_1.alt)(field, composition)), (0, combi_1.str)("}"), (0, combi_1.opt)(";"));
41538
+ const field = (0, combi_1.seq)((0, combi_1.opt)((0, combi_1.str)("KEY")), cds_name_1.CDSName, ":", cds_type_1.CDSType, ";");
41539
+ const compsiOrAssoci = (0, combi_1.seq)(cds_name_1.CDSName, ":", (0, combi_1.alt)(_1.CDSComposition, _1.CDSAssociation), ";");
41540
+ return (0, combi_1.seq)((0, combi_1.star)(_1.CDSAnnotation), (0, combi_1.str)("DEFINE"), (0, combi_1.opt)((0, combi_1.str)("ROOT")), (0, combi_1.str)("CUSTOM ENTITY"), cds_name_1.CDSName, (0, combi_1.str)("{"), (0, combi_1.plus)((0, combi_1.seq)((0, combi_1.star)(_1.CDSAnnotation), (0, combi_1.alt)(field, compsiOrAssoci))), (0, combi_1.str)("}"), (0, combi_1.opt)(";"));
41463
41541
  }
41464
41542
  }
41465
41543
  exports.CDSDefineCustom = CDSDefineCustom;
@@ -41929,7 +42007,7 @@ class CDSSelect extends combi_1.Expression {
41929
42007
  const distinct = (0, combi_1.str)("DISTINCT");
41930
42008
  const elementList = (0, combi_1.seq)(_1.CDSElement, (0, combi_1.starPrio)((0, combi_1.seq)(",", _1.CDSElement)));
41931
42009
  const elements = (0, combi_1.seq)((0, combi_1.str)("{"), (0, combi_1.altPrio)("*", elementList), (0, combi_1.str)("}"));
41932
- return (0, combi_1.seq)("SELECT", (0, combi_1.optPrio)(distinct), (0, combi_1.opt)((0, combi_1.alt)("*", fields)), "FROM", _1.CDSSource, (0, combi_1.star)(cds_join_1.CDSJoin), (0, combi_1.star)(_1.CDSComposition), (0, combi_1.star)(cds_association_1.CDSAssociation), (0, combi_1.star)(_1.CDSComposition), (0, combi_1.opt)(elements), (0, combi_1.optPrio)(_1.CDSWhere), (0, combi_1.optPrio)(_1.CDSGroupBy), (0, combi_1.optPrio)(_1.CDSHaving), (0, combi_1.optPrio)((0, combi_1.seq)("UNION", (0, combi_1.optPrio)("ALL"), CDSSelect)));
42010
+ return (0, combi_1.seq)("SELECT", (0, combi_1.optPrio)(distinct), (0, combi_1.opt)((0, combi_1.alt)("*", fields)), "FROM", _1.CDSSource, (0, combi_1.star)(cds_join_1.CDSJoin), (0, combi_1.star)((0, combi_1.alt)(_1.CDSComposition, cds_association_1.CDSAssociation)), (0, combi_1.opt)(elements), (0, combi_1.optPrio)(_1.CDSWhere), (0, combi_1.optPrio)(_1.CDSGroupBy), (0, combi_1.optPrio)(_1.CDSHaving), (0, combi_1.optPrio)((0, combi_1.seq)("UNION", (0, combi_1.optPrio)("ALL"), CDSSelect)));
41933
42011
  }
41934
42012
  }
41935
42013
  exports.CDSSelect = CDSSelect;
@@ -54595,7 +54673,7 @@ class Registry {
54595
54673
  }
54596
54674
  static abaplintVersion() {
54597
54675
  // magic, see build script "version.sh"
54598
- return "2.113.145";
54676
+ return "2.113.147";
54599
54677
  }
54600
54678
  getDDICReferences() {
54601
54679
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.145",
3
+ "version": "2.113.147",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,11 +38,11 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.145",
41
+ "@abaplint/core": "^2.113.147",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",
45
- "@types/node": "^24.0.14",
45
+ "@types/node": "^24.0.15",
46
46
  "@types/progress": "^2.0.7",
47
47
  "chai": "^4.5.0",
48
48
  "p-limit": "^3.1.0",