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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Obtain a human-readable descriptive name for this node.

Obtain a human-readable description for this node, possibly containing the node’s name. Read more

Obtain the full span of the input file that this node covers.

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.