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

Method text

codegraph-kernel/src/rlang.rs:144–146  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

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

Callers 7

callee_nameMethod · 0.45
literal_or_identifierMethod · 0.45
hook_callMethod · 0.45
hook_binary_operatorMethod · 0.45
extract_class_membersMethod · 0.45
emit_method_argMethod · 0.45
extract_callMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected