package diffast-core

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Class type Spec.tree_t

method unparse_subtree_ch : ?no_boxing:bool -> ?no_header:bool -> ?fail_on_error:bool -> node_t -> SB.OutChannel.t -> unit
method unparse_ch : ?no_boxing:bool -> ?no_header:bool -> ?fail_on_error:bool -> SB.OutChannel.t -> unit
method set_true_parent_tbl : (UID.t, node_t) Hashtbl.t -> unit
method find_true_parent : UID.t -> node_t
method set_true_children_tbl : (node_t, node_t array) Hashtbl.t -> unit
method recover_true_children : initial_only:bool -> unit -> node_t list
method has_true_children : node_t -> bool
method set_source_info : Storage.file -> unit
method set_source_fullpath : string -> unit
method source_fullpath : string
method source_kind : Storage.kind
method set_source_kind : Storage.kind -> unit
method set_vkind : Diffast_core.Entity.vkind -> unit
method set_version : string -> unit
method version : string
method set_proj_root : string -> unit
method proj_root : string
method set_source_digest : string -> unit
method source_digest : string
method encoded_source_digest : string
method set_parser_name : string -> unit
method dump_astml : ?comp:Compression.c -> string -> unit
method collapse : unit
method dump_line_ranges : string -> unit
method set_misparsed_regions : (int * int) list -> unit
method misparsed_regions : (int * int) list
method set_total_LOC : int -> unit
method total_LOC : int
method set_misparsed_LOC : int -> unit
method misparsed_LOC : int
method get_nearest_containing_unit : node_t -> node_t
method label_match : string -> bool
method align_fragments : (GI.t * GI.t) list -> 'self -> unit
method nearest_common_ancestor : ?closed:bool -> node_t list -> node_t * int
method get_nearest_boundary : node_t -> node_t
method find_nodes_by_line_range : (int * int) -> node_t list
method find_nodes_by_line_col_range : ((int * int) * (int * int)) -> node_t list
method get_ident_use_list : GI.t -> string list
method merge_locs_adjusting_to_boundary : GI.t list -> Loc.t
method subtree_to_simple_string : GI.t -> string
method make_anonymized_subtree_copy : ?nds_left_named:node_t list -> node_t -> 'self
method make_anonymized2_subtree_copy : ?nds_left_named:node_t list -> node_t -> 'self
method make_anonymized3_subtree_copy : ?nds_left_named:node_t list -> node_t -> 'self
method find_label : node_t -> node_t -> node_t list
method find_token_node : int -> node_t
method find_token_node_pat : int -> node_t
method to_token_array : string array
method get_token_array_pat : Diffast_core.GIDfragment.c -> string array
method match_pat_ch : string -> 'self -> string array -> Diffast_core.GIDfragment.c -> out_channel -> unit
method match_token_array_pat_ch : string -> string -> string -> string array -> out_channel -> unit
method match_pats : string -> string -> 'self -> Diffast_core.GIDfragment.c list -> unit
method show_node_array_pat : unit