(expr: o.Expression, printComments = true)
| 21 | } |
| 22 | |
| 23 | function emitExpr(expr: o.Expression, printComments = true): string { |
| 24 | const ctx = EmitterVisitorContext.createRoot(); |
| 25 | expr.visitExpression(new TestJsEmitter(printComments), ctx); |
| 26 | return ctx.toSource(); |
| 27 | } |
| 28 | |
| 29 | describe('AbstractEmitter', () => { |
| 30 | describe('escapeIdentifier', () => { |
no test coverage detected