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

Function node_text

crates/devsql/src/providers/imports.rs:437–441  ·  view source on GitHub ↗
(node: Node, source: &str)

Source from the content-addressed store, hash-verified

435}
436
437fn node_text(node: Node, source: &str) -> String {
438 let start = node.start_byte();
439 let end = node.end_byte();
440 source[start..end].trim().to_string()
441}

Callers 3

parse_ts_import_clauseFunction · 0.70
string_literal_valueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected