#include <kite_object.h>
Data Fields | |
enum kite_object_type_t | type |
union { | |
long intvalue | |
double floatvalue | |
struct { | |
int length | |
char * string | |
} stringvalue | |
struct { | |
struct kite_object_t * car | |
struct kite_object_t * cdr | |
struct kite_object_t * iterator | |
} listvalue | |
kite_function_t funcvalue | |
kite_thread_t * threadvalue | |
} | builtin_data |
struct { | |
char * name | |
char * docstring | |
struct kite_object_t * inherit_from | |
kite_symtab_t * properties | |
} | object_data |
Representation of an object/class in the Kite object system.
union { ... } kite_object_t::builtin_data |
Referenced by kite_add_method(), kite_append_list(), kite_boolean_object(), kite_destruct_object_nofree(), kite_float_object(), kite_handle_signal(), kite_int_object(), kite_list_count(), kite_list_object(), kite_new_class(), kite_new_ident(), kite_new_list(), kite_new_method_bytecode(), kite_new_method_compiled(), kite_new_string(), kite_new_string_with_length(), kite_set_arginfo(), kite_string_object(), and kite_vm_call_method().
struct kite_object_t* kite_object_t::car |
Current list element
struct kite_object_t* kite_object_t::cdr |
Next list element
char* kite_object_t::docstring |
Documentation for given class.
Referenced by kite_destruct_object_nofree(), kite_get_docstring(), and kite_set_docstring().
double kite_object_t::floatvalue |
Associated floating-point value.
Referenced by kite_boolean_object(), kite_int_object(), and kite_string_object().
Function value.
Referenced by kite_add_method(), kite_destruct_object_nofree(), kite_new_class(), kite_new_method_bytecode(), kite_new_method_compiled(), and kite_set_arginfo().
Inherited from.
Referenced by kite_destruct_object_nofree(), kite_new_class(), kite_new_instance(), kite_object_name(), kite_reference_object(), kite_set_property(), kite_vm_call_method(), and kite_vm_call_operator().
Associated integer value.
Referenced by kite_boolean_object(), kite_float_object(), kite_int_object(), and kite_string_object().
struct kite_object_t* kite_object_t::iterator |
Current iterator position
String length.
struct { ... } kite_object_t::listvalue |
char* kite_object_t::name |
Name of class.
Referenced by kite_destruct_object_nofree(), kite_new_class(), kite_new_instance(), and kite_object_name().
struct { ... } kite_object_t::object_data |
Referenced by kite_add_method(), kite_add_property(), kite_destruct_object_nofree(), kite_exists_operator(), kite_get_docstring(), kite_new_class(), kite_new_instance(), kite_object_name(), kite_reference_object(), kite_remove_method(), kite_remove_operator(), kite_remove_property(), kite_set_docstring(), kite_set_property(), kite_vm_call_constructor(), kite_vm_call_method(), and kite_vm_call_operator().
Class properties/method.
Referenced by kite_add_method(), kite_add_property(), kite_destruct_object_nofree(), kite_exists_operator(), kite_remove_method(), kite_remove_operator(), kite_remove_property(), kite_vm_call_constructor(), and kite_vm_call_operator().
char* kite_object_t::string |
String value.
struct { ... } kite_object_t::stringvalue |
kite_thread_t* kite_object_t::threadvalue |
Thread value.
The object's type.
Referenced by kite_boolean_object(), kite_copy_symtab_elements(), kite_destruct_object_nofree(), kite_exists_method(), kite_float_object(), kite_gc_destroy_all(), kite_gc_incremental(), kite_int_object(), kite_list_count(), kite_new_class(), kite_new_ident(), kite_new_instance(), kite_new_list(), kite_new_method_bytecode(), kite_new_method_compiled(), kite_new_null(), kite_new_string(), kite_new_string_with_length(), kite_set_property(), kite_string_object(), kite_vm_call_method(), and kite_vm_call_operator().