Enum moore_svlog::hir::HirNode [−][src]
pub enum HirNode<'a> {
Show 21 variants
Module(&'a Module<'a>),
Interface(&'a Interface<'a>),
IntPort(&'a IntPort<'a>),
ExtPort(&'a ExtPort<'a>),
Type(&'a Type),
Expr(&'a Expr<'a>),
InstTarget(&'a InstTarget<'a>),
Inst(&'a Inst<'a>),
TypeParam(&'a TypeParam),
ValueParam(&'a ValueParam),
VarDecl(&'a VarDecl),
Proc(&'a Proc),
Stmt(&'a Stmt),
EventExpr(&'a EventExpr),
Gen(&'a Gen),
GenvarDecl(&'a GenvarDecl),
Typedef(&'a Typedef),
Assign(&'a Assign),
Package(&'a Package),
EnumVariant(&'a EnumVariant),
Subroutine(&'a Subroutine),
}
Expand description
A reference to an HIR node.
Variants
Module(&'a Module<'a>)
Tuple Fields of Module
0: &'a Module<'a>
Interface(&'a Interface<'a>)
Tuple Fields of Interface
0: &'a Interface<'a>
IntPort(&'a IntPort<'a>)
Tuple Fields of IntPort
0: &'a IntPort<'a>
ExtPort(&'a ExtPort<'a>)
Tuple Fields of ExtPort
0: &'a ExtPort<'a>
Type(&'a Type)
Tuple Fields of Type
0: &'a Type
Expr(&'a Expr<'a>)
Tuple Fields of Expr
0: &'a Expr<'a>
InstTarget(&'a InstTarget<'a>)
Tuple Fields of InstTarget
0: &'a InstTarget<'a>
Inst(&'a Inst<'a>)
Tuple Fields of Inst
0: &'a Inst<'a>
TypeParam(&'a TypeParam)
Tuple Fields of TypeParam
0: &'a TypeParam
ValueParam(&'a ValueParam)
Tuple Fields of ValueParam
0: &'a ValueParam
VarDecl(&'a VarDecl)
Tuple Fields of VarDecl
0: &'a VarDecl
Proc(&'a Proc)
Tuple Fields of Proc
0: &'a Proc
Stmt(&'a Stmt)
Tuple Fields of Stmt
0: &'a Stmt
EventExpr(&'a EventExpr)
Tuple Fields of EventExpr
0: &'a EventExpr
Gen(&'a Gen)
Tuple Fields of Gen
0: &'a Gen
GenvarDecl(&'a GenvarDecl)
Tuple Fields of GenvarDecl
0: &'a GenvarDecl
Typedef(&'a Typedef)
Tuple Fields of Typedef
0: &'a Typedef
Assign(&'a Assign)
Tuple Fields of Assign
0: &'a Assign
Package(&'a Package)
Tuple Fields of Package
0: &'a Package
EnumVariant(&'a EnumVariant)
Tuple Fields of EnumVariant
0: &'a EnumVariant
Subroutine(&'a Subroutine)
Tuple Fields of Subroutine
0: &'a Subroutine
Trait Implementations
Obtain a span which can be used to refer to this node in error messages
presented to humans. This will generally be the name for things like
entities, processes, and variables. Defaults to return whatever span()
returns. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for HirNode<'a>
impl<'a> !UnwindSafe for HirNode<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more