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

Method text

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

Source from the content-addressed store, hash-verified

274
275impl<'t> Walker<'t> {
276 fn text(&self, node: Node) -> &'t str {
277 &self.src[node.byte_range()]
278 }
279 fn line_of(&self, node: Node) -> u32 {
280 node.start_position().row as u32 + 1
281 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected