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

Function isEffectiveModuleDeclaration

internal/binder/binder.go:2793–2795  ·  view source on GitHub ↗
(node *ast.Node)

Source from the content-addressed store, hash-verified

2791}
2792
2793func isEffectiveModuleDeclaration(node *ast.Node) bool {
2794 return ast.IsModuleDeclaration(node) || ast.IsIdentifier(node)
2795}

Callers 1

SetValueDeclarationFunction · 0.85

Calls 2

IsModuleDeclarationFunction · 0.92
IsIdentifierFunction · 0.92

Tested by

no test coverage detected