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

Method push_fn_ref_cand

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

Source from the content-addressed store, hash-verified

1367 }
1368
1369 fn push_fn_ref_cand(&mut self, from: u32, name: &str, node: Node) {
1370 if name.is_empty() || is_stoplisted(name) {
1371 return;
1372 }
1373 let p = node.start_position();
1374 self.fn_ref_cands.push(Cand {
1375 from,
1376 name: name.to_string(),
1377 line: p.row as u32 + 1,
1378 column_byte: node.start_byte(),
1379 row: p.row,
1380 });
1381 }
1382
1383 fn scan_fn_ref_subtree(&mut self, node: Node<'t>, depth: u32) {
1384 if depth > 12 {

Callers 1

Calls 1

is_stoplistedFunction · 0.70

Tested by

no test coverage detected