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

Method text

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected