Twig_Node_Expression_Binary_Range

This file is part of Twig.

Defined (1)

The class is defined in the following location(s).

/vendor/twig/twig/lib/Twig/Node/Expression/Binary/Range.php  
  1. class Twig_Node_Expression_Binary_Range extends Twig_Node_Expression_Binary 
  2. public function compile(Twig_Compiler $compiler) 
  3. $compiler 
  4. ->raw('range(') 
  5. ->subcompile($this->getNode('left')) 
  6. ->raw(', ') 
  7. ->subcompile($this->getNode('right')) 
  8. ->raw(')') 
  9.  
  10. public function operator(Twig_Compiler $compiler) 
  11. return $compiler->raw('..');