package ppxlib_jane

  1. Overview
  2. Docs

Module Shim.Pcstr_tuple_argSource

A list of this type is stored in the Pcstr_tuple constructor of constructor_arguments. With JS extensions, fields in constructors can contain modalities.

Sourceval extract_modalities : t -> Modality.t list * Ppxlib_ast.Parsetree.core_type
Sourceval map_core_type_extra : t -> f:(Ppxlib_ast.Parsetree.core_type -> Ppxlib_ast.Parsetree.core_type * 'a) -> t * 'a
Sourceval create : loc:Astlib.Location.t -> modalities:Modality.t list -> type_:Ppxlib_ast.Parsetree.core_type -> t

loc is ignored if there is no modality.