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

Method text

codegraph-kernel/src/scala.rs:248–250  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

246
247impl<'t> Walker<'t> {
248 fn text(&self, node: Node) -> &'t str {
249 &self.src[node.byte_range()]
250 }
251 fn line_of(&self, node: Node) -> u32 {
252 node.start_position().row as u32 + 1
253 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected