123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051(**************************************************************************)(* *)(* 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 *)typety=Outcometree.out_sig_item(** The type of files we get our data from *)typeorig_file=Cmtofstring|Cmtiofstring|Cmiofstring(** Contains the information on a given identifier *)typeinfo={path:stringlist;orig_path:stringlist;kind:kind;name:string;ty:tyoption;loc_sig:Location.tLazy.t;loc_impl:Location.tLazy.t;doc:string optionLazy.t;file:orig_file;(* library: string option *) }(** The kind of elements that can be stored in the trie *)andkind=|Type|Value|Exception|OpenType|Fieldof info|Variantofinfo|Method ofinfo|Module |ModuleType|Class|ClassType|Keyword(** Lazy trie structure holding the info on all identifiers *)typet=(char,info)IndexTrie.t(* * Raised when cmi/cmt/cmti files can't be loaded. Probably a different
version of OCaml *)exceptionBad_formatofstring