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

Method top_row

codegraph-kernel/src/ruby.rs:239–241  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

237 util::col16(self.src, &self.line_starts, node.end_position().row, node.end_byte())
238 }
239 fn top_row(&self) -> u32 {
240 self.stack.last().map(|s| s.row).unwrap_or(0)
241 }
242 fn inside_class_like(&self) -> bool {
243 self.stack
244 .last()

Callers 6

create_nodeMethod · 0.45
try_visit_hookMethod · 0.45
extract_importMethod · 0.45
extract_callMethod · 0.45
maybe_capture_fn_refsMethod · 0.45

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected