Module Langs_common.AstlocSource
Sourcetype t = {mutable filename : string;start_offset : int;end_offset : int;start_line : int;start_char : int;end_line : int;end_char : int;
} Sourceval make : ?fname:string -> int -> int -> int -> int -> int -> int -> t Sourceval is_valid : ?weak:bool -> t -> bool Sourceval encode_path : string -> string Sourceval decode_path : string -> string Sourceval to_string :
?show_ext:bool ->
?short:bool ->
?prefix:string ->
?suffix:string ->
t ->
string Sourceval start_to_string :
?show_ext:bool ->
?short:bool ->
?prefix:string ->
?suffix:string ->
t ->
string Sourceval end_to_string :
?show_ext:bool ->
?short:bool ->
?prefix:string ->
?suffix:string ->
t ->
string Sourceval normalize_fname : string -> string Sourceval collapse_forward : ?len:int -> t -> t Sourceval collapse_backward : ?len:int -> t -> t Sourceval to_offsets : t -> int * int Sourceval dump_locs : t list -> unit Sourceval lines_of_locs : t list -> int