export class StringBuilder { private content : string ; constructor ( ) { this . content = '' ; } appendLine ( text ) { this . content += `${ text }\n` ; } newLine ( ) { this . content += '\n' ; } append ( text ) { this . content += text ; } toString ( ) { return this . content ; } }