Method | Description | |
---|---|---|
Compile ( IList |
||
Compile ( IList |
||
Compile ( IList |
||
Compile ( IList |
Compiles the given abstract syntax tree
|
|
Compile ( String script, String source, String group ) : bool |
Takes in a string of script code and compiles it into resources
|
|
ScriptCompiler ( ) : System |
Method | Description | |
---|---|---|
AddError ( CompileErrorCode code, string file, uint line ) : void | ||
AddError ( CompileErrorCode code, string file, uint line, string msg ) : void |
Adds the given error to the compiler's list of errors
|
|
Compile ( IList |
Compiles resources from the given concrete node list
|
|
InitializeWordMap ( ) : void | ||
_convertToAST ( IList |
||
_fireEvent ( |
||
_fireEvent ( |
Internal method for firing the handleEvent method
|
|
_isNameExcluded ( string cls, |
Returns true if the given class is name excluded
|
|
_loadImportPath ( string name ) : IList |
Loads the requested script and converts it to an AST
|
|
_locateTarget ( IList |
Returns the abstract nodes from the given tree which represent the target
|
|
_overlayObject ( |
||
_processImports ( IList |
This built-in function processes import nodes
|
|
_processObjects ( IList |
Handles object inheritance and variable expansion
|
|
_processVariables ( IList |
Handles processing the variables
|
public Compile ( IList |
||
nodes | IList |
|
group | string | |
return | bool |
public Compile ( IList |
||
nodes | IList |
|
group | string | |
doImports | bool | |
return | bool |
public Compile ( IList |
||
nodes | IList |
|
group | string | |
doImports | bool | |
doObjects | bool | |
return | bool |
public Compile ( IList |
||
nodes | IList |
|
group | string | |
doImports | bool | |
doObjects | bool | |
doVariables | bool | |
return | bool |
public Compile ( String script, String source, String group ) : bool | ||
script | String | The script code |
source | String | The source of the script code (e.g. a script file) |
group | String | The resource group to place the compiled resources into |
return | bool |