@abaplint/transpiler 2.9.0 → 2.10.2
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.
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./at_first";
|
|
2
|
+
export * from "./at_last";
|
|
2
3
|
export * from "./case_type";
|
|
4
|
+
export * from "./case";
|
|
3
5
|
export * from "./class_definition";
|
|
4
6
|
export * from "./class_implementation";
|
|
5
7
|
export * from "./constants";
|
|
6
8
|
export * from "./data";
|
|
7
9
|
export * from "./define";
|
|
8
10
|
export * from "./do";
|
|
9
|
-
export * from "./at_first";
|
|
10
|
-
export * from "./at_last";
|
|
11
11
|
export * from "./function_module";
|
|
12
12
|
export * from "./interface";
|
|
13
13
|
export * from "./loop";
|
|
14
|
+
export * from "./module";
|
|
14
15
|
export * from "./select";
|
|
15
16
|
export * from "./try";
|
|
16
17
|
export * from "./types";
|
|
@@ -14,19 +14,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./at_first"), exports);
|
|
18
|
+
__exportStar(require("./at_last"), exports);
|
|
18
19
|
__exportStar(require("./case_type"), exports);
|
|
20
|
+
__exportStar(require("./case"), exports);
|
|
19
21
|
__exportStar(require("./class_definition"), exports);
|
|
20
22
|
__exportStar(require("./class_implementation"), exports);
|
|
21
23
|
__exportStar(require("./constants"), exports);
|
|
22
24
|
__exportStar(require("./data"), exports);
|
|
23
25
|
__exportStar(require("./define"), exports);
|
|
24
26
|
__exportStar(require("./do"), exports);
|
|
25
|
-
__exportStar(require("./at_first"), exports);
|
|
26
|
-
__exportStar(require("./at_last"), exports);
|
|
27
27
|
__exportStar(require("./function_module"), exports);
|
|
28
28
|
__exportStar(require("./interface"), exports);
|
|
29
29
|
__exportStar(require("./loop"), exports);
|
|
30
|
+
__exportStar(require("./module"), exports);
|
|
30
31
|
__exportStar(require("./select"), exports);
|
|
31
32
|
__exportStar(require("./try"), exports);
|
|
32
33
|
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as abaplint from "@abaplint/core";
|
|
2
|
+
import { IStructureTranspiler } from "./_structure_transpiler";
|
|
3
|
+
import { Traversal } from "../traversal";
|
|
4
|
+
import { Chunk } from "../chunk";
|
|
5
|
+
export declare class ModuleTranspiler implements IStructureTranspiler {
|
|
6
|
+
transpile(_node: abaplint.Nodes.StructureNode, _traversal: Traversal): Chunk;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModuleTranspiler = void 0;
|
|
4
|
+
const chunk_1 = require("../chunk");
|
|
5
|
+
class ModuleTranspiler {
|
|
6
|
+
transpile(_node, _traversal) {
|
|
7
|
+
return new chunk_1.Chunk().appendString("// MODULE skipped by transpiler\n");
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.ModuleTranspiler = ModuleTranspiler;
|
|
11
|
+
//# sourceMappingURL=module.js.map
|
package/build/src/traversal.js
CHANGED
|
@@ -80,7 +80,7 @@ class Traversal {
|
|
|
80
80
|
}
|
|
81
81
|
if (node === undefined
|
|
82
82
|
&& this.obj instanceof abaplint.Objects.FunctionGroup
|
|
83
|
-
&& this.obj.getInclude(filename.split(".")[2])) {
|
|
83
|
+
&& this.obj.getInclude(filename.split(".")[2].replace(/#/g, "/"))) {
|
|
84
84
|
// workaround for INCLUDEs in function groups
|
|
85
85
|
return this.fuctionGroupWorkaround(token);
|
|
86
86
|
}
|