MCPcopy Index your code
hub / github.com/nodejs/node / isModuleExportsAccessExpression

Function isModuleExportsAccessExpression

test/fixtures/snapshot/typescript.js:16559–16563  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

16557 }
16558 ts.isModuleIdentifier = isModuleIdentifier;
16559 function isModuleExportsAccessExpression(node) {
16560 return (ts.isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node))
16561 && isModuleIdentifier(node.expression)
16562 && getElementOrPropertyAccessName(node) === "exports";
16563 }
16564 ts.isModuleExportsAccessExpression = isModuleExportsAccessExpression;
16565 /// Given a BinaryExpression, returns SpecialPropertyAssignmentKind for the various kinds of property
16566 /// assignments we treat as special in the binder

Calls 3

isModuleIdentifierFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…