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

Method text

codegraph-kernel/src/lua.rs:160–162  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

158
159impl<'t> Walker<'t> {
160 fn text(&self, node: Node) -> &'t str {
161 &self.src[node.byte_range()]
162 }
163 fn line_of(&self, node: Node) -> u32 {
164 node.start_position().row as u32 + 1
165 }

Callers 10

require_moduleMethod · 0.45
emit_requireMethod · 0.45
receiver_typeMethod · 0.45
extract_nameMethod · 0.45
signature_ofMethod · 0.45
is_exported_ofMethod · 0.45
extract_variableMethod · 0.45
extract_callMethod · 0.45
maybe_capture_fn_refsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected