You are here

interface Twig_NodeInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/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/twig/lib/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