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

Method push_ref_at

codegraph-kernel/src/rlang.rs:162–173  ·  view source on GitHub ↗
(&mut self, from_row: u32, name: &str, kind: &str, node: Node)

Source from the content-addressed store, hash-verified

160 }
161
162 fn push_ref_at(&mut self, from_row: u32, name: &str, kind: &str, node: Node) {
163 let name_ref = self.arena.put(name);
164 self.tables.push_ref(&RefRow {
165 from_idx: from_row,
166 kind: edge_kind_index(kind).unwrap(),
167 line: self.line_of(node),
168 column: self.col_of(node),
169 reference_name: name_ref,
170 candidates: NONE_STR,
171 from_id_str: NONE_STR,
172 });
173 }
174
175 // --- createNode (tree-sitter.ts:1308) ---------------------------------
176 // R extras carry only `signature` (or nothing): no docstring, visibility,

Callers 3

hook_callMethod · 0.45
extract_class_membersMethod · 0.45
extract_callMethod · 0.45

Calls 6

edge_kind_indexFunction · 0.85
putMethod · 0.65
unwrapMethod · 0.60
push_refMethod · 0.45
line_ofMethod · 0.45
col_ofMethod · 0.45

Tested by

no test coverage detected