Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public static FixEventName ( string script, ScriptEngineParser.StateEvent &evt ) : void | ||
script | string | |
evt | ScriptEngineParser.StateEvent | |
Результат | void |
public static GetAllLSLEvents ( ) : List |
||
Результат | List |
public static GetNewLSLEvents ( ) : List |
||
Результат | List |
public LSL2CSCodeTransformer ( |
||
astRoot | The root node of the AST. | |
originalScript | string | The original script that we are converting |
Результат | System.Collections.Generic |
public Transform ( string>.Dictionary |
||
GlobalMethods | string>.Dictionary | |
MethodArguements | ObjectList>.Dictionary | |
Результат |