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

Method text

codegraph-kernel/src/kotlin.rs:337–339  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

335
336impl<'t> Walker<'t> {
337 fn text(&self, node: Node) -> &'t str {
338 &self.src[node.byte_range()]
339 }
340 fn line_of(&self, node: Node) -> u32 {
341 node.start_position().row as u32 + 1
342 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected