2 * Copyright (C) 1999 the Free Software Foundation.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
38 typedef union _Node Node;
40 typedef struct _CCode CCode;
48 typedef struct _Class Class;
51 char *otype; /*this object class type*/
52 char *ptype; /*parent class type*/
56 typedef struct _Type Type;
75 typedef struct _Check Check;
82 typedef struct _FuncArg FuncArg;
90 typedef struct _Argument Argument;
123 typedef struct _Method Method;
126 int scope; /* scope type */
127 int method; /* method type */
129 char *otype; /*for override methods*/
130 GList *gtktypes; /*GTK types for a signal*/
140 typedef struct _Variable Variable;
160 Node *new_ccode(int header, char *cbuf, int line_no);
161 Node *new_class(char *otype, char *ptype, GList *nodes);
162 Node *new_type(int stars, char *name, char *postfix);
163 Node *new_check(int chtype, char *number);
164 Node *new_funcarg(Type *atype, char *name, GList *checks);
165 Node *new_method(int scope, int method, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, char *cbuf,int line_no,int ccode_line, int vararg);
166 Node *new_argument(char *gtktype, Type *atype, GList *flags, char *name, char *get, int get_line, char *set, int set_line, int line_no);
167 Node *new_variable(int scope, Type *vtype, char *id,int line_no);