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

Method top_row

codegraph-kernel/src/rlang.rs:158–160  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

156 util::col16(self.src, &self.line_starts, node.end_position().row, node.end_byte())
157 }
158 fn top_row(&self) -> u32 {
159 self.stack.last().map(|s| s.row).unwrap_or(0)
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);

Callers 3

create_nodeMethod · 0.45
hook_callMethod · 0.45
extract_callMethod · 0.45

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected