pub trait HasNodeId {
// Required methods
fn node_id(&self) -> NodeId;
fn node_id_mut(&mut self) -> &mut NodeId;
}
Expand description
A trait for AST nodes having an ID.
pub trait HasNodeId {
// Required methods
fn node_id(&self) -> NodeId;
fn node_id_mut(&mut self) -> &mut NodeId;
}
A trait for AST nodes having an ID.