@abaplint/transpiler 2.7.63 → 2.7.65

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.
@@ -78,8 +78,12 @@ class TranspileTypes {
78
78
  else if (type instanceof abaplint.BasicTypes.StructureType) {
79
79
  resolved = "Structure";
80
80
  const list = [];
81
+ const renamingSuffix = {};
81
82
  for (const c of type.getComponents()) {
82
83
  list.push(`"` + c.name.toLowerCase() + `": ` + this.toType(c.type));
84
+ if (c.renamingSuffix) {
85
+ renamingSuffix[c.name.toLowerCase()] = c.renamingSuffix;
86
+ }
83
87
  }
84
88
  extra = "{" + list.join(", ") + "}";
85
89
  if (type.getQualifiedName() !== undefined) {
@@ -91,6 +95,10 @@ class TranspileTypes {
91
95
  if (type.getDDICName() !== undefined) {
92
96
  extra += ", \"" + type.getQualifiedName() + "\"";
93
97
  }
98
+ else {
99
+ extra += ", undefined";
100
+ }
101
+ extra += ", " + JSON.stringify(renamingSuffix);
94
102
  }
95
103
  else if (type instanceof abaplint.BasicTypes.CLikeType
96
104
  || type instanceof abaplint.BasicTypes.CGenericType
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.7.63",
3
+ "version": "2.7.65",
4
4
  "description": "Transpiler",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "author": "abaplint",
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@abaplint/core": "^2.102.14",
32
+ "@abaplint/core": "^2.102.15",
33
33
  "source-map": "^0.7.4"
34
34
  },
35
35
  "devDependencies": {