#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# return ( ( self is self ) or ( isinstance ( other , ScalarTypeDefinition ) and ( self . loc == other . loc ) and ( self . name == other . name ) ) )