public function next() {
    $this->position++;
    if ($this->position >= $this->length) {
      $this->position = $this->length;
      return NULL;
    }
    return $this->tokens[$this->position];
  }
public function next() {
    $this->position++;
    if ($this->position >= $this->length) {
      $this->position = $this->length;
      return NULL;
    }
    return $this->tokens[$this->position];
  }
public function next ( ) { $ this -> position ++ ; if ( $ this -> position >= $ this -> length ) { $ this -> position = $ this -> length ; return NULL ; } return $ this -> tokens [ $ this -> position ] ; }
Move to the next token and return it.
@return TokenNode
Move to the next token and return it .