You are here

public function Twig_Compiler::subcompile in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Compiler.php \Twig_Compiler::subcompile()

File

vendor/Twig/Compiler.php, line 92

Class

Twig_Compiler
Compiles a node to PHP code.

Code

public function subcompile(Twig_NodeInterface $node, $raw = true) {
  if (false === $raw) {
    $this
      ->addIndentation();
  }
  $node
    ->compile($this);
  return $this;
}