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

Function isAssignmentDeclaration

internal/binder/binder.go:2789–2791  ·  view source on GitHub ↗
(decl *ast.Node)

Source from the content-addressed store, hash-verified

2787}
2788
2789func isAssignmentDeclaration(decl *ast.Node) bool {
2790 return ast.IsBinaryExpression(decl) || ast.IsAccessExpression(decl) || ast.IsIdentifier(decl) || ast.IsCallExpression(decl)
2791}
2792
2793func isEffectiveModuleDeclaration(node *ast.Node) bool {
2794 return ast.IsModuleDeclaration(node) || ast.IsIdentifier(node)

Callers 1

SetValueDeclarationFunction · 0.85

Calls 4

IsBinaryExpressionFunction · 0.92
IsAccessExpressionFunction · 0.92
IsIdentifierFunction · 0.92
IsCallExpressionFunction · 0.92

Tested by

no test coverage detected