package diffast-langs-cpp
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
C++/C parser plugin for Diff/AST
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.3.5.1.tar.gz
sha256=6971a07313d308bdfcfe165fd76c218454826fe594acfa6ab25b0e7a1c739cb5
md5=be0348ed663151930bc8ced0ca678b60
doc/diffast-langs-cpp.base/Cpp_base/Cpp_unparsing/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_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 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:node_t -> Diffast_misc.Path.t -> node_tmethod acc_parent : ?ignore_ofs:bool ->
?from:node_t ->
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_astml : ?comp:Diffast_misc.Compression.c -> string -> unitmethod dump_subtree_for_delta_ch : node_t ->
node_t list ->
Diffast_misc.Xchannel.out_channel ->
unitmethod dump_xml_ch : ?initial:bool ->
?pre_tags:string ->
?post_tags:string ->
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_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_data Diffast_misc.Otree.node2 -> Diffast_misc.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:node_t -> Diffast_misc.Path.t -> node_tmethod initial_acc_parent : ?ignore_ofs:bool ->
?from:node_t ->
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_leaf : Diffast_misc.Otree.index -> boolmethod is_member : 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_subtree_copy : ?find_hook:
(node_t ->
node_data Diffast_misc.Otree.node2 ->
unit) ->
node_t ->
cmethod make_subtree_from_node : node_data Diffast_misc.Otree.node2 -> 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 : (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 listmethod register_uid : Diffast_misc.UID.t -> node_t -> unitmethod right_siblings : Diffast_misc.Otree.index ->
Diffast_misc.Otree.index listmethod root : node_tmethod save_in_xml : ?initial:bool ->
?comp:Diffast_misc.Otree.Comp.c ->
?add_ext:bool ->
?pre_tags:string ->
?post_tags:string ->
string ->
unitmethod 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_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_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:
(Diffast_core.Spec.node_data_t
Diffast_core.Spec.SB.Otree.node2 ->
string) ->
int list ->
Buffer.tmethod to_dot_initial : ?mklab:
(Diffast_core.Spec.node_data_t
Diffast_core.Spec.SB.Otree.node2 ->
string) ->
Diffast_misc.Otree.index list ->
Buffer.tmethod unparse_ch : ?no_boxing:bool ->
?no_header:bool ->
?fail_on_error:bool ->
Diffast_core.Spec_base.OutChannel.t ->
unitmethod unparse_subtree_ch : ?no_boxing:bool ->
?no_header:bool ->
?fail_on_error:bool ->
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)"
>