(
context: any,
cb: (visit: <V extends Node>(children: V[] | undefined) => void) => void,
)
| 249 | visitLetDeclaration(decl: LetDeclaration, context: any) {} |
| 250 | |
| 251 | private visitChildren( |
| 252 | context: any, |
| 253 | cb: (visit: <V extends Node>(children: V[] | undefined) => void) => void, |
| 254 | ) { |
| 255 | let results: any[][] = []; |
| 256 | let t = this; |
| 257 | function visit<T extends Node>(children: T[] | undefined) { |
| 258 | if (children) results.push(visitAll(t, children, context)); |
| 259 | } |
| 260 | cb(visit); |
| 261 | return Array.prototype.concat.apply([], results); |
| 262 | } |
| 263 | } |
no test coverage detected