@abaplint/transpiler-cli 2.13.70 → 2.13.71
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 +130 -0
- package/package.json +2 -2
package/build/bundle.js
CHANGED
|
@@ -113390,6 +113390,70 @@ exports.DescribeTranspiler = DescribeTranspiler;
|
|
|
113390
113390
|
|
|
113391
113391
|
/***/ },
|
|
113392
113392
|
|
|
113393
|
+
/***/ "./node_modules/@abaplint/transpiler/build/src/statements/divide.js"
|
|
113394
|
+
/*!**************************************************************************!*\
|
|
113395
|
+
!*** ./node_modules/@abaplint/transpiler/build/src/statements/divide.js ***!
|
|
113396
|
+
\**************************************************************************/
|
|
113397
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
113398
|
+
|
|
113399
|
+
"use strict";
|
|
113400
|
+
|
|
113401
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
113402
|
+
if (k2 === undefined) k2 = k;
|
|
113403
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
113404
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
113405
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
113406
|
+
}
|
|
113407
|
+
Object.defineProperty(o, k2, desc);
|
|
113408
|
+
}) : (function(o, m, k, k2) {
|
|
113409
|
+
if (k2 === undefined) k2 = k;
|
|
113410
|
+
o[k2] = m[k];
|
|
113411
|
+
}));
|
|
113412
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
113413
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
113414
|
+
}) : function(o, v) {
|
|
113415
|
+
o["default"] = v;
|
|
113416
|
+
});
|
|
113417
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
113418
|
+
var ownKeys = function(o) {
|
|
113419
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
113420
|
+
var ar = [];
|
|
113421
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
113422
|
+
return ar;
|
|
113423
|
+
};
|
|
113424
|
+
return ownKeys(o);
|
|
113425
|
+
};
|
|
113426
|
+
return function (mod) {
|
|
113427
|
+
if (mod && mod.__esModule) return mod;
|
|
113428
|
+
var result = {};
|
|
113429
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
113430
|
+
__setModuleDefault(result, mod);
|
|
113431
|
+
return result;
|
|
113432
|
+
};
|
|
113433
|
+
})();
|
|
113434
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
113435
|
+
exports.DivideTranspiler = void 0;
|
|
113436
|
+
const abaplint = __importStar(__webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js"));
|
|
113437
|
+
const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
|
|
113438
|
+
class DivideTranspiler {
|
|
113439
|
+
transpile(node, traversal) {
|
|
113440
|
+
const target = traversal.traverse(node.findDirectExpression(abaplint.Expressions.Target));
|
|
113441
|
+
const source = traversal.traverse(node.findDirectExpression(abaplint.Expressions.Source));
|
|
113442
|
+
const ret = new chunk_1.Chunk();
|
|
113443
|
+
ret.appendChunk(target);
|
|
113444
|
+
ret.append(".set(abap.operators.divide(", node, traversal);
|
|
113445
|
+
ret.appendChunk(target);
|
|
113446
|
+
ret.append(",", node, traversal);
|
|
113447
|
+
ret.appendChunk(source);
|
|
113448
|
+
ret.append("));", node.getLastToken(), traversal);
|
|
113449
|
+
return ret;
|
|
113450
|
+
}
|
|
113451
|
+
}
|
|
113452
|
+
exports.DivideTranspiler = DivideTranspiler;
|
|
113453
|
+
//# sourceMappingURL=divide.js.map
|
|
113454
|
+
|
|
113455
|
+
/***/ },
|
|
113456
|
+
|
|
113393
113457
|
/***/ "./node_modules/@abaplint/transpiler/build/src/statements/do.js"
|
|
113394
113458
|
/*!**********************************************************************!*\
|
|
113395
113459
|
!*** ./node_modules/@abaplint/transpiler/build/src/statements/do.js ***!
|
|
@@ -115158,6 +115222,7 @@ __exportStar(__webpack_require__(/*! ./delete_memory */ "./node_modules/@abaplin
|
|
|
115158
115222
|
__exportStar(__webpack_require__(/*! ./delete_report */ "./node_modules/@abaplint/transpiler/build/src/statements/delete_report.js"), exports);
|
|
115159
115223
|
__exportStar(__webpack_require__(/*! ./delete_textpool */ "./node_modules/@abaplint/transpiler/build/src/statements/delete_textpool.js"), exports);
|
|
115160
115224
|
__exportStar(__webpack_require__(/*! ./describe */ "./node_modules/@abaplint/transpiler/build/src/statements/describe.js"), exports);
|
|
115225
|
+
__exportStar(__webpack_require__(/*! ./divide */ "./node_modules/@abaplint/transpiler/build/src/statements/divide.js"), exports);
|
|
115161
115226
|
__exportStar(__webpack_require__(/*! ./do */ "./node_modules/@abaplint/transpiler/build/src/statements/do.js"), exports);
|
|
115162
115227
|
__exportStar(__webpack_require__(/*! ./editor_call */ "./node_modules/@abaplint/transpiler/build/src/statements/editor_call.js"), exports);
|
|
115163
115228
|
__exportStar(__webpack_require__(/*! ./else_if */ "./node_modules/@abaplint/transpiler/build/src/statements/else_if.js"), exports);
|
|
@@ -115215,6 +115280,7 @@ __exportStar(__webpack_require__(/*! ./modify_internal */ "./node_modules/@abapl
|
|
|
115215
115280
|
__exportStar(__webpack_require__(/*! ./modify_screen */ "./node_modules/@abaplint/transpiler/build/src/statements/modify_screen.js"), exports);
|
|
115216
115281
|
__exportStar(__webpack_require__(/*! ./move_corresponding */ "./node_modules/@abaplint/transpiler/build/src/statements/move_corresponding.js"), exports);
|
|
115217
115282
|
__exportStar(__webpack_require__(/*! ./move */ "./node_modules/@abaplint/transpiler/build/src/statements/move.js"), exports);
|
|
115283
|
+
__exportStar(__webpack_require__(/*! ./multiply */ "./node_modules/@abaplint/transpiler/build/src/statements/multiply.js"), exports);
|
|
115218
115284
|
__exportStar(__webpack_require__(/*! ./new_page */ "./node_modules/@abaplint/transpiler/build/src/statements/new_page.js"), exports);
|
|
115219
115285
|
__exportStar(__webpack_require__(/*! ./open_cursor */ "./node_modules/@abaplint/transpiler/build/src/statements/open_cursor.js"), exports);
|
|
115220
115286
|
__exportStar(__webpack_require__(/*! ./open_dataset */ "./node_modules/@abaplint/transpiler/build/src/statements/open_dataset.js"), exports);
|
|
@@ -116631,6 +116697,70 @@ exports.MoveCorrespondingTranspiler = MoveCorrespondingTranspiler;
|
|
|
116631
116697
|
|
|
116632
116698
|
/***/ },
|
|
116633
116699
|
|
|
116700
|
+
/***/ "./node_modules/@abaplint/transpiler/build/src/statements/multiply.js"
|
|
116701
|
+
/*!****************************************************************************!*\
|
|
116702
|
+
!*** ./node_modules/@abaplint/transpiler/build/src/statements/multiply.js ***!
|
|
116703
|
+
\****************************************************************************/
|
|
116704
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
116705
|
+
|
|
116706
|
+
"use strict";
|
|
116707
|
+
|
|
116708
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
116709
|
+
if (k2 === undefined) k2 = k;
|
|
116710
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
116711
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
116712
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
116713
|
+
}
|
|
116714
|
+
Object.defineProperty(o, k2, desc);
|
|
116715
|
+
}) : (function(o, m, k, k2) {
|
|
116716
|
+
if (k2 === undefined) k2 = k;
|
|
116717
|
+
o[k2] = m[k];
|
|
116718
|
+
}));
|
|
116719
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
116720
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
116721
|
+
}) : function(o, v) {
|
|
116722
|
+
o["default"] = v;
|
|
116723
|
+
});
|
|
116724
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
116725
|
+
var ownKeys = function(o) {
|
|
116726
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
116727
|
+
var ar = [];
|
|
116728
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
116729
|
+
return ar;
|
|
116730
|
+
};
|
|
116731
|
+
return ownKeys(o);
|
|
116732
|
+
};
|
|
116733
|
+
return function (mod) {
|
|
116734
|
+
if (mod && mod.__esModule) return mod;
|
|
116735
|
+
var result = {};
|
|
116736
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
116737
|
+
__setModuleDefault(result, mod);
|
|
116738
|
+
return result;
|
|
116739
|
+
};
|
|
116740
|
+
})();
|
|
116741
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
116742
|
+
exports.MultiplyTranspiler = void 0;
|
|
116743
|
+
const abaplint = __importStar(__webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js"));
|
|
116744
|
+
const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
|
|
116745
|
+
class MultiplyTranspiler {
|
|
116746
|
+
transpile(node, traversal) {
|
|
116747
|
+
const target = traversal.traverse(node.findDirectExpression(abaplint.Expressions.Target));
|
|
116748
|
+
const source = traversal.traverse(node.findDirectExpression(abaplint.Expressions.Source));
|
|
116749
|
+
const ret = new chunk_1.Chunk();
|
|
116750
|
+
ret.appendChunk(target);
|
|
116751
|
+
ret.append(".set(abap.operators.multiply(", node, traversal);
|
|
116752
|
+
ret.appendChunk(target);
|
|
116753
|
+
ret.append(",", node, traversal);
|
|
116754
|
+
ret.appendChunk(source);
|
|
116755
|
+
ret.append("));", node.getLastToken(), traversal);
|
|
116756
|
+
return ret;
|
|
116757
|
+
}
|
|
116758
|
+
}
|
|
116759
|
+
exports.MultiplyTranspiler = MultiplyTranspiler;
|
|
116760
|
+
//# sourceMappingURL=multiply.js.map
|
|
116761
|
+
|
|
116762
|
+
/***/ },
|
|
116763
|
+
|
|
116634
116764
|
/***/ "./node_modules/@abaplint/transpiler/build/src/statements/new_page.js"
|
|
116635
116765
|
/*!****************************************************************************!*\
|
|
116636
116766
|
!*** ./node_modules/@abaplint/transpiler/build/src/statements/new_page.js ***!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler-cli",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.71",
|
|
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.42",
|
|
31
|
-
"@abaplint/transpiler": "^2.13.
|
|
31
|
+
"@abaplint/transpiler": "^2.13.71",
|
|
32
32
|
"@types/glob": "^8.1.0",
|
|
33
33
|
"@types/node": "^24.13.3",
|
|
34
34
|
"@types/progress": "^2.0.7",
|