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

Method text

codegraph-kernel/src/python.rs:235–237  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

233
234impl<'t> Walker<'t> {
235 fn text(&self, node: Node) -> &'t str {
236 &self.src[node.byte_range()]
237 }
238 fn line_of(&self, node: Node) -> u32 {
239 node.start_position().row as u32 + 1
240 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected