Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

cw_iparser_spec.h

Go to the documentation of this file.
00001 /*
00002  *  File:       cw_iparser_spec.h
00003  *              $Id: cw_iparser_spec.h,v 1.2 2002/06/13 11:36:26 alec Exp $
00004  *
00005  *  Author:     Alec Panovici (alecu@email.com)
00006  * 
00007  *  Comments:
00008  *
00009  *  Revision history:
00010  *
00011  *  $Log: cw_iparser_spec.h,v $
00012  *  Revision 1.2  2002/06/13 11:36:26  alec
00013  *  added #line stuff
00014  *
00015  *  Revision 1.1  2002/05/08 18:16:53  alec
00016  *  *** empty log message ***
00017  *
00018  */
00019 
00020 
00021 /*
00022   Copyright (C) 2002 Alexandru Panoviciu (alecu@email.com)
00023 
00024   This program is free software; you can redistribute it and/or modify
00025   it under the terms of the GNU General Public License as published by
00026   the Free Software Foundation; either version 2 of the License, or
00027   (at your option) any later version.
00028 
00029   This program is distributed in the hope that it will be useful,
00030   but WITHOUT ANY WARRANTY; without even the implied warranty of
00031   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00032   GNU General Public License for more details.
00033 
00034   You should have received a copy of the GNU General Public License
00035   along with this program; if not, write to the Free Software
00036   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00037 
00038  */
00039 
00040 #ifndef __CW_IPARSER_SPEC_H__
00041 #define __CW_IPARSER_SPEC_H__
00042 
00043 #if defined __cplusplus
00044 
00045 class IParserSpec;
00046 
00053 extern IParserSpec *cw_parserSpec;
00054 
00055 #define CLINK extern "C"
00056 
00057 #else
00058 
00059 #define CLINK
00060 
00061 #endif
00062 
00063 #include "cw_misc.h"
00064 
00065 
00080 CLINK void IParserSpec_addProduction (char *name,
00081                                       char *retTypeName, int lineTypeLine,
00082                                       char *formalArgs, int lineArgsLine,
00083                                       char *exceptList, int exceptListLine,
00084                                       char *preambleCode, int preambleCodeLine,
00085                                       void *expansion);
00086 
00087 CLINK void IParserSpec_setPreambleCode (char *block);
00088 
00089 CLINK void IParserSpec_setClassName (char *className);
00090 
00091 CLINK void IParserSpec_setInheritance (char *inheritance);
00092 
00093 CLINK void IParserSpec_addCodeBlock (char *block);
00094 
00095 /* @} */
00096 
00097 #endif /* #ifndef __CW_IPARSER_SPEC_H__ */

Generated at Tue Jul 9 21:05:43 2002 for CppCC by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001