Astlib.Longident
Long identifiers, used in parsetrees.
type t = Ocaml_common.Longident.t =
| Lident of string
| Ldot of t * string
| Lapply of t * t
The long identifier type
val flatten : t -> string list
Flatten a long identifier built upon Lident and Ldot. Raise when hitting Lapply.
Lident
Ldot
Lapply
val parse : string -> t
Parse a string into a long identifier built upon Lident and Ldot.