Struct moore_vhdl::hir::TypeDecl2 [−][src]
pub struct TypeDecl2<'t> { /* fields omitted */ }
Expand description
A type declaration.
See IEEE 1076-2008 section 6.2.
Implementations
pub fn declared_type<C>(&self, ctx: C) -> Result<&'t dyn Type> where
C: ExprContext<'t> + Copy,
pub fn declared_type<C>(&self, ctx: C) -> Result<&'t dyn Type> where
C: ExprContext<'t> + Copy,
Return the declared type.
This function maps the type declaration data to an actual Type
.
Trait Implementations
The name of the declared item.
type AllocInput = &'t TypeDecl
type LatentInput = Self::AllocInput
type Context = AllocContext<'t>
Schedule construction of an HIR node from an AST node. Read more
Construct an HIR node from an AST node.
A human-readable description of the node, including its name. Read more
Accept a visitor and call its corresponding visit_*
function.