diff options
| author | ppedrot | 2012-06-22 15:14:30 +0000 |
|---|---|---|
| committer | ppedrot | 2012-06-22 15:14:30 +0000 |
| commit | 6b45f2d36929162cf92272bb60c2c245d9a0ead3 (patch) | |
| tree | 93aa975697b7de73563c84773d99b4c65b92173b /interp/dumpglob.mli | |
| parent | fea214f82954197d23fda9a0e4e7d93e0cbf9b4c (diff) | |
Added an indirection with respect to Loc in Compat. As many [open Compat]
were closed (i.e. the only remaining ones are those of printing/parsing).
Meanwhile, a simplified interface is provided in loc.mli.
This also permits to put Pp in Clib, because it does not depend on
CAMLP4/5 anymore.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15475 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp/dumpglob.mli')
| -rw-r--r-- | interp/dumpglob.mli | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/interp/dumpglob.mli b/interp/dumpglob.mli index 469df12224..73354fa404 100644 --- a/interp/dumpglob.mli +++ b/interp/dumpglob.mli @@ -22,19 +22,19 @@ val dump_to_dotglob : unit -> unit val pause : unit -> unit val continue : unit -> unit -val add_glob : Pp.loc -> Globnames.global_reference -> unit -val add_glob_kn : Pp.loc -> Names.kernel_name -> unit - -val dump_definition : Pp.loc * Names.identifier -> bool -> string -> unit -val dump_moddef : Pp.loc -> Names.module_path -> string -> unit -val dump_modref : Pp.loc -> Names.module_path -> string -> unit -val dump_reference : Pp.loc -> string -> string -> string -> unit -val dump_libref : Pp.loc -> Names.dir_path -> string -> unit +val add_glob : Loc.t -> Globnames.global_reference -> unit +val add_glob_kn : Loc.t -> Names.kernel_name -> unit + +val dump_definition : Loc.t * Names.identifier -> bool -> string -> unit +val dump_moddef : Loc.t -> Names.module_path -> string -> unit +val dump_modref : Loc.t -> Names.module_path -> string -> unit +val dump_reference : Loc.t -> string -> string -> string -> unit +val dump_libref : Loc.t -> Names.dir_path -> string -> unit val dump_notation_location : (int * int) list -> Constrexpr.notation -> (Notation.notation_location * Notation_term.scope_name option) -> unit -val dump_binding : Pp.loc -> Names.Idset.elt -> unit +val dump_binding : Loc.t -> Names.Idset.elt -> unit val dump_notation : - Pp.loc * (Constrexpr.notation * Notation.notation_location) -> + Loc.t * (Constrexpr.notation * Notation.notation_location) -> Notation_term.scope_name option -> bool -> unit val dump_constraint : Constrexpr.typeclass_constraint -> bool -> string -> unit |
