package diffast-langs-python
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Python parser plugin for Diff/AST
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.4.tar.gz
sha256=f58dc5326c1698e22b84e3b808e6008228071f5796cda65433106e0d42c0dad5
sha512=8e451ab99433ef479c7d3aa0396bab6650894a2c3282e72cc65014d61f59dde578020d4bc9d423045e66d1d4592b58e877d7bd830788aeb96e5fa4ba534b4b78
doc/diffast-langs-python.base/Python_base/Py_tree/Tree/class-c/index.html
Class Tree.c
val mutable vkind : Diffast_core.Entity.vkindval uid_table : (Diffast_misc.UID.t, node_t) Hashtbl.tval mutable true_parent_tbl : (Diffast_misc.UID.t, node_t) Hashtbl.tval mutable true_loc_tbl : (node_t, Diffast_misc.Loc.t) Hashtbl.tval mutable true_children_tbl : (node_t,
Diffast_core.Spec.node_data_t
Diffast_core.Spec.SB.Otree.node2
array)
Hashtbl.tval mutable source_kind : Diffast_misc.Storage.kindval mutable source_digest : Diffast_misc.Xhash.tval mutable node_table : node_t arrayval mutable node_array_pat : node_t arrayval mutable node_array : node_t arrayval mutable initial_leftmost_table : node_t arrayval mutable gindex_table : node_t arrayval mutable false_nodes : Diffast_core.Spec.node_data_t
Diffast_core.Spec.SB.Otree.node2
Diffast_misc.Xset.tval def_bid_tbl : (Diffast_misc.Binding.ID.t, node_t) Hashtbl.tval bid_tbl : (Diffast_misc.Binding.ID.t, string) Hashtbl.tval bid_map : (Diffast_misc.Binding.ID.t, Diffast_misc.Binding.ID.t list)
Hashtbl.tmethod _gindex_table : node_t arraymethod _initial_leftmost_table : node_t arraymethod _set_gindex_table : node_t array -> unitmethod _set_initial_leftmost_table : node_t array -> unitmethod acc : ?from:??? -> Diffast_misc.Path.t -> node_tmethod acc_parent : ?ignore_ofs:??? ->
?from:??? ->
Diffast_misc.Path.t ->
node_t Diffast_misc.Otree.acc_resultmethod add_to_bid_map : Diffast_misc.Binding.ID.t ->
Diffast_misc.Binding.ID.t ->
unitmethod add_to_bid_tbl : Diffast_misc.Binding.ID.t -> string -> unitmethod add_to_def_bid_tbl : Diffast_misc.Binding.ID.t -> node_t -> unitmethod ancestors : Diffast_misc.Otree.index -> Diffast_misc.Otree.index listmethod collapse_node : node_t -> unitmethod collapse_nodei : Diffast_misc.Otree.index -> unitmethod collapse_nodes : (node_t -> bool) -> unitmethod contract : (Diffast_misc.Otree.index * Diffast_misc.Otree.index list)
list ->
node_t list ->
unitmethod contraction_candidates : Diffast_misc.Otree.index list ->
Diffast_misc.Otree.index list ->
(Diffast_misc.Otree.index * Diffast_misc.Otree.index list) list
* node_t list
* boolmethod delete_node_by_gindex : Diffast_misc.Otree.GI.t -> unitmethod digest : Diffast_misc.Xhash.tmethod dump_subtree_for_delta_ch : ?add_info:??? ->
?node_map:??? ->
node_t ->
node_t list ->
Diffast_misc.Xchannel.out_channel ->
unitmethod dump_xml_ch : ?initial:??? ->
?pre_tags:??? ->
?post_tags:??? ->
Diffast_misc.Xchannel.out_channel ->
unitmethod expand : Diffast_misc.Otree.index list -> unitmethod expand_all : node_t -> boolmethod expand_nodei : Diffast_misc.Otree.index -> unitmethod expand_nodes : node_t list -> unitmethod expand_uids : Diffast_misc.UID.t list -> unitmethod fast_rev_scan_whole_initial : (node_t -> unit) -> unitmethod fast_scan_all : (node_t -> unit) -> unitmethod fast_scan_whole_initial : (node_t -> unit) -> unitmethod fast_whole_initial_subtree_size : node_t -> intmethod find_def_for_bid : Diffast_misc.Binding.ID.t -> node_tmethod find_mapped_bids : Diffast_misc.Binding.ID.t ->
Diffast_misc.Binding.ID.t listmethod find_name_for_bid : Diffast_misc.Binding.ID.t -> stringmethod find_nodes_by_line_col_range : ((int * int) * (int * int)) ->
node_t listmethod find_nodes_by_line_range : (int * int) -> node_t listmethod find_token_node : int -> node_tmethod find_token_node_pat : int -> node_tmethod find_true_category : node_t -> stringmethod find_true_loc : node_t -> Diffast_misc.Loc.tmethod find_true_parent : Diffast_misc.UID.t -> node_tmethod frontier_of_cluster : Diffast_misc.Otree.index list ->
Diffast_misc.Otree.index listmethod get : Diffast_misc.Otree.index -> node_tmethod get_all_leaves : node_t listmethod get_all_leavesi : Diffast_misc.Otree.index listmethod get_digest : node_t -> Diffast_core.Spec.SB.Xhash.tmethod get_ident_use_list : Diffast_misc.Otree.GI.t -> string listmethod get_leavesi : Diffast_misc.Otree.index -> Diffast_misc.Otree.index listmethod get_roots_of_forest : Diffast_misc.Otree.index ->
Diffast_misc.Otree.index ->
Diffast_misc.Otree.index listmethod get_token_array_pat : Diffast_core.GIDfragment.c -> string arraymethod get_units_to_be_notified : node_t listmethod get_whole_initial_leaves : node_t listmethod has_true_children : node_t -> boolmethod hash : Diffast_misc.Xhash.algomethod initial_acc : ?from:??? -> Diffast_misc.Path.t -> node_tmethod initial_acc_parent : ?ignore_ofs:??? ->
?from:??? ->
Diffast_misc.Path.t ->
node_t Diffast_misc.Otree.acc_resultmethod initial_ancestors : Diffast_misc.UID.t -> Diffast_misc.UID.t listmethod initial_subtree_digest : node_t -> Diffast_misc.Xhash.tmethod initial_subtree_to_rep : node_t -> stringmethod insert_cluster : Diffast_misc.UID.t ->
int ->
(node_t * (node_t * int) list) ->
unitmethod is_false_node : Diffast_core.Spec.node_data_t
Diffast_core.Spec.SB.Otree.node2 ->
boolmethod is_leaf : Diffast_misc.Otree.index -> boolmethod is_member : node_t -> boolmethod is_statement : node_t -> boolmethod iter_initial_ancestors : Diffast_misc.UID.t ->
(Diffast_misc.UID.t -> unit) ->
unitmethod iter_whole_initial_leaves : (node_t -> unit) -> unitmethod leaves : Diffast_misc.Otree.index listmethod left_siblings : Diffast_misc.Otree.index ->
Diffast_misc.Otree.index listmethod make_anonymized2_subtree_copy : ?nds_left_named:??? -> node_t -> cmethod make_anonymized3_subtree_copy : ?nds_left_named:??? -> node_t -> cmethod make_anonymized_subtree_copy : ?nds_left_named:??? -> node_t -> cmethod make_subtree_copy : ?find_hook:??? -> node_t -> cmethod make_subtree_from_node : node_t -> cmethod make_subtree_from_path : Diffast_misc.Path.t -> cmethod make_subtree_from_uid : Diffast_misc.UID.t -> cmethod match_pat_ch : string ->
'b ->
string array ->
Diffast_core.GIDfragment.c ->
out_channel ->
unitmethod match_pats : string ->
string ->
'b ->
Diffast_core.GIDfragment.c list ->
unitmethod match_token_array_pat_ch : string ->
string ->
string ->
string array ->
out_channel ->
unitmethod mem_gindex : Diffast_misc.Otree.GI.t -> boolmethod mem_uid : Diffast_misc.UID.t -> boolmethod merge_locs_adjusting_to_boundary : Diffast_misc.Otree.GI.t list ->
Diffast_misc.Loc.tmethod mutate : (Diffast_misc.UID.t,
node_t Diffast_misc.Otree.cluster_mutation list)
Hashtbl.t ->
node_t Diffast_misc.Xset.tmethod node_table : node_t arraymethod nth_gen : Diffast_misc.Otree.index -> int -> node_t listmethod preorder_scan_all : (node_t -> unit) -> unitmethod preorder_scan_alli : (Diffast_misc.Otree.index -> node_t -> unit) ->
unitmethod preorder_scan_subtreei : node_t ->
(Diffast_misc.Otree.index -> node_t -> unit) ->
unitmethod preorder_scan_whole_initial : ?after:??? -> (node_t -> unit) -> unitmethod prune : Diffast_misc.Otree.index list -> unitmethod prune_cluster_by_gindex : Diffast_misc.Otree.GI.t ->
Diffast_misc.Otree.GI.t list ->
unitmethod prune_cluster_by_uid : Diffast_misc.UID.t ->
Diffast_misc.UID.t list ->
unitmethod prune_initial_nodes : node_t list -> unitmethod prune_nodes : node_t list -> unitmethod prune_uids : Diffast_misc.UID.t list -> unitmethod recover_and_expand : node_t -> boolmethod recover_filtered : (node_t -> bool) -> unitmethod recover_true_children : initial_only:bool ->
unit ->
Diffast_core.Spec.node_data_t Diffast_core.Spec.SB.Otree.node2 list
* node_t listmethod register_uid : Diffast_misc.UID.t -> node_t -> unitmethod right_siblings : Diffast_misc.Otree.index ->
Diffast_misc.Otree.index listmethod root : node_tmethod scan : Diffast_misc.Otree.index ->
Diffast_misc.Otree.index ->
(node_t -> unit) ->
unitmethod scan_all : (node_t -> unit) -> unitmethod scan_alli : (Diffast_misc.Otree.index -> node_t -> unit) -> unitmethod scan_cluster_u : (Diffast_misc.UID.t * Diffast_misc.UID.t list) ->
(node_t -> unit) ->
unitmethod scan_initial_cluster_g : (Diffast_misc.Otree.GI.t
* Diffast_misc.Otree.GI.t list) ->
(node_t -> unit) ->
unitmethod scan_initial_cluster_u : (Diffast_misc.UID.t * Diffast_misc.UID.t list) ->
(node_t -> unit) ->
unitmethod scan_subtreei : node_t ->
(Diffast_misc.Otree.index -> node_t -> unit) ->
unitmethod scan_whole_initial : (node_t -> unit) -> unitmethod search_node_by_gindex : Diffast_misc.Otree.GI.t -> node_tmethod search_node_by_uid : Diffast_misc.UID.t -> node_tmethod set_digests : (node_t -> bool) -> unitmethod set_false_nodes : Diffast_core.Spec.node_data_t
Diffast_core.Spec.SB.Otree.node2
Diffast_misc.Xset.t ->
unitmethod set_source_digest : Diffast_misc.Xhash.t -> unitmethod set_source_info : Diffast_misc.Storage.file -> unitmethod set_source_kind : Diffast_misc.Storage.kind -> unitmethod set_true_children_tbl : (node_t,
Diffast_core.Spec.node_data_t
Diffast_core.Spec.SB.Otree.node2
array)
Hashtbl.t ->
unitmethod set_true_loc_tbl : (node_t, Diffast_misc.Loc.t) Hashtbl.t -> unitmethod set_true_parent_tbl : (Diffast_misc.UID.t, node_t) Hashtbl.t -> unitmethod set_vkind : Diffast_core.Entity.vkind -> unitmethod size_of_cluster_u : (Diffast_misc.UID.t * Diffast_misc.UID.t list) ->
intmethod size_of_initial_cluster_u : (Diffast_misc.UID.t
* Diffast_misc.UID.t list) ->
intmethod size_of_subtree : Diffast_misc.Otree.index -> intmethod size_of_subtree_uid : Diffast_misc.UID.t -> intmethod source_digest : Diffast_misc.Xhash.tmethod source_kind : Diffast_misc.Storage.kindmethod subtree_members : Diffast_misc.Otree.index ->
Diffast_misc.Otree.index listmethod subtree_to_simple_string : Diffast_misc.Otree.GI.t -> stringmethod to_dot : ?mklab:??? -> int list -> Buffer.tmethod to_dot_initial : ?mklab:??? -> Diffast_misc.Otree.index list -> Buffer.tmethod unparse_ch : ?no_boxing:??? ->
?no_header:??? ->
?fail_on_error:??? ->
Diffast_core.Spec_base.OutChannel.t ->
unitmethod unparse_subtree_ch : ?no_boxing:??? ->
?no_header:??? ->
?fail_on_error:??? ->
node_t ->
Diffast_core.Spec_base.OutChannel.t ->
unitmethod unregister_uid : Diffast_misc.UID.t -> unitmethod vkind : Diffast_core.Entity.vkindmethod whole_initial_subtree_size : node_t -> int sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>