def generate_route(self, route):
self.emit('<STR_LIT>')<EOL>self.emit('<STR_LIT>' % (<EOL>route.name,<EOL>self.format_data_type(route.arg_data_type),<EOL>self.format_data_type(route.result_data_type),<EOL>self.format_data_type(route.error_data_type)<EOL>))<EOL>with self.indent():<EOL><INDENT>if route.doc is not None:<EOL><INDENT>self.emit(self.format_string(route.doc))<EOL><DEDENT><DEDENT>
Output a route definition.