Module Ast_helper.Str

module Str: sig .. end

Structure items


let mk:
  (~loc: Ast_helper.loc=?, Parsetree.structure_item_desc) =>
  Parsetree.structure_item;
let eval:
  (
    ~loc: Ast_helper.loc=?,
    ~attrs: Parsetree.attributes=?,
    Parsetree.expression
  ) =>
  Parsetree.structure_item;
let value:
  (
    ~loc: Ast_helper.loc=?,
    Asttypes.rec_flag,
    list(Parsetree.value_binding)
  ) =>
  Parsetree.structure_item;
let primitive:
  (~loc: Ast_helper.loc=?, Parsetree.value_description) =>
  Parsetree.structure_item;
let type_:
  (
    ~loc: Ast_helper.loc=?,
    Asttypes.rec_flag,
    list(Parsetree.type_declaration)
  ) =>
  Parsetree.structure_item;
let type_extension:
  (~loc: Ast_helper.loc=?, Parsetree.type_extension) =>
  Parsetree.structure_item;
let exception_:
  (~loc: Ast_helper.loc=?, Parsetree.type_exception) =>
  Parsetree.structure_item;
let module_:
  (~loc: Ast_helper.loc=?, Parsetree.module_binding) =>
  Parsetree.structure_item;
let rec_module:
  (~loc: Ast_helper.loc=?, list(Parsetree.module_binding)) =>
  Parsetree.structure_item;
let modtype:
  (~loc: Ast_helper.loc=?, Parsetree.module_type_declaration) =>
  Parsetree.structure_item;
let open_:
  (~loc: Ast_helper.loc=?, Parsetree.open_declaration) =>
  Parsetree.structure_item;
let class_:
  (~loc: Ast_helper.loc=?, list(Parsetree.class_declaration)) =>
  Parsetree.structure_item;
let class_type:
  (~loc: Ast_helper.loc=?, list(Parsetree.class_type_declaration)) =>
  Parsetree.structure_item;
let include_:
  (~loc: Ast_helper.loc=?, Parsetree.include_declaration) =>
  Parsetree.structure_item;
let extension:
  (~loc: Ast_helper.loc=?, ~attrs: Ast_helper.attrs=?, Parsetree.extension) =>
  Parsetree.structure_item;
let attribute:
  (~loc: Ast_helper.loc=?, Parsetree.attribute) => Parsetree.structure_item;
let text: Docstrings.text => list(Parsetree.structure_item);