You are here

public function Twig_NodeInterface::compile in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/NodeInterface.php \Twig_NodeInterface::compile()

Compiles the node to PHP.

Parameters

Twig_Compiler $compiler A Twig_Compiler instance:

1 method overrides Twig_NodeInterface::compile()
Twig_Node::compile in vendor/twig/twig/lib/Twig/Node.php
Compiles the node to PHP.

File

vendor/twig/twig/lib/Twig/NodeInterface.php, line 26

Class

Twig_NodeInterface
Represents a node in the AST.

Code

public function compile(Twig_Compiler $compiler);