@abaplint/transpiler-cli 2.14.23 → 2.14.25
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 +26 -3
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -123034,17 +123034,18 @@ class SwitchBodyTranspiler {
|
|
|
123034
123034
|
let mode = "";
|
|
123035
123035
|
for (const c of body.getChildren()) {
|
|
123036
123036
|
if (c instanceof core_1.Nodes.TokenNode) {
|
|
123037
|
-
|
|
123037
|
+
const keyword = c.concatTokens().toUpperCase();
|
|
123038
|
+
if (keyword === "WHEN") {
|
|
123038
123039
|
if (currentWhenThen.whenOr.length > 0) {
|
|
123039
123040
|
whenThenOr.push(currentWhenThen);
|
|
123040
123041
|
}
|
|
123041
123042
|
currentWhenThen = { whenOr: [], then: undefined };
|
|
123042
123043
|
mode = "WHEN";
|
|
123043
123044
|
}
|
|
123044
|
-
else if (
|
|
123045
|
+
else if (keyword === "THEN") {
|
|
123045
123046
|
mode = "THEN";
|
|
123046
123047
|
}
|
|
123047
|
-
else if (
|
|
123048
|
+
else if (keyword === "ELSE") {
|
|
123048
123049
|
mode = "";
|
|
123049
123050
|
}
|
|
123050
123051
|
}
|
|
@@ -137863,6 +137864,27 @@ exports.DoTranspiler = DoTranspiler;
|
|
|
137863
137864
|
|
|
137864
137865
|
/***/ },
|
|
137865
137866
|
|
|
137867
|
+
/***/ "./node_modules/@abaplint/transpiler/build/src/structures/exec_sql.js"
|
|
137868
|
+
/*!****************************************************************************!*\
|
|
137869
|
+
!*** ./node_modules/@abaplint/transpiler/build/src/structures/exec_sql.js ***!
|
|
137870
|
+
\****************************************************************************/
|
|
137871
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
137872
|
+
|
|
137873
|
+
"use strict";
|
|
137874
|
+
|
|
137875
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
137876
|
+
exports.ExecSQLTranspiler = void 0;
|
|
137877
|
+
const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
|
|
137878
|
+
class ExecSQLTranspiler {
|
|
137879
|
+
transpile(node, traversal) {
|
|
137880
|
+
return new chunk_1.Chunk().append(`throw new Error("EXEC SQL, not supported, transpiler");`, node, traversal);
|
|
137881
|
+
}
|
|
137882
|
+
}
|
|
137883
|
+
exports.ExecSQLTranspiler = ExecSQLTranspiler;
|
|
137884
|
+
//# sourceMappingURL=exec_sql.js.map
|
|
137885
|
+
|
|
137886
|
+
/***/ },
|
|
137887
|
+
|
|
137866
137888
|
/***/ "./node_modules/@abaplint/transpiler/build/src/structures/form.js"
|
|
137867
137889
|
/*!************************************************************************!*\
|
|
137868
137890
|
!*** ./node_modules/@abaplint/transpiler/build/src/structures/form.js ***!
|
|
@@ -138083,6 +138105,7 @@ __exportStar(__webpack_require__(/*! ./constants */ "./node_modules/@abaplint/tr
|
|
|
138083
138105
|
__exportStar(__webpack_require__(/*! ./data */ "./node_modules/@abaplint/transpiler/build/src/structures/data.js"), exports);
|
|
138084
138106
|
__exportStar(__webpack_require__(/*! ./define */ "./node_modules/@abaplint/transpiler/build/src/structures/define.js"), exports);
|
|
138085
138107
|
__exportStar(__webpack_require__(/*! ./do */ "./node_modules/@abaplint/transpiler/build/src/structures/do.js"), exports);
|
|
138108
|
+
__exportStar(__webpack_require__(/*! ./exec_sql */ "./node_modules/@abaplint/transpiler/build/src/structures/exec_sql.js"), exports);
|
|
138086
138109
|
__exportStar(__webpack_require__(/*! ./function_module */ "./node_modules/@abaplint/transpiler/build/src/structures/function_module.js"), exports);
|
|
138087
138110
|
__exportStar(__webpack_require__(/*! ./interface */ "./node_modules/@abaplint/transpiler/build/src/structures/interface.js"), exports);
|
|
138088
138111
|
__exportStar(__webpack_require__(/*! ./loop */ "./node_modules/@abaplint/transpiler/build/src/structures/loop.js"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.25",
|
|
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.120.98",
|
|
31
|
-
"@abaplint/transpiler": "^2.14.
|
|
31
|
+
"@abaplint/transpiler": "^2.14.25",
|
|
32
32
|
"@types/glob": "^9.0.0",
|
|
33
33
|
"@types/node": "^26.6.6",
|
|
34
34
|
"@types/progress": "^2.0.7",
|