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

Method push_fn_ref_cand

codegraph-kernel/src/ccpp/mod.rs:1747–1758  ·  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

1745 }
1746
1747 fn push_fn_ref_cand(&mut self, from: u32, name: String, mode: Mode, explicit_ref: bool, node: Node) {
1748 let p = node.start_position();
1749 self.fn_ref_cands.push(Cand {
1750 from,
1751 name,
1752 mode,
1753 explicit_ref,
1754 line: p.row as u32 + 1,
1755 column_byte: node.start_byte(),
1756 row: p.row,
1757 });
1758 }
1759
1760 /// scanFnRefSubtree: capture-only walk of subtrees the main walkers skip
1761 /// (variable-declaration initializers). Halts at nested functions/lambdas.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected