C# 클래스 Patcher.Rules.RuleCompiler

파일 보기 프로젝트 열기: unforbidable/patcher 1 사용 예제들

공개 메소드들

메소드 설명
Add ( RuleEntry entry, RuleMetadata metadata, bool debug ) : void
CompileAll ( ) : bool
GetCompilerErrorHint ( CompilerError error ) : string
GetIllegalCodeTokens ( ) : IEnumerable
RuleCompiler ( RuleEngine engine, string pluginFileName ) : System

비공개 메소드들

메소드 설명
CheckIllegalTokens ( string code ) : void
EnsureMethodsExist ( string methods ) : bool
GetMethod ( Type type, string name ) : MethodInfo
LoadMethodsFromAssembly ( Assembly assembly ) : void
PreprocessCode ( string code ) : string
StripBlanks ( string text ) : string
StripComments ( string text ) : string
StripDebug ( string code ) : string
StripStrings ( string text ) : string
TrimLines ( string text ) : string
ValidateCachedAssemblyVersion ( string path ) : bool

메소드 상세

Add() 공개 메소드

public Add ( RuleEntry entry, RuleMetadata metadata, bool debug ) : void
entry RuleEntry
metadata RuleMetadata
debug bool
리턴 void

CompileAll() 공개 메소드

public CompileAll ( ) : bool
리턴 bool

GetCompilerErrorHint() 공개 정적인 메소드

public static GetCompilerErrorHint ( CompilerError error ) : string
error CompilerError
리턴 string

GetIllegalCodeTokens() 공개 정적인 메소드

public static GetIllegalCodeTokens ( ) : IEnumerable
리턴 IEnumerable

RuleCompiler() 공개 메소드

public RuleCompiler ( RuleEngine engine, string pluginFileName ) : System
engine RuleEngine
pluginFileName string
리턴 System