jon.recoil.org

Module Odoc_xref2.Find

type module_type = [
  1. | `FModuleType of Odoc_model.Names.ModuleTypeName.t * Odoc_xref2.Component.ModuleType.t
]
type label = [
  1. | `FLabel of Odoc_xref2.Component.Label.t
]
type substitution = [
  1. | `FModule_subst of Odoc_xref2.Component.ModuleSubstitution.t
  2. | `FType_subst of Odoc_xref2.Component.TypeDecl.t
  3. | `FModuleType_subst of Odoc_xref2.Component.ModuleTypeSubstitution.t
]
type constructor = [
  1. | `FConstructor of Odoc_xref2.Component.TypeDecl.Constructor.t
]
type polymorphic_constructor = [
  1. | `FPoly of Odoc_xref2.Component.TypeExpr.Polymorphic_variant.Constructor.t
]
type field = [
  1. | `FField of Odoc_xref2.Component.TypeDecl.Field.t
]
type unboxed_field = [
  1. | `FUnboxedField of Odoc_xref2.Component.TypeDecl.UnboxedField.t
]
type instance_variable = [
  1. | `FInstance_variable of Odoc_model.Names.InstanceVariableName.t * Odoc_xref2.Component.InstanceVariable.t
]

Lookup by name, unambiguous

val any_in_type : Odoc_xref2.Component.TypeDecl.t -> string -> Odoc_xref2.Find.any_in_type option
val any_in_typext : Odoc_xref2.Component.Extension.t -> string -> Odoc_xref2.Find.extension option

Maybe ambiguous

val signature_in_sig : Odoc_xref2.Component.Signature.t -> string -> Odoc_xref2.Find.signature list
val label_parent_in_sig : Odoc_xref2.Component.Signature.t -> string -> Odoc_xref2.Find.label_parent list
val any_in_type_in_sig : Odoc_xref2.Component.Signature.t -> string -> Odoc_xref2.Find.any_in_type_in_sig list
val any_in_class_signature : Odoc_xref2.Component.ClassSignature.t -> string -> Odoc_xref2.Find.any_in_class_sig list

Disambiguated lookups, returns the last match.

Lookup removed items

type careful_module = [
  1. | Odoc_xref2.Find.module_
  2. | `FModule_removed of Odoc_xref2.Cpath.module_
]
type careful_module_type = [
  1. | Odoc_xref2.Find.module_type
  2. | `FModuleType_removed of Odoc_xref2.Component.ModuleType.expr
]
type core_type = [
  1. | `CoreType of Odoc_model.Names.TypeName.t
]