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