MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / push_fn_ref_cand

Method push_fn_ref_cand

codegraph-kernel/src/kotlin.rs:1709–1721  ·  view source on GitHub ↗
(&mut self, from: u32, name: &str, node: Node)

Source from the content-addressed store, hash-verified

1707 }
1708
1709 fn push_fn_ref_cand(&mut self, from: u32, name: &str, node: Node) {
1710 if name.is_empty() || is_stoplisted(name) {
1711 return;
1712 }
1713 let p = node.start_position();
1714 self.fn_ref_cands.push(Cand {
1715 from,
1716 name: name.to_string(),
1717 line: p.row as u32 + 1,
1718 column_byte: node.start_byte(),
1719 row: p.row,
1720 });
1721 }
1722
1723 fn scan_fn_ref_subtree(&mut self, node: Node<'t>, depth: u32, walked: &[usize]) {
1724 stack_guard!();

Callers 1

Calls 2

pushMethod · 0.80
is_stoplistedFunction · 0.70

Tested by

no test coverage detected