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,
48 typedef union _Node Node;
50 typedef struct _CCode CCode;
58 typedef struct _Class Class;
61 char *otype; /*this object class type*/
62 char *ptype; /*parent class type*/
66 typedef struct _Type Type;
85 typedef struct _Check Check;
92 typedef struct _FuncArg FuncArg;
100 typedef struct _Argument Argument;
133 typedef struct _Method Method;
136 int scope; /* scope type */
137 int method; /* method type */
139 char *otype; /*for override methods*/
140 GList *gtktypes; /*GTK types for a signal*/
141 GList *flags; /* GTK_RUN_* flags for a signal */
151 typedef struct _Variable Variable;
171 Node *new_ccode(int cctype, char *cbuf, int line_no);
172 Node *new_class(char *otype, char *ptype, GList *nodes);
173 Node *new_type(int stars, char *name, char *postfix);
174 Node *new_check(int chtype, char *number);
175 Node *new_funcarg(Type *atype, char *name, GList *checks);
176 Node *new_method(int scope, int method, Type *mtype, char *otype,
177 GList *gtktypes, GList *flags, char *id, GList *args,
178 char *onerror, char *cbuf, int line_no, int ccode_line,
180 Node *new_argument(char *gtktype, Type *atype, GList *flags, char *name,
181 char *get, int get_line, char *set, int set_line,
183 Node *new_variable(int scope, Type *vtype, char *id,int line_no);