Type Alias gluon_base::ast::SpannedExpr

source ·
pub type SpannedExpr<'ast, Id> = Spanned<Expr<'ast, Id>, BytePos>;

Aliased Type§

struct SpannedExpr<'ast, Id> {
    pub span: Span<ByteIndex>,
    pub value: Expr<'ast, Id>,
}

Fields§

§span: Span<ByteIndex>§value: Expr<'ast, Id>

Trait Implementations§

source§

impl<'ast, Id> AstAlloc<'ast, Id> for SpannedExpr<'ast, Id>

source§

fn alloc(self, arena: &'ast Arena<'ast, Id>) -> &'ast mut Self

source§

fn alloc_extend( iter: impl IntoIterator<Item = Self>, arena: &'ast Arena<'ast, Id> ) -> &'ast mut [Self]