package relit-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. literalAttrs : 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 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