Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Similar to List.find
, but evaluates to an option instead of raising Not_found
.
module Label = Ppx_tools_408.Ast_convenience.Label
Markup language
val lang : lang -> string
val implementation : lang -> string
val set_implementation : lang -> string -> unit
type name = lang * string
val make_lid :
loc:Migrate_parsetree.Ast_408.Location.t ->
lang ->
string ->
Migrate_parsetree.Ast_408.Longident.t Migrate_parsetree.Ast_408.Location.loc
val make :
loc:Migrate_parsetree.Ast_408.Location.t ->
lang ->
string ->
Migrate_parsetree.Ast_408.Parsetree.expression
Expression helpers.
val int :
Migrate_parsetree.Ast_408.Location.t ->
int ->
Migrate_parsetree.Ast_408.Parsetree.expression
val float :
Migrate_parsetree.Ast_408.Location.t ->
float ->
Migrate_parsetree.Ast_408.Parsetree.expression
val string :
Migrate_parsetree.Ast_408.Location.t ->
string ->
Migrate_parsetree.Ast_408.Parsetree.expression
val list_wrap :
lang ->
Migrate_parsetree.Ast_408.Location.t ->
Migrate_parsetree.Ast_408.Parsetree.expression list ->
Migrate_parsetree.Ast_408.Parsetree.expression
val wrap :
lang ->
Migrate_parsetree.Ast_408.Location.t ->
Migrate_parsetree.Ast_408.Parsetree.expression ->
Migrate_parsetree.Ast_408.Parsetree.expression
wrap implementation loc e
creates a parse tree for implementation.Xml.W.return e
.
val value : 'a -> 'a value
val antiquot : Migrate_parsetree.Ast_408.Parsetree.expression -> _ value
val list_wrap_value :
lang ->
Migrate_parsetree.Ast_408.Location.t ->
Migrate_parsetree.Ast_408.Parsetree.expression value list ->
Migrate_parsetree.Ast_408.Parsetree.expression
val error :
Migrate_parsetree.Ast_408.Location.t ->
('b, Format.formatter, unit, 'a) format4 ->
'b
val txt :
loc:Migrate_parsetree.Ast_408.Location.t ->
lang:lang ->
string ->
Migrate_parsetree.Ast_408.Parsetree.expression