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

Method text

codegraph-kernel/src/python.rs:143–145  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

141
142impl<'t> Walker<'t> {
143 fn text(&self, node: Node) -> &'t str {
144 &self.src[node.byte_range()]
145 }
146 fn line_of(&self, node: Node) -> u32 {
147 node.start_position().row as u32 + 1
148 }

Callers 10

extract_nameMethod · 0.45
signature_ofMethod · 0.45
is_staticMethod · 0.45
extract_classMethod · 0.45
extract_variableMethod · 0.45
extract_importMethod · 0.45
extract_callMethod · 0.45
consider_decoratorMethod · 0.45
maybe_capture_fn_refsMethod · 0.45
flush_value_refsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected