4 * This file is part of Twig.
6 * (c) 2010 Fabien Potencier
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
11 class Twig_Node_Expression_Binary_Range
extends Twig_Node_Expression_Binary
14 * Compiles the node to PHP.
16 * @param Twig_Compiler A Twig_Compiler instance
18 public function compile(Twig_Compiler
$compiler)
22 ->subcompile($this->getNode('left'))
24 ->subcompile($this->getNode('right'))
29 public function operator(Twig_Compiler
$compiler)
31 return $compiler->raw('..');