def visit_classdef(self, node):
decorate = node.decorators.accept(self) if node.decorators else "<STR_LIT>"<EOL>bases = "<STR_LIT:U+002CU+0020>".join(n.accept(self) for n in node.bases)<EOL>metaclass = node.metaclass()<EOL>if metaclass and not node.has_metaclass_hack():<EOL><INDENT>if bases:<EOL><INDENT>bases = "<STR_LIT>" % (bases, metaclass.name)<EOL><DEDENT>else:<EOL><INDENT>bases = "<STR_LIT>" % metaclass.name<EOL><DEDENT><DEDENT>else:<EOL><INDENT>bases = "<STR_LIT>" % bases if bases else "<STR_LIT>"<EOL><DEDENT>docs = self._docs_dedent(node.doc) if node.doc else "<STR_LIT>"<EOL>return "<STR_LIT>" % (<EOL>decorate,<EOL>node.name,<EOL>bases,<EOL>docs,<EOL>self._stmt_list(node.body),<EOL>)<EOL>
return an astroid.ClassDef node as string