Method
constructor
(
visit: <U>(f: (index: T, data: N) => U) => Iterable<U>
)
Source from the content-addressed store, hash-verified
| 7637 | readonly visit: <U>(f: (index: T, data: N) => U) => Iterable<U> |
| 7638 | |
| 7639 | constructor( |
| 7640 | visit: <U>(f: (index: T, data: N) => U) => Iterable<U> |
| 7641 | ) { |
| 7642 | this.visit = visit |
| 7643 | this[Symbol.iterator] = () => visit((index, data) => [index, data] as [T, N])[Symbol.iterator]() |
| 7644 | } |
| 7645 | } |
| 7646 | |
| 7647 | const makeCsrNodeWalker = <N, E, T extends Kind>( |
Callers
nothing calls this directly
Tested by
no test coverage detected