package diffast-langs-python

  1. Overview
  2. Docs
module Xset = Diffast_misc.Xset
module Loc = Diffast_misc.Loc
module Binding = Diffast_misc.Binding
module Sourcecode = Diffast_core.Sourcecode
module Spec = Diffast_core.Spec
module Astloc = Langs_common.Astloc
module Ast = Python_parsing.Ast
module L = Py_label
module BID = Binding.ID
val sprintf : ('a, unit, string) format -> 'a
val first : 'a list -> 'a
val last : 'a list -> 'a
val conv_loc : L.Ast.Loc.t -> L.Loc.t
val set_loc : < data : < set_loc : L.Loc.t -> 'a.. >.. > -> L.Ast.Loc.t -> 'a
val of_opt : ('a -> 'b) -> 'a option -> 'b list
val loc_of_name : ('a * 'b) -> 'a
val opt_length : 'a option -> int
val getlab : < data : < _label : Obj.t ; orig_lab_opt : Obj.t option.. >.. > -> Python_base.Py_unparsing.L.t
module Tree : sig ... end
class c : Diffast_core.Parser_options.c -> Tree.node_t -> bool -> object ... end
val is_docstring : < children : < children : < data : < _label : Obj.t ; orig_lab_opt : Obj.t option.. >.. > array ; data : < _label : Obj.t ; orig_lab_opt : Obj.t option.. > ; nchildren : int.. > array ; data : < _label : Obj.t ; orig_lab_opt : Obj.t option.. > ; nchildren : int.. > -> bool
val name_of_fpdef : Ast.fpdef -> string
class visitor : < gen : Binding.ID.t.. > -> < fast_scan_whole_initial_subtree : Diffast_core.Spec.node_data_t Diffast_core.Spec.SB.Otree.node2 -> (Diffast_core.Spec.node_t -> unit) -> 'a ; root : Diffast_core.Spec.node_t.. > -> object ... end
class translator : < ignore_identifiers_flag : bool ; python_ignore_docstring_flag : bool ; uid_generator : Diffast_misc.UID.generator ; weak_eq_flag : bool.. > -> (int, Ast.comment) Hashtbl.t -> object ... end
val of_fileinput : Diffast_core.Parser_options.c -> (int, Ast.comment) Hashtbl.t -> 'a -> Ast.fileinput -> Tree.c * (int * int) list
val of_ast : Diffast_core.Parser_options.c -> 'a -> < blank_regions : (int * int) list ; comment_regions : (int * int) list ; comment_tbl : (int, Ast.comment) Hashtbl.t ; fileinput : Ast.fileinput ; ignored_regions : (int * int) list ; lines_read : int ; missed_LOC : int ; missed_regions : (int * int) list.. > -> Tree.c
OCaml

Innovation. Community. Security.