You are here

interface Twig_NodeInterface in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/NodeInterface.php \Twig_NodeInterface

Represents a node in the AST.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of Twig_NodeInterface

All classes that implement Twig_NodeInterface

Deprecated

since 1.12 (to be removed in 3.0)

File

vendor/Twig/NodeInterface.php, line 19

View source
interface Twig_NodeInterface extends Countable, IteratorAggregate {

  /**
   * Compiles the node to PHP.
   *
   * @param Twig_Compiler $compiler A Twig_Compiler instance
   */
  public function compile(Twig_Compiler $compiler);
  public function getLine();
  public function getNodeTag();

}

Members

Namesort descending Modifiers Type Description Overrides
Twig_NodeInterface::compile public function Compiles the node to PHP. 1
Twig_NodeInterface::getLine public function 1
Twig_NodeInterface::getNodeTag public function 1