UNPKG

435 BTypeScriptView Raw
1import { Option } from '@glimmer/interfaces';
2import * as AST from '../types/nodes';
3export declare type NodeCallback<N extends AST.Node> = (node: N, walker: Walker) => void;
4export default class Walker {
5 order?: any;
6 stack: any[];
7 constructor(order?: any);
8 visit<N extends AST.Node>(node: Option<N>, callback: NodeCallback<N>): void;
9 children(node: any, callback: any): void;
10}
11//# sourceMappingURL=walker.d.ts.map
\No newline at end of file