MCPcopy
hub / github.com/microsoft/typescript-go / emitFunctionBodyNode

Method emitFunctionBodyNode

internal/printer/printer.go:1628–1636  ·  view source on GitHub ↗
(node *ast.BlockNode)

Source from the content-addressed store, hash-verified

1626}
1627
1628func (p *Printer) emitFunctionBodyNode(node *ast.BlockNode) {
1629 if node == nil {
1630 p.writeTrailingSemicolon()
1631 return
1632 }
1633
1634 p.writeSpace()
1635 p.emitFunctionBody(node.AsBlock())
1636}
1637
1638//
1639// Type Members

Callers 6

emitMethodDeclarationMethod · 0.95
emitConstructorMethod · 0.95

Calls 4

writeSpaceMethod · 0.95
emitFunctionBodyMethod · 0.95
AsBlockMethod · 0.80

Tested by

no test coverage detected