type t = | Pident of Ident.t |
| Pdot of t * string |
| Papply of t * t |
val same : t -> t -> boolval compare : t -> t -> intval find_free_opt : Ident.t list -> t -> Ident.t optionval exists_free : Ident.t list -> t -> boolval scope : t -> intval flatten : t -> [ `Contains_apply | `Ok of Ident.t * string list ]val name : ?paren:(string -> bool) -> t -> stringval head : t -> Ident.tval print : Stdlib.Format.formatter -> t -> unitval heads : t -> Ident.t listval last : t -> string
type typath = | Regular of t |
| Ext of t * string |
| LocalExt of Ident.t |
| Cstr of t * string |
val constructor_typath : t -> typathval is_constructor_typath : t -> bool