Méthode | Description | |
---|---|---|
AddLSLEvent ( EventInfo ev ) : void | ||
FixEventName ( string script, ScriptEngineParser.StateEvent &evt ) : void | ||
GetAllLSLEvents ( ) : List |
||
GetNewLSLEvents ( ) : List |
||
LSL2CSCodeTransformer ( |
Pass the new CodeTransformer an abstract syntax tree.
|
|
Transform ( ) : |
Transform the code in the AST we have.
|
|
Transform ( string>.Dictionary |
Méthode | Description | |
---|---|---|
AddImplicitInitialization ( |
Replaces an instance of the node at s.kids[didx] with an assignment node. The assignment node has the Declaration node on the left hand side and a default initializer on the right hand side.
|
|
GetLocalVariableDictionaryKey ( ) : string | ||
GetZeroConstant ( |
Generates the node structure required to generate a default initialization.
|
|
TransformNode ( |
Recursively called to transform each type of node. Will transform this node, then all it's children.
|
|
TransformNode ( |
Recursively called to transform each type of node. Will transform this node, then all it's children.
|
public static AddLSLEvent ( EventInfo ev ) : void | ||
ev | EventInfo | |
Résultat | void |
public static FixEventName ( string script, ScriptEngineParser.StateEvent &evt ) : void | ||
script | string | |
evt | ScriptEngineParser.StateEvent | |
Résultat | void |
public LSL2CSCodeTransformer ( |
||
astRoot | The root node of the AST. | |
originalScript | string | The original script that we are converting |
Résultat | System.Collections.Generic |
public Transform ( string>.Dictionary |
||
GlobalMethods | string>.Dictionary | |
MethodArguements | ObjectList>.Dictionary | |
Résultat |