package reason

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

Kinds of attributes

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

Partition attributes into kinds

val extract_raw_literal : Ppxlib.Parsetree.attribute list -> string option * Ppxlib.Parsetree.attribute list
val without_stylistic_attrs : Ppxlib.Parsetree.attribute list -> Ppxlib.Parsetree.attribute list
val is_jsx_attribute : Ppxlib.Parsetree.attribute -> bool
val has_jsx_attributes : Ppxlib.Parsetree.attribute list -> bool
val is_preserve_braces_attr : Ppxlib.Parsetree.attribute -> bool
val has_preserve_braces_attrs : Ppxlib.Parsetree.attribute list -> bool
val maybe_remove_stylistic_attrs : Ppxlib.Parsetree.attribute list -> bool -> Ppxlib.Parsetree.attribute list
OCaml

Innovation. Community. Security.