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

Method text

codegraph-kernel/src/csharp.rs:267–269  ·  view source on GitHub ↗
(&self, node: Node)

Source from the content-addressed store, hash-verified

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

Callers 15

extractFunction · 0.45
visibility_ofMethod · 0.45
is_staticMethod · 0.45
is_asyncMethod · 0.45
is_constMethod · 0.45
return_type_ofMethod · 0.45
extract_nameMethod · 0.45
extract_enum_membersMethod · 0.45
extract_propertyMethod · 0.45
extract_fieldMethod · 0.45
extract_variableMethod · 0.45
extract_importMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected