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

Inheritance: Boo.Lang.Compiler.Steps.AbstractCompilerStep
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

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

Private Methods

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

public static Booify ( string code ) : string
code string
Résultat string

BrailPreProcessor() public méthode

public BrailPreProcessor ( BooViewEngine booViewEngine ) : System
booViewEngine BooViewEngine
Résultat System

GetInputCode() public méthode

public GetInputCode ( ICompilerInput input ) : string
input ICompilerInput
Résultat string

Run() public méthode

public Run ( ) : void
Résultat void

UnescapeInitialAndClosingDoubleQuotes() public static méthode

public static UnescapeInitialAndClosingDoubleQuotes ( string code ) : string
code string
Résultat string