Module Xtmpl_ppx.Ppx_xtmplSource

Sourceval mkloc : 'a -> Location.t -> 'a Location.loc
Sourceval lid : Location.t -> string -> Astlib.Longident.t Location.loc
Sourceval error : Location.t -> string -> 'a
Sourceval kerror : Location.t -> ('a, unit, string, 'b) format4 -> 'a
module Location : sig ... end
module R = Xtmpl.Rewrite
module Xml = Xtmpl.Xml
module T = Xtmpl.Types
Sourceval string_of_file : string -> string
Sourceval file_path : loc:Ocaml_common.Location.t -> string -> string
Sourceval read_template : Location.t -> string -> R.X.tree list
Sourcetype parameter = {
  1. name : Xml.name;
  2. default : R.tree list option;
  3. typ : [ `CData | `Xmls | `Other of string * string ];
  4. mlname : string option;
}
Sourceval string_of_name : (string * string) -> string
Sourceval prune_param_atts : R.attributes -> R.attributes
Sourceval gather_params : Location.t -> R.P.attr_value -> parameter R.Attributes.t * R.P.attr_value
Sourceval parse_ocaml_expression : Location.t -> string -> Ppxlib_ast__Import.Js.Ast.Parsetree.expression
Sourceval parse_ocaml_type : Location.t -> string -> Ppxlib_ast__Import.Js.Ast.Parsetree.core_type
Sourceval to_id : string -> string
Sourceval ml_id_of_param : parameter -> string
Sourceval fun_of_param : Ppxlib_ast__Ast_helper_lite.loc -> Astlib.Ast_502.Parsetree.expression -> ('a * parameter) -> Astlib.Ast_502.Parsetree.expression
Sourceval funs_of_params : Ppxlib.location -> parameter R.Attributes.t -> Ppxlib_ast.Ast.expression -> Ppxlib_ast.Ast.expression
Sourceval env_or_defaults : Location.t -> parameter R.Attributes.t -> Ppxlib_ast.Ast.expression -> Ppxlib_ast.Ast.expression
Sourceval defaults_of_params : Ppxlib_ast__Ast_helper_lite.loc -> parameter R.Attributes.t -> Astlib.Ast_502.Parsetree.expression -> Astlib.Ast_502.Parsetree.expression
Sourceval typ_of_params : Location.t -> parameter R.Attributes.t -> Ppxlib_ast.Ast.core_type
Sourceval map_tmpl : Location.t -> R.P.attr_value -> Ppxlib_ast.Ast.expression
Sourceval template_of_inline_string : Location.t -> 'a -> string -> R.X.tree list
Sourceval expand_xtmpl_string : ctxt:Ppxlib.Expansion_context.Extension.t -> string -> Ppxlib_ast.Ast.expression
Sourceval expand_xtmpl : ctxt:Ppxlib.Expansion_context.Extension.t -> string -> Ppxlib_ast.Ast.expression
Sourceval expand_xtmpl_type : ctxt:Ppxlib.Expansion_context.Extension.t -> string -> Ppxlib_ast.Ast.core_type
Sourceval ext_xtmpl_type : Ppxlib.Extension.V3.t
Sourceval ext_xtmpl : Ppxlib.Extension.V3.t
Sourceval ext_xtmpl_string : Ppxlib.Extension.V3.t
Sourceval rule_xtmpl_type : Ppxlib.Context_free.Rule.t
Sourceval rule_xtmpl : Ppxlib.Context_free.Rule.t
Sourceval rule_xtmpl_string : Ppxlib.Context_free.Rule.t