C# Class Nintenlord.Event_Assembler.Core.Code.Preprocessors.RegexPreprocessor

ファイルを表示 Open project: Diegoisawesome/AwesomeMapEditor-old

Public Methods

Method Description
AddDefined ( string original ) : void
AddReserved ( string reserved ) : void
Process ( string path ) : string
Process ( TextReader input, TextWriter output ) : void
RegexPreprocessor ( IMessageLog messageHandler ) : System

Protected Methods

Method Description
Preprocess ( StringReader reader, string path ) : void
ReplaceComments ( string text ) : string

Private Methods

Method Description
PreprocessorDirective ( string line, string name, string parameters, string path, int lineNumber ) : void
ReplaceMultiLineComment ( Match match ) : 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

Preprocess() protected method

protected Preprocess ( StringReader reader, string path ) : void
reader System.IO.StringReader
path string
return void

Process() public method

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

Process() public method

public Process ( TextReader input, TextWriter output ) : void
input TextReader
output System.IO.TextWriter
return void

RegexPreprocessor() public method

public RegexPreprocessor ( IMessageLog messageHandler ) : System
messageHandler IMessageLog
return System

ReplaceComments() protected method

protected ReplaceComments ( string text ) : string
text string
return string