(node *ast.ConstructSignatureDeclaration)
| 1751 | } |
| 1752 | |
| 1753 | func (p *Printer) emitConstructSignature(node *ast.ConstructSignatureDeclaration) { |
| 1754 | state := p.enterNode(node.AsNode()) |
| 1755 | p.writeKeyword("new") |
| 1756 | p.writeSpace() |
| 1757 | indented := p.shouldEmitIndented(node.AsNode()) |
| 1758 | p.increaseIndentIf(indented) |
| 1759 | p.pushNameGenerationScope(node.AsNode()) |
| 1760 | p.emitSignature(node.AsNode()) |
| 1761 | p.writeTrailingSemicolon() |
| 1762 | p.popNameGenerationScope(node.AsNode()) |
| 1763 | p.decreaseIndentIf(indented) |
| 1764 | p.exitNode(node.AsNode(), state) |
| 1765 | } |
| 1766 | |
| 1767 | func (p *Printer) emitIndexSignature(node *ast.IndexSignatureDeclaration) { |
| 1768 | state := p.enterNode(node.AsNode()) |
no test coverage detected