private function key()
    {
        $offset = $this->tokens->key();
        $op = $this->tokens->getToken($offset - 1);

        if ($op
            && isset($this->tokens[$offset - 2])
            && ((DocLexer::T_COLON === $op[0])
                || (DocLexer::T_EQUALS === $op[0]))) {
            return $this->tokens->getValue($offset - 2);
        }

        return null;
    }
private function key()
    {
        $offset = $this->tokens->key();
        $op = $this->tokens->getToken($offset - 1);

        if ($op
            && isset($this->tokens[$offset - 2])
            && ((DocLexer::T_COLON === $op[0])
                || (DocLexer::T_EQUALS === $op[0]))) {
            return $this->tokens->getValue($offset - 2);
        }

        return null;
    }
private function key ( ) { $ offset = $ this -> tokens -> key ( ) ; $ op = $ this -> tokens -> getToken ( $ offset - 1 ) ; if ( $ op && isset ( $ this -> tokens [ $ offset - 2 ] ) && ( ( DocLexer :: T_COLON === $ op [ 0 ] ) || ( DocLexer :: T_EQUALS === $ op [ 0 ] ) ) ) { return $ this -> tokens -> getValue ( $ offset - 2 ) ; } return null ; }
Finds the key and returns it.

@return string The key.
Finds the key and returns it .