@abaplint/transpiler
Version:
15 lines • 512 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EndWhileTranspiler = void 0;
const chunk_1 = require("../chunk");
class EndWhileTranspiler {
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