ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
NodeInterface.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
19interface Twig_NodeInterface extends Countable, IteratorAggregate
20{
24 public function compile(Twig_Compiler $compiler);
25
29 public function getLine();
30
31 public function getNodeTag();
32}
An exception for terminatinating execution or to throw for unit testing.
Compiles a node to PHP code.
Definition: Compiler.php:19
Represents a node in the AST.
compile(Twig_Compiler $compiler)
Compiles the node to PHP.