package reason

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type attributesPartition = {
  1. arityAttrs : Ppxlib.attributes;
  2. docAttrs : Ppxlib.attributes;
  3. stdAttrs : Ppxlib.attributes;
  4. jsxAttrs : Ppxlib.attributes;
  5. stylisticAttrs : Ppxlib.attributes;
  6. uncurried : bool;
}

Kinds of attributes

val partitionAttributes : ?partDoc:bool -> ?allowUncurry:bool -> Ppxlib.attribute list -> attributesPartition

Partition attributes into kinds

val extractStdAttrs : Ppxlib.attribute list -> Ppxlib.attributes
val extract_raw_literal : Ppxlib.attribute list -> string option * Ppxlib.attribute list
val without_stylistic_attrs : Ppxlib.attribute list -> Ppxlib.attribute list
val has_jsx_attributes : Ppxlib.attribute list -> bool
val has_preserve_braces_attrs : Ppxlib.attribute list -> bool
val has_quoted_extension_attrs : Ppxlib.attribute list -> bool
val maybe_remove_stylistic_attrs : Ppxlib.attribute list -> should_preserve:bool -> Ppxlib.attribute list
val has_open_notation_attr : Ppxlib.attribute list -> bool
OCaml

Innovation. Community. Security.