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_label/Statement/index.html

Module Py_label.StatementSource

Sourcetype t =
  1. | Simple
  2. | If of tie_id
  3. | While
  4. | For
  5. | Try
  6. | With
  7. | FuncDef of name
  8. | ClassDef of name
  9. | Async
  10. | AsyncFuncDef of name
  11. | ERROR
  12. | MARKER of string
Sourceval to_string : t -> string
Sourceval is_named : t -> bool
Sourceval get_name : t -> name
Sourceval is_named_orig : t -> bool
Sourceval anonymize : t -> t
Sourceval to_short_string : ?ignore_identifiers_flag:??? -> t -> string
Sourceval to_tag : t -> string * (string * name) list