@abaplint/cli 2.113.102 → 2.113.104
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 +28 -5
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -10687,7 +10687,7 @@ const version_1 = __webpack_require__(/*! ../../../version */ "./node_modules/@a
|
|
|
10687
10687
|
class CallOLE {
|
|
10688
10688
|
getMatcher() {
|
|
10689
10689
|
const rc = (0, combi_1.seq)("=", expressions_1.Target);
|
|
10690
|
-
const ret = (0, combi_1.seq)("CALL METHOD OF", expressions_1.Source, expressions_1.Source, (0, combi_1.opt)(rc), (0, combi_1.opt)("NO FLUSH"), (0, combi_1.opt)("QUEUE-ONLY"), (0, combi_1.opt)(expressions_1.OLEExporting));
|
|
10690
|
+
const ret = (0, combi_1.seq)("CALL METHOD OF", expressions_1.Source, expressions_1.Source, (0, combi_1.opt)(rc), (0, combi_1.opt)("NO FLUSH"), (0, combi_1.opt)((0, combi_1.alt)("QUEUE-ONLY", "QUEUEONLY")), (0, combi_1.opt)(expressions_1.OLEExporting));
|
|
10691
10691
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
10692
10692
|
}
|
|
10693
10693
|
}
|
|
@@ -17345,7 +17345,7 @@ class Submit {
|
|
|
17345
17345
|
const imm = (0, combi_1.seq)("IMMEDIATELY", expressions_1.Source);
|
|
17346
17346
|
const dest = (0, combi_1.seq)("DESTINATION", expressions_1.Source);
|
|
17347
17347
|
const language = (0, combi_1.seq)("LANGUAGE", expressions_1.Source);
|
|
17348
|
-
const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, spool, lineSize, lineCount, archive, user, sset, ssetp, keep, cover, imm, layout, dest, language, free, newList, uss, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
|
|
17348
|
+
const perm = (0, combi_1.per)((0, combi_1.plus)(awith), selectionTable, (0, combi_1.plus)(awith), spool, lineSize, lineCount, archive, user, sset, ssetp, keep, cover, imm, layout, dest, language, free, newList, uss, "TO SAP-SPOOL", "WITHOUT SPOOL DYNPRO", "VIA SELECTION-SCREEN", exporting, expressions_1.AndReturn, job);
|
|
17349
17349
|
const ret = (0, combi_1.seq)("SUBMIT", prog, (0, combi_1.opt)(perm));
|
|
17350
17350
|
return (0, combi_1.verNot)(version_1.Version.Cloud, ret);
|
|
17351
17351
|
}
|
|
@@ -27427,7 +27427,8 @@ class Select {
|
|
|
27427
27427
|
}
|
|
27428
27428
|
const fields = this.findFields(node, input);
|
|
27429
27429
|
if (fields.length === 0
|
|
27430
|
-
&& node.findDirectExpression(Expressions.SQLFieldListLoop) === undefined
|
|
27430
|
+
&& node.findDirectExpression(Expressions.SQLFieldListLoop) === undefined
|
|
27431
|
+
&& node.findDirectExpression(Expressions.SQLAggregation) === undefined) {
|
|
27431
27432
|
const message = `SELECT: fields missing`;
|
|
27432
27433
|
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
|
|
27433
27434
|
return;
|
|
@@ -45411,8 +45412,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
45411
45412
|
exports.Symbols = void 0;
|
|
45412
45413
|
/* eslint-disable max-len */
|
|
45413
45414
|
const LServer = __webpack_require__(/*! vscode-languageserver-types */ "./node_modules/vscode-languageserver-types/lib/umd/main.js");
|
|
45415
|
+
const _identifier_1 = __webpack_require__(/*! ../abap/4_file_information/_identifier */ "./node_modules/@abaplint/core/build/src/abap/4_file_information/_identifier.js");
|
|
45414
45416
|
const _lsp_utils_1 = __webpack_require__(/*! ./_lsp_utils */ "./node_modules/@abaplint/core/build/src/lsp/_lsp_utils.js");
|
|
45415
45417
|
const statements_1 = __webpack_require__(/*! ../abap/2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
45418
|
+
const Statements = __webpack_require__(/*! ../abap/2_statements/statements */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/index.js");
|
|
45419
|
+
const Expressions = __webpack_require__(/*! ../abap/2_statements/expressions */ "./node_modules/@abaplint/core/build/src/abap/2_statements/expressions/index.js");
|
|
45416
45420
|
class Symbols {
|
|
45417
45421
|
constructor(reg) {
|
|
45418
45422
|
this.reg = reg;
|
|
@@ -45425,6 +45429,7 @@ class Symbols {
|
|
|
45425
45429
|
const ret = [];
|
|
45426
45430
|
ret.push(...this.outputClasses(file));
|
|
45427
45431
|
ret.push(...this.outputForms(file));
|
|
45432
|
+
ret.push(...this.outputModules(file));
|
|
45428
45433
|
return ret;
|
|
45429
45434
|
}
|
|
45430
45435
|
selectionRange(identifier) {
|
|
@@ -45465,6 +45470,22 @@ class Symbols {
|
|
|
45465
45470
|
}
|
|
45466
45471
|
return ret;
|
|
45467
45472
|
}
|
|
45473
|
+
outputModules(file) {
|
|
45474
|
+
var _a;
|
|
45475
|
+
const ret = [];
|
|
45476
|
+
for (const statement of file.getStatements()) {
|
|
45477
|
+
if (statement.get() instanceof Statements.Module) {
|
|
45478
|
+
const nameToken = (_a = statement.findFirstExpression(Expressions.FormName)) === null || _a === void 0 ? void 0 : _a.getFirstToken();
|
|
45479
|
+
if (nameToken === undefined) {
|
|
45480
|
+
continue;
|
|
45481
|
+
}
|
|
45482
|
+
const identifier = new _identifier_1.Identifier(nameToken, file.getFilename());
|
|
45483
|
+
const symbol = this.newSymbol(identifier, LServer.SymbolKind.Module, []);
|
|
45484
|
+
ret.push(symbol);
|
|
45485
|
+
}
|
|
45486
|
+
}
|
|
45487
|
+
return ret;
|
|
45488
|
+
}
|
|
45468
45489
|
outputClasses(file) {
|
|
45469
45490
|
const ret = [];
|
|
45470
45491
|
for (const cla of file.getInfo().listClassDefinitions()) {
|
|
@@ -53829,7 +53850,7 @@ class Registry {
|
|
|
53829
53850
|
}
|
|
53830
53851
|
static abaplintVersion() {
|
|
53831
53852
|
// magic, see build script "version.sh"
|
|
53832
|
-
return "2.113.
|
|
53853
|
+
return "2.113.104";
|
|
53833
53854
|
}
|
|
53834
53855
|
getDDICReferences() {
|
|
53835
53856
|
return this.ddicReferences;
|
|
@@ -79150,6 +79171,8 @@ Builder.prototype.j2x = function(jObj, level, ajPath) {
|
|
|
79150
79171
|
// null attribute should be ignored by the attribute list, but should not cause the tag closing
|
|
79151
79172
|
if (this.isAttribute(key)) {
|
|
79152
79173
|
val += '';
|
|
79174
|
+
} else if (key === this.options.cdataPropName) {
|
|
79175
|
+
val += '';
|
|
79153
79176
|
} else if (key[0] === '?') {
|
|
79154
79177
|
val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;
|
|
79155
79178
|
} else {
|
|
@@ -80147,7 +80170,7 @@ const replaceEntitiesValue = function(val){
|
|
|
80147
80170
|
}
|
|
80148
80171
|
function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) {
|
|
80149
80172
|
if (textData) { //store previously collected data as textNode
|
|
80150
|
-
if(isLeafNode === undefined) isLeafNode =
|
|
80173
|
+
if(isLeafNode === undefined) isLeafNode = currentNode.child.length === 0
|
|
80151
80174
|
|
|
80152
80175
|
textData = this.parseTextData(textData,
|
|
80153
80176
|
currentNode.tagname,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.104",
|
|
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.
|
|
41
|
+
"@abaplint/core": "^2.113.104",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|