#include <Script.h>
Public Member Functions | |
| const cl7::string_type & | get_source () const |
| const bytecode::Bytecode & | get_bytecode () const |
| VirtualMachine * | get_vm () const |
| bool | run (RuntimeEnvironment *env) |
| bool | dump () const |
Public Attributes | |
| friend | VirtualMachine |
Represents a runable script consisting of a number of instructions.
| bool el7::scripting::Script::dump | ( | ) | const |
Dumps the bytecode of this script.
| const bytecode::Bytecode& el7::scripting::Script::get_bytecode | ( | ) | const [inline] |
Returns the bytecode holding the instructions of the script code.
| const cl7::string_type& el7::scripting::Script::get_source | ( | ) | const [inline] |
Returns the source code specifying the script code.
| VirtualMachine* el7::scripting::Script::get_vm | ( | ) | const [inline] |
Returns the all managing virtual machine.
| bool el7::scripting::Script::run | ( | RuntimeEnvironment * | env | ) |
Executes this script by running in the given runtime environment. (See also VirtualMachine::run_script.)
1.7.1