module Longident:sig
..end
Long identifiers, used in parsetree.
Warning: this module is unstable and part of compiler-libs.
type
t =
| |
Lident of |
| |
Ldot of |
| |
Lapply of |
val flatten : t -> string list
val unflatten : string list -> t option
val last : t -> string
val parse : string -> t
To print a longident, see Pprintast.longident
, using
Format.asprintf
to convert to a string.