package merlin-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val lident_of_path : Path.t -> Ocaml_parsing.Longident.t
type mapper = {
  1. attribute : mapper -> Typedtree.attribute -> Ocaml_parsing.Parsetree.attribute;
  2. attributes : mapper -> Typedtree.attribute list -> Ocaml_parsing.Parsetree.attribute list;
  3. binding_op : mapper -> Typedtree.binding_op -> Typedtree.pattern -> Ocaml_parsing.Parsetree.binding_op;
  4. case : 'k. mapper -> 'k Typedtree.case -> Ocaml_parsing.Parsetree.case;
  5. class_declaration : mapper -> Typedtree.class_declaration -> Ocaml_parsing.Parsetree.class_declaration;
  6. class_description : mapper -> Typedtree.class_description -> Ocaml_parsing.Parsetree.class_description;
  7. class_expr : mapper -> Typedtree.class_expr -> Ocaml_parsing.Parsetree.class_expr;
  8. class_field : mapper -> Typedtree.class_field -> Ocaml_parsing.Parsetree.class_field;
  9. class_signature : mapper -> Typedtree.class_signature -> Ocaml_parsing.Parsetree.class_signature;
  10. class_structure : mapper -> Typedtree.class_structure -> Ocaml_parsing.Parsetree.class_structure;
  11. class_type : mapper -> Typedtree.class_type -> Ocaml_parsing.Parsetree.class_type;
  12. class_type_declaration : mapper -> Typedtree.class_type_declaration -> Ocaml_parsing.Parsetree.class_type_declaration;
  13. class_type_field : mapper -> Typedtree.class_type_field -> Ocaml_parsing.Parsetree.class_type_field;
  14. constructor_declaration : mapper -> Typedtree.constructor_declaration -> Ocaml_parsing.Parsetree.constructor_declaration;
  15. expr : mapper -> Typedtree.expression -> Ocaml_parsing.Parsetree.expression;
  16. extension_constructor : mapper -> Typedtree.extension_constructor -> Ocaml_parsing.Parsetree.extension_constructor;
  17. include_declaration : mapper -> Typedtree.include_declaration -> Ocaml_parsing.Parsetree.include_declaration;
  18. include_description : mapper -> Typedtree.include_description -> Ocaml_parsing.Parsetree.include_description;
  19. label_declaration : mapper -> Typedtree.label_declaration -> Ocaml_parsing.Parsetree.label_declaration;
  20. location : mapper -> Ocaml_parsing.Location.t -> Ocaml_parsing.Location.t;
  21. module_binding : mapper -> Typedtree.module_binding -> Ocaml_parsing.Parsetree.module_binding;
  22. module_declaration : mapper -> Typedtree.module_declaration -> Ocaml_parsing.Parsetree.module_declaration;
  23. module_substitution : mapper -> Typedtree.module_substitution -> Ocaml_parsing.Parsetree.module_substitution;
  24. module_expr : mapper -> Typedtree.module_expr -> Ocaml_parsing.Parsetree.module_expr;
  25. module_type : mapper -> Typedtree.module_type -> Ocaml_parsing.Parsetree.module_type;
  26. module_type_declaration : mapper -> Typedtree.module_type_declaration -> Ocaml_parsing.Parsetree.module_type_declaration;
  27. package_type : mapper -> Typedtree.package_type -> Ocaml_parsing.Parsetree.package_type;
  28. open_declaration : mapper -> Typedtree.open_declaration -> Ocaml_parsing.Parsetree.open_declaration;
  29. open_description : mapper -> Typedtree.open_description -> Ocaml_parsing.Parsetree.open_description;
  30. pat : 'k. mapper -> 'k Typedtree.general_pattern -> Ocaml_parsing.Parsetree.pattern;
  31. row_field : mapper -> Typedtree.row_field -> Ocaml_parsing.Parsetree.row_field;
  32. object_field : mapper -> Typedtree.object_field -> Ocaml_parsing.Parsetree.object_field;
  33. signature : mapper -> Typedtree.signature -> Ocaml_parsing.Parsetree.signature;
  34. signature_item : mapper -> Typedtree.signature_item -> Ocaml_parsing.Parsetree.signature_item;
  35. structure : mapper -> Typedtree.structure -> Ocaml_parsing.Parsetree.structure;
  36. structure_item : mapper -> Typedtree.structure_item -> Ocaml_parsing.Parsetree.structure_item;
  37. typ : mapper -> Typedtree.core_type -> Ocaml_parsing.Parsetree.core_type;
  38. type_declaration : mapper -> Typedtree.type_declaration -> Ocaml_parsing.Parsetree.type_declaration;
  39. type_extension : mapper -> Typedtree.type_extension -> Ocaml_parsing.Parsetree.type_extension;
  40. type_exception : mapper -> Typedtree.type_exception -> Ocaml_parsing.Parsetree.type_exception;
  41. type_kind : mapper -> Typedtree.type_kind -> Ocaml_parsing.Parsetree.type_kind;
  42. value_binding : mapper -> Typedtree.value_binding -> Ocaml_parsing.Parsetree.value_binding;
  43. value_description : mapper -> Typedtree.value_description -> Ocaml_parsing.Parsetree.value_description;
  44. with_constraint : mapper -> (Path.t * Ocaml_parsing.Longident.t Ocaml_parsing.Location.loc * Typedtree.with_constraint) -> Ocaml_parsing.Parsetree.with_constraint;
}
val default_mapper : mapper
val untype_structure : ?mapper:mapper -> Typedtree.structure -> Ocaml_parsing.Parsetree.structure
val untype_signature : ?mapper:mapper -> Typedtree.signature -> Ocaml_parsing.Parsetree.signature
OCaml

Innovation. Community. Security.