def visit_functiondef(self, node):
decorate = node.decorators.accept(self) if node.decorators else "<STR_LIT>"<EOL>docs = self._docs_dedent(node.doc) if node.doc else "<STR_LIT>"<EOL>trailer = "<STR_LIT::>"<EOL>if node.returns:<EOL><INDENT>return_annotation = "<STR_LIT>" + node.returns.as_string()<EOL>trailer = return_annotation + "<STR_LIT::>"<EOL><DEDENT>def_format = "<STR_LIT>"<EOL>return def_format % (<EOL>decorate,<EOL>node.name,<EOL>node.args.accept(self),<EOL>trailer,<EOL>docs,<EOL>self._stmt_list(node.body),<EOL>)<EOL>
return an astroid.Function node as string