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

Method top_row

codegraph-kernel/src/ccpp/mod.rs:452–454  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

450 util::col16(self.src, &self.line_starts, node.end_position().row, node.end_byte())
451 }
452 fn top_row(&self) -> u32 {
453 self.stack.last().map(|s| s.row).unwrap_or(0)
454 }
455 fn inside_class_like(&self) -> bool {
456 self.stack
457 .last()

Callers 7

create_nodeMethod · 0.45
extract_importMethod · 0.45
extract_callMethod · 0.45
extract_instantiationMethod · 0.45
maybe_capture_fn_refsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected