runmat-hir 0.4.5

High-level IR for RunMat with type inference and lowering utilities
Documentation
1
2
3
4
5
6
7
8
pub type Span = runmat_parser::Span;

pub fn merge_span(lhs: Span, rhs: Span) -> Span {
    Span {
        start: lhs.start.min(rhs.start),
        end: lhs.end.max(rhs.end),
    }
}