]> git.draconx.ca Git - gob-dx.git/blobdiff - src/tree.h
Release 0.91.0
[gob-dx.git] / src / tree.h
index 348cb8a77b1bd7ef9f3462058f951a30d5fa994e..f6b8cafa193b69982bb585f2c9cbb25a233285f8 100644 (file)
@@ -96,6 +96,7 @@ struct _Argument {
        int get_line;
        GString *set;
        int set_line;
+       int line_no;
 };
        
 /*scope type*/
@@ -105,8 +106,11 @@ enum {
        INIT_METHOD,
        CLASS_INIT_METHOD,
        VIRTUAL_METHOD,
+       PRIVATE_VIRTUAL_METHOD,
        SIGNAL_LAST_METHOD,
        SIGNAL_FIRST_METHOD,
+       PRIVATE_SIGNAL_LAST_METHOD,
+       PRIVATE_SIGNAL_FIRST_METHOD,
        OVERRIDE_METHOD
 };
 
@@ -123,6 +127,7 @@ struct _Method {
        GString *cbuf;
        int line_no;
        int ccode_line;
+       int vararg;
 };
 
 typedef struct _Variable Variable;
@@ -131,6 +136,7 @@ struct _Variable {
        int scope;
        Type *vtype;
        char *id;
+       int line_no;
 };
 
 union _Node {
@@ -149,8 +155,8 @@ Node *new_class(char *otype, char *ptype, GList *nodes);
 Node *new_type(int stars, char *name);
 Node *new_check(int chtype, char *number);
 Node *new_funcarg(Type *atype, char *name, GList *checks);
-Node *new_method(int scope, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, GString *cbuf,int line_no,int ccode_line);
-Node *new_argument(char *gtktype, GList *flags, char *name, GString *get, int get_line, GString *set, int set_line);
-Node *new_variable(int scope, Type *vtype, char *id);
+Node *new_method(int scope, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, GString *cbuf,int line_no,int ccode_line, int vararg);
+Node *new_argument(char *gtktype, GList *flags, char *name, GString *get, int get_line, GString *set, int set_line, int line_no);
+Node *new_variable(int scope, Type *vtype, char *id,int line_no);
 
 #endif