package diffast-langs-verilog
Module V_lib.ChangeSource
module I = Diffast_core.Infomodule E = Diffast_core.Editmodule Xset = Diffast_misc.Xsetmodule Otree = Diffast_misc.Otreemodule Loc = Diffast_misc.Locmodule EO = Diffast_core.Editopval sprintf : ('a, unit, string) format -> 'atype node_t = Diffast_core.Spec.node_ttype change_to_triples = change -> Diffast_core.Triple.t listtype change_maker = unit -> change listval hash_change : change -> intval change_to_string : change -> stringval score : significance -> inttype change_infos = (string * int * change_info list) listclass change_set : object ... endval mkilit : int -> Diffast_core.Triple.nodeval p_is_a : Diffast_core.Triple.nodeval p_moved_to : Diffast_core.Triple.nodeval p_deleted_from : Diffast_core.Triple.nodeval p_inserted_into : Diffast_core.Triple.nodeval p_pruned_from : Diffast_core.Triple.nodeval p_grafted_onto : Diffast_core.Triple.nodeval p_gen_removed : Diffast_core.Triple.nodeval p_gen_added : Diffast_core.Triple.nodeval p_affects_nesting_depth : Diffast_core.Triple.nodeval p_nesting_depth : Diffast_core.Triple.nodeval p_cardinality : Diffast_core.Triple.nodeval l_true : Diffast_core.Triple.nodeval make_mkent_pair :
< fact_algo : Diffast_core.Triple.Xhash.algo
; fact_enc : Diffast_core.Entity.encoding
; fact_proj : string.. > ->
< proj_root : 'a
; source_digest : Diffast_core.Triple.Xhash.t
; source_path : string
; version : string
; vkind : Diffast_core.Entity.vkind.. > ->
< proj_root : 'b
; source_digest : Diffast_core.Triple.Xhash.t
; source_path : string
; version : string
; vkind : Diffast_core.Entity.vkind.. > ->
(< data :
< is_phantom : bool
; is_special : bool
; source_fid : string
; src_loc : Diffast_core.Triple.Loc.t
; to_string : string.. >.. > ->
Diffast_core.Triple.node)
* (< data :
< is_phantom : bool
; is_special : bool
; source_fid : string
; src_loc : Diffast_core.Triple.Loc.t
; to_string : string.. >.. > ->
Diffast_core.Triple.node)val is_ghost : < data : < src_loc : Diffast_core.Triple.Loc.t.. >.. > -> boolval find_from_or_into :
'a ->
(< root :
< data : < src_loc : Diffast_core.Triple.Loc.t.. >
; initial_parent : 'c.. > as 'c.. > as 'b) ->
< mem_mov12 : 'c -> 'c -> bool.. > ->
?mid_opt:'d option ->
'b ->
('c -> 'c) ->
< initial_parent : 'c.. > ->
'cmodule F (L : Diffast_core.Spec.LABEL_T) : sig ... endmodule CB : sig ... endSource
val get_unit :
< get_nearest_containing_unit : 'a -> < data : < label : string.. >.. >.. > ->
'a ->
stringSource
val subtree_to_str :
< subtree_to_simple_string : 'a -> string.. > ->
< gindex : 'a.. > ->
stringSource
val get_desc1 :
'a ->
< get_ident_use_list : 'b -> string list
; subtree_to_simple_string : 'b -> string.. > ->
< data : < label : string.. > ; gindex : 'b.. > ->
stringSource
val get_desc2 :
< get_ident_use_list : 'a -> string list
; subtree_to_simple_string : 'a -> string.. > ->
< get_ident_use_list : 'b -> string list
; subtree_to_simple_string : 'b -> string.. > ->
< data : < label : string.. > ; gindex : 'a.. > ->
< data : < label : string.. > ; gindex : 'b.. > ->
stringSource
class c : < fact_algo : Diffast_core.Triple.Xhash.algo
; fact_enc : Diffast_core.Entity.encoding
; fact_for_changes_basic_flag : bool
; fact_for_changes_flag : bool
; fact_proj : string.. > -> Diffast_core.Spec.tree_t -> Diffast_core.Spec.tree_t ->
Diffast_core.Spec.node_t
Diffast_core.Node_mapping.c -> < add_edit :
Diffast_core.Spec.node_t
Diffast_core.Editop.t ->
unit
; finalize :
Diffast_core.Spec.node_t Diffast_core.Node_mapping.c ->
('a -> bool) ->
unit
; find_mid12 :
Diffast_core.Spec.node_t ->
Diffast_core.Spec.node_t ->
Diffast_core.Editop.move_id
; iter : (Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit) -> 'b
; iter_deletes_and_inserts :
(Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit) ->
'c
; iter_moves : (Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit) -> 'd
; iter_relabels :
(Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit) ->
'e
; mem_mov12 : Diffast_core.Spec.node_t -> Diffast_core.Spec.node_t -> bool
; mem_mov2 : Diffast_core.Node_mapping.Nodetbl.key -> bool
; remove_edit : Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit.. > -> (
Diffast_core.Spec.tree_t ->
Diffast_core.Node_mapping.Nodetbl.key ->
string) -> (bool ->
Diffast_core.Spec.tree_t ->
Diffast_core.Spec.node_t ->
string) -> (Diffast_core.Spec.tree_t ->
Diffast_core.Spec.tree_t ->
Diffast_core.Spec.node_t ->
Diffast_core.Spec.node_t ->
string) -> object ... endSource
val extract :
< fact_algo : Diffast_core.Triple.Xhash.algo
; fact_enc : Diffast_core.Entity.encoding
; fact_for_changes_basic_flag : bool
; fact_for_changes_flag : bool
; fact_proj : string.. > ->
Diffast_core.Spec.tree_t ->
Diffast_core.Spec.tree_t ->
Diffast_core.Spec.node_t Diffast_core.Node_mapping.c ->
< add_edit : Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit
; finalize :
Diffast_core.Spec.node_t Diffast_core.Node_mapping.c ->
('a -> bool) ->
unit
; find_mid12 :
Diffast_core.Spec.node_t ->
Diffast_core.Spec.node_t ->
Diffast_core.Editop.move_id
; iter : (Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit) -> 'b
; iter_deletes_and_inserts :
(Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit) ->
'c
; iter_moves :
(Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit) ->
'd
; iter_relabels :
(Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit) ->
'e
; mem_mov12 : Diffast_core.Spec.node_t -> Diffast_core.Spec.node_t -> bool
; mem_mov2 : Diffast_core.Node_mapping.Nodetbl.key -> bool
; remove_edit : Diffast_core.Spec.node_t Diffast_core.Editop.t -> unit.. > ->
(string * int * string list) list
* Diffast_core.Spec.node_t Diffast_core.Editop.t list
* (string
* int
* (string
* string
* string
* Diffast_misc.Loc.t
* string
* Diffast_misc.Loc.t)
list)
list
* Diffast_core.Triple.t Diffast_misc.Xset.t