@abaplint/transpiler-cli 2.11.57 → 2.11.59
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/bundle.js +17 -3
- package/package.json +3 -3
package/build/bundle.js
CHANGED
|
@@ -52324,7 +52324,8 @@ class Table extends _abstract_object_1.AbstractObject {
|
|
|
52324
52324
|
if (field.GROUPNAME !== undefined) {
|
|
52325
52325
|
components.push({ name: field.GROUPNAME, type: found, asInclude: true });
|
|
52326
52326
|
}
|
|
52327
|
-
|
|
52327
|
+
// Note: "--AP" are .APPENDS
|
|
52328
|
+
if (field.FIELDNAME.startsWith(".INCLU-") === false || field.FIELDNAME === ".INCLU--AP") {
|
|
52328
52329
|
for (const c of found.getComponents()) {
|
|
52329
52330
|
components.push({ name: c.name, type: c.type });
|
|
52330
52331
|
}
|
|
@@ -53850,7 +53851,7 @@ class Registry {
|
|
|
53850
53851
|
}
|
|
53851
53852
|
static abaplintVersion() {
|
|
53852
53853
|
// magic, see build script "version.sh"
|
|
53853
|
-
return "2.113.
|
|
53854
|
+
return "2.113.188";
|
|
53854
53855
|
}
|
|
53855
53856
|
getDDICReferences() {
|
|
53856
53857
|
return this.ddicReferences;
|
|
@@ -91071,7 +91072,20 @@ class Traversal {
|
|
|
91071
91072
|
for (const p of m.getParameters().getAll()) {
|
|
91072
91073
|
const type = transpile_types_1.TranspileTypes.toType(p.getType());
|
|
91073
91074
|
const optional = m.getParameters().getOptional().includes(p.getName()) ? "X" : " ";
|
|
91074
|
-
|
|
91075
|
+
let pKind = "";
|
|
91076
|
+
if (pKind === "") {
|
|
91077
|
+
pKind = m.getParameters().getImporting().find((t) => { return t.getName() === p.getName(); }) ? "I" : "";
|
|
91078
|
+
}
|
|
91079
|
+
if (pKind === "") {
|
|
91080
|
+
pKind = m.getParameters().getChanging().find((t) => { return t.getName() === p.getName(); }) ? "C" : "";
|
|
91081
|
+
}
|
|
91082
|
+
if (pKind === "") {
|
|
91083
|
+
pKind = m.getParameters().getExporting().find((t) => { return t.getName() === p.getName(); }) ? "E" : "";
|
|
91084
|
+
}
|
|
91085
|
+
if (pKind === "") {
|
|
91086
|
+
pKind = m.getParameters().getReturning()?.getName() === p.getName() ? "R" : "";
|
|
91087
|
+
}
|
|
91088
|
+
parameters.push(`"${p.getName().toUpperCase()}": {"type": () => {return ${type};}, "is_optional": "${optional}", "parm_kind": "${pKind}", "type_name": "${p.getType().constructor.name}"}`);
|
|
91075
91089
|
}
|
|
91076
91090
|
methods.push(`"${m.getName().toUpperCase()}": {"visibility": "${this.mapVisibility(m.getVisibility())}", "parameters": {${parameters.join(", ")}}}`);
|
|
91077
91091
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.59",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"author": "abaplint",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@abaplint/core": "^2.113.
|
|
31
|
-
"@abaplint/transpiler": "^2.11.
|
|
30
|
+
"@abaplint/core": "^2.113.188",
|
|
31
|
+
"@abaplint/transpiler": "^2.11.59",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.3.0",
|
|
34
34
|
"@types/progress": "^2.0.7",
|