Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
264
func
(n *Node) Body() *Node {
265
data := n.BodyData()
266
if
data != nil {
267
return
data.Body
268
}
269
return
nil
270
}
271
272
func
(n *Node) Text() string {
273
switch
n.Kind {
Callers
15
checkFunctionOrConstructorSymbolWorker
Method · 0.95
computeDeclarationMap
Method · 0.95
hasReturn
Function · 0.80
visitFunctionDeclarationLikeForReturnType
Method · 0.80
getDocumentSymbolsForChildren
Method · 0.80
getInteriorModule
Function · 0.80
getModuleName
Function · 0.80
findImplementation
Function · 0.80
collectCallSites
Function · 0.80
getStatementsOfSourceFileLike
Function · 0.80
findOwnConstructorReferences
Function · 0.80
findSuperConstructorAccesses
Function · 0.80
Calls
1
BodyData
Method · 0.95
Tested by
2
TestGeneratedNameForNamespace3
Function · 0.64
TestGeneratedNameForNamespace4
Function · 0.64