pub trait ParserConfigExt<'a> {
// Required methods
fn with_memory_bound_mode(
&'a self,
memory_bound_mode: MemoryBoundMode,
) -> FrontendConfig<'a>;
fn parser_config(&self) -> &ParserConfig;
}
Expand description
Extension to provide additional methods to the ParserConfig.
Required Methods§
Sourcefn with_memory_bound_mode(
&'a self,
memory_bound_mode: MemoryBoundMode,
) -> FrontendConfig<'a>
fn with_memory_bound_mode( &'a self, memory_bound_mode: MemoryBoundMode, ) -> FrontendConfig<'a>
Specifies whether to compute the memory bound in dynamic or static way.
Sourcefn parser_config(&self) -> &ParserConfig
fn parser_config(&self) -> &ParserConfig
Returns a reference to the underlying parser config.