mediatekformation

ExpressionVisitor
in package

An Expression visitor walks a graph of expressions and turns them into a query for the underlying implementation.

Table of Contents

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
throws
RuntimeException
Return values
mixed

walkComparison()

Converts a comparison expression into the target query language output.

public abstract walkComparison(Comparison $comparison) : mixed
Parameters
$comparison : Comparison
Return values
mixed

walkValue()

Converts a value expression into the target query language part.

public abstract walkValue(Value $value) : mixed
Parameters
$value : Value
Return values
mixed

Search results