Skip to main content

rendered_name

Function rendered_name 

Source
pub fn rendered_name(spelling: &str) -> bool
Expand description

The one alphabet every spelling this home renders as a Rust identifier is admitted by, published from the nucleus every road here already reads it through. Whether one spelling can NAME a rendered item: a single identifier the language has not already taken.

The identifier alphabet here and the keyword bank are the two halves of one law: the alphabet says which spellings can be a name, the bank says which of those the language took, and an item name must clear both. The direct grammars keep reading the two halves separately, because an authored declaration deserves a refusal naming which half disagreed at which token; every constructor that mints a name or a path segment programmatically reads this one.