#NEWLINE# def get_parent_name( self ) : #NEWLINE# #INDENT# 'Return name of the parent object if any.\n\n        A parent object is identified by the first occuring dot.\n        ' #NEWLINE# dot = self . token_next_match ( 0 , T . Punctuation , '.' ) #NEWLINE# if ( dot is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# prev_ = self . token_prev ( self . token_index ( dot ) ) #NEWLINE# if ( prev_ is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# return self . _remove_quotes ( prev_ . value )