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

Method text

codegraph-kernel/src/ruby.rs:210–212  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

208
209impl<'t> Walker<'t> {
210 fn text(&self, node: Node) -> &'t str {
211 &self.src[node.byte_range()]
212 }
213 /// rubyConstructedClass (tree-sitter.ts): the class a call receiver
214 /// constructs, as written — `Foo` for `Foo.new(key)`, `Billing::Card` for
215 /// `Billing::Card.new`, `::Foo` for `::Foo.new`; None for any other

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected