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

Method Locals

internal/ast/ast.go:256–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254}
255
256func (n *Node) Locals() SymbolTable {
257 data := n.LocalsContainerData()
258 if data != nil {
259 return data.Locals
260 }
261 return nil
262}
263
264func (n *Node) Body() *Node {
265 data := n.BodyData()

Callers 15

enterNewScopeMethod · 0.95
getCompletionDataMethod · 0.80
isUniqueLocalNameFunction · 0.80
getSymbolsInScopeMethod · 0.80
checkBlockMethod · 0.80
checkForStatementMethod · 0.80
checkForInStatementMethod · 0.80
checkForOfStatementMethod · 0.80
checkSwitchStatementMethod · 0.80
checkCatchClauseMethod · 0.80

Calls 1

LocalsContainerDataMethod · 0.95

Tested by

no test coverage detected