← All docs
stream_resolve_include_path() — internals
Compiler internals for stream_resolve_include_path(): lowering path, type checks, and runtime helpers.
stream_resolve_include_path() — internals
Where it lives
- Signature:
src/builtins/io/stream_resolve_include_path.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:2359 (lower_stream_resolve_include_path) - Function symbol:
lower_stream_resolve_include_path()
Lowering notes
- Lowers
stream_resolve_include_path(filename)as realpath-backedstring|false.
Runtime helpers
The following runtime helpers are referenced:
__rt_realpath__rt_stream_socket_server
Signature summary
function stream_resolve_include_path(string $filename): mixed
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/stream_resolve_include_path.rs(eval_builtin!) - Dispatch hooks:
direct,values