@abaplint/transpiler-cli 2.7.145 → 2.7.147
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 +5 -2
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -82256,10 +82256,13 @@ exports.UnassignTranspiler = UnassignTranspiler;
|
|
|
82256
82256
|
|
|
82257
82257
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82258
82258
|
exports.UnpackTranspiler = void 0;
|
|
82259
|
+
const abaplint = __webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js");
|
|
82259
82260
|
const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
|
|
82260
82261
|
class UnpackTranspiler {
|
|
82261
|
-
transpile(
|
|
82262
|
-
|
|
82262
|
+
transpile(node, traversal) {
|
|
82263
|
+
const s = traversal.traverse(node.findFirstExpression(abaplint.Expressions.Source));
|
|
82264
|
+
const t = traversal.traverse(node.findFirstExpression(abaplint.Expressions.Target));
|
|
82265
|
+
return new chunk_1.Chunk(`await abap.statements.unpack(${s.getCode()},${t.getCode()});`);
|
|
82263
82266
|
}
|
|
82264
82267
|
}
|
|
82265
82268
|
exports.UnpackTranspiler = UnpackTranspiler;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.147",
|
|
4
4
|
"description": "Transpiler - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"author": "abaplint",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@abaplint/transpiler": "^2.7.
|
|
29
|
+
"@abaplint/transpiler": "^2.7.147",
|
|
30
30
|
"@types/glob": "^8.1.0",
|
|
31
31
|
"glob": "=7.2.0",
|
|
32
32
|
"@types/progress": "^2.0.7",
|