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

Method col_of

codegraph-kernel/src/php.rs:278–280  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

276 node.start_position().row as u32 + 1
277 }
278 fn col_of(&self, node: Node) -> u32 {
279 util::col16(self.src, &self.line_starts, node.start_position().row, node.start_byte())
280 }
281 fn end_col_of(&self, node: Node) -> u32 {
282 util::col16(self.src, &self.line_starts, node.end_position().row, node.end_byte())
283 }

Callers 4

push_ref_atMethod · 0.45
create_nodeMethod · 0.45
try_visit_hookMethod · 0.45

Calls 1

col16Function · 0.85

Tested by

no test coverage detected