Skip to main content

value_text_cleaned

Function value_text_cleaned 

Source
pub fn value_text_cleaned(value: &SyntaxNode) -> String
Expand description

A field VALUE as plain display text: the node text, trimmed, with one layer of surrounding {…}/"…" removed and interior whitespace collapsed. Shared by the LSP hover/completion cards and the semantic model’s cached title/author facts.