public function Twig_Compiler::subcompile

File

drupal/core/vendor/twig/twig/lib/Twig/Compiler.php, line 81

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;
}