RelationInstance Struct Reference
[Compiler]

#include <instance_types.h>

Collaboration diagram for RelationInstance:

Collaboration graph
[legend]

Detailed Description

aligns on 4 or 8 byte ptr machines. size 48/88

Todo:
RelationInstance should probably be pooled, as RealAtomInstance, but isn't yet for the same reasons.


Data Fields

enum inst_t t
VOIDPTR interface_ptr
Instanceparent [2]
TypeDescriptiondesc
unsigned long visited
unsigned long tmp_num
unsigned int anon_flags
enum Expr_enum type
relationptr
gl_list_twhens
gl_list_tlogrels


Field Documentation

struct Instance* RelationInstance::parent[2]

relations can have only two parents and normally they only have one. They have two only during an ARE_THE_SAME

struct TypeDescription* RelationInstance::desc

holds the child list stuff

unsigned long RelationInstance::tmp_num

used when an instance tree is being copied

unsigned int RelationInstance::anon_flags

anonymous field to be manipulated

enum Expr_enum RelationInstance::type

what kind of the 5 possible types of reln type should be down in union RelationUnion

struct relation* RelationInstance::ptr

pointer to an instance relation

struct gl_list_t* RelationInstance::whens

link to whens on which the rel appears

struct gl_list_t* RelationInstance::logrels

link to satified's on which rel appears


The documentation for this struct was generated from the following file:
Generated on Thu Jul 17 04:01:00 2008 for libascend by  doxygen 1.5.1