@abaplint/transpiler-cli 2.11.19 → 2.11.20
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 +12 -0
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -90618,12 +90618,24 @@ this.INTERNAL_ID = abap.internalIdCounter++;\n`;
|
|
|
90618
90618
|
if (dtel) {
|
|
90619
90619
|
return dtel.parseType(this.reg);
|
|
90620
90620
|
}
|
|
90621
|
+
const tabl = this.reg.getObject("TABL", name);
|
|
90622
|
+
if (tabl) {
|
|
90623
|
+
return tabl.parseType(this.reg);
|
|
90624
|
+
}
|
|
90625
|
+
const view = this.reg.getObject("VIEW", name);
|
|
90626
|
+
if (view) {
|
|
90627
|
+
return view.parseType(this.reg);
|
|
90628
|
+
}
|
|
90621
90629
|
if (name.includes("=>")) {
|
|
90622
90630
|
const [className, typeName] = name.split("=>");
|
|
90623
90631
|
const cls = this.findClassDefinition(className, scope);
|
|
90624
90632
|
if (cls) {
|
|
90625
90633
|
return cls.getTypeDefinitions().getByName(typeName)?.getType();
|
|
90626
90634
|
}
|
|
90635
|
+
const intf = this.findInterfaceDefinition(className, scope);
|
|
90636
|
+
if (intf) {
|
|
90637
|
+
return intf.getTypeDefinitions().getByName(typeName)?.getType();
|
|
90638
|
+
}
|
|
90627
90639
|
}
|
|
90628
90640
|
// todo: yea, well, yea
|
|
90629
90641
|
throw new Error("lookupType, type not found, " + node.concatTokens());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.20",
|
|
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.166",
|
|
31
|
-
"@abaplint/transpiler": "^2.11.
|
|
31
|
+
"@abaplint/transpiler": "^2.11.20",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.2.1",
|
|
34
34
|
"@types/progress": "^2.0.7",
|