#NEWLINE# def _add_elment_to_elements( self , t , id , parent = None , value = None , features = None , region = None ) : #NEWLINE# #INDENT# if ( ( t . tag , parent ) in self . _elements_map ) : #NEWLINE# #INDENT# self . _elements_map [ ( t . tag , parent ) ] . append ( { #NEWLINE# #INDENT# 'id' : id , #NEWLINE# 'value' : value , #NEWLINE# 'region' : region , #NEWLINE# 'features' : features , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _elements_map [ ( t . tag , parent ) ] = [ { #NEWLINE# #INDENT# 'id' : id , #NEWLINE# 'value' : value , #NEWLINE# 'region' : region , #NEWLINE# 'features' : features , #NEWLINE# #UNINDENT# } ]