X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fsymfony%2Fexpression-language%2FNode%2FConstantNode.php;fp=vendor%2Fsymfony%2Fexpression-language%2FNode%2FConstantNode.php;h=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=9369d859fc7de33cfba942fbd5aff2f32c3ba4c2;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/vendor/symfony/expression-language/Node/ConstantNode.php b/vendor/symfony/expression-language/Node/ConstantNode.php deleted file mode 100644 index 9369d859f..000000000 --- a/vendor/symfony/expression-language/Node/ConstantNode.php +++ /dev/null @@ -1,40 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\ExpressionLanguage\Node; - -use Symfony\Component\ExpressionLanguage\Compiler; - -/** - * @author Fabien Potencier - * - * @internal - */ -class ConstantNode extends Node -{ - public function __construct($value) - { - parent::__construct( - array(), - array('value' => $value) - ); - } - - public function compile(Compiler $compiler) - { - $compiler->repr($this->attributes['value']); - } - - public function evaluate($functions, $values) - { - return $this->attributes['value']; - } -}