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

MacroTokenExpander C Wrapper


CLINK void MacroTokenExpander_addMacro (char *name_, void *regexp_)
CLINK void* MacroTokenExpander_getMacro (char *name_)



Detailed Description

These are the wrapper functions that get called from the C parser code. Each of them will call the corresponding method of the MacroTokenExpander instance pointed to by cw_MacroTokenExpander.

Each parameter will be transformed into its C++ counterpart.

Function Documentation

CLINK void MacroTokenExpander_addMacro ( char * name_,
void * regexp_ )

Definition at line 45 of file

Referenced by yyparse().

CLINK void* MacroTokenExpander_getMacro ( char * name_ )

Definition at line 53 of file

Referenced by yyparse().

Variable Documentation

MacroTokenExpander* cw_macroTokenExpander

This will point to the instance of the MacroTokenExpander class whose methods should actually be called from the parser's C code. It is initialized by the LexYaccParser before the parsing process starts.

Definition at line 52 of file cw_macro_token_expander.h.

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