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

Function IsEntityNameExpression

internal/ast/utilities.go:1595–1597  ·  view source on GitHub ↗
(node *Node)

Source from the content-addressed store, hash-verified

1593}
1594
1595func IsEntityNameExpression(node *Node) bool {
1596 return IsEntityNameExpressionEx(node, false /*allowJS*/)
1597}
1598
1599func IsEntityNameExpressionEx(node *Node, allowJS bool) bool {
1600 return IsIdentifier(node) ||

Calls 1

IsEntityNameExpressionExFunction · 0.85

Tested by

no test coverage detected