original_string: protected function eof() {
          if ($this->scanner->current() === false) {
              // fprintf(STDOUT, "EOF");
              $this->flushBuffer();
              $this->events->eof();
              $this->carryOn = false;
              return true;
          }
          return false;
      }
code: protected function eof() {
          if ($this->scanner->current() === false) {
              // fprintf(STDOUT, "EOF");
              $this->flushBuffer();
              $this->events->eof();
              $this->carryOn = false;
              return true;
          }
          return false;
      }
code_tokens: protected function eof ( ) { if ( $ this -> scanner -> current ( ) === false ) { // fprintf(STDOUT, "EOF"); $ this -> flushBuffer ( ) ; $ this -> events -> eof ( ) ; $ this -> carryOn = false ; return true ; } return false ; }
docstring: If the document is read, emit an EOF event.
docstring_tokens: If the document is read emit an EOF event .