X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/b17287deb56775a49030d738d8c8c0e9cd15f9fe..3b10bbd3a88d6e16146414d91d06bb2f36347bfc:/src/tree.h diff --git a/src/tree.h b/src/tree.h index 9d3638f..66d1819 100644 --- a/src/tree.h +++ b/src/tree.h @@ -155,6 +155,11 @@ struct _Variable { Type *vtype; char *id; int line_no; + char *destructor; + int destructor_line; + gboolean destructor_simple; + char *initializer; + int initializer_line; }; union _Node { @@ -180,6 +185,11 @@ Node *new_method(int scope, int method, Type *mtype, char *otype, Node *new_argument(char *gtktype, Type *atype, GList *flags, char *name, char *get, int get_line, char *set, int set_line, int line_no); -Node *new_variable(int scope, Type *vtype, char *id,int line_no); +Node *new_variable(int scope, Type *vtype, char *id, int line_no, + char *destructor, int destructor_line, + gboolean destructor_simple, + char *initializer, int initializer_line); + +Type *copy_type(Type *type); #endif