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

Method text

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

Source from the content-addressed store, hash-verified

214
215impl<'t> Walker<'t> {
216 fn text(&self, node: Node) -> &'t str {
217 &self.src[node.byte_range()]
218 }
219 fn line_of(&self, node: Node) -> u32 {
220 node.start_position().row as u32 + 1
221 }

Callers 15

enclosing_type_nameMethod · 0.45
ctor_infoMethod · 0.45
return_type_ofMethod · 0.45
signature_ofMethod · 0.45
visibility_ofMethod · 0.45
extract_nameMethod · 0.45
visitMethod · 0.45
extract_enum_membersMethod · 0.45
extract_importMethod · 0.45
extract_instantiationMethod · 0.45
bare_call_nameMethod · 0.45
callee_of_arg_partMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected