jon.recoil.org

Module Odoc_xref2.FindSource

Sourcetype label = [
  1. | `FLabel of Odoc_xref2.Component.Label.t
]
Sourcetype 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
]
Sourcetype constructor = [
  1. | `FConstructor of Odoc_xref2.Component.TypeDecl.Constructor.t
]
Sourcetype polymorphic_constructor = [
  1. | `FPoly of Odoc_xref2.Component.TypeExpr.Polymorphic_variant.Constructor.t
]
Sourcetype field = [
  1. | `FField of Odoc_xref2.Component.TypeDecl.Field.t
]
Sourcetype unboxed_field = [
  1. | `FUnboxedField of Odoc_xref2.Component.TypeDecl.UnboxedField.t
]
Sourcetype instance_variable = [
  1. | `FInstance_variable of Odoc_model.Names.InstanceVariableName.t * Odoc_xref2.Component.InstanceVariable.t
]

Lookup by name, unambiguous

Maybe ambiguous

Sourceval signature_in_sig : Odoc_xref2.Component.Signature.t -> string -> Odoc_xref2.Find.signature list
Sourceval label_parent_in_sig : Odoc_xref2.Component.Signature.t -> string -> Odoc_xref2.Find.label_parent list

Disambiguated lookups, returns the last match.

Lookup removed items

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