11(* $ Ppx_ast_cinaps.print_builder_mli (Astlib.Version.of_string "v4_08") *)
22open Versions.V4_08
3+ val attribute :
4+ loc :Astlib .Location .t
5+ -> name :string Astlib.Loc .t
6+ -> payload :Payload .t
7+ -> Attribute .t
38val ptyp_any :
49 loc :Astlib .Location .t
510 -> Core_type .t
@@ -56,6 +61,25 @@ val ptyp_extension :
5661 loc :Astlib .Location .t
5762 -> Extension .t
5863 -> Core_type .t
64+ val rtag :
65+ loc :Astlib .Location .t
66+ -> Label .t Astlib.Loc .t
67+ -> bool
68+ -> Core_type .t list
69+ -> Row_field .t
70+ val rinherit :
71+ loc :Astlib .Location .t
72+ -> Core_type .t
73+ -> Row_field .t
74+ val otag :
75+ loc :Astlib .Location .t
76+ -> Label .t Astlib.Loc .t
77+ -> Core_type .t
78+ -> Object_field .t
79+ val oinherit :
80+ loc :Astlib .Location .t
81+ -> Core_type .t
82+ -> Object_field .t
5983val ppat_any :
6084 loc :Astlib .Location .t
6185 -> Pattern .t
@@ -301,9 +325,12 @@ val pexp_pack :
301325 -> Expression .t
302326val pexp_open :
303327 loc :Astlib .Location .t
304- -> Override_flag .t
305- -> Longident_loc .t
328+ -> Open_declaration .t
329+ -> Expression .t
306330 -> Expression .t
331+ val pexp_letop :
332+ loc :Astlib .Location .t
333+ -> Letop .t
307334 -> Expression .t
308335val pexp_extension :
309336 loc :Astlib .Location .t
@@ -317,6 +344,17 @@ val case :
317344 -> lhs :Pattern .t
318345 -> rhs :Expression .t
319346 -> Case .t
347+ val letop :
348+ ands :Binding_op .t list
349+ -> body :Expression .t
350+ -> let_ :Binding_op .t
351+ -> Letop .t
352+ val binding_op :
353+ loc :Astlib .Location .t
354+ -> exp :Expression .t
355+ -> op :string Astlib.Loc .t
356+ -> pat :Pattern .t
357+ -> Binding_op .t
320358val value_description :
321359 loc :Astlib .Location .t
322360 -> name :string Astlib.Loc .t
@@ -345,7 +383,8 @@ val constructor_declaration :
345383 -> res :Core_type .t option
346384 -> Constructor_declaration .t
347385val type_extension :
348- constructors :Extension_constructor .t list
386+ loc :Astlib .Location .t
387+ -> constructors :Extension_constructor .t list
349388 -> params :(Core_type .t * Variance .t ) list
350389 -> path :Longident_loc .t
351390 -> private_ :Private_flag .t
@@ -355,6 +394,10 @@ val extension_constructor :
355394 -> kind :Extension_constructor_kind .t
356395 -> name :string Astlib.Loc .t
357396 -> Extension_constructor .t
397+ val type_exception :
398+ loc :Astlib .Location .t
399+ -> constructor :Extension_constructor .t
400+ -> Type_exception .t
358401val pcty_constr :
359402 loc :Astlib .Location .t
360403 -> Longident_loc .t
@@ -376,8 +419,7 @@ val pcty_extension :
376419 -> Class_type .t
377420val pcty_open :
378421 loc :Astlib .Location .t
379- -> Override_flag .t
380- -> Longident_loc .t
422+ -> Open_description .t
381423 -> Class_type .t
382424 -> Class_type .t
383425val class_signature :
@@ -524,6 +566,10 @@ val psig_type :
524566 -> Rec_flag .t
525567 -> Type_declaration .t list
526568 -> Signature_item .t
569+ val psig_typesubst :
570+ loc :Astlib .Location .t
571+ -> Type_declaration .t list
572+ -> Signature_item .t
527573val psig_typext :
528574 loc :Astlib .Location .t
529575 -> Type_extension .t
@@ -536,6 +582,10 @@ val psig_module :
536582 loc :Astlib .Location .t
537583 -> Module_declaration .t
538584 -> Signature_item .t
585+ val psig_modsubst :
586+ loc :Astlib .Location .t
587+ -> Module_substitution .t
588+ -> Signature_item .t
539589val psig_recmodule :
540590 loc :Astlib .Location .t
541591 -> Module_declaration .t list
@@ -574,16 +624,16 @@ val module_declaration :
574624 -> name :string Astlib.Loc .t
575625 -> type_ :Module_type .t
576626 -> Module_declaration .t
627+ val module_substitution :
628+ loc :Astlib .Location .t
629+ -> manifest :Longident_loc .t
630+ -> name :string Astlib.Loc .t
631+ -> Module_substitution .t
577632val module_type_declaration :
578633 loc :Astlib .Location .t
579634 -> name :string Astlib.Loc .t
580635 -> type_ :Module_type .t option
581636 -> Module_type_declaration .t
582- val open_description :
583- loc :Astlib .Location .t
584- -> lid :Longident_loc .t
585- -> override :Override_flag .t
586- -> Open_description .t
587637val pmod_ident :
588638 loc :Astlib .Location .t
589639 -> Longident_loc .t
@@ -641,7 +691,7 @@ val pstr_typext :
641691 -> Structure_item .t
642692val pstr_exception :
643693 loc :Astlib .Location .t
644- -> Extension_constructor .t
694+ -> Type_exception .t
645695 -> Structure_item .t
646696val pstr_module :
647697 loc :Astlib .Location .t
@@ -657,7 +707,7 @@ val pstr_modtype :
657707 -> Structure_item .t
658708val pstr_open :
659709 loc :Astlib .Location .t
660- -> Open_description .t
710+ -> Open_declaration .t
661711 -> Structure_item .t
662712val pstr_class :
663713 loc :Astlib .Location .t
@@ -690,4 +740,29 @@ val module_binding :
690740 -> expr :Module_expr .t
691741 -> name :string Astlib.Loc .t
692742 -> Module_binding .t
743+ val toplevel_directive :
744+ loc :Astlib .Location .t
745+ -> arg :Directive_argument .t option
746+ -> name :string Astlib.Loc .t
747+ -> Toplevel_directive .t
748+ val pdir_none :
749+ loc :Astlib .Location .t
750+ -> Directive_argument .t
751+ val pdir_string :
752+ loc :Astlib .Location .t
753+ -> string
754+ -> Directive_argument .t
755+ val pdir_int :
756+ loc :Astlib .Location .t
757+ -> string
758+ -> char option
759+ -> Directive_argument .t
760+ val pdir_ident :
761+ loc :Astlib .Location .t
762+ -> Longident .t
763+ -> Directive_argument .t
764+ val pdir_bool :
765+ loc :Astlib .Location .t
766+ -> bool
767+ -> Directive_argument .t
693768(* $*)
0 commit comments