| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | (** Mapping of grammar productions to camlp5 actions *) |
| 12 | |
| 13 | (** This is the part specific to Rocq-level Notation and Tactic Notation. |
| 14 | For the ML-level tactic and vernac extensions, see Egramml. *) |
| 15 | |
| 16 | (** {5 Adding notations} *) |
| 17 | |
| 18 | val extend_constr_grammar : Notation_gram.one_notation_grammar -> unit |
| 19 | (** Add a term notation rule to the parsing system. *) |
| 20 | |
| 21 | val find_custom_entry : Globnames.CustomName.t -> |
| 22 | Constrexpr.constr_expr Procq.Entry.t * Constrexpr.cases_pattern_expr Procq.Entry.t |
| 23 | |
| 24 | val create_custom_entry : Globnames.CustomName.t -> unit |
| 25 | (** Add the entry to the grammar. *) |