Trait notedown_parser::utils::Parser[][src]

pub trait Parser<R> where
    R: RuleType
{ pub fn parse(rule: R, input: &str) -> Result<Pairs<'_, R>, Error<R>>; }

A trait with a single method that parses strings.

Required methods

pub fn parse(rule: R, input: &str) -> Result<Pairs<'_, R>, Error<R>>[src]

Parses a &str starting from rule.

Loading content...

Implementors

impl Parser<Rule> for NoteDownParser[src]

Loading content...