diff options
author | Samuel Mimram <samuel.mimram@ens-lyon.org> | 2004-07-28 21:54:47 +0000 |
---|---|---|
committer | Samuel Mimram <samuel.mimram@ens-lyon.org> | 2004-07-28 21:54:47 +0000 |
commit | 6b649aba925b6f7462da07599fe67ebb12a3460e (patch) | |
tree | 43656bcaa51164548f3fa14e5b10de5ef1088574 /parsing/termast.mli |
Imported Upstream version 8.0pl1upstream/8.0pl1
Diffstat (limited to 'parsing/termast.mli')
-rw-r--r-- | parsing/termast.mli | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/parsing/termast.mli b/parsing/termast.mli new file mode 100644 index 00000000..c66e8f0f --- /dev/null +++ b/parsing/termast.mli @@ -0,0 +1,55 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +(*i $Id: termast.mli,v 1.24.2.1 2004/07/16 19:30:42 herbelin Exp $ i*) + +(*i*) +open Names +open Term +open Termops +open Sign +open Environ +open Libnames +open Nametab +open Rawterm +open Pattern +(*i*) + +(* Translation of pattern, cases pattern, rawterm and term into syntax + trees for printing *) + +val ast_of_cases_pattern : cases_pattern -> Coqast.t +val ast_of_rawconstr : rawconstr -> Coqast.t +val ast_of_pattern : env -> names_context -> constr_pattern -> Coqast.t + +(* If [b=true] in [ast_of_constr b env c] then the variables in the first + level of quantification clashing with the variables in [env] are renamed *) + +val ast_of_constr : bool -> env -> constr -> Coqast.t + +val ast_of_constant : env -> constant -> Coqast.t +val ast_of_existential : env -> existential -> Coqast.t +val ast_of_constructor : env -> constructor -> Coqast.t +val ast_of_inductive : env -> inductive -> Coqast.t +val ast_of_ref : global_reference -> Coqast.t +val ast_of_qualid : qualid -> Coqast.t + +(*i Now in constrextern.mli +val print_implicits : bool ref +val print_casts : bool ref +val print_arguments : bool ref +val print_evar_arguments : bool ref +val print_coercions : bool ref +val print_universes : bool ref + +val with_casts : ('a -> 'b) -> 'a -> 'b +val with_implicits : ('a -> 'b) -> 'a -> 'b +val with_arguments : ('a -> 'b) -> 'a -> 'b +val with_coercions : ('a -> 'b) -> 'a -> 'b +val with_universes : ('a -> 'b) -> 'a -> 'b +i*) |