def formatLine(self, line, indent=<NUM_LIT:0>, outcome_char='<STR_LIT>'):
actual_spaces = (indent * self.indent_spaces) - len(outcome_char)<EOL>return (outcome_char + '<STR_LIT:U+0020>' * actual_spaces + line)<EOL>
Takes a single line, optionally adds an indent and/or outcome
character to the beginning of the line.