Trait moore_svlog_syntax::ast::BasicNode [−][src]
pub trait BasicNode<'a>: Debug + AcceptVisitor<'a> + ForEachChild<'a> + ForEachNode<'a> {
fn type_name(&self) -> &'static str;
fn as_all(&'a self) -> AllNode<'a>;
fn as_any(&'a self) -> &'a dyn AnyNode<'a>;
}Expand description
Basic attributes of an AST node.
If this trait is present on Node<T>, then Node<T> will automatically
implement the full AnyNode trait.