ExpressionVisitor
in package
AbstractYes
An Expression visitor walks a graph of expressions and turns them into a query for the underlying implementation.
Table of Contents
Methods
- dispatch() : mixed
- Dispatches walking an expression to the appropriate handler.
- walkComparison() : mixed
- Converts a comparison expression into the target query language output.
- walkCompositeExpression() : mixed
- Converts a composite expression into the target query language output.
- walkValue() : mixed
- Converts a value expression into the target query language part.
Methods
dispatch()
Dispatches walking an expression to the appropriate handler.
public
dispatch(Expression $expr) : mixed
Parameters
- $expr : Expression
Tags
walkComparison()
Converts a comparison expression into the target query language output.
public
abstract walkComparison(Comparison $comparison) : mixed
Parameters
- $comparison : Comparison
walkCompositeExpression()
Converts a composite expression into the target query language output.
public
abstract walkCompositeExpression(CompositeExpression $expr) : mixed
Parameters
- $expr : CompositeExpression
walkValue()
Converts a value expression into the target query language part.
public
abstract walkValue(Value $value) : mixed
Parameters
- $value : Value