Trait r::parser::LocalizedParser
source · pub trait LocalizedParser: Sync {
// Required methods
fn parse_input_with(
&self,
input: &str,
config: &SessionParserConfig,
) -> ParseResult;
fn parse_highlight_with(
&self,
input: &str,
config: &SessionParserConfig,
) -> HighlightResult;
// Provided methods
fn parse_input(&self, input: &str) -> ParseResult { ... }
fn parse_highlight(&self, input: &str) -> HighlightResult { ... }
}