(&mut self, from: u32, name: &str, node: Node)
| 924 | } |
| 925 | |
| 926 | fn push_fn_ref_cand(&mut self, from: u32, name: &str, node: Node) { |
| 927 | if name.is_empty() || is_stoplisted(name) { |
| 928 | return; |
| 929 | } |
| 930 | let p = node.start_position(); |
| 931 | self.fn_ref_cands.push(Cand { |
| 932 | from, |
| 933 | name: name.to_string(), |
| 934 | line: p.row as u32 + 1, |
| 935 | column_byte: node.start_byte(), |
| 936 | row: p.row, |
| 937 | }); |
| 938 | } |
| 939 | |
| 940 | fn scan_fn_ref_subtree(&mut self, node: Node<'t>, depth: u32) { |
| 941 | if depth > 12 { |
no test coverage detected