ImperativeVerbParsing

Trait ImperativeVerbParsing 

Source
pub trait ImperativeVerbParsing<'a, 'ctx, 'int> {
    // Required method
    fn parse_statement_with_subject(
        &mut self,
        subject_symbol: Symbol,
    ) -> Result<Stmt<'a>, ParseError>;
}
Expand description

Trait for parsing verb phrases in imperative (LOGOS) mode.

Provides methods for parsing statements rather than logical propositions.

Required Methods§

Source

fn parse_statement_with_subject( &mut self, subject_symbol: Symbol, ) -> Result<Stmt<'a>, ParseError>

Parses a statement with the given subject symbol.

Implementors§