Longident
Long identifiers, used in parsetree.
- Provided by: ocaml-man (Version: 4.08.1-8)
- Source: ocaml
- Report a bug
Long identifiers, used in parsetree.
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 string
| Ldot of t * string
| Lapply of t * t
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.