public function peek($offset) {
    if ($this->position + $offset >= $this->length) {
      return NULL;
    }
    return $this->tokens[$this->position + $offset];
  }
public function peek($offset) {
    if ($this->position + $offset >= $this->length) {
      return NULL;
    }
    return $this->tokens[$this->position + $offset];
  }
public function peek ( $ offset ) { if ( $ this -> position + $ offset >= $ this -> length ) { return NULL ; } return $ this -> tokens [ $ this -> position + $ offset ] ; }
Peek ahead.
@param int $offset Offset from current position.
@return TokenNode
Peek ahead .