Stack.MStack is represented as a mapping from relevant terms to locations.
include Datatype_sig.PRINTABLE with type t := tinclude Datatype_sig.SHOW with type t := tval pp : Stdlib.Format.formatter -> t -> unitOutput to formatter
val print : ?prefix:string -> t -> unitOutput to stdout.
val show_option : t option -> stringval print_option : ?prefix:string -> t option -> unitval dump : string -> t -> unitDump to file given by filename
val show_list : ?separator:string -> t list -> stringval pp_list : Stdlib.Format.formatter -> t list -> unitval print_list : ?separator:string -> ?prefix:string -> t list -> unitCopy-pasted signature of classic polymorphic map
val empty : tval is_empty : t -> boolval add : SL.Term.t -> Location.t -> t -> tval find : SL.Term.t -> t -> Location.tval iter : (SL.Term.t -> Location.t -> unit) -> t -> unitval fold : (SL.Term.t -> Location.t -> 'acc -> 'acc) -> t -> 'acc -> 'accval union :
(SL.Term.t -> Location.t -> Location.t -> Location.t option) ->
t ->
t ->
tval bindings : t -> (SL.Term.t * Location.t) listval cardinal : t -> intval choose : t -> SL.Term.t * Location.tval filter : (SL.Term.t -> Location.t -> bool) -> t -> tAdditional functions
val values : t -> Location.t listval of_list : (SL.Term.t * Location.t) list -> tval show : t -> stringval show_custom :
(SL.Term.t -> string) ->
(Location.t -> string) ->
t ->
string