pub trait AstNode: Debug + PartialEq<Self> + Clone + Spanned + Serialize {
const TYPE: &'static str;
}
Available on crate feature
__common
only.Expand description
A trait for ast nodes.
pub trait AstNode: Debug + PartialEq<Self> + Clone + Spanned + Serialize {
const TYPE: &'static str;
}
__common
only.A trait for ast nodes.