Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / gcc / objc / objc-tree.def
1 /* This file contains the definitions and documentation for the
2    additional tree codes used in the Objective C front end (see tree.def
3    for the standard codes).
4    Copyright (C) 1990, 1997 Free Software Foundation, Inc.
5
6 This file is part of GNU CC.
7
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA.  */
22
23
24 /* Objective-C types.  */
25 DEFTREECODE (CLASS_INTERFACE_TYPE, "class_interface_type", 't', 0)
26 DEFTREECODE (CLASS_IMPLEMENTATION_TYPE, "class_implementation_type", 't', 0)
27 DEFTREECODE (CATEGORY_INTERFACE_TYPE, "category_interface_type", 't', 0)
28 DEFTREECODE (CATEGORY_IMPLEMENTATION_TYPE,"category_implementation_type",'t',0)
29 DEFTREECODE (PROTOCOL_INTERFACE_TYPE, "protocol_interface_type", 't', 0)
30
31 /* Objective-C decls.  */
32 DEFTREECODE (KEYWORD_DECL, "keyword_decl", 'd', 0)
33 DEFTREECODE (INSTANCE_METHOD_DECL, "instance_method_decl", 'd', 0)
34 DEFTREECODE (CLASS_METHOD_DECL, "class_method_decl", 'd', 0)
35
36 /* Objective-C constants.  */
37 DEFTREECODE (OBJC_STRING_CST, "objc_string_cst", 'c', 3)