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 15

val_var_nameMethod · 0.45
visibility_ofMethod · 0.45
is_static_ofMethod · 0.45
signature_ofMethod · 0.45
return_type_ofMethod · 0.45
scala_base_type_nameMethod · 0.45
emit_scala_type_refsMethod · 0.45
extract_nameMethod · 0.45
hookMethod · 0.45
extract_importMethod · 0.45
extract_callMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected