@abaplint/transpiler-cli 2.3.16 → 2.3.17
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 +1 -1
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -13227,7 +13227,7 @@ eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\n
|
|
|
13227
13227
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13228
13228
|
|
|
13229
13229
|
"use strict";
|
|
13230
|
-
eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.ArithOperatorTranspiler = void 0;\r\nconst chunk_1 = __webpack_require__(/*! ../chunk */ \"./node_modules/@abaplint/transpiler/build/src/chunk.js\");\r\nclass ArithOperatorTranspiler {\r\n transpile(node, traversal) {\r\n
|
|
13230
|
+
eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.ArithOperatorTranspiler = void 0;\r\nconst chunk_1 = __webpack_require__(/*! ../chunk */ \"./node_modules/@abaplint/transpiler/build/src/chunk.js\");\r\nclass ArithOperatorTranspiler {\r\n transpile(node, traversal) {\r\n let search = node.concatTokens().toUpperCase();\r\n // macro workaround,\r\n search = search.replace(/ /g, \"\");\r\n switch (search) {\r\n case \"+\":\r\n return new chunk_1.Chunk().append(\"abap.operators.add\", node, traversal);\r\n case \"-\":\r\n return new chunk_1.Chunk().append(\"abap.operators.minus\", node, traversal);\r\n case \"*\":\r\n return new chunk_1.Chunk().append(\"abap.operators.multiply\", node, traversal);\r\n case \"/\":\r\n return new chunk_1.Chunk().append(\"abap.operators.divide\", node, traversal);\r\n case \"**\":\r\n return new chunk_1.Chunk().append(\"abap.operators.power\", node, traversal);\r\n case \"DIV\":\r\n return new chunk_1.Chunk().append(\"abap.operators.div\", node, traversal);\r\n case \"MOD\":\r\n return new chunk_1.Chunk().append(\"abap.operators.mod\", node, traversal);\r\n case \"BIT-AND\":\r\n return new chunk_1.Chunk().append(\"abap.operators.bitand\", node, traversal);\r\n case \"BIT-OR\":\r\n return new chunk_1.Chunk().append(\"abap.operators.bitor\", node, traversal);\r\n case \"BIT-XOR\":\r\n return new chunk_1.Chunk().append(\"abap.operators.bitxor\", node, traversal);\r\n default:\r\n console.dir(search);\r\n return new chunk_1.Chunk().append(\".ArithOperatorUnknown\", node, traversal);\r\n }\r\n }\r\n}\r\nexports.ArithOperatorTranspiler = ArithOperatorTranspiler;\r\n//# sourceMappingURL=arith_operator.js.map\n\n//# sourceURL=webpack://@abaplint/transpiler-cli/./node_modules/@abaplint/transpiler/build/src/expressions/arith_operator.js?");
|
|
13231
13231
|
|
|
13232
13232
|
/***/ }),
|
|
13233
13233
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.17",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"abap_transpile": "./abap_transpile"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"author": "abaplint",
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@abaplint/transpiler": "^2.3.
|
|
28
|
+
"@abaplint/transpiler": "^2.3.17",
|
|
29
29
|
"@types/glob": "^7.2.0",
|
|
30
30
|
"glob": "=7.2.0",
|
|
31
31
|
"@types/progress": "^2.0.5",
|