func syntax_text<Category>(syntax: &Syntax<Category>) -> StringMaterializes the syntax's tokens and trivia as source text without reparsing.
Splices are expanded without the protective grouping used by category materializers, so this is an inspection view rather than a validation step.
View Source
pub func syntax_text<Category>(syntax: &Syntax<Category>) -> String {
materialize(raw: syntax.raw, group_splices: false).source
}