#include <macro_token_expander.hh>
Collaboration diagram for MacroTokenExpander:
Public Types | |
typedef struct MacroTokenExpander::t_MacroDef | MacroDef |
Public Methods | |
void | addMacro (const string &name, ReNode *regexp, const Position &pos) |
ReNode* | getMacro (const string &name) throw (ParseException) |
Private Attributes | |
map<string, MacroDef> | macros |
Definition at line 60 of file macro_token_expander.hh.
|
Referenced by addMacro().
|
|
Adds a new macro token definition. If the name already exists, it i overwritten and a warning is printed. Definition at line 43 of file macro_token_expander.cc. Referenced by MacroTokenExpander_addMacro().
|
|
Returns the expansion of the macro token with the given name.
Definition at line 55 of file macro_token_expander.cc. Referenced by MacroTokenExpander_getMacro().
|
|
Definition at line 97 of file macro_token_expander.hh. |