C# Class Kooboo.Commerce.Rules.Conditions.Expressions.Formatting.ExpressionFormatter

Inheritance: ExpressionVisitor
Mostrar archivo Open project: Kooboo/Ecommerce

Public Methods

Method Description
Format ( Expression expression, Type dataContextType ) : string
Format ( string expression, Type dataContextType ) : string

Protected Methods

Method Description
Visit ( ComparisonExpression exp ) : void
Visit ( ComparisonParamExpression exp ) : void
Visit ( ComparisonValueExpression exp ) : void
Visit ( Expression exp ) : void
Visit ( LogicalBindaryExpression exp ) : void
Write ( string value ) : void
WriteCloseParenthsis ( ) : void
WriteComparison ( ComparisonExpression exp ) : void
WriteKeyword ( string value ) : void
WriteOpenParenthsis ( ) : void
WriteOperator ( string value ) : void
WriteParamName ( string value ) : void
WriteParamValue ( string value, Type valueType ) : void
WriteSpace ( ) : void

Method Details

Format() public method

public Format ( Expression expression, Type dataContextType ) : string
expression Expression
dataContextType System.Type
return string

Format() public method

public Format ( string expression, Type dataContextType ) : string
expression string
dataContextType System.Type
return string

Visit() protected final method

protected final Visit ( ComparisonExpression exp ) : void
exp ComparisonExpression
return void

Visit() protected final method

protected final Visit ( ComparisonParamExpression exp ) : void
exp ComparisonParamExpression
return void

Visit() protected final method

protected final Visit ( ComparisonValueExpression exp ) : void
exp ComparisonValueExpression
return void

Visit() protected final method

protected final Visit ( Expression exp ) : void
exp Expression
return void

Visit() protected final method

protected final Visit ( LogicalBindaryExpression exp ) : void
exp LogicalBindaryExpression
return void

Write() protected method

protected Write ( string value ) : void
value string
return void

WriteCloseParenthsis() protected method

protected WriteCloseParenthsis ( ) : void
return void

WriteComparison() protected method

protected WriteComparison ( ComparisonExpression exp ) : void
exp ComparisonExpression
return void

WriteKeyword() protected method

protected WriteKeyword ( string value ) : void
value string
return void

WriteOpenParenthsis() protected method

protected WriteOpenParenthsis ( ) : void
return void

WriteOperator() protected method

protected WriteOperator ( string value ) : void
value string
return void

WriteParamName() protected method

protected WriteParamName ( string value ) : void
value string
return void

WriteParamValue() protected method

protected WriteParamValue ( string value, Type valueType ) : void
value string
valueType System.Type
return void

WriteSpace() protected method

protected WriteSpace ( ) : void
return void