MCPcopy Create free account
hub / github.com/FormidableLabs/babel-plugin-transform-define / memberExpressionComparator

Function memberExpressionComparator

lib/index.js:77–77  ·  view source on GitHub ↗
(nodePath, value)

Source from the content-addressed store, hash-verified

75};
76
77const memberExpressionComparator = (nodePath, value) => nodePath.matchesPattern(value);
78const identifierComparator = (nodePath, value) => nodePath.node.name === value;
79const unaryExpressionComparator = (nodePath, value) => nodePath.node.argument.name === value;
80const TYPEOF_PREFIX = "typeof ";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…