(self)
return next_.to_unicode()
Returns the typecast or ``None`` of this object as a string.
Returns the typecast or ``None`` of this object as a string.
Returns the typecast or None of this object as a string .
def get_typecast(self):
        """Returns the typecast or ``None`` of this object as a string."""
        marker = self.token_next_match(0, T.Punctuation, '::')
        if marker is None:
            return None
        next_ = self.token_next(self.token_index(marker), False)
        if next_ is None:
            return None
        return next_.to_unicode()
def get_typecast ( self ) : marker = self . token_next_match ( 0 , T . Punctuation , '::' ) if marker is None : return None next_ = self . token_next ( self . token_index ( marker ) , False ) if next_ is None : return None return next_ . to_unicode ( )