Метод | Описание | |
---|---|---|
HandleError ( |
Called when an error occurred
|
|
HandleEvent ( |
Called when an event occurs during translation, return true if handled This function is called from the translators when an event occurs that that can be responded to. Often this is overriding names, or it can be a request for custom resource creation. |
|
ImportFile ( |
Returns the concrete node list from the given file
|
|
PostConversion ( |
Allows vetoing of continued compilation after the entire AST conversion process finishes Once the script is turned completely into an AST, including import and override handling, this function allows a listener to exit the compilation process. |
|
PreConversion ( |
Allows for responding to and overriding behavior before a CST is translated into an AST
|
public HandleError ( |
||
compiler | A reference to the compiler | |
err | ||
Результат | void |
public HandleEvent ( |
||
compiler | A reference to the compiler | |
evt | The event object holding information about the event to be processed | |
retVal | object | A possible return value from handlers |
Результат | bool |
public ImportFile ( |
||
compiler | A reference to the compiler | |
name | String | |
Результат | IList |
public PostConversion ( |
||
compiler | A reference to the compiler | |
nodes | IList |
|
Результат | bool |
public PreConversion ( |
||
compiler | A reference to the compiler | |
nodes | IList |
|
Результат | void |