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

Method text

codegraph-kernel/src/php.rs:271–273  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

269
270impl<'t> Walker<'t> {
271 fn text(&self, node: Node) -> &'t str {
272 &self.src[node.byte_range()]
273 }
274 fn line_of(&self, node: Node) -> u32 {
275 node.start_position().row as u32 + 1
276 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected