def flush_main(self):
if self.has_main:<EOL><INDENT>return<EOL><DEDENT>self.in_main = True<EOL>self.write('<STR_LIT>')<EOL>self.INDENT()<EOL>if self.debug:<EOL><INDENT>print('<STR_LIT>', self.fv.main)<EOL><DEDENT>for node in self.fv.main:<EOL><INDENT>self.v(node)<EOL>self.NEWLINE()<EOL><DEDENT>self.DEDENT()<EOL>self.in_main = False<EOL>
Flushes the implicit main function if there is no main
        function defined.