Rudiments
|
Inherits compilermodule.
Public Member Functions | |
compilerprocessor () | |
virtual | ~compilerprocessor () |
virtual bool | process (xmldomnode *tree, xmldomnode *metadata)=0 |
![]() | |
compilermodule () | |
virtual | ~compilermodule () |
void | setId (const char *id) |
bool | setParameters (const char *parameters) |
void | setParameters (xmldomnode *parameters) |
const char * | getId () |
xmldomnode * | getParameters () |
Additional Inherited Members | |
![]() | |
const char * | id |
xmldomnode * | parameters |
The compilerprocessor class is the base class for compiler modules that process the tree that was built by parsing a unit of code based on a grammar describing its native format.
Processor modules take a tree that represents code in one language or format and alter the tree until it represents code in a different language or format.
compilerprocessor::compilerprocessor | ( | ) |
Creates a new instance of the compilerprocessor class.
|
virtual |
Deletes this instance of the compilerprocessor class.
|
pure virtual |
Processes "tree", writing the result to "output", optionally referring to and/or updating "metadata" during the process. Returns true on success and false on failure.