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

Method text

codegraph-kernel/src/dart.rs:303–305  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

301
302impl<'t> Walker<'t> {
303 fn text(&self, node: Node) -> &'t str {
304 &self.src[node.byte_range()]
305 }
306 fn line_of(&self, node: Node) -> u32 {
307 node.start_position().row as u32 + 1
308 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected