UNPKG

@abaplint/transpiler

Version:
16 lines 531 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EndWhileTranspiler = void 0; const chunk_1 = require("../chunk"); class EndWhileTranspiler { syIndexBackup; constructor(syIndexBackup) { this.syIndexBackup = syIndexBackup; } transpile(node, traversal) { return new chunk_1.Chunk().append(`} abap.builtin.sy.get().index.set(${this.syIndexBackup});\n`, node, traversal); } } exports.EndWhileTranspiler = EndWhileTranspiler; //# sourceMappingURL=end_while.js.map