You are here

public function Twig_NodeInterface::compile in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 vendor/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/Node.php
Compiles the node to PHP.

File

vendor/Twig/NodeInterface.php, line 26

Class

Twig_NodeInterface
Represents a node in the AST.

Code

public function compile(Twig_Compiler $compiler);