MCPcopy Create free account
hub / github.com/nodejs/node / isLiteralLikeAccess

Function isLiteralLikeAccess

test/fixtures/snapshot/typescript.js:16583–16585  ·  view source on GitHub ↗

x.y OR x[0]

(node)

Source from the content-addressed store, hash-verified

16581 ts.isBindableObjectDefinePropertyCall = isBindableObjectDefinePropertyCall;
16582 /** x.y OR x[0] */
16583 function isLiteralLikeAccess(node) {
16584 return ts.isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node);
16585 }
16586 ts.isLiteralLikeAccess = isLiteralLikeAccess;
16587 /** x[0] OR x['a'] OR x[Symbol.y] */
16588 function isLiteralLikeElementAccess(node) {

Callers 1

isSameEntityNameFunction · 0.85

Calls 1

Tested by

no test coverage detected