@abaplint/transpiler
Version:
16 lines • 516 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EndDoTranspiler = void 0;
const chunk_1 = require("../chunk");
class EndDoTranspiler {
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.EndDoTranspiler = EndDoTranspiler;
//# sourceMappingURL=end_do.js.map