@abaplint/cli 2.115.10 → 2.115.12
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 +26 -5
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -8256,7 +8256,7 @@ class SQLCompare extends combi_1.Expression {
|
|
|
8256
8256
|
const nul = (0, combi_1.seq)("IS", (0, combi_1.optPrio)("NOT"), (0, combi_1.altPrio)("NULL", (0, combi_1.ver)(version_1.Version.v753, "INITIAL")));
|
|
8257
8257
|
const source = new _1.SQLSource();
|
|
8258
8258
|
const sub = (0, combi_1.seq)((0, combi_1.optPrio)((0, combi_1.altPrio)("ALL", "ANY", "SOME")), (0, combi_1.altPrio)(subSelect, subSelectDouble));
|
|
8259
|
-
const arith = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.plusPrio)((0, combi_1.seq)((0, combi_1.altPrio)("+", "-", "*", "/"), _1.SQLFieldName)));
|
|
8259
|
+
const arith = (0, combi_1.ver)(version_1.Version.v750, (0, combi_1.plusPrio)((0, combi_1.seq)((0, combi_1.altPrio)("+", "-", "*", "/"), _1.SQLFieldName)), version_1.Version.OpenABAP);
|
|
8260
8260
|
const paren = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.ParenLeftW), _1.Source, (0, combi_1.tok)(tokens_1.WParenRightW));
|
|
8261
8261
|
const at = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WAt), (0, combi_1.altPrio)(_1.SimpleSource3, paren)), version_1.Version.OpenABAP);
|
|
8262
8262
|
const rett = (0, combi_1.seq)((0, combi_1.altPrio)(_1.SQLFunction, _1.ConstantString, (0, combi_1.seq)((0, combi_1.altPrio)(_1.SQLPath, _1.SQLFieldName), (0, combi_1.optPrio)(arith)), at), (0, combi_1.altPrio)((0, combi_1.seq)(_1.SQLCompareOperator, (0, combi_1.altPrio)(sub, source)), (0, combi_1.seq)((0, combi_1.optPrio)("NOT"), (0, combi_1.altPrio)(_1.SQLIn, like, between)), nul));
|
|
@@ -31503,8 +31503,9 @@ class CreateObject {
|
|
|
31503
31503
|
target_1.Target.runSyntax(t, input);
|
|
31504
31504
|
}
|
|
31505
31505
|
const t = node.findDirectExpression(Expressions.Target);
|
|
31506
|
+
let found = undefined;
|
|
31506
31507
|
if (t) {
|
|
31507
|
-
|
|
31508
|
+
found = target_1.Target.runSyntax(t, input);
|
|
31508
31509
|
if (found instanceof basic_1.VoidType) {
|
|
31509
31510
|
// do nothing
|
|
31510
31511
|
}
|
|
@@ -31556,7 +31557,11 @@ class CreateObject {
|
|
|
31556
31557
|
for (const t of node.findDirectExpressions(Expressions.Dynamic)) {
|
|
31557
31558
|
dynamic_1.Dynamic.runSyntax(t, input);
|
|
31558
31559
|
}
|
|
31559
|
-
|
|
31560
|
+
let ooName = cdef === null || cdef === void 0 ? void 0 : cdef.getName();
|
|
31561
|
+
if (ooName === undefined && found instanceof basic_1.VoidType) {
|
|
31562
|
+
ooName = found.getVoided();
|
|
31563
|
+
}
|
|
31564
|
+
input.scope.addReference(t === null || t === void 0 ? void 0 : t.getFirstToken(), cdef, _reference_1.ReferenceType.ConstructorReference, input.filename, { ooName: ooName });
|
|
31560
31565
|
this.validateParameters(cdef, node, input);
|
|
31561
31566
|
}
|
|
31562
31567
|
validateParameters(cdef, node, input) {
|
|
@@ -40190,7 +40195,7 @@ exports.FormDefinition = FormDefinition;
|
|
|
40190
40195
|
"use strict";
|
|
40191
40196
|
|
|
40192
40197
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
40193
|
-
exports.FunctionModuleDefinition = exports.FunctionModuleParameterDirection = void 0;
|
|
40198
|
+
exports.FunctionModuleDefinition = exports.FunctionModuleType = exports.FunctionModuleParameterDirection = void 0;
|
|
40194
40199
|
const xml_utils_1 = __webpack_require__(/*! ../../xml_utils */ "./node_modules/@abaplint/core/build/src/xml_utils.js");
|
|
40195
40200
|
var FunctionModuleParameterDirection;
|
|
40196
40201
|
(function (FunctionModuleParameterDirection) {
|
|
@@ -40199,6 +40204,12 @@ var FunctionModuleParameterDirection;
|
|
|
40199
40204
|
FunctionModuleParameterDirection["changing"] = "changing";
|
|
40200
40205
|
FunctionModuleParameterDirection["tables"] = "tables";
|
|
40201
40206
|
})(FunctionModuleParameterDirection || (exports.FunctionModuleParameterDirection = FunctionModuleParameterDirection = {}));
|
|
40207
|
+
var FunctionModuleType;
|
|
40208
|
+
(function (FunctionModuleType) {
|
|
40209
|
+
FunctionModuleType["regular"] = "regular";
|
|
40210
|
+
FunctionModuleType["remote"] = "remoteEnabled";
|
|
40211
|
+
FunctionModuleType["update"] = "update";
|
|
40212
|
+
})(FunctionModuleType || (exports.FunctionModuleType = FunctionModuleType = {}));
|
|
40202
40213
|
class FunctionModuleDefinition {
|
|
40203
40214
|
constructor(data) {
|
|
40204
40215
|
this.parse(data);
|
|
@@ -40206,6 +40217,9 @@ class FunctionModuleDefinition {
|
|
|
40206
40217
|
getParameters() {
|
|
40207
40218
|
return this.parameters;
|
|
40208
40219
|
}
|
|
40220
|
+
getModuleType() {
|
|
40221
|
+
return this.moduleType;
|
|
40222
|
+
}
|
|
40209
40223
|
getDescription() {
|
|
40210
40224
|
return this.description;
|
|
40211
40225
|
}
|
|
@@ -40220,6 +40234,13 @@ class FunctionModuleDefinition {
|
|
|
40220
40234
|
this.name = data.FUNCNAME;
|
|
40221
40235
|
this.description = data.SHORT_TEXT;
|
|
40222
40236
|
this.parameters = [];
|
|
40237
|
+
this.moduleType = FunctionModuleType.regular;
|
|
40238
|
+
if (data.REMOTE_CALL === "R") {
|
|
40239
|
+
this.moduleType = FunctionModuleType.remote;
|
|
40240
|
+
}
|
|
40241
|
+
else if (data.UPDATE_TASK !== undefined) {
|
|
40242
|
+
this.moduleType = FunctionModuleType.update;
|
|
40243
|
+
}
|
|
40223
40244
|
if (data.IMPORT) {
|
|
40224
40245
|
for (const param of (0, xml_utils_1.xmlToArray)(data.IMPORT.RSIMP)) {
|
|
40225
40246
|
if (param.PARAMETER === undefined) {
|
|
@@ -55310,7 +55331,7 @@ class Registry {
|
|
|
55310
55331
|
}
|
|
55311
55332
|
static abaplintVersion() {
|
|
55312
55333
|
// magic, see build script "version.sh"
|
|
55313
|
-
return "2.115.
|
|
55334
|
+
return "2.115.12";
|
|
55314
55335
|
}
|
|
55315
55336
|
getDDICReferences() {
|
|
55316
55337
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.115.
|
|
3
|
+
"version": "2.115.12",
|
|
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.115.
|
|
41
|
+
"@abaplint/core": "^2.115.12",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|