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

Function isDefaultBindingContext

internal/checker/nodebuilderimpl.go:926–928  ·  view source on GitHub ↗
(location *ast.Node)

Source from the content-addressed store, hash-verified

924}
925
926func isDefaultBindingContext(location *ast.Node) bool {
927 return location.Kind == ast.KindSourceFile || ast.IsAmbientModule(location)
928}
929
930func (b *NodeBuilderImpl) getNameOfSymbolFromNameType(symbol *ast.Symbol) string {
931 if b.ch.valueSymbolLinks.Has(symbol) {

Callers

nothing calls this directly

Calls 1

IsAmbientModuleFunction · 0.92

Tested by

no test coverage detected