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

Method push_fn_ref_cand

codegraph-kernel/src/ccpp/mod.rs:2404–2415  ·  view source on GitHub ↗
(&mut self, from: u32, name: String, mode: Mode, explicit_ref: bool, node: Node)

Source from the content-addressed store, hash-verified

2402 }
2403
2404 fn push_fn_ref_cand(&mut self, from: u32, name: String, mode: Mode, explicit_ref: bool, node: Node) {
2405 let p = node.start_position();
2406 self.fn_ref_cands.push(Cand {
2407 from,
2408 name,
2409 mode,
2410 explicit_ref,
2411 line: p.row as u32 + 1,
2412 column_byte: node.start_byte(),
2413 row: p.row,
2414 });
2415 }
2416
2417 /// scanFnRefSubtree: capture-only walk of subtrees the main walkers skip
2418 /// (variable-declaration initializers). Halts at nested functions/lambdas.

Callers 1

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected