diff options
author | 2002-08-02 17:17:42 +0000 | |
---|---|---|
committer | 2002-08-02 17:17:42 +0000 | |
commit | 12965209478bd99dfbe57f07d5b525e51b903f22 (patch) | |
tree | 36a7f5e4802cd321caf02fed0be8349100be09fb /parsing/ast.mli | |
parent | 8b26fd6ba739d4f49fae99ed764b086022e44b50 (diff) |
Modules dans COQ\!\!\!\!
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2957 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/ast.mli')
-rwxr-xr-x | parsing/ast.mli | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/parsing/ast.mli b/parsing/ast.mli index 4a9048256..07dbd06f2 100755 --- a/parsing/ast.mli +++ b/parsing/ast.mli @@ -11,6 +11,7 @@ (*i*) open Pp open Names +open Libnames open Coqast open Genarg (*i*) @@ -30,13 +31,13 @@ val nvar : identifier -> Coqast.t val ide : string -> Coqast.t val num : int -> Coqast.t val string : string -> Coqast.t -val path : section_path -> Coqast.t +val path : kernel_name -> Coqast.t val dynamic : Dyn.t -> Coqast.t val set_loc : Coqast.loc -> Coqast.t -> Coqast.t -val path_section : Coqast.loc -> section_path -> Coqast.t -val section_path : section_path -> section_path +val path_section : Coqast.loc -> kernel_name -> Coqast.t +val section_path : kernel_name -> kernel_name (* ast destructors *) val num_of_ast : Coqast.t -> int @@ -100,7 +101,7 @@ val coerce_to_var : Coqast.t -> Coqast.t val coerce_to_id : Coqast.t -> identifier -val coerce_qualid_to_id : Nametab.qualid Util.located -> identifier +val coerce_qualid_to_id : qualid Util.located -> identifier val coerce_reference_to_id : Tacexpr.reference_expr -> identifier @@ -151,3 +152,6 @@ val to_pat : entry_env -> Coqast.t -> (astpat * entry_env) val eval_act : Coqast.loc -> env -> act -> typed_ast val to_act_check_vars : entry_env -> ast_action_type -> grammar_action -> act + +val subst_astpat : Names.substitution -> astpat -> astpat +val subst_act : Names.substitution -> act -> act |