Ast_helper.Sig
Signature items
let mk: ?loc:loc => Parsetree.signature_item_desc => Parsetree.signature_item;
let value: ?loc:loc => Parsetree.value_description => Parsetree.signature_item;
let type_:
?loc:loc =>
Asttypes.rec_flag =>
list(Parsetree.type_declaration) =>
Parsetree.signature_item;
let type_subst:
?loc:loc =>
list(Parsetree.type_declaration) =>
Parsetree.signature_item;
let type_extension:
?loc:loc =>
Parsetree.type_extension =>
Parsetree.signature_item;
let exception_:
?loc:loc =>
Parsetree.type_exception =>
Parsetree.signature_item;
let module_:
?loc:loc =>
Parsetree.module_declaration =>
Parsetree.signature_item;
let mod_subst:
?loc:loc =>
Parsetree.module_substitution =>
Parsetree.signature_item;
let rec_module:
?loc:loc =>
list(Parsetree.module_declaration) =>
Parsetree.signature_item;
let modtype:
?loc:loc =>
Parsetree.module_type_declaration =>
Parsetree.signature_item;
let modtype_subst:
?loc:loc =>
Parsetree.module_type_declaration =>
Parsetree.signature_item;
let open_: ?loc:loc => Parsetree.open_description => Parsetree.signature_item;
let include_:
?loc:loc =>
Parsetree.include_description =>
Parsetree.signature_item;
let class_:
?loc:loc =>
list(Parsetree.class_description) =>
Parsetree.signature_item;
let class_type:
?loc:loc =>
list(Parsetree.class_type_declaration) =>
Parsetree.signature_item;
let extension:
?loc:loc =>
?attrs:attrs =>
Parsetree.extension =>
Parsetree.signature_item;
let attribute: ?loc:loc => Parsetree.attribute => Parsetree.signature_item;
let text: Docstrings.text => list(Parsetree.signature_item);