package diffast-langs-python

  1. Overview
  2. Docs
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_unparsing/index.html

Module Python_base.Py_unparsingSource

module Sourcecode = Diffast_core.Sourcecode
module Unparsing_base = Langs_common.Unparsing_base
Sourcemodule L = Py_label
module Tree : sig ... end
Sourcemodule Fmtr : sig ... end
module UPB : sig ... end
Sourceval indent_unit : int ref
Sourceval error_symbol : string
Sourceval pr_comma : unit -> unit
Sourceval pr_eq : unit -> unit
Sourceval pr_a : ?head:??? -> ?tail:??? -> (unit -> unit) -> ('a -> unit) -> 'a array -> unit
Sourceval pr_opt : ('a -> unit) -> 'a option -> unit
Sourceval pr_indent : int -> unit
Sourceval pr_name : string -> unit
Sourceval getlab : < data : < _label : Obj.t ; orig_lab_opt : Obj.t option.. >.. > -> L.t
Sourceval get_nth_children : < children : 'a array ; data : < get_ordinal : int -> 'b.. >.. > -> 'b -> 'a array
Sourceval pr_node : ?fail_on_error:??? -> ?level:??? -> (< children : 'a array ; data : < _label : Obj.t ; get_ordinal : int -> int ; orig_lab_opt : Obj.t option.. > ; initial_children : 'a array.. > as 'a) -> unit
Sourceval unparse : ?no_boxing:??? -> ?no_header:??? -> ?fail_on_error:??? -> (< children : 'a array ; data : < _label : Obj.t ; get_ordinal : int -> int ; orig_lab_opt : Obj.t option.. > ; initial_children : 'a array.. > as 'a) -> unit