Module Parser_extended.PrintastSource
Source
type cmts = {before : Ocaml_common.Location.t -> string list option;within : Ocaml_common.Location.t -> string list option;after : Ocaml_common.Location.t -> string list option;
}Source
val fmt_longident_loc :
Format.formatter ->
Ocaml_common.Longident.t Ocaml_common.Location.loc ->
unitSource
val list :
int ->
(int -> Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a list ->
unitSource
val option :
int ->
(int -> Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a option ->
unitSource
val longident_loc :
int ->
Format.formatter ->
Ocaml_common.Longident.t Ocaml_common.Location.loc ->
unitSource
val tuple_component_label :
int ->
Format.formatter ->
string Ocaml_common.Location.loc option ->
unitSource
val labeled_tuple_element :
(int -> Format.formatter -> 'a -> 'b) ->
int ->
Format.formatter ->
(string Ocaml_common.Location.loc option * 'a) ->
'bSource
val modalities :
int ->
Format.formatter ->
Parsetree.modality Ocaml_common.Location.loc list ->
unitSource
val labeled_core_type :
int ->
Format.formatter ->
(string Ocaml_common.Location.loc option * Parsetree.core_type) ->
unitSource
val package_with :
int ->
Format.formatter ->
(Ocaml_common.Longident.t Ocaml_common.Location.loc * Parsetree.core_type) ->
unitSource
val labeled_pattern :
int ->
Format.formatter ->
(string Ocaml_common.Location.loc option * Parsetree.pattern) ->
unitSource
val labeled_expression :
int ->
Format.formatter ->
(string Ocaml_common.Location.loc option * Parsetree.expression) ->
unitSource
val jkind_annotation :
?loc:Ocaml_common.Location.t ->
int ->
Format.formatter ->
Parsetree.jkind_annotation ->
unitSource
val jkind_annotation_loc :
int ->
Format.formatter ->
Parsetree.jkind_annotation Asttypes.loc ->
unitSource
val type_parameter :
int ->
Format.formatter ->
(Parsetree.core_type * Asttypes.variance_and_injectivity) ->
unitSource
val extension_constructor :
int ->
Format.formatter ->
Parsetree.extension_constructor ->
unitSource
val extension_constructor_kind :
int ->
Format.formatter ->
Parsetree.extension_constructor_kind ->
unitSource
val class_description :
int ->
Format.formatter ->
Parsetree.class_type Parsetree.class_infos ->
unitSource
val class_type_declaration :
int ->
Format.formatter ->
Parsetree.class_type Parsetree.class_infos ->
unitSource
val class_declaration :
int ->
Format.formatter ->
Parsetree.class_expr Parsetree.class_infos ->
unitSource
val functor_parameter :
int ->
Format.formatter ->
Parsetree.functor_parameter Asttypes.loc ->
unitSource
val module_type_declaration :
int ->
Format.formatter ->
Parsetree.module_type_declaration ->
unitSource
val core_type_x_core_type_x_location :
int ->
Format.formatter ->
(Parsetree.core_type * Parsetree.core_type * Ocaml_common.Location.t) ->
unitSource
val constructor_arguments :
int ->
Format.formatter ->
Parsetree.constructor_arguments ->
unitSource
val longident_x_pattern :
int ->
Format.formatter ->
(Ocaml_common.Longident.t Asttypes.loc
* Parsetree.core_type option
* Parsetree.pattern option) ->
unitSource
val include_description :
int ->
Format.formatter ->
Parsetree.module_type Parsetree.include_infos ->
unitSource
val string_x_expression :
int ->
Format.formatter ->
(Asttypes.label Asttypes.loc * Parsetree.expression) ->
unitSource
val longident_x_expression :
int ->
Format.formatter ->
(Ocaml_common.Longident.t Asttypes.loc
* Parsetree.type_constraint option
* Parsetree.expression option) ->
unitSource
val label_x_expression :
int ->
Format.formatter ->
(Asttypes.arg_label * Parsetree.expression) ->
unit