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