C# Class Universe.ScriptEngine.VirtualScript.CompilerTools.MRMConverter

Inheritance: IScriptConverter
Datei anzeigen Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
Compile ( CompilerParameters parameters, bool isFile, string Script ) : CompilerResults
Convert ( string Script, string &CompiledScript, object &PositionMap ) : void
Dispose ( ) : void
FindErrorLine ( CompilerError CompErr, object PositionMap, string script, int &LineN, int &CharN ) : void
FinishCompile ( IScriptModulePlugin plugin, ScriptData data, IScript Script ) : void
GetGlobalEnvironment ( IScriptModulePlugin plugin, ScriptData data, uint localID, IWorld &world, IHost &host ) : void
Initialize ( Compiler compiler ) : void
InitializeMRM ( IScriptModulePlugin plugin, ScriptData data, MRMBase mmb, uint localID, UUID itemID ) : void

Private Methods

Method Description
ConvertMRMKeywords ( string script ) : string
CreateCompilerScript ( string compileScript ) : string

Method Details

Compile() public method

public Compile ( CompilerParameters parameters, bool isFile, string Script ) : CompilerResults
parameters System.CodeDom.Compiler.CompilerParameters
isFile bool
Script string
return System.CodeDom.Compiler.CompilerResults

Convert() public method

public Convert ( string Script, string &CompiledScript, object &PositionMap ) : void
Script string
CompiledScript string
PositionMap object
return void

Dispose() public method

public Dispose ( ) : void
return void

FindErrorLine() public method

public FindErrorLine ( CompilerError CompErr, object PositionMap, string script, int &LineN, int &CharN ) : void
CompErr CompilerError
PositionMap object
script string
LineN int
CharN int
return void

FinishCompile() public method

public FinishCompile ( IScriptModulePlugin plugin, ScriptData data, IScript Script ) : void
plugin IScriptModulePlugin
data ScriptData
Script IScript
return void

GetGlobalEnvironment() public method

public GetGlobalEnvironment ( IScriptModulePlugin plugin, ScriptData data, uint localID, IWorld &world, IHost &host ) : void
plugin IScriptModulePlugin
data ScriptData
localID uint
world IWorld
host IHost
return void

Initialize() public method

public Initialize ( Compiler compiler ) : void
compiler Compiler
return void

InitializeMRM() public method

public InitializeMRM ( IScriptModulePlugin plugin, ScriptData data, MRMBase mmb, uint localID, UUID itemID ) : void
plugin IScriptModulePlugin
data ScriptData
mmb Universe.ScriptEngine.VirtualScript.MiniModule.MRMBase
localID uint
itemID UUID
return void