withGrammar

open override fun withGrammar(grammar: Grammar<T, E>): ParserImpl.ContextImpl.ChildContextImpl<T, E, R>

Creates a child parser context with the specified grammar.