C# Класс ilcclib.Preprocessor.CPreprocessorInternal

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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