diff options
author | 2003-04-29 16:49:47 +0000 | |
---|---|---|
committer | 2003-04-29 16:49:47 +0000 | |
commit | 66eed5340efdfbd41a775cf679213507bb2ac424 (patch) | |
tree | 66c4547fc4cd6806dc5b89225d48b6cd8f7a5981 /interp/symbols.mli | |
parent | 76d21be9a42c1c326021f7096512fbb23e88c55a (diff) |
Prise en compte des syntaxes v8 dans Uninterpreted Notation
Suite mise en place infrastructure pour déclaration de syntaxe simultanée
à la déclaration d'inductifs
Table séparée pour les précédences de notations
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3983 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'interp/symbols.mli')
-rw-r--r-- | interp/symbols.mli | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/interp/symbols.mli b/interp/symbols.mli index fa3d778f1..4c96d071b 100644 --- a/interp/symbols.mli +++ b/interp/symbols.mli @@ -83,7 +83,7 @@ type interp_rule = | NotationRule of scope_name * notation | SynDefRule of kernel_name val declare_notation_interpretation : notation -> scope_name -> - interpretation -> level -> string -> unit + interpretation -> string -> unit val declare_uninterpretation : interp_rule -> interpretation -> unit @@ -101,12 +101,16 @@ val uninterp_notations : rawconstr -> val availability_of_notation : scope_name * notation -> scopes -> (scope_name option * delimiters option) option +(*s Declare and test the level of a (possibly uninterpreted) notation *) + +val declare_notation_level : notation -> level -> unit +val level_of_notation : notation -> level (* [Not_found] if no level *) + (*s** Miscellaneous *) (* Checks for already existing notations *) -val exists_notation_in_scope : scope_name -> level -> notation -> +val exists_notation_in_scope : scope_name -> notation -> interpretation-> bool -val exists_notation : level -> notation -> bool (* Declares and looks for scopes associated to arguments of a global ref *) val declare_arguments_scope: global_reference -> scope_name option list -> unit @@ -117,9 +121,6 @@ val pr_scope : (rawconstr -> std_ppcmds) -> scope_name -> std_ppcmds val pr_scopes : (rawconstr -> std_ppcmds) -> std_ppcmds val locate_notation : (rawconstr -> std_ppcmds) -> notation -> std_ppcmds -(* [raise Not_found] if non existing notation *) -val find_notation_level : notation -> level - (**********************************************************************) (*s Printing rules for notations *) |