← All docs
ob_clean() — internals
Compiler internals for ob_clean(): lowering path, type checks, and runtime helpers.
ob_clean() — internals
Where it lives
- Signature:
src/builtins/io/ob_clean.rs - Lowering:
src/codegen/lower_inst/builtins/output_buffering.rs:435 (lower_ob_clean) - Function symbol:
lower_ob_clean()
Lowering notes
- Lowers
ob_clean()to the truncate-top-buffer helper (bool result).
Runtime helpers
The following runtime helpers are referenced:
__rt_ob_clean__rt_ob_end_clean__rt_ob_end_flush__rt_ob_flush
Signature summary
function ob_clean(): bool
What the type checker enforces
- Arity: takes no arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/core/ob_clean.rs(eval_builtin!) - Dispatch hooks:
direct,values