original_string: private function writeCode($tree, $name)
      {
          $code     = $this->walk($tree);
          $sections = implode("\n", $this->sections);
          $blocks   = implode("\n", $this->blocks);
          $klass    = empty($this->sections) && empty($this->blocks) ? self::KLASS_NO_LAMBDAS : self::KLASS;
  
          $callable = $this->strictCallables ? $this->prepare(self::STRICT_CALLABLE) : '';
  
          return sprintf($this->prepare($klass, 0, false, true), $name, $callable, $code, $sections, $blocks);
      }
code: private function writeCode($tree, $name)
      {
          $code     = $this->walk($tree);
          $sections = implode("\n", $this->sections);
          $blocks   = implode("\n", $this->blocks);
          $klass    = empty($this->sections) && empty($this->blocks) ? self::KLASS_NO_LAMBDAS : self::KLASS;
  
          $callable = $this->strictCallables ? $this->prepare(self::STRICT_CALLABLE) : '';
  
          return sprintf($this->prepare($klass, 0, false, true), $name, $callable, $code, $sections, $blocks);
      }
code_tokens: private function writeCode ( $ tree , $ name ) { $ code = $ this -> walk ( $ tree ) ; $ sections = implode ( "\n" , $ this -> sections ) ; $ blocks = implode ( "\n" , $ this -> blocks ) ; $ klass = empty ( $ this -> sections ) && empty ( $ this -> blocks ) ? self :: KLASS_NO_LAMBDAS : self :: KLASS ; $ callable = $ this -> strictCallables ? $ this -> prepare ( self :: STRICT_CALLABLE ) : '' ; return sprintf ( $ this -> prepare ( $ klass , 0 , false , true ) , $ name , $ callable , $ code , $ sections , $ blocks ) ; }
docstring: Generate Mustache Template class PHP source.
  
  @param array  $tree Parse tree of Mustache tokens
  @param string $name Mustache Template class name
  
  @return string Generated PHP source code
docstring_tokens: Generate Mustache Template class PHP source .