. */ namespace Doctrine\ORM\Query\AST\Functions; use Doctrine\ORM\Query\AST\Node; /** * Abtract Function Node. * * @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 */ abstract class FunctionNode extends Node { public $name; public function __construct($name) { $this->name = $name; } abstract public function getSql(\Doctrine\ORM\Query\SqlWalker $sqlWalker); public function dispatch($sqlWalker) { return $sqlWalker->walkFunction($this); } abstract public function parse(\Doctrine\ORM\Query\Parser $parser); }