xref: /openbsd-src/gnu/gcc/gcc/objc/objc-tree.def (revision 404b540a9034ac75a6199ad1a32d1bbc7a0d4210)
1*404b540aSrobert/* This file contains the definitions and documentation for the
2*404b540aSrobert   additional tree codes used in the Objective C front end (see tree.def
3*404b540aSrobert   for the standard codes).
4*404b540aSrobert   Copyright (C) 1990, 1997, 1998, 1999, 2000, 2001, 2003, 2004
5*404b540aSrobert   Free Software Foundation, Inc.
6*404b540aSrobert
7*404b540aSrobertThis file is part of GCC.
8*404b540aSrobert
9*404b540aSrobertGCC is free software; you can redistribute it and/or modify
10*404b540aSrobertit under the terms of the GNU General Public License as published by
11*404b540aSrobertthe Free Software Foundation; either version 2, or (at your option)
12*404b540aSrobertany later version.
13*404b540aSrobert
14*404b540aSrobertGCC is distributed in the hope that it will be useful,
15*404b540aSrobertbut WITHOUT ANY WARRANTY; without even the implied warranty of
16*404b540aSrobertMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17*404b540aSrobertGNU General Public License for more details.
18*404b540aSrobert
19*404b540aSrobertYou should have received a copy of the GNU General Public License
20*404b540aSrobertalong with GCC; see the file COPYING.  If not, write to
21*404b540aSrobertthe Free Software Foundation, 51 Franklin Street, Fifth Floor,
22*404b540aSrobertBoston, MA 02110-1301, USA.  */
23*404b540aSrobert
24*404b540aSrobert
25*404b540aSrobert/* Objective-C types.  */
26*404b540aSrobertDEFTREECODE (CLASS_INTERFACE_TYPE, "class_interface_type", tcc_type, 0)
27*404b540aSrobertDEFTREECODE (CLASS_IMPLEMENTATION_TYPE, "class_implementation_type",
28*404b540aSrobert	     tcc_type, 0)
29*404b540aSrobertDEFTREECODE (CATEGORY_INTERFACE_TYPE, "category_interface_type", tcc_type, 0)
30*404b540aSrobertDEFTREECODE (CATEGORY_IMPLEMENTATION_TYPE,"category_implementation_type",
31*404b540aSrobert	     tcc_type, 0)
32*404b540aSrobertDEFTREECODE (PROTOCOL_INTERFACE_TYPE, "protocol_interface_type", tcc_type, 0)
33*404b540aSrobert
34*404b540aSrobert/* Objective-C decls.  */
35*404b540aSrobertDEFTREECODE (KEYWORD_DECL, "keyword_decl", tcc_declaration, 0)
36*404b540aSrobertDEFTREECODE (INSTANCE_METHOD_DECL, "instance_method_decl", tcc_declaration, 0)
37*404b540aSrobertDEFTREECODE (CLASS_METHOD_DECL, "class_method_decl", tcc_declaration, 0)
38*404b540aSrobert
39*404b540aSrobert/* Objective-C expressions.  */
40*404b540aSrobertDEFTREECODE (MESSAGE_SEND_EXPR, "message_send_expr", tcc_expression, 3)
41*404b540aSrobertDEFTREECODE (CLASS_REFERENCE_EXPR, "class_reference_expr", tcc_expression, 1)
42*404b540aSrobert
43*404b540aSrobert/*
44*404b540aSrobertLocal variables:
45*404b540aSrobertmode:c
46*404b540aSrobertEnd:
47*404b540aSrobert*/
48