def gen(self, text, start=<NUM_LIT:0>):
for cc in self.chunkComment(text, start):<EOL><INDENT>c = self.extractChunkContent(cc)<EOL>cc = '<STR_LIT>'.join(cc)<EOL>m = self.matchComment(c)<EOL>idx = text.index(cc, start)<EOL>e = idx + len(cc)<EOL>if m:<EOL><INDENT>assert text[idx:e] == cc<EOL>try:<EOL><INDENT>end = text.index('<STR_LIT>', e - <NUM_LIT:1>) + <NUM_LIT:1><EOL><DEDENT>except ValueError:<EOL><INDENT>end = len(text)<EOL><DEDENT>text = text[:e] + text[end:]<EOL>new = self.genOutputs(self.code(text), m)<EOL>new = '<STR_LIT>'.join(new)<EOL>text = text[:e] + new + text[e:]<EOL>return self.gen(text, e + len(new))<EOL><DEDENT><DEDENT>return text<EOL>
Return the source code in text, filled with autogenerated code
        starting at start.