@abaplint/core 2.113.106 → 2.113.108
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
|
@@ -4381,8 +4381,10 @@ declare class MethodDefinition extends Identifier implements IMethodDefinition {
|
|
|
4381
4381
|
private readonly static;
|
|
4382
4382
|
private readonly raising;
|
|
4383
4383
|
private readonly exceptions;
|
|
4384
|
+
private readonly className;
|
|
4384
4385
|
constructor(node: StatementNode, visibility: Visibility, input: SyntaxInput);
|
|
4385
4386
|
getVisibility(): Visibility;
|
|
4387
|
+
getClassName(): string;
|
|
4386
4388
|
isRedefinition(): boolean;
|
|
4387
4389
|
isAbstract(): boolean;
|
|
4388
4390
|
isStatic(): boolean;
|
|
@@ -11,7 +11,7 @@ class StringTemplateFormatting extends combi_1.Expression {
|
|
|
11
11
|
const alphaOptions = (0, combi_1.altPrio)("OUT", "RAW", "IN", _1.Source);
|
|
12
12
|
const alignOptions = (0, combi_1.altPrio)("LEFT", "RIGHT", "CENTER", _1.Source, dynamic_1.Dynamic);
|
|
13
13
|
const dateTimeOptions = (0, combi_1.altPrio)("RAW", "ISO", "USER", "ENVIRONMENT", _1.Source, dynamic_1.Dynamic);
|
|
14
|
-
const timeStampOptions = (0, combi_1.altPrio)("SPACE", "ISO", "USER", "ENVIRONMENT", _1.Source);
|
|
14
|
+
const timeStampOptions = (0, combi_1.altPrio)("SPACE", "ISO", "USER", "ENVIRONMENT", _1.Source, dynamic_1.Dynamic);
|
|
15
15
|
const numberOptions = (0, combi_1.altPrio)("RAW", "USER", "ENVIRONMENT", _1.Source, dynamic_1.Dynamic);
|
|
16
16
|
const signOptions = (0, combi_1.altPrio)("LEFT", "LEFTPLUS", "LEFTSPACE", "RIGHT", "RIGHTPLUS", "RIGHTSPACE", _1.Source);
|
|
17
17
|
const caseOptions = (0, combi_1.altPrio)("RAW", "UPPER", "LOWER", _1.Source, dynamic_1.Dynamic);
|
|
@@ -18,6 +18,7 @@ class MethodDefinition extends _identifier_1.Identifier {
|
|
|
18
18
|
throw new Error("MethodDefinition, expected MethodDef as part of input node");
|
|
19
19
|
}
|
|
20
20
|
super(found.getFirstToken(), input.filename);
|
|
21
|
+
this.className = input.scope.getName();
|
|
21
22
|
this.redefinition = false;
|
|
22
23
|
if (node.findDirectExpression(Expressions.Redefinition)) {
|
|
23
24
|
this.redefinition = true;
|
|
@@ -70,6 +71,9 @@ class MethodDefinition extends _identifier_1.Identifier {
|
|
|
70
71
|
getVisibility() {
|
|
71
72
|
return this.visibility;
|
|
72
73
|
}
|
|
74
|
+
getClassName() {
|
|
75
|
+
return this.className;
|
|
76
|
+
}
|
|
73
77
|
isRedefinition() {
|
|
74
78
|
return this.redefinition;
|
|
75
79
|
}
|
|
@@ -20,8 +20,9 @@ class TypePool extends _abap_object_1.ABAPObject {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
getDescription() {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
var _a, _b, _c;
|
|
24
|
+
const parsed = super.parseRaw2();
|
|
25
|
+
return ((_c = (_b = (_a = parsed === null || parsed === void 0 ? void 0 : parsed.abapGit) === null || _a === void 0 ? void 0 : _a["asx:abap"]) === null || _b === void 0 ? void 0 : _b["asx:values"]) === null || _c === void 0 ? void 0 : _c.DDTEXT) || "";
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
exports.TypePool = TypePool;
|
package/build/src/registry.js
CHANGED