lib/Yepsua/SmarTwig/Twig/Node/SimpleNode.php
public function compileWidget(Twig_Compiler $compiler){            
    $compiler->addDebugInfo($this);
    $this->compileOptions($compiler);
    $this->compileExtension($compiler);
    if(!$this->isOnlyJsS()){
      $this->compileInitWidget($compiler);
      $this->compileHtmlProperties($compiler);
      $this->compileWidgetContents($compiler);
      $this->compileEndWidget($compiler);
    }
    if(!$this->isOnlyHTML()){
      if($this->isBuiltByListener()){
        $this->compileListener($compiler);
      }
      $this->compileBuilder($compiler);
      if($this->isExec()){
        $this->compileCallableMethods($compiler);
        $this->compileExecute($compiler);
      }
    }
  }
public function compileWidget(Twig_Compiler $compiler){            
    $compiler->addDebugInfo($this);
    $this->compileOptions($compiler);
    $this->compileExtension($compiler);
    if(!$this->isOnlyJsS()){
      $this->compileInitWidget($compiler);
      $this->compileHtmlProperties($compiler);
      $this->compileWidgetContents($compiler);
      $this->compileEndWidget($compiler);
    }
    if(!$this->isOnlyHTML()){
      if($this->isBuiltByListener()){
        $this->compileListener($compiler);
      }
      $this->compileBuilder($compiler);
      if($this->isExec()){
        $this->compileCallableMethods($compiler);
        $this->compileExecute($compiler);
      }
    }
  }
Compiles the node to PHP.

@param Twig_Compiler A Twig_Compiler instance