Struct extendable_vm::CallFrame [−][src]
pub struct CallFrame { pub chunk_id: usize, pub name: String, pub instruction_pointer: InstructionPointer, pub start_slot: usize, }
Expand description
A struct that stores information about an active function call.
CallFrame stores information about a function call that has not returned yet.
chunk_id
is the id of the chunk that defines the function.
name
– the name of the function.
instruction_pointer
– a pointer to a certain point in code which the function is executing.
start_slot
– the index in the operand stack at which the call frame starts.
Fields
chunk_id: usize
name: String
instruction_pointer: InstructionPointer
start_slot: usize