Frama-C API - Location
Cil locations.
include S_with_collections_pretty with type t = Cil_types.location
include S_with_collections with type t = Cil_types.location
include Datatype.S_with_collections with type t = Cil_types.location
include Datatype.S with type t = Cil_types.location
include Datatype.S_no_copy with type t = Cil_types.location
val packed_descr : Structural_descr.packPacked version of the descriptor.
val reprs : t listList of representants of the descriptor.
val hash : t -> intHash function: same spec than Hashtbl.hash.
val pretty : Stdlib.Format.formatter -> t -> unitPretty print each value in an user-friendly way.
val mem_project : (Project_skeleton.t -> bool) -> t -> boolmem_project f x must return true iff there is a value p of type Project.t in x such that f p returns true.
module Set : Datatype.Set with type elt = tmodule Map : Datatype.Map with type key = tmodule Hashtbl : Datatype.Hashtbl with type key = tval dummy : tval unknown : tval pretty_long : t Pretty_utils.formatterval pretty_line : t Pretty_utils.formatterPretty the location under the form file <f>, line <l>, without the full-path to the file. The default pretty-printer pretty echoes <dir/f>:<l>
val pretty_debug : t Pretty_utils.formatterPretty-print both location start and end, including file, line and character offset.
val of_lexing_loc : (Stdlib.Lexing.position * Stdlib.Lexing.position) -> tPrints only the line of the location
val to_lexing_loc : t -> Stdlib.Lexing.position * Stdlib.Lexing.positionval compare_start_semantic : Cil_types.location -> Cil_types.location -> intCompares two locations semantically, only taking into account their starting position. Compares normalized filenames, lines and columns, but no absolute character offsets.
val equal_start_semantic : Cil_types.location -> Cil_types.location -> boolEquality using compare_start_semantic.
