Odoc_xref2.Find
Sourcetype module_type = [
| `FModuleType of Odoc_model.Names.ModuleTypeName.t * Component.ModuleType.t
]
type class_ = [
| `FClass of Odoc_model.Names.TypeName.t * Component.Class.t
| `FClassType of Odoc_model.Names.TypeName.t * Component.ClassType.t
]
type substitution = [
| `FModule_subst of Component.ModuleSubstitution.t
| `FType_subst of Component.TypeDecl.t
| `FModuleType_subst of Component.ModuleTypeSubstitution.t
]
type any_in_type_in_sig = [
| `In_type of Odoc_model.Names.TypeName.t * Component.TypeDecl.t * any_in_type
]
type instance_variable = [
| `FInstance_variable of
Odoc_model.Names.InstanceVariableName.t * Component.InstanceVariable.t
]
Lookup by name, unambiguous
val module_type_in_sig :
Component.Signature.t ->
Odoc_model.Names.ModuleTypeName.t ->
module_type option
val exception_in_sig :
Component.Signature.t ->
Odoc_model.Names.ExceptionName.t ->
exception_ option
val extension_in_sig :
Component.Signature.t ->
Odoc_model.Names.ExtensionName.t ->
extension option
val method_in_class_signature :
Component.ClassSignature.t ->
Odoc_model.Names.MethodName.t ->
method_ option
val instance_variable_in_class_signature :
Component.ClassSignature.t ->
Odoc_model.Names.InstanceVariableName.t ->
instance_variable option
Maybe ambiguous
Disambiguated lookups, returns the last match.
val class_in_sig_unambiguous :
Component.Signature.t ->
Odoc_model.Names.TypeName.t ->
class_ option
Lookup removed items
type removed_type = [
| `FType_removed of
Odoc_model.Names.TypeName.t
* Component.TypeExpr.t
* Component.TypeDecl.Equation.t
]
type careful_module_type = [
| module_type
| `FModuleType_removed of Component.ModuleType.expr
]
val careful_module_in_sig :
Component.Signature.t ->
Odoc_model.Names.ModuleName.t ->
careful_module option
val careful_module_type_in_sig :
Component.Signature.t ->
Odoc_model.Names.ModuleTypeName.t ->
careful_module_type option
val careful_type_in_sig :
Component.Signature.t ->
Odoc_model.Names.TypeName.t ->
careful_type option
val careful_class_in_sig :
Component.Signature.t ->
Odoc_model.Names.TypeName.t ->
careful_class option