Module Mavryk_webassembly_interpreter.Source
type pos = {
file : string;
line : int;
column : int;
}
val pp_pos :
Ppx_deriving_runtime.Format.formatter ->
pos ->
Ppx_deriving_runtime.unit
val show_pos : pos -> Ppx_deriving_runtime.string
type region = {
left : pos;
right : pos;
}
val pp_region :
Ppx_deriving_runtime.Format.formatter ->
region ->
Ppx_deriving_runtime.unit
val show_region : region -> Ppx_deriving_runtime.string
type 'a phrase = {
at : region;
it : 'a;
}
val pp_phrase :
(Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) ->
Ppx_deriving_runtime.Format.formatter ->
'a phrase ->
Ppx_deriving_runtime.unit
val show_phrase :
(Ppx_deriving_runtime.Format.formatter -> 'a -> Ppx_deriving_runtime.unit) ->
'a phrase ->
Ppx_deriving_runtime.string
val string_of_pos : pos -> string
val string_of_region : region -> string