← All docs
long2ip() — internals
Compiler internals for long2ip(): lowering path, type checks, and runtime helpers.
long2ip() — internals
Where it lives
- Signature:
src/builtins/string/long2ip.rs - Lowering:
src/codegen/lower_inst/builtins/strings.rs:538 (lower_long2ip) - Function symbol:
lower_long2ip()
Lowering notes
- Lowers
long2ip(value)through the IPv4 formatting runtime helper.
Runtime helpers
The following runtime helpers are referenced:
__rt_ip2long__rt_long2ip
Signature summary
function long2ip(int $ip): string
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/network_env/long2ip.rs(eval_builtin!) - Dispatch hooks:
direct,values