Type Alias hir_expand::tt::Leaf

source ·
pub type Leaf = Leaf<Span>;

Aliased Type§

enum Leaf {
    Literal(Literal<SpanData<SyntaxContextId>>),
    Punct(Punct<SpanData<SyntaxContextId>>),
    Ident(Ident<SpanData<SyntaxContextId>>),
}

Variants§

§

Literal(Literal<SpanData<SyntaxContextId>>)

§

Punct(Punct<SpanData<SyntaxContextId>>)

§

Ident(Ident<SpanData<SyntaxContextId>>)

Trait Implementations§