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

Inheritance: IPreprocessor
Afficher le fichier Open project: Diegoisawesome/AwesomeMapEditor-old

Méthodes publiques

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

Private Methods

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

public AddDefined ( string original ) : void
original string
Résultat void

AddReserved() public méthode

public AddReserved ( string reserved ) : void
reserved string
Résultat void

Preprocessor() public méthode

public Preprocessor ( IMessageLog messageHandler, string predefined ) : System
messageHandler IMessageLog
predefined string
Résultat System

Process() public méthode

public Process ( string path ) : string
path string
Résultat string