#include <ValueHandler.h>
Public Member Functions | |
| ValueHandler (void) | |
| ValueHandler (VirtualMachine *vm) | |
| ~ValueHandler (void) | |
| VirtualMachine * | get_vm () const |
| signed | get_code_ref () const |
| void | set_code_ref (signed code_ref) |
| Value * | create_value () |
| Value * | create_void () |
| Value * | create_float (float f) |
| Value * | create_float (float *f) |
| Value * | create_integer (int i) |
| Value * | create_integer (int *i) |
| Value * | create_boolean (bool b) |
| Value * | create_boolean (bool *b) |
| Value * | create_character (cl7::char_type c) |
| Value * | create_character (cl7::char_type *c) |
| Value * | create_string (const cl7::string_type &s) |
| Value * | create_string (cl7::string_type *s) |
| Value * | create_table () |
| Value * | create_function (BaseFunction *f) |
| Value * | create_reference (Value *r) |
| void | set_accessibility (Value *value, Value::Accessibility accessibility) |
| void | swap (Value *dst1, Value *dst2) |
| void | clear (Value *dst) |
| bool | is_compatible (Value::Type type1, Value::Type type2) |
| bool | check_compatible (Value::Type type1, Value::Type type2) |
| void | mov (Value *dst, const Value *src) |
| void | val (Value *dst, const Value *src) |
| bool | is_void (const Value *src) |
| bool | is_float (const Value *src) |
| bool | is_integer (const Value *src) |
| bool | is_boolean (const Value *src) |
| bool | is_character (const Value *src) |
| bool | is_string (const Value *src) |
| bool | is_table (const Value *src) |
| bool | is_function (const Value *src) |
| bool | is_reference (const Value *src) |
| void | cast (Value *dst, const Value *src, Value::Type type) |
| void | cast (Value *dst, Value::Type type) |
| void | cast (Value *dst, const Value *src_obj, const Value *src_type) |
| void | typeof (Value *dst, const Value *src) |
| float | to_float (const Value *src) |
| int | to_integer (const Value *src) |
| bool | to_boolean (const Value *src) |
| cl7::char_type | to_character (const Value *src) |
| cl7::string_type | to_string (const Value *src) |
| void | set_float (Value *dst, float f) |
| void | set_integer (Value *dst, int i) |
| void | set_boolean (Value *dst, bool b) |
| void | set_character (Value *dst, cl7::char_type c) |
| void | set_string (Value *dst, const cl7::string_type &s) |
| Value * | find_table_entry (const Value *src, Symbol symbol) |
| Value * | join_table_entry (Value *dst, Symbol symbol, Value *src) |
| void | clear_table_entry (Value *dst, Symbol symbol) |
| void | for_each (Value *dst, void callback(const Symbol symbol, Value *value, ValueHandler *value_handler)) |
| void | call_function (Value *dst, const Value *src, RuntimeEnvironmentHandler *env_handler) |
| void | call_function (Value *dst, const BaseFunction *function, RuntimeEnvironmentHandler *env_handler) |
| const cl7::string_type & | get_function_definition (const Value *src) |
| const cl7::string_type & | get_function_definition (const BaseFunction *function) |
| Value * | dereference (const Value *src) |
| void | add (Value *dst, const Value *src1, const Value *src2) |
| void | sub (Value *dst, const Value *src1, const Value *src2) |
| void | mul (Value *dst, const Value *src1, const Value *src2) |
| void | div (Value *dst, const Value *src1, const Value *src2) |
| void | mod (Value *dst, const Value *src1, const Value *src2) |
| void | and (Value *dst, const Value *src1, const Value *src2) |
| void | or (Value *dst, const Value *src1, const Value *src2) |
| void | xor (Value *dst, const Value *src1, const Value *src2) |
| void | concat (Value *dst, const Value *src1, const Value *src2) |
| void | neg (Value *dst, const Value *src) |
| void | not (Value *dst, const Value *src) |
| void | eq (Value *dst, const Value *src1, const Value *src2) |
| void | neq (Value *dst, const Value *src1, const Value *src2) |
| void | ls (Value *dst, const Value *src1, const Value *src2) |
| void | gr (Value *dst, const Value *src1, const Value *src2) |
| void | leq (Value *dst, const Value *src1, const Value *src2) |
| void | geq (Value *dst, const Value *src1, const Value *src2) |
| el7::scripting::ValueHandler::ValueHandler | ( | void | ) |
Default constructor.
| el7::scripting::ValueHandler::ValueHandler | ( | VirtualMachine * | vm | ) |
Explicit constructor.
| el7::scripting::ValueHandler::~ValueHandler | ( | void | ) |
Destructor.
| void el7::scripting::ValueHandler::call_function | ( | Value * | dst, | |
| const Value * | src, | |||
| RuntimeEnvironmentHandler * | env_handler | |||
| ) |
| void el7::scripting::ValueHandler::call_function | ( | Value * | dst, | |
| const BaseFunction * | function, | |||
| RuntimeEnvironmentHandler * | env_handler | |||
| ) |
| void el7::scripting::ValueHandler::cast | ( | Value * | dst, | |
| Value::Type | type | |||
| ) |
| void el7::scripting::ValueHandler::cast | ( | Value * | dst, | |
| const Value * | src_obj, | |||
| const Value * | src_type | |||
| ) |
| void el7::scripting::ValueHandler::cast | ( | Value * | dst, | |
| const Value * | src, | |||
| Value::Type | type | |||
| ) |
| bool el7::scripting::ValueHandler::check_compatible | ( | Value::Type | type1, | |
| Value::Type | type2 | |||
| ) |
| void el7::scripting::ValueHandler::clear | ( | Value * | dst | ) |
| Value * el7::scripting::ValueHandler::create_boolean | ( | bool | b | ) |
| Value * el7::scripting::ValueHandler::create_boolean | ( | bool * | b | ) |
| Value * el7::scripting::ValueHandler::create_character | ( | cl7::char_type * | c | ) |
| Value * el7::scripting::ValueHandler::create_character | ( | cl7::char_type | c | ) |
| Value * el7::scripting::ValueHandler::create_float | ( | float | f | ) |
| Value * el7::scripting::ValueHandler::create_float | ( | float * | f | ) |
| Value * el7::scripting::ValueHandler::create_function | ( | BaseFunction * | f | ) |
| Value * el7::scripting::ValueHandler::create_integer | ( | int * | i | ) |
| Value * el7::scripting::ValueHandler::create_integer | ( | int | i | ) |
| Value * el7::scripting::ValueHandler::create_string | ( | const cl7::string_type & | s | ) |
| Value * el7::scripting::ValueHandler::create_string | ( | cl7::string_type * | s | ) |
| Value * el7::scripting::ValueHandler::create_table | ( | ) |
| Value * el7::scripting::ValueHandler::create_value | ( | ) |
| Value * el7::scripting::ValueHandler::create_void | ( | ) |
| void el7::scripting::ValueHandler::for_each | ( | Value * | dst, | |
| void | callbackconst Symbol symbol, Value *value, ValueHandler *value_handler | |||
| ) |
| signed el7::scripting::ValueHandler::get_code_ref | ( | ) | const [inline] |
Returns the code reference position (for error messaging stuff).
| const cl7::string_type & el7::scripting::ValueHandler::get_function_definition | ( | const BaseFunction * | function | ) |
| const cl7::string_type & el7::scripting::ValueHandler::get_function_definition | ( | const Value * | src | ) |
| VirtualMachine* el7::scripting::ValueHandler::get_vm | ( | ) | const [inline] |
Returns the virtual machine.
| bool el7::scripting::ValueHandler::is_boolean | ( | const Value * | src | ) |
| bool el7::scripting::ValueHandler::is_character | ( | const Value * | src | ) |
| bool el7::scripting::ValueHandler::is_compatible | ( | Value::Type | type1, | |
| Value::Type | type2 | |||
| ) |
| bool el7::scripting::ValueHandler::is_float | ( | const Value * | src | ) |
| bool el7::scripting::ValueHandler::is_function | ( | const Value * | src | ) |
| bool el7::scripting::ValueHandler::is_integer | ( | const Value * | src | ) |
| bool el7::scripting::ValueHandler::is_reference | ( | const Value * | src | ) |
| bool el7::scripting::ValueHandler::is_string | ( | const Value * | src | ) |
| bool el7::scripting::ValueHandler::is_table | ( | const Value * | src | ) |
| bool el7::scripting::ValueHandler::is_void | ( | const Value * | src | ) |
| void el7::scripting::ValueHandler::set_accessibility | ( | Value * | value, | |
| Value::Accessibility | accessibility | |||
| ) |
| void el7::scripting::ValueHandler::set_boolean | ( | Value * | dst, | |
| bool | b | |||
| ) |
| void el7::scripting::ValueHandler::set_character | ( | Value * | dst, | |
| cl7::char_type | c | |||
| ) |
| void el7::scripting::ValueHandler::set_code_ref | ( | signed | code_ref | ) | [inline] |
Sets the code reference position (for error messaging stuff).
| void el7::scripting::ValueHandler::set_float | ( | Value * | dst, | |
| float | f | |||
| ) |
| void el7::scripting::ValueHandler::set_integer | ( | Value * | dst, | |
| int | i | |||
| ) |
| void el7::scripting::ValueHandler::set_string | ( | Value * | dst, | |
| const cl7::string_type & | s | |||
| ) |
| bool el7::scripting::ValueHandler::to_boolean | ( | const Value * | src | ) |
| cl7::char_type el7::scripting::ValueHandler::to_character | ( | const Value * | src | ) |
| float el7::scripting::ValueHandler::to_float | ( | const Value * | src | ) |
| int el7::scripting::ValueHandler::to_integer | ( | const Value * | src | ) |
| cl7::string_type el7::scripting::ValueHandler::to_string | ( | const Value * | src | ) |
1.7.1