MCPcopy Create free account
hub / github.com/microsoft/typescript-go / Body

Method Body

internal/ast/ast.go:264–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262}
263
264func (n *Node) Body() *Node {
265 data := n.BodyData()
266 if data != nil {
267 return data.Body
268 }
269 return nil
270}
271
272func (n *Node) Text() string {
273 switch n.Kind {

Callers 15

computeDeclarationMapMethod · 0.95
hasReturnFunction · 0.80
getInteriorModuleFunction · 0.80
getModuleNameFunction · 0.80
findImplementationFunction · 0.80
collectCallSitesFunction · 0.80

Calls 1

BodyDataMethod · 0.95

Tested by 2