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