Ast_helper.Type
Type declarations
Type declarations
val mk :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
?params:
(Astlib.Ast_500.Parsetree.core_type
* (Astlib.Ast_500.Asttypes.variance * Astlib.Ast_500.Asttypes.injectivity))
list ->
?cstrs:
(Astlib.Ast_500.Parsetree.core_type
* Astlib.Ast_500.Parsetree.core_type
* Astlib.Location.t)
list ->
?kind:Astlib.Ast_500.Parsetree.type_kind ->
?priv:Astlib.Ast_500.Asttypes.private_flag ->
?manifest:Astlib.Ast_500.Parsetree.core_type ->
string Astlib.Location.loc ->
Astlib.Ast_500.Parsetree.type_declaration
val constructor :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
?vars:string Astlib.Location.loc list ->
?args:Astlib.Ast_500.Parsetree.constructor_arguments ->
?res:Astlib.Ast_500.Parsetree.core_type ->
string Astlib.Location.loc ->
Astlib.Ast_500.Parsetree.constructor_declaration
val field :
?loc:Astlib.Location.t ->
?attrs:Astlib.Ast_500.Parsetree.attribute list ->
?mut:Astlib.Ast_500.Asttypes.mutable_flag ->
string Astlib.Location.loc ->
Astlib.Ast_500.Parsetree.core_type ->
Astlib.Ast_500.Parsetree.label_declaration