C# 클래스 Universe.ScriptEngine.VirtualScript.CompilerTools.Compiler

파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllowedCompilers IScriptConverter>.Dictionary
firstStartup bool

공개 메소드들

메소드 설명
AddError ( string error ) : void
AddWarning ( string warning ) : void
ClearErrors ( ) : void
Compiler ( ScriptEngine scriptEngine ) : System
FindConverterForScript ( string Script ) : IScriptConverter
FindDefaultStateForScript ( string Script ) : string
GetErrors ( ) : string[]
GetWarnings ( ) : string[]
PerformInMemoryScriptCompile ( string Script, UUID itemID ) : void

Converts script (if needed) and compiles into memory

PerformScriptCompile ( string script, UUID ownerUUID, string &assembly ) : void

Converts script (if needed) and compiles

ReadConfig ( ) : void
RecreateDirectory ( ) : void
TestScripts ( ) : void

비공개 메소드들

메소드 설명
CheckAssembly ( string assembly, int i ) : string
CheckDirectories ( string assembly, UUID itemID ) : string
CheckLanguageAndConvert ( string Script, UUID ownerID, IScriptConverter &converter, string &compileScript ) : void
CompileFromDotNetText ( string script, IScriptConverter converter, string assembly, string originalScript, bool inMemory ) : void

Compile .NET script to .Net assembly (.dll)

FindDefaultCompiler ( ) : void
FinishCompile ( ScriptData scriptData, IScript Script ) : void
MakeFilePrefixSafe ( ) : void
SetupApis ( ) : void
SetupCompilers ( ) : void

메소드 상세

AddError() 공개 메소드

public AddError ( string error ) : void
error string
리턴 void

AddWarning() 공개 메소드

public AddWarning ( string warning ) : void
warning string
리턴 void

ClearErrors() 공개 메소드

public ClearErrors ( ) : void
리턴 void

Compiler() 공개 메소드

public Compiler ( ScriptEngine scriptEngine ) : System
scriptEngine ScriptEngine
리턴 System

FindConverterForScript() 공개 메소드

public FindConverterForScript ( string Script ) : IScriptConverter
Script string
리턴 IScriptConverter

FindDefaultStateForScript() 공개 메소드

public FindDefaultStateForScript ( string Script ) : string
Script string
리턴 string

GetErrors() 공개 메소드

public GetErrors ( ) : string[]
리턴 string[]

GetWarnings() 공개 메소드

public GetWarnings ( ) : string[]
리턴 string[]

PerformInMemoryScriptCompile() 공개 메소드

Converts script (if needed) and compiles into memory
public PerformInMemoryScriptCompile ( string Script, UUID itemID ) : void
Script string
itemID UUID
리턴 void

PerformScriptCompile() 공개 메소드

Converts script (if needed) and compiles
public PerformScriptCompile ( string script, UUID ownerUUID, string &assembly ) : void
script string LSL script
ownerUUID UUID
assembly string
리턴 void

ReadConfig() 공개 메소드

public ReadConfig ( ) : void
리턴 void

RecreateDirectory() 공개 메소드

public RecreateDirectory ( ) : void
리턴 void

TestScripts() 공개 메소드

public TestScripts ( ) : void
리턴 void

프로퍼티 상세

AllowedCompilers 공개적으로 프로퍼티

public Dictionary AllowedCompilers
리턴 IScriptConverter>.Dictionary

firstStartup 공개적으로 프로퍼티

public bool firstStartup
리턴 bool