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

Method text

codegraph-kernel/src/rustlang.rs:214–216  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

212
213impl<'t> Walker<'t> {
214 fn text(&self, node: Node) -> &'t str {
215 &self.src[node.byte_range()]
216 }
217 fn line_of(&self, node: Node) -> u32 {
218 node.start_position().row as u32 + 1
219 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected