UNPKG

473 BTypeScriptView Raw
1import * as ASTv1 from '../v1/api';
2import { TransformScope } from './scope';
3export default class WalkerPath<N extends ASTv1.Node> {
4 node: N;
5 parent: WalkerPath<ASTv1.Node> | null;
6 parentKey: string | null;
7 scope: TransformScope;
8 constructor(node: N, parent?: WalkerPath<ASTv1.Node> | null, parentKey?: string | null);
9 get parentNode(): ASTv1.Node | null;
10 parents(): Iterable<WalkerPath<ASTv1.Node> | null>;
11}
12//# sourceMappingURL=path.d.ts.map
\No newline at end of file