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

Method push_fn_ref_cand

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

Source from the content-addressed store, hash-verified

1429 }
1430
1431 fn push_fn_ref_cand(&mut self, from: u32, name: &str, node: Node) {
1432 if name.is_empty() || is_stoplisted(name) {
1433 return;
1434 }
1435 let p = node.start_position();
1436 self.fn_ref_cands.push(Cand {
1437 from,
1438 name: name.to_string(),
1439 line: p.row as u32 + 1,
1440 column_byte: node.start_byte(),
1441 row: p.row,
1442 });
1443 }
1444
1445 fn scan_fn_ref_subtree(&mut self, node: Node<'t>, depth: u32) {
1446 stack_guard!();

Callers 1

Calls 2

pushMethod · 0.80
is_stoplistedFunction · 0.70

Tested by

no test coverage detected