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

Method push_fn_ref_cand

codegraph-kernel/src/php.rs:1335–1348  ·  view source on GitHub ↗
(&mut self, from: u32, name: &str, node: Node, skip_gate: bool)

Source from the content-addressed store, hash-verified

1333 }
1334
1335 fn push_fn_ref_cand(&mut self, from: u32, name: &str, node: Node, skip_gate: bool) {
1336 if name.is_empty() || is_stoplisted(name) {
1337 return;
1338 }
1339 let p = node.start_position();
1340 self.fn_ref_cands.push(Cand {
1341 from,
1342 name: name.to_string(),
1343 line: p.row as u32 + 1,
1344 column_byte: node.start_byte(),
1345 row: p.row,
1346 skip_gate,
1347 });
1348 }
1349
1350 fn scan_fn_ref_subtree(&mut self, node: Node<'t>, depth: u32) {
1351 stack_guard!();

Callers 1

Calls 1

is_stoplistedFunction · 0.70

Tested by

no test coverage detected