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

Method push_fn_ref_cand

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

Source from the content-addressed store, hash-verified

932 }
933
934 fn push_fn_ref_cand(&mut self, from: u32, name: &str, node: Node) {
935 if name.is_empty() || is_stoplisted(name) {
936 return;
937 }
938 let p = node.start_position();
939 self.fn_ref_cands.push(Cand {
940 from,
941 name: name.to_string(),
942 line: p.row as u32 + 1,
943 column_byte: node.start_byte(),
944 row: p.row,
945 });
946 }
947
948 fn scan_fn_ref_subtree(&mut self, node: Node<'t>, depth: u32) {
949 stack_guard!();

Callers 1

Calls 1

is_stoplistedFunction · 0.70

Tested by

no test coverage detected