(&mut self, from: u32, name: &str, node: Node)
| 1398 | } |
| 1399 | |
| 1400 | fn push_fn_ref_cand(&mut self, from: u32, name: &str, node: Node) { |
| 1401 | if name.is_empty() || is_stoplisted(name) { |
| 1402 | return; |
| 1403 | } |
| 1404 | let p = node.start_position(); |
| 1405 | self.fn_ref_cands.push(Cand { |
| 1406 | from, |
| 1407 | name: name.to_string(), |
| 1408 | line: p.row as u32 + 1, |
| 1409 | column_byte: node.start_byte(), |
| 1410 | row: p.row, |
| 1411 | }); |
| 1412 | } |
| 1413 | |
| 1414 | fn scan_fn_ref_subtree(&mut self, node: Node<'t>, depth: u32) { |
| 1415 | if depth > 12 { |
no test coverage detected