pub trait LanguageParser {
// Required method
fn parse_source(
&self,
text: &str,
language: &str,
configuration: ParseConfiguration,
) -> LinkNetwork;
}Expand description
Parser boundary that produces lossless links networks for source text.
Required Methods§
Sourcefn parse_source(
&self,
text: &str,
language: &str,
configuration: ParseConfiguration,
) -> LinkNetwork
fn parse_source( &self, text: &str, language: &str, configuration: ParseConfiguration, ) -> LinkNetwork
Parses text using the requested language label.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".