|
| ScriptCompilerListener () |
|
virtual | ~ScriptCompilerListener () |
|
virtual void | handleError (ScriptCompiler *compiler, uint32 code, const String &file, unsigned int line, const String &msg) |
| Called when an error occurred. More...
|
|
virtual bool | handleEvent (ScriptCompiler *compiler, ScriptCompilerEvent *evt, void *retval) |
| Called when an event occurs during translation, return true if handled. More...
|
|
virtual ConcreteNodeListPtr | importFile (ScriptCompiler *compiler, const String &name) |
| Returns the concrete node list from the given file. More...
|
|
virtual bool | postConversion (ScriptCompiler *compiler, const AbstractNodeListPtr &) |
| Allows vetoing of continued compilation after the entire AST conversion process finishes. More...
|
|
virtual void | preConversion (ScriptCompiler *compiler, ConcreteNodeListPtr nodes) |
| Allows for responding to and overriding behavior before a CST is translated into an AST. More...
|
|
This is a listener for the compiler.
The compiler can be customized with this listener. It lets you listen in on events occurring during compilation, hook them, and change the behavior.