
/*
 * Copyright (c) 1998 David Stes.
 *
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Library General Public License as published 
 * by the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * $Id: assoc.m,v 1.17 1998/05/26 13:13:58 stes Exp $
 */

extern id t_unknown;
extern id t_void;
extern id t_char;
extern id t_bool;
extern id t_int;
extern id t_long;
extern id t_double;
extern id t_str;
extern id t_sel;
extern id t_id;

@interface Type : Node
{
  id specs, decl;
  BOOL isstatic;
  BOOL isextern;
  BOOL haslistinit;
}

+ commontypes;
- specs;
- specs:aList;
- abstrspecs:aList;
- addspec:aSpec;
- decl;
- decl:aDecl;
- abstrdecl:aDecl;
- (BOOL)isstatic;
- (BOOL)isextern;
- (BOOL)haslistinit;
- (BOOL)definesocu;
- isstatic:(BOOL)flag;
- isextern:(BOOL)flag;
- haslistinit:(BOOL)flag;
- gen;
- gendef:sym;
- genabstrtype;

- max:aType;
- (unsigned)hash;
- (BOOL)isEqual:x;

- (BOOL)isid;
- (BOOL)isvoid;
- (BOOL)canforward;
- (BOOL)isselptr;

- dot:sym;
- star;
- funcall;
- ampersand;

@end
 
