hir_expand::tt

Type Alias TokenTree

source
pub type TokenTree = TokenTree<Span>;

Aliased Type§

enum TokenTree {
    Leaf(Leaf<SpanData<SyntaxContextId>>),
    Subtree(Subtree<SpanData<SyntaxContextId>>),
}

Variants§

§

Leaf(Leaf<SpanData<SyntaxContextId>>)

§

Subtree(Subtree<SpanData<SyntaxContextId>>)

Trait Implementations§