Expand description
Implementation of identifier pasting expansion ${paste }
MacrosΒ§
- define_
cases π - Define cases using heck
StructsΒ§
- Angle
Brackets - Parsing state for
$<...> - Atom
ForReport - One spanned input element, for use when reporting bad ident errors
- Change
Case OkIn - Token that an associated
ChangeCasehas been checked for legal context - Ident
Frag Infallible - Uninhabited βbad identifierβ error for conversions from already-tokens
- Invalid
Ident π - Error that stands in for the
syn::Errorfrom an invalid identifier - Items
- Accumulator for things to be pasted
- Pasted π
- Core of the results from mk_ident
- Surround π
- Token
Pastes AsIdent - For use with
ExpansionOutput.push_identfrag_toks
EnumsΒ§
- Assembly
Instruction π - Change
Case - Item π
- Entry in a
${paste ...}or${CASE ...}
TraitsΒ§
- Ident
Frag - For use with
ExpansionOutput.append_identfrag_toksetc.
FunctionsΒ§
- convert_
to_ πident - Obtain an actual
syn::Identfrom the results of pasting The meat of<Pasted as IdentFrag>::frag_to_tokens. Split off largely to save on rightward drift. - expand
- mk_
ident π - Make a leaf identifier out of pieces
Type AliasesΒ§
- Piece π
- Element of input to
mk_ident: one bit of the leaf identifier