@abaplint/cli 2.113.146 → 2.113.148
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/build/cli.js +87 -4
- 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());
|
|
@@ -54595,7 +54673,7 @@ class Registry {
|
|
|
54595
54673
|
}
|
|
54596
54674
|
static abaplintVersion() {
|
|
54597
54675
|
// magic, see build script "version.sh"
|
|
54598
|
-
return "2.113.
|
|
54676
|
+
return "2.113.148";
|
|
54599
54677
|
}
|
|
54600
54678
|
getDDICReferences() {
|
|
54601
54679
|
return this.ddicReferences;
|
|
@@ -70973,15 +71051,20 @@ This rule makes sure the spaces are consistently required across the language.`,
|
|
|
70973
71051
|
return undefined;
|
|
70974
71052
|
}
|
|
70975
71053
|
checkSource(cond) {
|
|
71054
|
+
var _a, _b;
|
|
70976
71055
|
const children = cond.getAllTokens();
|
|
70977
71056
|
if (children.length < 2) {
|
|
70978
71057
|
return undefined;
|
|
70979
71058
|
}
|
|
70980
71059
|
if (children.length >= 4
|
|
70981
71060
|
&& children[0].getStr().toUpperCase() === "CONV") {
|
|
70982
|
-
const
|
|
70983
|
-
const
|
|
70984
|
-
|
|
71061
|
+
const directChildren = cond.getChildren();
|
|
71062
|
+
const first = (_a = directChildren[2]) === null || _a === void 0 ? void 0 : _a.getLastToken();
|
|
71063
|
+
const second = (_b = directChildren[3]) === null || _b === void 0 ? void 0 : _b.getFirstToken();
|
|
71064
|
+
if (first
|
|
71065
|
+
&& first.getStr() === "("
|
|
71066
|
+
&& second
|
|
71067
|
+
&& first.getRow() === second.getRow()
|
|
70985
71068
|
&& first.getCol() + 1 === second.getStart().getCol()) {
|
|
70986
71069
|
return second.getStart();
|
|
70987
71070
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.148",
|
|
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.
|
|
41
|
+
"@abaplint/core": "^2.113.148",
|
|
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
|
|
45
|
+
"@types/node": "^24.1.0",
|
|
46
46
|
"@types/progress": "^2.0.7",
|
|
47
47
|
"chai": "^4.5.0",
|
|
48
48
|
"p-limit": "^3.1.0",
|