diff --git a/src/span.jl b/src/span.jl index 0be0017..23063e2 100644 --- a/src/span.jl +++ b/src/span.jl @@ -3,3 +3,5 @@ struct Span start_mark::Mark end_mark::Mark end + +show(io::IO, span::Span) = print(io, "(line, column) ∈ (", span.start_mark.line, ", ", span.start_mark.column, ")...(", span.end_mark.line, ", ", span.end_mark.column, ")")