@abaplint/transpiler-cli 1.8.36 → 1.8.39
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
|
@@ -13744,7 +13744,7 @@ eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\n
|
|
|
13744
13744
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
13745
13745
|
|
|
13746
13746
|
"use strict";
|
|
13747
|
-
eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.DescribeTranspiler = void 0;\r\nconst chunk_1 = __webpack_require__(/*! ../chunk */ \"./node_modules/@abaplint/transpiler/build/src/chunk.js\");\r\nclass DescribeTranspiler {\r\n transpile(node, traversal) {\r\n const options = [];\r\n const concat = node.concatTokens().toUpperCase();\r\n const field = node.findExpressionAfterToken(\"FIELD\");\r\n if (field) {\r\n options.push(\"field: \" + traversal.traverse(field).getCode());\r\n }\r\n const type = node.findExpressionAfterToken(\"TYPE\");\r\n if (type) {\r\n options.push(\"type: \" + traversal.traverse(type).getCode());\r\n }\r\n const length = node.findExpressionAfterToken(\"LENGTH\");\r\n if (length) {\r\n options.push(\"length: \" + traversal.traverse(length).getCode());\r\n }\r\n if (concat.includes(\"IN CHARACTER MODE\")) {\r\n options.push(\"mode: 'CHARACTER'\");\r\n }\r\n if (concat.includes(\"IN BYTE MODE\")) {\r\n options.push(\"mode: 'BYTE'\");\r\n }\r\n return new chunk_1.Chunk()\r\n .append(\"abap.statements.describe({\", node, traversal)\r\n .appendString(options.join(\", \"))\r\n .append(\"});\", node.getLastToken(), traversal);\r\n }\r\n}\r\nexports.DescribeTranspiler = DescribeTranspiler;\r\n//# sourceMappingURL=describe.js.map\n\n//# sourceURL=webpack://@abaplint/transpiler-cli/./node_modules/@abaplint/transpiler/build/src/statements/describe.js?");
|
|
13747
|
+
eval("\r\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\r\nexports.DescribeTranspiler = void 0;\r\nconst chunk_1 = __webpack_require__(/*! ../chunk */ \"./node_modules/@abaplint/transpiler/build/src/chunk.js\");\r\nclass DescribeTranspiler {\r\n transpile(node, traversal) {\r\n const options = [];\r\n const concat = node.concatTokens().toUpperCase();\r\n const field = node.findExpressionAfterToken(\"FIELD\");\r\n if (field) {\r\n options.push(\"field: \" + traversal.traverse(field).getCode());\r\n }\r\n const type = node.findExpressionAfterToken(\"TYPE\");\r\n if (type) {\r\n options.push(\"type: \" + traversal.traverse(type).getCode());\r\n }\r\n const length = node.findExpressionAfterToken(\"LENGTH\");\r\n if (length) {\r\n options.push(\"length: \" + traversal.traverse(length).getCode());\r\n }\r\n const lines = node.findExpressionAfterToken(\"LINES\");\r\n if (lines) {\r\n options.push(\"lines: \" + traversal.traverse(lines).getCode());\r\n }\r\n const table = node.findExpressionAfterToken(\"TABLE\");\r\n if (table) {\r\n options.push(\"table: \" + traversal.traverse(table).getCode());\r\n }\r\n if (concat.includes(\"IN CHARACTER MODE\")) {\r\n options.push(\"mode: 'CHARACTER'\");\r\n }\r\n if (concat.includes(\"IN BYTE MODE\")) {\r\n options.push(\"mode: 'BYTE'\");\r\n }\r\n return new chunk_1.Chunk()\r\n .append(\"abap.statements.describe({\", node, traversal)\r\n .appendString(options.join(\", \"))\r\n .append(\"});\", node.getLastToken(), traversal);\r\n }\r\n}\r\nexports.DescribeTranspiler = DescribeTranspiler;\r\n//# sourceMappingURL=describe.js.map\n\n//# sourceURL=webpack://@abaplint/transpiler-cli/./node_modules/@abaplint/transpiler/build/src/statements/describe.js?");
|
|
13748
13748
|
|
|
13749
13749
|
/***/ }),
|
|
13750
13750
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.39",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"bin": {
|
|
6
6
|
"abap_transpile": "./abap_transpile"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"author": "abaplint",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@abaplint/transpiler": "^1.8.
|
|
27
|
+
"@abaplint/transpiler": "^1.8.39",
|
|
28
28
|
"@types/glob": "^7.2.0",
|
|
29
29
|
"glob": "^7.2.0",
|
|
30
30
|
"@types/progress": "^2.0.5",
|