[−][src]Trait moore_vhdl::hir::Node
Common functions of HIR nodes.
Required methods
fn span(&self) -> Span
The source file location of this node.
fn desc_kind(&self) -> String
A human-readable description of the node's kind.
For example "package" or "entity".
fn accept(&'t self, visitor: &mut dyn Visitor<'t>)
Accept a visitor and call its corresponding visit_*
function.
fn walk(&'t self, visitor: &mut dyn Visitor<'t>)
Walk a visitor over the node's subtree.
Provided methods
fn desc_name(&self) -> String
A human-readable description of the node, including its name.
E.g. package 'foo'
or entity 'adder'
.