Trait ParserConfigExt

Source
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§

Source

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.

Source

fn parser_config(&self) -> &ParserConfig

Returns a reference to the underlying parser config.

Implementors§