OpenSim
|
Public Member Functions | |
CSCodeGenerator () | |
Keep a record of the previous node when we do the parsing. More... | |
CSCodeGenerator (IScriptModuleComms comms, bool insertCoopTerminationChecks) | |
string | Convert (string script) |
Generate the code from the AST we have. More... | |
string[] | GetWarnings () |
Get the set of warnings generated during compilation. More... | |
Properties | |
Dictionary< KeyValuePair< int, int >, KeyValuePair< int, int > > | PositionMap [get] |
Get the mapping between LSL and C# line/column number. More... | |
SYMBOL | ASTRoot [get] |
Get the mapping between LSL and C# line/column number. More... | |
Definition at line 38 of file CSCodeGenerator.cs.
|
inline |
Keep a record of the previous node when we do the parsing.
We do this here because the parser generated by CSTools does not retain a reference to its parent node. The previous node is required so we can correctly insert co-op termination checks when required.
Creates an 'empty' CSCodeGenerator instance.
Definition at line 66 of file CSCodeGenerator.cs.
|
inline |
Definition at line 72 of file CSCodeGenerator.cs.
|
inline |
Generate the code from the AST we have.
script | The LSL source as a string. |
Implements OpenSim.Region.ScriptEngine.Shared.CodeTools.ICodeConverter.
Definition at line 114 of file CSCodeGenerator.cs.
|
inline |
Get the set of warnings generated during compilation.
Implements OpenSim.Region.ScriptEngine.Shared.CodeTools.ICodeConverter.
Definition at line 189 of file CSCodeGenerator.cs.
|
get |
Get the mapping between LSL and C# line/column number.
Definition at line 93 of file CSCodeGenerator.cs.
|
get |
Get the mapping between LSL and C# line/column number.
Definition at line 84 of file CSCodeGenerator.cs.