Grammar.GMakeSourceinclude S
with type keyword_state := L.keyword_state
and type 'a with_gstate := GState.t -> 'a
and type 'a with_kwstate := L.keyword_state -> 'a
and type 'a with_estate := EState.t -> 'a
and type 'a mod_estate := EState.t -> EState.t * 'a
with type te := L.te
with type 'c pattern := 'c L.patternType combinators to factor the module type between explicit state passing in Grammar and global state in Pcoq
type 'a single_extend_statement =
string option * Gramext.g_assoc option * 'a Production.t listtype 'a extend_statement = | Reuse of string option * 'a Production.t listExtend an existing level by its optional given name. If None, picks the topmost level.
*)| Fresh of Gramext.position * 'a single_extend_statement listCreate a level at the given position.
*)