C# 클래스 ilcclib.Preprocessor.CPreprocessorInternal

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

공개 프로퍼티들

프로퍼티 타입 설명
WarningAboutAlreadyDefinedMacros bool

공개 메소드들

메소드 설명
CPreprocessorInternal ( string FileName, string Text, CPreprocessorContext Context ) : System

OutputLine ( ) : void
ParseFile ( bool Process = true ) : void

비공개 메소드들

메소드 설명
Expand ( string Text, string>.Dictionary Locals = null, HashSet Used = null ) : string

MapFunctionParameters ( string DeclarationParameters, string CallParameters ) : string>.Dictionary

ParseDirective ( bool Process = true ) : bool

ParseDirectiveDefine ( ) : void

ParseDirectiveError ( ) : void

ParseDirectiveIf ( bool Process ) : void

ParseDirectiveIfdef ( bool Process, bool Affirmative ) : void

ParseDirectiveInclude ( ) : void

ParseDirectivePragma ( ) : void

ParseDirectiveUndef ( ) : void

ParseIdentifier ( CTokenReader Tokens ) : void

TODO: Have to refactor ParseIdentifier + Expact. They have repeated code!!!

ParseParameterList ( CTokenReader Tokens, bool JustIdentifiers = false ) : string[]

ReadTokensUntilEnd ( ) : string
ReadTokensUntilLineEnd ( ) : string

ReplaceSimpleVariable ( string Identifier ) : string

메소드 상세

CPreprocessorInternal() 공개 메소드

public CPreprocessorInternal ( string FileName, string Text, CPreprocessorContext Context ) : System
FileName string
Text string
Context CPreprocessorContext
리턴 System

OutputLine() 공개 메소드

public OutputLine ( ) : void
리턴 void

ParseFile() 공개 메소드

public ParseFile ( bool Process = true ) : void
Process bool
리턴 void

프로퍼티 상세

WarningAboutAlreadyDefinedMacros 공개적으로 프로퍼티

public bool WarningAboutAlreadyDefinedMacros
리턴 bool