def _generate_struct_properties(self, fields):
        """Emits struct instance properties from the given fields."""
        for field in fields:
            doc = self.process_doc(field.doc,
                                   self._docf) if field.doc else undocumented
            self.emit_wrapped_text(
                self.process_doc(doc, self._docf), prefix=comment_prefix)
            self.emit(fmt_property(field=field))
            self.emit()
def _generate_struct_properties ( self , fields ) : for field in fields : doc = self . process_doc ( field . doc , self . _docf ) if field . doc else undocumented self . emit_wrapped_text ( self . process_doc ( doc , self . _docf ) , prefix = comment_prefix ) self . emit ( fmt_property ( field = field ) ) self . emit ( )
Emits struct instance properties from the given fields.