Module IBase__Location
type t
=
{
line : int;
The line number. -1 means "do not know"
col : int;
The column number. -1 means "do not know"
file : IBase.SourceFile.t;
The name of the source file
}
Location in the original source file
val equal : t -> t -> bool
val none : IBase.SourceFile.t -> t
Dummy source location for the given file
val dummy : t
Dummy location with no source file
val pp : Stdlib.Format.formatter -> t -> unit
Pretty print a location.
val pp_line : Stdlib.Format.formatter -> t -> unit
print just the line information
val to_string : t -> string
String representation of a location.
val pp_file_pos : Stdlib.Format.formatter -> t -> unit
Pretty print a file-position of a location
module Map : IStdlib.PrettyPrintable.PPMap with type PPMap.key = t