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

Function IsBindableStaticNameExpression

internal/ast/utilities.go:1378–1380  ·  view source on GitHub ↗
(node *Node, excludeThisKeyword bool)

Source from the content-addressed store, hash-verified

1376}
1377
1378func IsBindableStaticNameExpression(node *Node, excludeThisKeyword bool) bool {
1379 return IsEntityNameExpression(node) || IsBindableStaticAccessExpression(node, excludeThisKeyword)
1380}
1381
1382// Does not handle signed numeric names like `a[+0]` - handling those would require handling prefix unary expressions
1383// throughout late binding handling as well, which is awkward (but ultimately probably doable if there is demand)

Calls 2

IsEntityNameExpressionFunction · 0.85

Tested by

no test coverage detected