/**
  * @param        $token
  * @param string $tab
  * @param        $queryValue
  *
  * @return string
  */
 public function writeCommentBlock($token, $tab, $queryValue)
 {
     if ($token[Tokenizer::TOKEN_TYPE] === Tokenizer::TOKEN_TYPE_BLOCK_COMMENT) {
         $indent = str_repeat($tab, $this->indentation->getIndentLvl());
         $this->formatter->appendToFormattedSql("\n" . $indent);
         $queryValue = str_replace("\n", "\n" . $indent, $queryValue);
     }
     $this->formatter->appendToFormattedSql($queryValue);
     $this->newLine->setNewline(true);
     return $this->formatter->getFormattedSql();
 }
 /**
  * @param boolean $addedNewline
  * @param string $tab
  * @param $token
  * @param $queryValue
  *
  * @return mixed
  */
 protected function formatTokenTypeReservedTopLevel($addedNewline, $tab, $token, $queryValue)
 {
     $this->indentation->setIncreaseSpecialIndent(true)->decreaseSpecialIndentIfCurrentIndentTypeIsSpecial();
     $this->newLine->writeNewLineBecauseOfTopLevelReservedWord($addedNewline, $tab);
     if (WhiteSpace::tokenHasExtraWhiteSpaces($token)) {
         $queryValue = preg_replace('/\\s+/', ' ', $queryValue);
     }
     Token::tokenHasLimitClause($token, $this->parentheses, $this);
     return $queryValue;
 }