package reason

  1. Overview
  2. Docs
type attributesPartition = {
  1. arityAttrs : Ast_404.Parsetree.attributes;
  2. docAttrs : Ast_404.Parsetree.attributes;
  3. stdAttrs : Ast_404.Parsetree.attributes;
  4. jsxAttrs : Ast_404.Parsetree.attributes;
  5. stylisticAttrs : Ast_404.Parsetree.attributes;
  6. uncurried : bool;
}

Kinds of attributes

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

Partition attributes into kinds

val extractStdAttrs : Ast_404.Parsetree.attribute list -> Ast_404.Parsetree.attributes
val extract_raw_literal : (string Ast_404.Location.loc * Ast_404.Parsetree.payload) list -> string option * (string Ast_404.Location.loc * Ast_404.Parsetree.payload) list
val without_stylistic_attrs : Ast_404.Parsetree.attribute list -> Ast_404.Parsetree.attribute list
val is_preserve_braces_attr : (string Ast_404.Location.loc * 'a) -> bool
val has_preserve_braces_attrs : (string Ast_404.Location.loc * 'a) list -> bool
val maybe_remove_stylistic_attrs : (string Ast_404.Location.loc * 'a) list -> bool -> (string Ast_404.Location.loc * 'a) list
OCaml

Innovation. Community. Security.