original_string: public function format(OutputBlock $block, SourceMapGenerator $sourceMapGenerator = null)
      {
          $this->sourceMapGenerator = null;
  
          if ($sourceMapGenerator) {
              $this->currentLine = 1;
              $this->currentColumn = 0;
              $this->sourceMapGenerator = $sourceMapGenerator;
          }
  
          ob_start();
  
          $this->block($block);
  
          $out = ob_get_clean();
  
          return $out;
      }
code: public function format(OutputBlock $block, SourceMapGenerator $sourceMapGenerator = null)
      {
          $this->sourceMapGenerator = null;
  
          if ($sourceMapGenerator) {
              $this->currentLine = 1;
              $this->currentColumn = 0;
              $this->sourceMapGenerator = $sourceMapGenerator;
          }
  
          ob_start();
  
          $this->block($block);
  
          $out = ob_get_clean();
  
          return $out;
      }
code_tokens: public function format ( OutputBlock $ block , SourceMapGenerator $ sourceMapGenerator = null ) { $ this -> sourceMapGenerator = null ; if ( $ sourceMapGenerator ) { $ this -> currentLine = 1 ; $ this -> currentColumn = 0 ; $ this -> sourceMapGenerator = $ sourceMapGenerator ; } ob_start ( ) ; $ this -> block ( $ block ) ; $ out = ob_get_clean ( ) ; return $ out ; }
docstring: Entry point to formatting a block
  
  @api
  
  @param \Leafo\ScssPhp\Formatter\OutputBlock             $block              An abstract syntax tree
  @param \Leafo\ScssPhp\SourceMap\SourceMapGenerator|null $sourceMapGenerator Optional source map generator
  
  @return string
docstring_tokens: Entry point to formatting a block