def code(self, text):
comm = self.nextValidComment(text)<EOL>while comm:<EOL><INDENT>text = text[:comm.start()] + text[comm.end():]<EOL>comm = self.nextValidComment(text, comm.end(<NUM_LIT:0>))<EOL><DEDENT>return text<EOL>
Return the code instead of the comments.