Trait wca::ProgramParser

source ·
pub trait ProgramParser {
    // Required method
    fn program(&self, input: &str) -> Result<Program<Namespace<ParsedCommand>>>;
}
Expand description

Can parser Programs

Required Methods§

source

fn program(&self, input: &str) -> Result<Program<Namespace<ParsedCommand>>>

Parses program from string

Implementors§