C# 클래스 AGS.CScript.Compiler.Preprocessor

상속: IPreprocessor
파일 보기 프로젝트 열기: adventuregamestudio/ags

공개 메소드들

메소드 설명
DefineMacro ( string name, string value ) : void
Preprocess ( string script, string scriptName ) : string

Preprocesses the script and returns the results. State is preserved between calls, which allows you to preprocess header files and then the main script in multiple calls.

비공개 메소드들

메소드 설명
DeletingCurrentLine ( ) : bool
FindIndexOfMatchingCharacter ( string text, int indexOfFirstSpeechMark, char charToMatch ) : int
GetNextWord ( string &text ) : string
GetNextWord ( string &text, bool trimText, bool includeDots ) : string
PreProcessDirective ( string line ) : string
PreProcessLine ( string lineToProcess ) : string
Preprocessor ( string applicationVersion ) : System
ProcessConditionalDirective ( string directive, string line, CompileResults results ) : void
RecordError ( ErrorCode errorCode, string message ) : void
RemoveComments ( string text ) : string

메소드 상세

DefineMacro() 공개 메소드

public DefineMacro ( string name, string value ) : void
name string
value string
리턴 void

Preprocess() 공개 메소드

Preprocesses the script and returns the results. State is preserved between calls, which allows you to preprocess header files and then the main script in multiple calls.
public Preprocess ( string script, string scriptName ) : string
script string
scriptName string
리턴 string