@abaplint/core 2.115.11 → 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/abaplint.d.ts
CHANGED
|
@@ -2870,8 +2870,10 @@ declare class FunctionModuleDefinition {
|
|
|
2870
2870
|
private name;
|
|
2871
2871
|
private description;
|
|
2872
2872
|
private parameters;
|
|
2873
|
+
private moduleType;
|
|
2873
2874
|
constructor(data: any);
|
|
2874
2875
|
getParameters(): readonly IFunctionModuleParameter[];
|
|
2876
|
+
getModuleType(): FunctionModuleType | undefined;
|
|
2875
2877
|
getDescription(): string | undefined;
|
|
2876
2878
|
getName(): string;
|
|
2877
2879
|
private parse;
|
|
@@ -2884,6 +2886,12 @@ declare enum FunctionModuleParameterDirection {
|
|
|
2884
2886
|
tables = "tables"
|
|
2885
2887
|
}
|
|
2886
2888
|
|
|
2889
|
+
declare enum FunctionModuleType {
|
|
2890
|
+
regular = "regular",
|
|
2891
|
+
remote = "remoteEnabled",
|
|
2892
|
+
update = "update"
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2887
2895
|
declare class FunctionName extends Expression {
|
|
2888
2896
|
getRunnable(): IStatementRunnable;
|
|
2889
2897
|
}
|
|
@@ -7401,6 +7409,7 @@ declare namespace Types {
|
|
|
7401
7409
|
FormDefinition_2 as FormDefinition,
|
|
7402
7410
|
FunctionModuleParameterDirection,
|
|
7403
7411
|
IFunctionModuleParameter,
|
|
7412
|
+
FunctionModuleType,
|
|
7404
7413
|
FunctionModuleDefinition,
|
|
7405
7414
|
InterfaceDefinition,
|
|
7406
7415
|
MethodDefinition,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FunctionModuleDefinition = exports.FunctionModuleParameterDirection = void 0;
|
|
3
|
+
exports.FunctionModuleDefinition = exports.FunctionModuleType = exports.FunctionModuleParameterDirection = void 0;
|
|
4
4
|
const xml_utils_1 = require("../../xml_utils");
|
|
5
5
|
var FunctionModuleParameterDirection;
|
|
6
6
|
(function (FunctionModuleParameterDirection) {
|
|
@@ -9,6 +9,12 @@ var FunctionModuleParameterDirection;
|
|
|
9
9
|
FunctionModuleParameterDirection["changing"] = "changing";
|
|
10
10
|
FunctionModuleParameterDirection["tables"] = "tables";
|
|
11
11
|
})(FunctionModuleParameterDirection || (exports.FunctionModuleParameterDirection = FunctionModuleParameterDirection = {}));
|
|
12
|
+
var FunctionModuleType;
|
|
13
|
+
(function (FunctionModuleType) {
|
|
14
|
+
FunctionModuleType["regular"] = "regular";
|
|
15
|
+
FunctionModuleType["remote"] = "remoteEnabled";
|
|
16
|
+
FunctionModuleType["update"] = "update";
|
|
17
|
+
})(FunctionModuleType || (exports.FunctionModuleType = FunctionModuleType = {}));
|
|
12
18
|
class FunctionModuleDefinition {
|
|
13
19
|
constructor(data) {
|
|
14
20
|
this.parse(data);
|
|
@@ -16,6 +22,9 @@ class FunctionModuleDefinition {
|
|
|
16
22
|
getParameters() {
|
|
17
23
|
return this.parameters;
|
|
18
24
|
}
|
|
25
|
+
getModuleType() {
|
|
26
|
+
return this.moduleType;
|
|
27
|
+
}
|
|
19
28
|
getDescription() {
|
|
20
29
|
return this.description;
|
|
21
30
|
}
|
|
@@ -30,6 +39,13 @@ class FunctionModuleDefinition {
|
|
|
30
39
|
this.name = data.FUNCNAME;
|
|
31
40
|
this.description = data.SHORT_TEXT;
|
|
32
41
|
this.parameters = [];
|
|
42
|
+
this.moduleType = FunctionModuleType.regular;
|
|
43
|
+
if (data.REMOTE_CALL === "R") {
|
|
44
|
+
this.moduleType = FunctionModuleType.remote;
|
|
45
|
+
}
|
|
46
|
+
else if (data.UPDATE_TASK !== undefined) {
|
|
47
|
+
this.moduleType = FunctionModuleType.update;
|
|
48
|
+
}
|
|
33
49
|
if (data.IMPORT) {
|
|
34
50
|
for (const param of (0, xml_utils_1.xmlToArray)(data.IMPORT.RSIMP)) {
|
|
35
51
|
if (param.PARAMETER === undefined) {
|
package/build/src/registry.js
CHANGED