MCPcopy
hub / github.com/babel/babel / HubInterface

Interface HubInterface

packages/babel-traverse/src/hub.ts:4–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import type { Node } from "@babel/types";
3
4export interface HubInterface {
5 getCode(): string | void;
6 getScope(): Scope | void;
7 addHelper(name: string): any;
8 buildError(node: Node, msg: string, Error: new (msg: string) => Error): Error;
9}
10
11export default class Hub implements HubInterface {
12 getCode() {}

Callers 19

getSourceFunction · 0.65
_forceSetScopeFunction · 0.65
setScopeFunction · 0.65
CallExpressionFunction · 0.65
functionVisitorFunction · 0.65
CallExpressionFunction · 0.65
applyTargetDecoratorsFunction · 0.65
AssignmentExpressionFunction · 0.65
CallExpressionFunction · 0.65
createToPropertyKeyCallFunction · 0.65
transformClassFunction · 0.65

Implementers 1

Hubpackages/babel-traverse/src/hub.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…