module Unsafe: sig end
Unsafe.reinit_gram g lex
removes the tokens of the grammarlex
as a new lexer for g
. Warning: the lexerUnsafe.clear_entry e
removes all rules of the entry e
.val gram_reinit : Grammar.g -> Token.t Token.glexer -> unit
val clear_entry : 'a Grammar.Entry.e -> unit