package ocp-index
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Lightweight completion and documentation browsing for OCaml libraries
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocp-index-1.4.1.tbz
sha256=59adbd99a9c88106dcf23bc0e3424a00f840fcedee4e4b644eaf0385ada3f911
sha512=53c9b83ee7c274bf1981de716081e4d7f603d2d4cc25c83a20d2f4c599d88d2200393feef54f4cdb25e014ea058d498ac711581c40e298df30f33a7cf8f65ff6
doc/src/ocp-index.lib/indexTypes.ml.html
Source file indexTypes.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51(**************************************************************************) (* *) (* Copyright 2013 OCamlPro *) (* *) (* All rights reserved. This file is distributed under the terms of *) (* the Lesser GNU Public License version 3.0. *) (* *) (* This software is distributed in the hope that it will be useful, *) (* but WITHOUT ANY WARRANTY; without even the implied warranty of *) (* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *) (* Lesser GNU General Public License for more details. *) (* *) (**************************************************************************) (* * This module contains open types, for use within the library only. Its interface should only be exported through closed types in LibIndex. *) (** Internal representation of types *) type ty = Outcometree.out_sig_item (** The type of files we get our data from *) type orig_file = Cmt of string | Cmti of string | Cmi of string (** Contains the information on a given identifier *) type info = { path: string list; orig_path: string list; kind: kind; name: string; ty: ty option; loc_sig: Location.t Lazy.t; loc_impl: Location.t Lazy.t; doc: string option Lazy.t; file: orig_file; (* library: string option *) } (** The kind of elements that can be stored in the trie *) and kind = | Type | Value | Exception | OpenType | Field of info | Variant of info | Method of info | Module | ModuleType | Class | ClassType | Keyword (** Lazy trie structure holding the info on all identifiers *) type t = (char, info) IndexTrie.t (* * Raised when cmi/cmt/cmti files can't be loaded. Probably a different version of OCaml *) exception Bad_format of string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>