Ast_helper.Type
Type declarations
val mk :
?loc:loc ->
?attrs:attrs ->
?docs:Docstrings.docs ->
?text:Docstrings.text ->
?params:
(Parsetree.core_type * (Asttypes.variance * Asttypes.injectivity)) list ->
?cstrs:(Parsetree.core_type * Parsetree.core_type * loc) list ->
?kind:Parsetree.type_kind ->
?priv:Asttypes.private_flag ->
?manifest:Parsetree.core_type ->
str ->
Parsetree.type_declaration
val constructor :
?loc:loc ->
?attrs:attrs ->
?info:Docstrings.info ->
?vars:str list ->
?args:Parsetree.constructor_arguments ->
?res:Parsetree.core_type ->
str ->
Parsetree.constructor_declaration
val field :
?loc:loc ->
?attrs:attrs ->
?info:Docstrings.info ->
?mut:Asttypes.mutable_flag ->
str ->
Parsetree.core_type ->
Parsetree.label_declaration