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

Method push_fn_ref_cand

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

1721 }
1722
1723 fn push_fn_ref_cand(&mut self, from: u32, name: String, mode: Mode, explicit_ref: bool, node: Node) {
1724 let p = node.start_position();
1725 self.fn_ref_cands.push(Cand {
1726 from,
1727 name,
1728 mode,
1729 explicit_ref,
1730 line: p.row as u32 + 1,
1731 column_byte: node.start_byte(),
1732 row: p.row,
1733 });
1734 }
1735
1736 /// scanFnRefSubtree: capture-only walk of subtrees the main walkers skip
1737 /// (variable-declaration initializers). Halts at nested functions/lambdas.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected