Module Longident
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.
The present documentation is copyright Institut National de Recherche en Informatique et en Automatique (INRIA). A complete version can be obtained from this page.