MCPcopy Create free account
hub / github.com/babel/babel / MemberExpression

Function MemberExpression

scripts/babel-plugin-toggle-boolean-flag/plugin.ts:138–144  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

136 }
137 },
138 MemberExpression(path) {
139 if (value === null) return;
140
141 if (path.matchesPattern(name)) {
142 throw path.buildCodeFrameError("This check could not be stripped.");
143 }
144 },
145 ReferencedIdentifier(path) {
146 if (value === null) return;
147

Callers

nothing calls this directly

Calls 1

buildCodeFrameErrorMethod · 0.45

Tested by

no test coverage detected