4#ifndef RUDIMENTS_COMPILER_H
5#define RUDIMENTS_COMPILER_H
7#include <rudiments/private/compilerincludes.h>
95 const char *classname,
106 const char *classname,
108 const char *parameters);
129 const char *classname,
140 const char *classname,
142 const char *parameters);
163 const char *classname,
174 const char *classname,
176 const char *parameters);
190 const char *startsymbol);
254 #include <rudiments/private/compiler.h>
linkedlist< char * > * getModulePaths()
void setMetaData(domnode *metadata)
linkedlist< compilermodule * > * getPreProcessors()
bool setOutputGrammar(const char *grammar)
linkedlist< compilermodule * > * getPostProcessors()
void clearPreProcessors()
bool appendPostProcessor(const char *filename, const char *classname, const char *id, domnode *parameters)
bool appendPreProcessor(const char *filename, const char *classname, const char *id, const char *parameters)
linkedlist< compilermodule * > * getProcessors()
bool process(domnode *root)
bool appendPreProcessor(const char *filename, const char *classname, const char *id, domnode *parameters)
bool appendPostProcessor(const char *filename, const char *classname, const char *id, const char *parameters)
void clearPostProcessors()
void appendPostProcessor(compilerpostprocessor *module)
bool appendProcessor(const char *filename, const char *classname, const char *id, const char *parameters)
void setDebugLevel(uint8_t debuglevel)
bool appendProcessor(const char *filename, const char *classname, const char *id, domnode *parameters)
void appendProcessor(compilerprocessor *module)
bool setInputGrammar(const char *grammar, const char *startsymbol)
bool compile(const char *input, stringbuffer *output)
void appendModulePath(const char *path)
void appendPreProcessor(compilerpreprocessor *module)
Definition compiler.h:262
bool setParameters(const char *parameters)
virtual ~compilermodule()
void setId(const char *id)
void setParameters(domnode *parameters)
domnode * getParameters()
Definition compiler.h:351
virtual bool process(const char *input, stringbuffer *output, domnode *metadata)=0
virtual ~compilerpostprocessor()
Definition compiler.h:301
virtual ~compilerpreprocessor()
virtual bool process(const char *input, stringbuffer *output, domnode *metadata)=0
Definition compiler.h:326
virtual ~compilerprocessor()
virtual bool process(domnode *tree, domnode *metadata)=0
Definition linkedlist.h:47
Definition stringbuffer.h:13