package flow_parser

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('M, 'T) declaration =
  1. | Variable of 'M * ('M, 'T) DeclareVariable.t
  2. | Function of 'M * ('M, 'T) DeclareFunction.t
  3. | Class of 'M * ('M, 'T) DeclareClass.t
  4. | Component of 'M * ('M, 'T) DeclareComponent.t
  5. | DefaultType of ('M, 'T) Type.t
  6. | NamedType of 'M * ('M, 'T) TypeAlias.t
  7. | NamedOpaqueType of 'M * ('M, 'T) OpaqueType.t
  8. | Interface of 'M * ('M, 'T) Interface.t
  9. | Enum of 'M * ('M, 'T) EnumDeclaration.t
and ('M, 'T) t = {
  1. default : 'M option;
  2. declaration : ('M, 'T) declaration option;
  3. specifiers : ('M, 'T) ExportNamedDeclaration.specifier option;
  4. source : ('T * 'M StringLiteral.t) option;
  5. comments : ('M, unit) Syntax.t option;
}
val pp_declaration : (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) declaration -> Ppx_deriving_runtime.unit
val show_declaration : (Ppx_deriving_runtime.Format.formatter -> 'M -> Ppx_deriving_runtime.unit) -> (Ppx_deriving_runtime.Format.formatter -> 'T -> Ppx_deriving_runtime.unit) -> ('M, 'T) declaration -> Ppx_deriving_runtime.string
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
OCaml

Innovation. Community. Security.