Module Notation_gram
type level
= Constrexpr.notation_entry * Constrexpr.entry_level * Constrexpr.entry_relative_level list * Extend.constr_entry_key list
type grammar_constr_prod_item
=
|
GramConstrTerminal of string Tok.p
|
GramConstrNonTerminal of Extend.constr_prod_entry_key * Names.Id.t option
|
GramConstrListMark of int * bool * int
type one_notation_grammar
=
{
notgram_level : level;
notgram_assoc : Gramlib.Gramext.g_assoc option;
notgram_notation : Constrexpr.notation;
notgram_prods : grammar_constr_prod_item list list;
}
type notation_grammar
= one_notation_grammar list