4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\ExpressionLanguage;
14 use Symfony\Component\ExpressionLanguage\Node\Node;
17 * Represents an already parsed expression.
19 * @author Fabien Potencier <fabien@symfony.com>
21 class ParsedExpression extends Expression
28 * @param string $expression An expression
29 * @param Node $nodes A Node representing the expression
31 public function __construct($expression, Node $nodes)
33 parent::__construct($expression);
35 $this->nodes = $nodes;
38 public function getNodes()