Module Langs_common.AstlocSource

Sourcetype t = {
  1. mutable filename : string;
  2. start_offset : int;
  3. end_offset : int;
  4. start_line : int;
  5. start_char : int;
  6. end_line : int;
  7. end_char : int;
}
Sourceval dummy : t
Sourceval make : ?fname:string -> int -> int -> int -> int -> int -> int -> t
Sourceval copy : t -> t
Sourceval interchange : t -> t
Sourceval is_valid : ?weak:bool -> t -> bool
Sourceval is_dummy : t -> bool
Sourceval encode_path : string -> string
Sourceval decode_path : string -> string
Sourceval to_rep : t -> string
Sourceval from_rep : string -> t
Sourceval is_extended : t -> bool
Sourceval get_stripped : t -> t
Sourceval get_extended : ?cache:Fname.ext_cache_t -> t -> string -> t
Sourceval extend : ?cache:Fname.ext_cache_t -> t -> string -> unit
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 merge : t -> t -> t
Sourceval collapse_forward : ?len:int -> t -> t
Sourceval collapse_backward : ?len:int -> t -> t
Sourceval widen : t -> int -> t
Sourceval is_contained : t -> t -> bool
Sourceval to_offsets : t -> int * int
Sourceval dump_locs : t list -> unit
Sourceval lines_of_locs : t list -> int
Sourceval mklexpos : ?fname:string -> ?lnum:int -> ?bol:int -> int -> Lexing.position
Sourceval of_lexpos : Lexing.position -> t
Sourceval of_lexposs : Lexing.position -> Lexing.position -> t
Sourceval incr_n_lexpos : int -> Lexing.position -> Lexing.position
Sourceval decr_n_lexpos : int -> Lexing.position -> Lexing.position
Sourceval gt_lexpos : Lexing.position -> Lexing.position -> bool
Sourceval lt_lexpos : Lexing.position -> Lexing.position -> bool
Sourceval ge_lexpos : Lexing.position -> Lexing.position -> bool
Sourceval le_lexpos : Lexing.position -> Lexing.position -> bool
Sourceval dummy_lexpos : Lexing.position
Sourceval to_start_lexpos : t -> Lexing.position
Sourceval to_end_lexpos : t -> Lexing.position
Sourceval lexpos_to_string : Lexing.position -> string