#include <InternFunction.h>
Public Member Functions | |
| const Script * | get_script () const |
| bool | init (const cl7::string_type &definition, const Script *script) |
| bool | validate () const |
| bool | call (VirtualMachine *vm, RuntimeEnvironment *env, Args &args, Value *result, ValueHandler *value_handler) const |
Public Attributes | |
| friend | VirtualMachine |
| bool el7::scripting::InternFunction::call | ( | VirtualMachine * | vm, | |
| RuntimeEnvironment * | env, | |||
| Args & | args, | |||
| Value * | result, | |||
| ValueHandler * | value_handler | |||
| ) | const [virtual] |
Calls the associated native callback function.
Implements el7::scripting::BaseFunction.
| const Script* el7::scripting::InternFunction::get_script | ( | ) | const [inline] |
Returns the script to execute represented by this function.
| bool el7::scripting::InternFunction::init | ( | const cl7::string_type & | definition, | |
| const Script * | script | |||
| ) |
Initializes this function object.
| bool el7::scripting::InternFunction::validate | ( | ) | const [virtual] |
Validates this function object (for debugging purposes).
Implements el7::scripting::BaseFunction.
Reimplemented from el7::scripting::BaseFunction.
1.7.1