package ocamlformat-lib

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Extended_ast.AsttypesSource

include module type of Ocamlformat_parser_extended.Asttypes
Sourcetype constant =
  1. | Const_int of int
  2. | Const_char of char
  3. | Const_string of string * Ocamlformat_ocaml_common.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 of Ocamlformat_ocaml_common.Location.t
  2. | Public
Sourcetype mutable_flag =
  1. | Immutable
  2. | Mutable of Ocamlformat_ocaml_common.Location.t
Sourcetype virtual_flag =
  1. | Virtual of Ocamlformat_ocaml_common.Location.t
  2. | Concrete
Sourcetype private_virtual = {
  1. pv_priv : Ocamlformat_ocaml_common.Location.t option;
  2. pv_virt : Ocamlformat_ocaml_common.Location.t option;
}
Sourcetype mutable_virtual = {
  1. mv_mut : Ocamlformat_ocaml_common.Location.t option;
  2. mv_virt : Ocamlformat_ocaml_common.Location.t option;
}
Sourcetype override_flag =
  1. | Override
  2. | Fresh
Sourcetype closed_flag =
  1. | Closed
  2. | Open
Sourcetype obj_closed_flag =
  1. | OClosed
  2. | OOpen of Ocamlformat_ocaml_common.Location.t
Sourcetype label = string
Sourcetype arg_label =
  1. | Nolabel
  2. | Labelled of string loc
    (*

    label:T -> ...

    *)
  3. | Optional of string loc
    (*

    ?label:T -> ...

    *)
Sourcetype variant_var = string loc loc

`A

Sourcetype variance_and_injectivity = string loc list
Sourcetype paren_kind =
  1. | Paren
  2. | Brace
  3. | Bracket
OCaml

Innovation. Community. Security.