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

Method push_ref_at

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

Source from the content-addressed store, hash-verified

158 }
159
160 fn push_ref_at(&mut self, from_row: u32, name: &str, kind: &str, node: Node) {
161 let name_ref = self.arena.put(name);
162 self.tables.push_ref(&RefRow {
163 from_idx: from_row,
164 kind: edge_kind_index(kind).unwrap(),
165 line: self.line_of(node),
166 column: self.col_of(node),
167 reference_name: name_ref,
168 candidates: NONE_STR,
169 from_id_str: NONE_STR,
170 });
171 }
172
173 // --- createNode (tree-sitter.ts:1308) ---------------------------------
174 // 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.80
unwrapMethod · 0.60
push_refMethod · 0.45
line_ofMethod · 0.45
col_ofMethod · 0.45

Tested by

no test coverage detected