func syntax_identifiers<Category>(syntax: &Syntax<Category>) -> [SyntaxIdentifier]Flattens identifier-like tokens from this syntax and all nested splices.
Results preserve token order, source provenance, and hygiene contexts. The set includes ordinary, bound, attribute, effect, and IR-register identifiers.
View Source
pub func syntax_identifiers<Category>(syntax: &Syntax<Category>) -> [SyntaxIdentifier] {
let identifiers: [SyntaxIdentifier] = []
collect_identifiers(raw: syntax.raw, identifiers: identifiers)
identifiers
}