package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module RestElement : sig ... end
module Params : sig ... end
type (!'M, !'T) t = {
  1. id : 'T Identifier.t option;
  2. params : ('M, 'T) Params.t;
  3. body : ('M, 'T) body;
  4. async : bool;
  5. generator : bool;
  6. predicate : ('M, 'T) Type.Predicate.t option;
  7. expression : bool;
  8. return : ('M, 'T) Type.annotation option;
  9. tparams : ('M, 'T) Type.ParameterDeclaration.t option;
}
and (!'M, !'T) body =
  1. | BodyBlock of 'M * ('M, 'T) Statement.Block.t
  2. | BodyExpression of ('M, 'T) Expression.t
val pp : (Ppx_deriving_runtime.Format.formatter -> 'M -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'T -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> ('M, 'T) t -> Ppx_deriving_runtime.unit
val show : (Ppx_deriving_runtime.Format.formatter -> 'M -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'T -> Ppx_deriving_runtime.unit) -> ('M, 'T) t -> Ppx_deriving_runtime.string
val pp_body : (Ppx_deriving_runtime.Format.formatter -> 'M -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'T -> Ppx_deriving_runtime.unit) -> Ppx_deriving_runtime.Format.formatter -> ('M, 'T) body -> Ppx_deriving_runtime.unit
val show_body : (Ppx_deriving_runtime.Format.formatter -> 'M -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'T -> Ppx_deriving_runtime.unit) -> ('M, 'T) body -> Ppx_deriving_runtime.string
OCaml

Innovation. Community. Security.