@abaplint/transpiler-cli 2.10.15 → 2.10.16

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.
Files changed (2) hide show
  1. package/build/bundle.js +38 -0
  2. package/package.json +2 -2
package/build/bundle.js CHANGED
@@ -81663,6 +81663,43 @@ exports.EndWhileTranspiler = EndWhileTranspiler;
81663
81663
 
81664
81664
  /***/ }),
81665
81665
 
81666
+ /***/ "./node_modules/@abaplint/transpiler/build/src/statements/enhancement_point.js":
81667
+ /*!*************************************************************************************!*\
81668
+ !*** ./node_modules/@abaplint/transpiler/build/src/statements/enhancement_point.js ***!
81669
+ \*************************************************************************************/
81670
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81671
+
81672
+ "use strict";
81673
+
81674
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81675
+ exports.EnhancementPointTranspiler = void 0;
81676
+ const abaplint = __webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js");
81677
+ const chunk_1 = __webpack_require__(/*! ../chunk */ "./node_modules/@abaplint/transpiler/build/src/chunk.js");
81678
+ class EnhancementPointTranspiler {
81679
+ transpile(_node, _traversal) {
81680
+ // for now, do nothing, but leave a comment
81681
+ // ENHANCEMENT-POINT enh_id SPOTS spot1 spot2 ... [STATIC] [INCLUDE BOUND].
81682
+ let enhId = "";
81683
+ const spots = [];
81684
+ for (const tn of _node.getTokenNodes()) {
81685
+ if (tn instanceof abaplint.Nodes.TokenNodeRegex) {
81686
+ if (!enhId) {
81687
+ enhId = tn.get().getStr();
81688
+ }
81689
+ else {
81690
+ spots.push(tn.get().getStr());
81691
+ }
81692
+ }
81693
+ }
81694
+ // [Transpiler] EnhancementPoint not implemented. Ignoring 'enh_id' spots 'spot1', 'spot2' ...
81695
+ return new chunk_1.Chunk(`// [Transpiler] EnhancementPoint not implemented. Ignoring '${enhId}' spots '${spots.join("', '")}'`);
81696
+ }
81697
+ }
81698
+ exports.EnhancementPointTranspiler = EnhancementPointTranspiler;
81699
+ //# sourceMappingURL=enhancement_point.js.map
81700
+
81701
+ /***/ }),
81702
+
81666
81703
  /***/ "./node_modules/@abaplint/transpiler/build/src/statements/enhancement_section.js":
81667
81704
  /*!***************************************************************************************!*\
81668
81705
  !*** ./node_modules/@abaplint/transpiler/build/src/statements/enhancement_section.js ***!
@@ -82369,6 +82406,7 @@ __exportStar(__webpack_require__(/*! ./end_loop */ "./node_modules/@abaplint/tra
82369
82406
  __exportStar(__webpack_require__(/*! ./end_method */ "./node_modules/@abaplint/transpiler/build/src/statements/end_method.js"), exports);
82370
82407
  __exportStar(__webpack_require__(/*! ./end_try */ "./node_modules/@abaplint/transpiler/build/src/statements/end_try.js"), exports);
82371
82408
  __exportStar(__webpack_require__(/*! ./end_while */ "./node_modules/@abaplint/transpiler/build/src/statements/end_while.js"), exports);
82409
+ __exportStar(__webpack_require__(/*! ./enhancement_point */ "./node_modules/@abaplint/transpiler/build/src/statements/enhancement_point.js"), exports);
82372
82410
  __exportStar(__webpack_require__(/*! ./enhancement_section */ "./node_modules/@abaplint/transpiler/build/src/statements/enhancement_section.js"), exports);
82373
82411
  __exportStar(__webpack_require__(/*! ./exit */ "./node_modules/@abaplint/transpiler/build/src/statements/exit.js"), exports);
82374
82412
  __exportStar(__webpack_require__(/*! ./export */ "./node_modules/@abaplint/transpiler/build/src/statements/export.js"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/transpiler-cli",
3
- "version": "2.10.15",
3
+ "version": "2.10.16",
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.10.15",
29
+ "@abaplint/transpiler": "^2.10.16",
30
30
  "@types/glob": "^8.1.0",
31
31
  "glob": "=7.2.0",
32
32
  "@types/progress": "^2.0.7",