Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::StackFrame Class Reference

#include <bond/vm/vm.h>

Public Member Functions

 StackFrame (VM &vm)
 
 StackFrame (VM &vm, const Function &function, uint8_t *framePointer, uint8_t *stackPointer, uint8_t *returnPointer)
 
 StackFrame (const StackFrame &other)=delete
 
StackFrameoperator= (const StackFrame &other)=delete
 
template<typename ArgType >
const ArgType & GetArg (size_t index) const
 
template<typename ReturnType >
void SetReturnValue (const ReturnType &returnValue)
 
VMGetVM ()
 
const VMGetVM () const
 
CollectorGetCollector ()
 
const CollectorGetCollector () const
 

Friends

class VM
 
class InvocationStackFrame
 

Constructor & Destructor Documentation

◆ StackFrame() [1/3]

Bond::StackFrame::StackFrame ( VM vm)
inlineexplicit

◆ StackFrame() [2/3]

Bond::StackFrame::StackFrame ( VM vm,
const Function function,
uint8_t *  framePointer,
uint8_t *  stackPointer,
uint8_t *  returnPointer 
)
inline

◆ StackFrame() [3/3]

Bond::StackFrame::StackFrame ( const StackFrame other)
delete

Member Function Documentation

◆ GetArg()

template<typename ArgType >
const ArgType & Bond::StackFrame::GetArg ( size_t  index) const

◆ GetCollector() [1/2]

Collector & Bond::StackFrame::GetCollector ( )
inline

◆ GetCollector() [2/2]

const Collector & Bond::StackFrame::GetCollector ( ) const
inline

◆ GetVM() [1/2]

VM & Bond::StackFrame::GetVM ( )
inline

◆ GetVM() [2/2]

const VM & Bond::StackFrame::GetVM ( ) const
inline

◆ operator=()

StackFrame & Bond::StackFrame::operator= ( const StackFrame other)
delete

◆ SetReturnValue()

template<typename ReturnType >
void Bond::StackFrame::SetReturnValue ( const ReturnType &  returnValue)

Friends And Related Function Documentation

◆ InvocationStackFrame

friend class InvocationStackFrame
friend

◆ VM

friend class VM
friend

The documentation for this class was generated from the following file: