refactor: add emitter for code generation

This commit is contained in:
harttle
2019-08-26 10:15:43 -05:00
committed by Jun Yang
parent ad8e2f7e63
commit 854e12ba53
4 changed files with 31 additions and 12 deletions
+7
View File
@@ -0,0 +1,7 @@
export class Emitter {
public html: string = '';
public write (html: string) {
this.html += html
}
}