ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Flush.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of Twig.
5  *
6  * (c) Fabien Potencier
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
18 {
19  public function __construct($lineno, $tag)
20  {
21  parent::__construct(array(), array(), $lineno, $tag);
22  }
23 
24  public function compile(Twig_Compiler $compiler)
25  {
26  $compiler
27  ->addDebugInfo($this)
28  ->write("flush();\n")
29  ;
30  }
31 }
32 
33 class_alias('Twig_Node_Flush', 'Twig\Node\FlushNode', false);
$lineno
Definition: Node.php:22
Represents a node in the AST.
Definition: Node.php:18
__construct($lineno, $tag)
Definition: Flush.php:19
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
Definition: Flush.php:24
Represents a flush node.
Definition: Flush.php:17
Create styles array
The data for the language used.
addDebugInfo(Twig_NodeInterface $node)
Adds debugging information.
Definition: Compiler.php:212