MCPcopy Create free account
hub / github.com/douglance/devsql / node_text

Function node_text

crates/devsql/src/providers/symbols.rs:413–417  ·  view source on GitHub ↗
(node: Node, source: &str)

Source from the content-addressed store, hash-verified

411
412#[cfg(feature = "tree-sitter-ast")]
413fn node_text(node: Node, source: &str) -> String {
414 let start = node.start_byte();
415 let end = node.end_byte();
416 source[start..end].trim().to_string()
417}
418
419fn extract_symbols_with_regex(
420 language: &str,

Callers 5

extract_nameFunction · 0.70
signature_textFunction · 0.70
visibility_textFunction · 0.70
parameters_textFunction · 0.70
return_type_textFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected