Up

module DocOckEnvironment

: sig
#
type 'a t
#
val empty : 'a t
#
val add_module : 'a DocOckPaths.Identifier.signature -> Ident.t -> 'a t -> 'a t
#
val add_argument : 'a DocOckPaths.Identifier.signature -> int -> Ident.t -> 'a t -> 'a t
#
val add_module_type : 'a DocOckPaths.Identifier.signature -> Ident.t -> 'a t -> 'a t
#
val add_type : 'a DocOckPaths.Identifier.signature -> Ident.t -> 'a t -> 'a t
#
val add_constructor : 'a DocOckPaths.Identifier.type_ -> Ident.t -> 'a t -> 'a t
#
val add_field : 'a DocOckPaths.Identifier.type_ -> Ident.t -> 'a t -> 'a t
#
val add_extension : 'a DocOckPaths.Identifier.signature -> Ident.t -> 'a t -> 'a t
#
val add_exception : 'a DocOckPaths.Identifier.signature -> Ident.t -> 'a t -> 'a t
#
val add_value : 'a DocOckPaths.Identifier.signature -> Ident.t -> 'a t -> 'a t
#
val add_class : 'a DocOckPaths.Identifier.signature -> Ident.t -> Ident.t -> Ident.t -> Ident.t -> 'a t -> 'a t
#
val add_class_type : 'a DocOckPaths.Identifier.signature -> Ident.t -> Ident.t -> Ident.t -> 'a t -> 'a t
#
val add_method : 'a DocOckPaths.Identifier.class_signature -> string -> 'a t -> 'a t
#
val add_instance_variable : 'a DocOckPaths.Identifier.class_signature -> string -> 'a t -> 'a t
#
val add_label : 'a DocOckPaths.Identifier.parent -> string -> 'a t -> 'a t
#
module Path : sig
#
val read_module : 'a t -> Path.t -> 'a DocOckPaths.Path.module_
#
val read_module_type : 'a t -> Path.t -> 'a DocOckPaths.Path.module_type
#
val read_type : 'a t -> Path.t -> 'a DocOckPaths.Path.type_
#
val read_class_type : 'a t -> Path.t -> 'a DocOckPaths.Path.class_type
end
#
module Fragment : sig
#
val read_module : Longident.t -> 'a DocOckPaths.Fragment.module_
#
val read_type : Longident.t -> 'a DocOckPaths.Fragment.type_
end
#
module Reference : sig
#
val read_module : 'a t -> string -> 'a DocOckPaths.Reference.module_
#
val read_module_type : 'a t -> string -> 'a DocOckPaths.Reference.module_type
#
val read_type : 'a t -> string -> 'a DocOckPaths.Reference.type_
#
val read_constructor : 'a t -> string -> 'a DocOckPaths.Reference.constructor
#
val read_field : 'a t -> string -> 'a DocOckPaths.Reference.field
#
val read_extension : 'a t -> string -> 'a DocOckPaths.Reference.extension
#
val read_exception : 'a t -> string -> 'a DocOckPaths.Reference.exception_
#
val read_value : 'a t -> string -> 'a DocOckPaths.Reference.value
#
val read_class : 'a t -> string -> 'a DocOckPaths.Reference.class_
#
val read_class_type : 'a t -> string -> 'a DocOckPaths.Reference.class_type
#
val read_method : 'a t -> string -> 'a DocOckPaths.Reference.method_
#
val read_instance_variable : 'a t -> string -> 'a DocOckPaths.Reference.instance_variable
#
val read_label : 'a t -> string -> 'a DocOckPaths.Reference.label
#
val read_element : 'a t -> string -> 'a DocOckPaths.Reference.any
end
end