Doctrine


Doctrine\ORM\Query\AST\ComparisonExpression
/Doctrine/ORM/Query/AST/ComparisonExpression.php at line 40

Class ComparisonExpression

Class:ComparisonExpression - Superclass: Node
Node
⌊ ComparisonExpression

public class ComparisonExpression
extends Node

ComparisonExpression ::= ArithmeticExpression ComparisonOperator ( QuantifiedExpression | ArithmeticExpression ) | StringExpression ComparisonOperator (StringExpression | QuantifiedExpression) | BooleanExpression ("=" | "<>" | "!=") (BooleanExpression | QuantifiedExpression) | EnumExpression ("=" | "<>" | "!=") (EnumExpression | QuantifiedExpression) | DatetimeExpression ComparisonOperator (DatetimeExpression | QuantifiedExpression) | EntityExpression ("=" | "<>") (EntityExpression | QuantifiedExpression)

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Version:
$Revision: 3938 $
Author:
Guilherme Blanco
Jonathan Wage
Roman Borschel

Field Summary
mixed

$leftExpression

mixed

$operator

mixed

$rightExpression

Constructor Summary

ComparisonExpression(mixed leftExpr, mixed operator, mixed rightExpr)

Method Summary
void

dispatch(mixed sqlWalker, mixed walker, $walker )

Double-dispatch method, supposed to dispatch back to the walker.

Methods inherited from Doctrine\ORM\Query\AST\Node
dispatch, dump

Field Detail

/Doctrine/ORM/Query/AST/ComparisonExpression.php at line 42

leftExpression

public mixed $leftExpression

/Doctrine/ORM/Query/AST/ComparisonExpression.php at line 44

operator

public mixed $operator

/Doctrine/ORM/Query/AST/ComparisonExpression.php at line 43

rightExpression

public mixed $rightExpression

Constructor Detail

/Doctrine/ORM/Query/AST/ComparisonExpression.php at line 46

ComparisonExpression

public ComparisonExpression(mixed leftExpr, mixed operator, mixed rightExpr)

Method Detail

/Doctrine/ORM/Query/AST/ComparisonExpression.php at line 53

dispatch

public void dispatch(mixed sqlWalker, mixed walker, $walker )

Double-dispatch method, supposed to dispatch back to the walker.

Implementation is not mandatory for all nodes.


Doctrine