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

Function string_literal_value

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

Source from the content-addressed store, hash-verified

419}
420
421fn string_literal_value(node: Node, source: &str) -> String {
422 clean_identifier(node_text(node, source))
423}
424
425fn clean_identifier(text: String) -> String {
426 let trimmed = text.trim();

Callers 2

Calls 2

clean_identifierFunction · 0.85
node_textFunction · 0.70

Tested by

no test coverage detected