QuickBEAM.VM.Names (QuickBEAM v0.10.9)

Copy Markdown View Source

Atom-pool resolution: maps bytecode constant indices to JS atom strings and resolves display names.

Summary

Functions

Returns a function-like value with updated name metadata.

Resolves an atom-table index or tagged atom reference into a JavaScript property name.

Resolves a bytecode constant-pool entry into a VM value.

Resolves an optional display name for functions and diagnostics.

Functions

function_name(name_val)

normalize_property_key(idx)

rename_function(fun, name)

Returns a function-like value with updated name metadata.

resolve_atom(atoms, idx)

Resolves an atom-table index or tagged atom reference into a JavaScript property name.

resolve_const(cpool, idx)

Resolves a bytecode constant-pool entry into a VM value.

resolve_display_name(name, atoms \\ Heap.get_atoms())

Resolves an optional display name for functions and diagnostics.