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

The source file location of this node.

A human-readable description of the node’s kind.

For example “package” or “entity”.

Accept a visitor and call its corresponding visit_* function.

Walk a visitor over the node’s subtree.

Provided methods

A human-readable description of the node, including its name.

E.g. package 'foo' or entity 'adder'.

Trait Implementations

Performs the conversion.

Implementors