Trait solp::Consume[][src]

pub trait Consume {
    fn ok(&mut self, path: &str, solution: &Solution<'_>);
fn err(&self, path: &str);
fn is_debug(&self) -> bool; }

Consume provides parsed solution consumer

Required methods

fn ok(&mut self, path: &str, solution: &Solution<'_>)[src]

Called in case of success parsing

fn err(&self, path: &str)[src]

Called on error

fn is_debug(&self) -> bool[src]

Whether to use debug mode (usually just print AST into console)

Loading content...

Implementors

Loading content...