← All docs
stream_wrapper_restore() — internals
Compiler internals for stream_wrapper_restore(): lowering path, type checks, and runtime helpers.
stream_wrapper_restore() — internals
Where it lives
- Signature:
src/builtins/io/stream_wrapper_restore.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:1050 (lower_stream_wrapper_restore) - Function symbol:
lower_stream_wrapper_restore()
Lowering notes
- Lowers
stream_wrapper_restore(protocol)as a successful no-op.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function stream_wrapper_restore(string $protocol): bool
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/stream_wrapper_restore.rs(eval_builtin!) - Dispatch hooks:
direct,values