C# Class ilcclib.Preprocessor.CPreprocessorInternal

Afficher le fichier Open project: soywiz/ilcc Class Usage Examples

Méthodes publiques

Свойство Type Description
WarningAboutAlreadyDefinedMacros bool

Méthodes publiques

Méthode Description
CPreprocessorInternal ( string FileName, string Text, CPreprocessorContext Context ) : System

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

Private Methods

Méthode Description
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

Method Details

CPreprocessorInternal() public méthode

public CPreprocessorInternal ( string FileName, string Text, CPreprocessorContext Context ) : System
FileName string
Text string
Context CPreprocessorContext
Résultat System

OutputLine() public méthode

public OutputLine ( ) : void
Résultat void

ParseFile() public méthode

public ParseFile ( bool Process = true ) : void
Process bool
Résultat void

Property Details

WarningAboutAlreadyDefinedMacros public_oe property

public bool WarningAboutAlreadyDefinedMacros
Résultat bool