UNPKG

estree-toolkit

Version:

Traverser, scope tracker, and more tools for working with ESTree AST

6 lines (5 loc) 351 B
export { evaluate, evaluateTruthy } from './evaluate'; export { hasBinding } from './hasBinding'; import { NodePath, NodePathT } from '../nodepath'; export declare const getCommonAncestor: (paths: NodePath[]) => NodePath | null; export declare const isReference: (path: NodePathT<"Identifier" | "JSXIdentifier">, includeGlobals?: boolean) => boolean;