Module valtrees

Source

FunctionsΒ§

branches πŸ”’
const_to_valtree_inner πŸ”’
create_valtree_place πŸ”’
dump_place πŸ”’
eval_to_valtree πŸ”’
Evaluates a constant and turns it into a type-level constant value.
reconstruct_place_meta πŸ”’
Valtrees don’t store the MemPlaceMeta that all dynamically sized values have in the interpreter. This function reconstructs it.
slice_branches πŸ”’
valtree_into_mplace πŸ”’
valtree_to_const_value
Converts a ValTree to a ConstValue, which is needed after mir construction has finished.
valtree_to_ref πŸ”’
Put a valtree into memory and return a reference to that.