struct Ident
pub struct Ident :: [Equatable, Debug]
Conforms to Equatable, Debug.
A name as written, with where it was written. from is the module a quote wrote the name
in: such a name is that module's wherever the tree ends up; null for a name a
program wrote, or one built here.
Fields
pub name: string
pub span: Span
pub from: ?string
Methods
pub static fn fresh(hint: string): Ident
Returns a name of its own for what a quote binds: hint and a number no written name
has.
pub static fn of(name: string): Ident
Returns the name alone, without a place.