Type Alias hir::tt::Leaf

pub type Leaf = Leaf<SpanData<SyntaxContextId>>;

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>>)