pub trait WithSpan {
    // Required method
    fn span(&self) -> Span;
}
Expand description

An AST node with a span.

Required Methods§

source

fn span(&self) -> Span

The span of the node.

Implementors§