C# Class Rebel.Framework.Localization.Processing.PatternDialect

A pattern dialect consist of a parser that understands a specific grammar and factories for value formaters, parameter evaluators and switch case evaluators when the parsed AST is decorated
Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode Description
GetEvaluator ( string pattern, TextManager manager ) : PatternEvaluator
GetParameterEvaluator ( ParameterSpec spec, TextManager manager ) : IParameterEvaluator
GetSwitchConditionEvaluator ( Expression expr, TextManager manager ) : ISwitchConditionEvaluator
GetValueFormatter ( string spelling, TextManager manager ) : IValueFormatter

Méthodes protégées

Méthode Description
PatternDialect ( ) : System.Collections.Generic

Method Details

GetEvaluator() public abstract méthode

public abstract GetEvaluator ( string pattern, TextManager manager ) : PatternEvaluator
pattern string
manager TextManager
Résultat PatternEvaluator

GetParameterEvaluator() public méthode

public GetParameterEvaluator ( ParameterSpec spec, TextManager manager ) : IParameterEvaluator
spec ParameterSpec
manager TextManager
Résultat IParameterEvaluator

GetSwitchConditionEvaluator() public méthode

public GetSwitchConditionEvaluator ( Expression expr, TextManager manager ) : ISwitchConditionEvaluator
expr Expression
manager TextManager
Résultat ISwitchConditionEvaluator

GetValueFormatter() public méthode

public GetValueFormatter ( string spelling, TextManager manager ) : IValueFormatter
spelling string
manager TextManager
Résultat IValueFormatter

PatternDialect() protected méthode

protected PatternDialect ( ) : System.Collections.Generic
Résultat System.Collections.Generic