Skip to main content

LanguageParser

Trait LanguageParser 

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

Source

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".

Implementors§