. */ namespace Doctrine\ORM\Query\AST; /** * SimpleArithmeticExpression ::= ArithmeticTerm {("+" | "-") ArithmeticTerm}* * * * @link www.doctrine-project.org * @since 2.0 * @version $Revision: 3938 $ * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class SimpleArithmeticExpression extends Node { public $arithmeticTerms = array(); public function __construct(array $arithmeticTerms) { $this->arithmeticTerms = $arithmeticTerms; } public function dispatch($sqlWalker) { return $sqlWalker->walkSimpleArithmeticExpression($this); } }