<s> from ... Helpers import xcrun_helper <EOL> class xcbuildrule ( object ) : <EOL> def __init__ ( self , rule_dictionary ) : <EOL> self . name = rule_dictionary [ '<STR_LIT:Name>' ] ; <EOL> self . identifier = rule_dictionary [ '<STR_LIT>' ] ; <EOL> self . fileTypes = rule_dictionary [ '<STR_LIT>' ] ; <EOL> def __attrs ( self ) : <EOL> return ( self . identifier ) ; <EOL> def __repr__ ( self ) : <EOL> return '<STR_LIT>' % ( type ( self ) , self . name , self . identifier ) ; <EOL> def __eq__ ( self , other ) : <EOL> return isinstance ( other , type ( self ) ) and self . identifier == other . identifier ; <EOL> def __hash__ ( self ) : <EOL> return hash ( self . __attrs ( ) ) ; </s>
