(&mut self, from: u32, name: &str, node: Node, skip_gate: bool)
| 1322 | } |
| 1323 | |
| 1324 | fn push_fn_ref_cand(&mut self, from: u32, name: &str, node: Node, skip_gate: bool) { |
| 1325 | if name.is_empty() || is_stoplisted(name) { |
| 1326 | return; |
| 1327 | } |
| 1328 | let p = node.start_position(); |
| 1329 | self.fn_ref_cands.push(Cand { |
| 1330 | from, |
| 1331 | name: name.to_string(), |
| 1332 | line: p.row as u32 + 1, |
| 1333 | column_byte: node.start_byte(), |
| 1334 | row: p.row, |
| 1335 | skip_gate, |
| 1336 | }); |
| 1337 | } |
| 1338 | |
| 1339 | fn scan_fn_ref_subtree(&mut self, node: Node<'t>, depth: u32) { |
| 1340 | if depth > 12 { |
no test coverage detected