ppxlib

Standard library for ppx rewriters
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library ppxlib.astlib
Module Astlib . Longident
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.

val parse : string -> t

Parse a string into a long identifier built upon Lident and Ldot.