package diffast-langs-python

  1. Overview
  2. Docs
Python 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-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:bool -> t -> string
Sourceval to_tag : t -> string * (string * name) list