package diffast-langs-python

  1. Overview
  2. Docs
type 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
val to_string : t -> string
val is_named : t -> bool
val get_name : t -> name
val is_named_orig : 'a -> bool
val anonymize : t -> t
val to_short_string : ?ignore_identifiers_flag:bool -> t -> string
val to_tag : t -> string * (string * name) list
OCaml

Innovation. Community. Security.