C# Class ilcclib.Preprocessor.CPreprocessor

Datei anzeigen Open project: soywiz/ilcc Class Usage Examples

Public Methods

Method Description
CPreprocessor ( IIncludeReader IncludeReader = null, TextWriter TextWriter = null ) : System
EvaluateExpression ( string Line ) : int
PreprocessString ( string Text, string FileName = "<unknown>" ) : void
RemoveComments ( string Input ) : string
ReplaceNonSpaceWithSpaces ( string Text ) : string

Method Details

CPreprocessor() public method

public CPreprocessor ( IIncludeReader IncludeReader = null, TextWriter TextWriter = null ) : System
IncludeReader IIncludeReader
TextWriter System.IO.TextWriter
return System

EvaluateExpression() public method

public EvaluateExpression ( string Line ) : int
Line string
return int

PreprocessString() public method

public PreprocessString ( string Text, string FileName = "<unknown>" ) : void
Text string
FileName string
return void

RemoveComments() public static method

public static RemoveComments ( string Input ) : string
Input string
return string

ReplaceNonSpaceWithSpaces() public static method

public static ReplaceNonSpaceWithSpaces ( string Text ) : string
Text string
return string