@abaplint/runtime
Version:
Transpiler - Runtime
24 lines • 635 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StandardOutConsole = void 0;
class StandardOutConsole {
empty = true;
clear() {
throw new Error("transpiler runtime: not supported for stdio console");
}
add(data) {
process.stdout.write(data);
this.empty = false;
}
get() {
return "";
}
isEmpty() {
return this.empty;
}
getTrimmed() {
throw new Error("transpiler runtime: not supported for stdio console");
}
}
exports.StandardOutConsole = StandardOutConsole;
//# sourceMappingURL=standard_out_console.js.map