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

Function Super

packages/babel-plugin-transform-classes/src/transformClass.ts:365–370  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

363 path.traverse(
364 visitors.environmentVisitor({
365 Super(path) {
366 const { node, parentPath } = path;
367 if (parentPath.isCallExpression({ callee: node })) {
368 bareSupers.unshift(parentPath);
369 }
370 },
371 }),
372 );
373

Callers

nothing calls this directly

Calls 1

isCallExpressionMethod · 0.80

Tested by

no test coverage detected