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

Method text

codegraph-kernel/src/go.rs:180–182  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

178
179impl<'t> Walker<'t> {
180 fn text(&self, node: Node) -> &'t str {
181 &self.src[node.byte_range()]
182 }
183 fn line_of(&self, node: Node) -> u32 {
184 node.start_position().row as u32 + 1
185 }

Callers 15

maybeOfferBetaSignupFunction · 0.45
extract_nameMethod · 0.45
signature_ofMethod · 0.45
is_exportedMethod · 0.45
return_type_ofMethod · 0.45
receiver_type_ofMethod · 0.45
extract_variableMethod · 0.45
extract_importMethod · 0.45
extract_callMethod · 0.45
extract_instantiationMethod · 0.45
extract_inheritanceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected