private function isEndToken()
    {
        return $this->tokenIs(';')
        || $this->tokenIs(',')
        || $this->tokenIs(')')
        || $this->tokenIs(']')
        || $this->tokenIs(T_DOUBLE_ARROW);
    }
private function isEndToken()
    {
        return $this->tokenIs(';')
        || $this->tokenIs(',')
        || $this->tokenIs(')')
        || $this->tokenIs(']')
        || $this->tokenIs(T_DOUBLE_ARROW);
    }
private function isEndToken ( ) { return $ this -> tokenIs ( ';' ) || $ this -> tokenIs ( ',' ) || $ this -> tokenIs ( ')' ) || $ this -> tokenIs ( ']' ) || $ this -> tokenIs ( T_DOUBLE_ARROW ) ; }
Check if the current token is a ending token.

@return bool
Check if the current token is a ending token .