(fn: Node, module: SourceModule)
| 176 | } |
| 177 | |
| 178 | of(fn: Node, module: SourceModule): boolean { |
| 179 | let result = this.byFunction.get(fn) |
| 180 | if (result === undefined) |
| 181 | this.byFunction.set(fn, (result = this.reads(fn, module, new Set()))) |
| 182 | return result |
| 183 | } |
| 184 | |
| 185 | // `seen` answers for what's being read, so a cycle is as sound as what else |
| 186 | // its members read, which each decides before the first returns |