Trait wca::ProgramParser

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

Can parser Programs

Required Methods§

source

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

Parses program from string

Implementors§