@abaplint/transpiler 2.11.92 → 2.11.93

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.
@@ -19,6 +19,7 @@ class ClassImplementationTranspiler {
19
19
  }
20
20
  const scope = traversal.findCurrentScopeByToken(token);
21
21
  return new chunk_1.Chunk().append(ret + ` {
22
+ static STATIC_SUPER = ${traversal_1.Traversal.escapeNamespace(def?.getSuperClass()?.toLowerCase())};
22
23
  static INTERNAL_TYPE = 'CLAS';
23
24
  static INTERNAL_NAME = '${traversal.buildInternalName(token.getStr(), def)}';
24
25
  static IMPLEMENTED_INTERFACES = [${this.findImplementedByClass(traversal, def, scope).map(e => `"` + e.toUpperCase() + `"`).join(",")}];
@@ -22,6 +22,7 @@ class InterfaceTranspiler {
22
22
  ret += `static INTERNAL_NAME = '${traversal.buildInternalName(token.getStr(), def)}';\n`;
23
23
  ret += `static ATTRIBUTES = {${Array.from(traversal.buildAttributes(def, scope)).join(",\n")}};\n`;
24
24
  ret += `static METHODS = {${traversal.buildMethods(def, scope).join(",\n")}};\n`;
25
+ // todo, add IMPLEMENTED_INTERFACES ?
25
26
  }
26
27
  else if (c instanceof abaplint.Nodes.StatementNode && c.get() instanceof abaplint.Statements.EndInterface) {
27
28
  ret += "}\n";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler",
3
- "version": "2.11.92",
3
+ "version": "2.11.93",
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.113.201",
32
+ "@abaplint/core": "^2.113.210",
33
33
  "source-map": "^0.7.6"
34
34
  },
35
35
  "devDependencies": {