def _generate_union_class_m(self, union):
self.emit()<EOL>self._generate_imports_m(<EOL>self._get_imports_m(<EOL>union,<EOL>default_imports=['<STR_LIT>', '<STR_LIT>']))<EOL>union_name = fmt_class_prefix(union)<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>with self.block_m(fmt_class_prefix(union)):<EOL><INDENT>self._generate_synthesize_ivars(union)<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>self._generate_union_cstor_funcs(union)<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>self._generate_union_tag_vars_funcs(union)<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>self._generate_union_tag_state_funcs(union)<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>self._generate_serializable_funcs(union_name)<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>self._generate_description_func(union_name)<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>self._generate_copyable_func()<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>self._generate_hash_func(union)<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>self._generate_equality_func(union)<EOL><DEDENT>self.emit()<EOL>self.emit()<EOL>self.emit('<STR_LIT>')<EOL>self.emit()<EOL>with self.block_m(fmt_serial_class(union_name)):<EOL><INDENT>self._generate_union_serializer(union)<EOL>self._generate_union_deserializer(union)<EOL><DEDENT>
Defines an Obj C implementation file that represents a union in Stone.