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

Method text

codegraph-kernel/src/tsjs/mod.rs:266–268  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

264 // --- small helpers --------------------------------------------------------
265
266 fn text(&self, node: Node) -> &'t str {
267 &self.src[node.byte_range()]
268 }
269
270 fn line_of(&self, node: Node) -> u32 {
271 node.start_position().row as u32 + 1

Callers 15

flush_value_refsMethod · 0.45
extract_nameMethod · 0.45
signature_ofMethod · 0.45
visibility_ofMethod · 0.45
extract_functionMethod · 0.45
react_component_hocMethod · 0.45
extract_enum_membersMethod · 0.45
extract_propertyMethod · 0.45
extract_variableMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected