[−][src]Trait moore_svlog_syntax::ast::BasicNode
Basic attributes of an AST node.
If this trait is present on Node<T>
, then Node<T>
will automatically
implement the full AnyNode
trait.
Required methods
fn type_name(&self) -> &'static str
Get the type name of the node.
fn as_all(&'a self) -> AllNode<'a>
Convert this node to the exhaustive AllNode
enum.
fn as_any(&'a self) -> &'a dyn AnyNode<'a>
Convert this node to an AnyNode
trait object.