. */ namespace Doctrine\ORM\Query\AST; /** * SelectExpression ::= IdentificationVariable ["." "*"] | StateFieldPathExpression | * (AggregateExpression | "(" Subselect ")") [["AS"] FieldAliasIdentificationVariable] * * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.doctrine-project.org * @since 2.0 * @version $Revision: 3938 $ * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel */ class SelectExpression extends Node { public $expression; public $fieldIdentificationVariable; public function __construct($expression, $fieldIdentificationVariable) { $this->expression = $expression; $this->fieldIdentificationVariable = $fieldIdentificationVariable; } public function dispatch($sqlWalker) { return $sqlWalker->walkSelectExpression($this); } }