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

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

Public Methods

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

Private Methods

Method Description
ApplyDefines ( string parameter, DefineCollection defcol, bool firstParam ) : string
ApplyDefines ( string text, DefineCollection defCol ) : string[]
InvalidIndex ( int index, int length, int empty ) : bool
Preprocess ( string text, DefineCollection defCol, string path ) : string[]
Preprocess ( TextReader reader, string file, DefineCollection defCol, ICollection lines, Stack ifStack ) : void
RemoveComments ( string text ) : string
SplitToParameters ( string lines ) : string[][]

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

OldPreprocessor() public method

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

Process() public method

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