ComparisonExpression
extends Node
in package
ComparisonExpression ::= ArithmeticExpression ComparisonOperator ( QuantifiedExpression | ArithmeticExpression ) | StringExpression ComparisonOperator (StringExpression | QuantifiedExpression) | BooleanExpression ("=" | "<>" | "!=") (BooleanExpression | QuantifiedExpression) | EnumExpression ("=" | "<>" | "!=") (EnumExpression | QuantifiedExpression) | DatetimeExpression ComparisonOperator (DatetimeExpression | QuantifiedExpression) | EntityExpression ("=" | "<>") (EntityExpression | QuantifiedExpression)
Tags
Table of Contents
- $leftExpression : Node
- $operator : string
- $rightExpression : Node
- __construct() : mixed
- __toString() : string
- Dumps the AST Node into a string representation for information purpose only.
- dispatch() : string
- Double-dispatch method, supposed to dispatch back to the walker.
- dump() : string
Properties
$leftExpression
public
Node
$leftExpression
$operator
public
string
$operator
$rightExpression
public
Node
$rightExpression
Methods
__construct()
public
__construct(Node $leftExpr, string $operator, Node $rightExpr) : mixed
Parameters
Return values
mixed —__toString()
Dumps the AST Node into a string representation for information purpose only.
public
__toString() : string
Return values
string —dispatch()
Double-dispatch method, supposed to dispatch back to the walker.
public
dispatch(mixed $sqlWalker) : string
Parameters
- $sqlWalker : mixed
Return values
string —dump()
public
dump(object $obj) : string
Parameters
- $obj : object