pub trait ASTNodeSpan {
// Required methods
fn span(&self) -> Span;
fn span_mut(&mut self) -> &mut Span;
}Expand description
Returns the span of the given AST node.
pub trait ASTNodeSpan {
// Required methods
fn span(&self) -> Span;
fn span_mut(&mut self) -> &mut Span;
}Returns the span of the given AST node.