The visitNode hook (r.ts:180-309). Returns true when consumed.
(&mut self, node: Node<'t>)
| 317 | |
| 318 | /// The visitNode hook (r.ts:180-309). Returns true when consumed. |
| 319 | fn hook(&mut self, node: Node<'t>) -> bool { |
| 320 | stack_guard!(); |
| 321 | match node.kind() { |
| 322 | "call" => self.hook_call(node), |
| 323 | "binary_operator" => self.hook_binary_operator(node), |
| 324 | _ => false, |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | fn hook_call(&mut self, node: Node<'t>) -> bool { |
| 329 | stack_guard!(); |
no test coverage detected