UNPKG

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