package ppxlib

  1. Overview
  2. Docs
Standard infrastructure for ppx rewriters

Install

dune-project
 Dependency

Authors

Maintainers

Sources

757f6c284b1fe748d5027eef3bbef924b6bbd7ce.tar.gz
sha256=89a98c95ddd0bfbac17b5a936f6811af7097be3258c482d5859b73e9de9b4552
sha512=b19306473d867252d382e58e9b697531c5edccdc9283b5eaf72f524803c2fca2a58a5e8f25bee198b00de82cf8ef805b43f7488791c3ac5beb0ffba938ded826

doc/ppxlib.astlib/Astlib/Ast_502/Asttypes/index.html

Module Ast_502.AsttypesSource

Sourcetype constant =
  1. | Const_int of int
  2. | Const_char of char
  3. | Const_string of string * Location.t * string option
  4. | Const_float of string
  5. | Const_int32 of int32
  6. | Const_int64 of int64
  7. | Const_nativeint of nativeint
Sourcetype rec_flag =
  1. | Nonrecursive
  2. | Recursive
Sourcetype direction_flag =
  1. | Upto
  2. | Downto
Sourcetype private_flag =
  1. | Private
  2. | Public
Sourcetype mutable_flag =
  1. | Immutable
  2. | Mutable
Sourcetype virtual_flag =
  1. | Virtual
  2. | Concrete
Sourcetype override_flag =
  1. | Override
  2. | Fresh
Sourcetype closed_flag =
  1. | Closed
  2. | Open
Sourcetype label = string
Sourcetype arg_label =
  1. | Nolabel
  2. | Labelled of string
    (*

    label:T -> ...

    *)
  3. | Optional of string
    (*

    ?label:T -> ...

    *)
Sourcetype 'a loc = 'a Location.loc = {
  1. txt : 'a;
  2. loc : Location.t;
}
Sourcetype variance =
  1. | Covariant
  2. | Contravariant
  3. | NoVariance
Sourcetype injectivity =
  1. | Injective
  2. | NoInjectivity