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