Up
Module
Source_code_position0
Signature
module
Sexp
=
Sexplib.Sexp
module
Stable
: sig .. end
include
Stable.V1
type
t = Lexing.position = {
pos_fname
: string
;
pos_lnum
: int
;
pos_bol
: int
;
pos_cnum
: int
;
}
val
t_of_sexp :
Sexplib.Sexp.t
->
t
val
sexp_of_t :
t
->
Sexplib.Sexp.t
val
compare :
t
->
t
-> int
val
compare_t :
t
->
t
-> int
val
bin_size_t :
t
-> int
val
bin_write_t :
Bin_prot.Common.buf
-> pos:
Bin_prot.Common.pos
->
t
->
Bin_prot.Common.pos
val
bin_writer_t :
t
Bin_prot.Type_class.writer
val
__bin_read_t__ : 'a -> pos_ref:
Bin_prot.Common.pos
Pervasives.ref -> 'b -> 'c
val
bin_read_t :
Bin_prot.Common.buf
-> pos_ref:
Bin_prot.Common.pos_ref
->
t
val
bin_reader_t :
t
Bin_prot.Type_class.reader
val
bin_t :
t
Bin_prot.Type_class.t
val
sexp_of_t : Lexing.position ->
Sexplib.Sexp.t
val
to_string : Lexing.position -> string