Struct moore_svlog::hir::Arena [−][src]
pub struct Arena<'hir> {Show 20 fields
pub modules: TypedArena<Module<'hir>>,
pub interfaces: TypedArena<Interface<'hir>>,
pub ports: TypedArena<Port>,
pub types: TypedArena<Type>,
pub exprs: TypedArena<Expr<'hir>>,
pub inst_target: TypedArena<InstTarget<'hir>>,
pub insts: TypedArena<Inst<'hir>>,
pub type_params: TypedArena<TypeParam>,
pub value_params: TypedArena<ValueParam>,
pub var_decls: TypedArena<VarDecl>,
pub procs: TypedArena<Proc>,
pub stmts: TypedArena<Stmt>,
pub event_exprs: TypedArena<EventExpr>,
pub gens: TypedArena<Gen>,
pub genvar_decls: TypedArena<GenvarDecl>,
pub typedefs: TypedArena<Typedef>,
pub assigns: TypedArena<Assign>,
pub packages: TypedArena<Package>,
pub enum_variants: TypedArena<EnumVariant>,
pub subroutines: TypedArena<Subroutine>,
// some fields omitted
}
Expand description
An arena to allocate HIR nodes into.
Fields
modules: TypedArena<Module<'hir>>
interfaces: TypedArena<Interface<'hir>>
ports: TypedArena<Port>
types: TypedArena<Type>
exprs: TypedArena<Expr<'hir>>
inst_target: TypedArena<InstTarget<'hir>>
insts: TypedArena<Inst<'hir>>
type_params: TypedArena<TypeParam>
value_params: TypedArena<ValueParam>
var_decls: TypedArena<VarDecl>
procs: TypedArena<Proc>
stmts: TypedArena<Stmt>
event_exprs: TypedArena<EventExpr>
gens: TypedArena<Gen>
genvar_decls: TypedArena<GenvarDecl>
typedefs: TypedArena<Typedef>
assigns: TypedArena<Assign>
packages: TypedArena<Package>
enum_variants: TypedArena<EnumVariant>
subroutines: TypedArena<Subroutine>
Implementations
Trait Implementations
Allocate a value of type T
.
Allocate a value of type T
.
Allocate a value of type T
.
Allocate a value of type T
.
Allocate a value of type T
.