Add accessor functions for Edit properties

This commit is contained in:
Thomas A. Christensen II 2022-06-14 16:17:16 -05:00
parent 101f401635
commit 1e6f6ea075
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -133,6 +133,9 @@ function Base.parse(::Type{<:Edit{Se, Sy}}, s::Union{String, SubString{String}})
end
end
mutation(e::Edit) = e.x
BioGenerics.leftposition(e::Edit) = e.pos
#=
@noinline throw_parse_error(T, p::Integer) = error("Failed to parse $T at byte $p")