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