protected function isNextLineIndented()
  {
    $currentIndentation = $this->getCurrentLineIndentation();
    $notEOF = $this->moveToNextLine();

    while ($notEOF && $this->isCurrentLineEmpty()) {
      $notEOF = $this->moveToNextLine();
    }

    if (false === $notEOF) {
      return false;
    }

    $ret = false;
    if ($this->getCurrentLineIndentation() <= $currentIndentation) {
      $ret = true;
    }

    $this->moveToPreviousLine();

    return $ret;
  }
protected function isNextLineIndented()
  {
    $currentIndentation = $this->getCurrentLineIndentation();
    $notEOF = $this->moveToNextLine();

    while ($notEOF && $this->isCurrentLineEmpty()) {
      $notEOF = $this->moveToNextLine();
    }

    if (false === $notEOF) {
      return false;
    }

    $ret = false;
    if ($this->getCurrentLineIndentation() <= $currentIndentation) {
      $ret = true;
    }

    $this->moveToPreviousLine();

    return $ret;
  }
protected function isNextLineIndented ( ) { $ currentIndentation = $ this -> getCurrentLineIndentation ( ) ; $ notEOF = $ this -> moveToNextLine ( ) ; while ( $ notEOF && $ this -> isCurrentLineEmpty ( ) ) { $ notEOF = $ this -> moveToNextLine ( ) ; } if ( false === $ notEOF ) { return false ; } $ ret = false ; if ( $ this -> getCurrentLineIndentation ( ) <= $ currentIndentation ) { $ ret = true ; } $ this -> moveToPreviousLine ( ) ; return $ ret ; }
Returns true if the next line is indented.

@return Boolean Returns true if the next line is indented, false otherwise
Returns true if the next line is indented .