C# Class Castle.MonoRail.Views.Brail.BrailPreProcessor

Inheritance: Boo.Lang.Compiler.Steps.AbstractCompilerStep
Exibir arquivo Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
Booify ( string code ) : string
BrailPreProcessor ( BooViewEngine booViewEngine ) : System
GetInputCode ( ICompilerInput input ) : string
Run ( ) : void
UnescapeInitialAndClosingDoubleQuotes ( string code ) : string

Private Methods

Method Description
CreateSeperators ( ) : IDictionary
EscapeInitialAndClosingDoubleQuotes ( string code ) : string
GetExpressionsPositions ( string code ) : IList

Will find all the (outer most ${} expressions in the code, and return their positions). Smart enough to figure out $${} escaping, but not much more

GetSeperators ( string code ) : DictionaryEntry
Output ( StringWriter buffer, string code ) : void
OutputExpression ( StringWriter buffer, string code ) : void
OutputText ( StringWriter buffer, string code ) : void
ParentExpressionIsNotValid ( List bracesPositions, int index ) : bool
ShouldPreProcess ( string code ) : bool

Method Details

Booify() public static method

public static Booify ( string code ) : string
code string
return string

BrailPreProcessor() public method

public BrailPreProcessor ( BooViewEngine booViewEngine ) : System
booViewEngine BooViewEngine
return System

GetInputCode() public method

public GetInputCode ( ICompilerInput input ) : string
input ICompilerInput
return string

Run() public method

public Run ( ) : void
return void

UnescapeInitialAndClosingDoubleQuotes() public static method

public static UnescapeInitialAndClosingDoubleQuotes ( string code ) : string
code string
return string