C# Class Nintenlord.Event_assembler.Code.Processors.Preprocessor

Inheritance: IPreprocessor
Show file Open project: Diegoisawesome/AwesomeMapEditor-old

Public Methods

Method Description
AddDefined ( string original ) : void
AddReserved ( string reserved ) : void
Preprocessor ( IMessageLog messageHandler, string predefined ) : System
Process ( string path ) : string

Private Methods

Method Description
ApplyDefines ( string &text, int lineNumber, string file, IDefineCollection defCol ) : void
DefineFile ( string path, DefineCollection defCol ) : void
FindFile ( string currentFile, string newFile ) : string
HandleComments ( string &line, bool &blockComment ) : void
InvalidIndex ( int index, int length, int empty ) : bool
IsValidCharacter ( char c ) : bool
IsValidDefinitionName ( string s ) : bool
Preprocess ( TextReader reader, StringBuilder output, IDefineCollection defcol, string currentFile, Stack includeStack ) : void
PreprocessorCommand ( string line, int &lineNumber, Stack include, TextReader reader, IDefineCollection defcol, string currentFile ) : void

Method Details

AddDefined() public method

public AddDefined ( string original ) : void
original string
return void

AddReserved() public method

public AddReserved ( string reserved ) : void
reserved string
return void

Preprocessor() public method

public Preprocessor ( IMessageLog messageHandler, string predefined ) : System
messageHandler IMessageLog
predefined string
return System

Process() public method

public Process ( string path ) : string
path string
return string