macro_rules! span {
($start:expr, $end:expr) => { ... };
}
Expand description
A macro that can be used to construct a Span that can be
pattern matched over.
use rune::ast::Span;
use rune::span;
let span = Span::new(42, 84);
assert!(matches!(span, span!(42, 84)));