Trait tree_builder::Parser

source ·
pub trait Parser {
    // Required method
    fn parse(input: &str) -> IResult<&str, Box<Self>, VerboseError<&str>>;
}
Expand description

Trait which specifies the function “parse”, the function which gets generated by TreeBuilder.

Required Methods§

source

fn parse(input: &str) -> IResult<&str, Box<Self>, VerboseError<&str>>

Implementors§