Trait moore_vhdl::hir::Node [−][src]
pub trait Node<'t>: Debug {
fn span(&self) -> Span;
fn desc_kind(&self) -> String;
fn accept(&'t self, visitor: &mut dyn Visitor<'t>);
fn walk(&'t self, visitor: &mut dyn Visitor<'t>);
fn desc_name(&self) -> String { ... }
}
Expand description
Common functions of HIR nodes.
Required methods
A human-readable description of the node’s kind.
For example “package” or “entity”.
Accept a visitor and call its corresponding visit_*
function.