@abaplint/transpiler-cli 2.11.54 → 2.11.55
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 +6 -1
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -82269,6 +82269,7 @@ class HandleDataElement {
|
|
|
82269
82269
|
"type": ${transpile_types_1.TranspileTypes.toType(type)},
|
|
82270
82270
|
"domain": ${JSON.stringify(obj.getDomainName())},
|
|
82271
82271
|
"fixedValues": ${JSON.stringify(fixedValues)},
|
|
82272
|
+
"description": ${JSON.stringify(obj.getDescription())},
|
|
82272
82273
|
};`);
|
|
82273
82274
|
const output = {
|
|
82274
82275
|
object: {
|
|
@@ -82557,6 +82558,7 @@ class HandleTable {
|
|
|
82557
82558
|
"objectType": "TABL",
|
|
82558
82559
|
"type": ${transpile_types_1.TranspileTypes.toType(type)},
|
|
82559
82560
|
"keyFields": ${JSON.stringify(obj.listKeys(reg))},
|
|
82561
|
+
"description": ${JSON.stringify(obj.getDescription())},
|
|
82560
82562
|
};`);
|
|
82561
82563
|
const output = {
|
|
82562
82564
|
object: {
|
|
@@ -82598,6 +82600,7 @@ class HandleTableType {
|
|
|
82598
82600
|
const chunk = new chunk_1.Chunk().appendString(`abap.DDIC["${obj.getName().toUpperCase()}"] = {
|
|
82599
82601
|
"objectType": "TTYP",
|
|
82600
82602
|
"type": ${transpile_types_1.TranspileTypes.toType(type)},
|
|
82603
|
+
"description": ${JSON.stringify(obj.getDescription())},
|
|
82601
82604
|
};`);
|
|
82602
82605
|
const output = {
|
|
82603
82606
|
object: {
|
|
@@ -90130,10 +90133,12 @@ class InterfaceTranspiler {
|
|
|
90130
90133
|
for (const c of node.getChildren()) {
|
|
90131
90134
|
if (c instanceof abaplint.Nodes.StatementNode && c.get() instanceof abaplint.Statements.Interface) {
|
|
90132
90135
|
const scope = traversal.findCurrentScopeByToken(node.getFirstToken());
|
|
90133
|
-
|
|
90136
|
+
const token = c.findDirectExpression(abaplint.Expressions.InterfaceName).getFirstToken();
|
|
90137
|
+
name = token.getStr().toLowerCase();
|
|
90134
90138
|
name = traversal_1.Traversal.escapeNamespace(name);
|
|
90135
90139
|
ret += `class ${name} {\n`;
|
|
90136
90140
|
ret += `static INTERNAL_TYPE = 'INTF';\n`;
|
|
90141
|
+
ret += `static INTERNAL_NAME = '${traversal.buildInternalName(token.getStr(), def)}';\n`;
|
|
90137
90142
|
ret += `static ATTRIBUTES = {${Array.from(traversal.buildAttributes(def, scope)).join(",\n")}};\n`;
|
|
90138
90143
|
ret += `static METHODS = {${traversal.buildMethods(def, scope).join(",\n")}};\n`;
|
|
90139
90144
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.55",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@abaplint/core": "^2.113.186",
|
|
31
|
-
"@abaplint/transpiler": "^2.11.
|
|
31
|
+
"@abaplint/transpiler": "^2.11.55",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.3.0",
|
|
34
34
|
"@types/progress": "^2.0.7",
|