package ppxlib

  1. Overview
  2. Docs
Standard infrastructure for ppx rewriters

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ppxlib-0.36.2.tbz
sha256=c8756007d8cac1379a8461146100c1d611c7df6ecc1a9a0aa9bddec0d6e4e71b
sha512=eedafd477493be365857dbfd3733abc4a50854cd94151ae8ebc150284a1ebe5252b1a11b62c756e8078e9397a1a2fd7f1946b40e225bf7084cd33bba7fba48c7

doc/ppxlib.astlib/Astlib/Longident/index.html

Module Astlib.LongidentSource

Long identifiers, used in parsetrees.

type t = Ocaml_common.Longident.t =
  1. | Lident of string
  2. | Ldot of t * string
  3. | 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.

Sourceval parse : string -> t

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