diff options
author | 2008-05-30 12:41:39 +0000 | |
---|---|---|
committer | 2008-05-30 12:41:39 +0000 | |
commit | f350cd8cb53e675a5793336b9b17c4749fa474b8 (patch) | |
tree | f39b9330fe34e7447dbbc09121b16cb97330cdd7 /tools/coqdoc/index.mli | |
parent | 3ed23b97c8d1bfbf917b540a35ee767afea28658 (diff) |
Improvements on coqdoc by adding more information into .glob
files, about definitions and type of references.
- Add missing location information on fixpoints/cofixpoint in topconstr and
syntactic definitions in vernacentries for correct dumping.
- Dump definition information in vernacentries: defs, constructors,
projections etc...
- Modify coqdoc/index.mll to use this information instead of trying to
scan the file.
- Use the type information in latex output, update coqdoc.sty accordingly.
- Use the hyperref package to do crossrefs between definition and
references to coq objects in latex.
Next step is to test and debug it on bigger developments.
On the side:
- Fix Program Let which was adding a Global definition.
- Correct implicits for well-founded Program Fixpoints.
- Add new [Method] declaration kind.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11024 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tools/coqdoc/index.mli')
-rw-r--r-- | tools/coqdoc/index.mli | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/coqdoc/index.mli b/tools/coqdoc/index.mli index 1af394570..9f0c3d24a 100644 --- a/tools/coqdoc/index.mli +++ b/tools/coqdoc/index.mli @@ -19,13 +19,22 @@ type entry_type = | Inductive | Constructor | Lemma + | Record + | Projection + | Instance + | Class + | Method | Variable | Axiom | TacticDefinition + | Abbreviation + | Notation + +val type_name : entry_type -> string type index_entry = | Def of string * entry_type - | Ref of coq_module * string + | Ref of coq_module * string * entry_type | Mod of coq_module * string val find : coq_module -> loc -> index_entry @@ -42,7 +51,7 @@ val scan_file : string -> coq_module -> unit (*s Read globalizations from a file (produced by coqc -dump-glob) *) -val read_glob : string -> unit +val read_glob : string -> coq_module (*s Indexes *) |