lib/Yepsua/SmarTwig/Twig/Node/CommonNode.php
public function compile(Twig_Compiler $compiler){
    $this->init();
    if($this->isRenderizable()){
      $this->compileIfRendered($compiler, $this->getRenderizableConditionNode());
    }
    $this->preCompileWidget($compiler);
    $this->compileWidget($compiler);
    $this->postCompileWidget($compiler);
    if($this->isRenderizable()){
      $this->compileEndIf($compiler);
    }
  }
public function compile(Twig_Compiler $compiler){
    $this->init();
    if($this->isRenderizable()){
      $this->compileIfRendered($compiler, $this->getRenderizableConditionNode());
    }
    $this->preCompileWidget($compiler);
    $this->compileWidget($compiler);
    $this->postCompileWidget($compiler);
    if($this->isRenderizable()){
      $this->compileEndIf($compiler);
    }
  }
Compiles the node to PHP.

@param Twig_Compiler A Twig_Compiler instance