A union of different parameter types for the commands.
Definition at line 110 of file virtualmachine.hpp.
#include <virtualmachine.hpp>
Public Field Index: | |
CallbackDecl | Callback |
A C++ callback function to invoke. | |
PC | Distance |
A distance to jump. | |
Program * | NestedProgram |
The nested virtual machine program to invoke. | |
Box | Value |
A constant value to push to the stack. | |
Public Method Index: | |
OperationParam (Box value) | |
OperationParam (CallbackDecl callback) | |
OperationParam (integer distance) | |
OperationParam (Program *program) | |
CallbackDecl Callback |
A C++ callback function to invoke.
Definition at line 113 of file virtualmachine.hpp.
PC Distance |
A distance to jump.
Definition at line 112 of file virtualmachine.hpp.
Program* NestedProgram |
The nested virtual machine program to invoke.
Definition at line 115 of file virtualmachine.hpp.
Box Value |
A constant value to push to the stack.
Definition at line 114 of file virtualmachine.hpp.
|
inline |
Union constructor.
distance | Stored in Distance. |
Definition at line 121 of file virtualmachine.hpp.
|
inline |
Union constructor.
callback | Stored in Callback. |
Definition at line 129 of file virtualmachine.hpp.
|
inline |
Union constructor.
value | Stored in Value. |
Definition at line 137 of file virtualmachine.hpp.
|
inline |
Union constructor.
program | Stored in NestedProgram. |
Definition at line 145 of file virtualmachine.hpp.