. */ namespace Doctrine\ORM\Query\AST; /** * ArithmeticExpression ::= SimpleArithmeticExpression | "(" Subselect ")" * * * @link www.doctrine-project.org * @since 2.0 * @version $Revision: 3938 $ * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class ArithmeticExpression extends Node { public $simpleArithmeticExpression; public $subselect; public function isSimpleArithmeticExpression() { return (bool) $this->simpleArithmeticExpression; } public function isSubselect() { return (bool) $this->subselect; } public function dispatch($walker) { return $walker->walkArithmeticExpression($this); } }