leftypol/inc/lib/Twig/NodeInterface.php

33 lines
656 B
PHP
Raw Normal View History

2011-10-05 04:22:53 +00:00
<?php
/*
* This file is part of Twig.
*
* (c) Fabien Potencier
2011-10-05 04:22:53 +00:00
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Represents a node in the AST.
*
2013-08-01 19:20:12 +00:00
* @author Fabien Potencier <fabien@symfony.com>
*
* @deprecated since 1.12 (to be removed in 3.0)
2011-10-05 04:22:53 +00:00
*/
2013-08-01 19:20:12 +00:00
interface Twig_NodeInterface extends Countable, IteratorAggregate
2011-10-05 04:22:53 +00:00
{
/**
* Compiles the node to PHP.
*/
2013-08-01 19:20:12 +00:00
public function compile(Twig_Compiler $compiler);
2011-10-05 04:22:53 +00:00
/**
* @deprecated since 1.27 (to be removed in 2.0)
*/
2013-08-01 19:20:12 +00:00
public function getLine();
2011-10-05 04:22:53 +00:00
2013-08-01 19:20:12 +00:00
public function getNodeTag();
2011-10-05 04:22:53 +00:00
}