- walk<T, C>(node, ctx, f): void
Type Parameters
- T
- C extends {
clone(): C;
}
Parameters
- node: Node<T>
- ctx: C
- f: ((ctx: C, data: T, childIndex: number) => boolean | void)
- (ctx, data, childIndex): boolean | void
Parameters
- ctx: C
- data: T
- childIndex: number
Returns boolean | void
Returns void