kite_object_t Struct Reference

#include <kite_object.h>


Public Types

enum  {
  OBJ_NULL, OBJ_INTEGER, OBJ_FLOAT, OBJ_STRING,
  OBJ_IDENT, OBJ_LIST, OBJ_BOOLEAN, OBJ_METHOD,
  OBJ_CLASS, OBJ_INSTANCE
}

Data Fields

enum kite_object_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


Detailed Description

Representation of an object/class in the Kite object system.
See also:
struct kite_thread_t

struct kite_function_t

struct kite_symtab_t


Member Enumeration Documentation

anonymous enum

Enumerator:
OBJ_NULL  The null object.
OBJ_INTEGER  Integer object.
OBJ_FLOAT  Floating-point object.
OBJ_STRING  String object.
OBJ_IDENT  Identifier object.
OBJ_LIST  List object.
OBJ_BOOLEAN  Boolean object.
OBJ_METHOD  Method object.
OBJ_CLASS  Class object.
OBJ_INSTANCE  Instance object.


Field Documentation

enum { ... } kite_object_t::type

Associated floating-point value.

Referenced by kite_boolean_object(), kite_int_object(), kite_new_float(), and kite_string_object().

String length.

String value.

Current list element

Next list element

Current iterator position

struct { ... } kite_object_t::listvalue

Thread value.

Documentation for given class.

Referenced by kite_destruct_object_nofree(), kite_get_docstring(), and kite_set_docstring().


The documentation for this struct was generated from the following file:

Generated on Sun Mar 1 20:15:33 2009 for Kite by  doxygen 1.5.6