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

Method newSingleDeclaration

internal/binder/binder.go:534–536  ·  view source on GitHub ↗
(declaration *ast.Node)

Source from the content-addressed store, hash-verified

532}
533
534func (b *Binder) newSingleDeclaration(declaration *ast.Node) []*ast.Node {
535 return b.singleDeclarationsArena.NewSlice1(declaration)
536}
537
538func setFlowNodeReferenced(flow *ast.FlowNode) {
539 // On first reference we set the Referenced flag, thereafter we set the Shared flag

Callers 2

Calls 1

NewSlice1Method · 0.80

Tested by

no test coverage detected