package diffast-langs-python

  1. Overview
  2. Docs

Module Py_label.StatementSource

Sourcetype t =
  1. | Simple
  2. | If
  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 : 'a -> bool
Sourceval anonymize : t -> t
Sourceval to_short_string : ?ignore_identifiers_flag:bool -> t -> string
Sourceval to_tag : t -> string * (string * name) list
OCaml

Innovation. Community. Security.