pub trait ParseCase {
// Required methods
fn current_token(&self) -> &Token;
fn advance(&mut self);
fn consume(&mut self, expected: Token) -> Result<(), String>;
fn parse_expression(&mut self) -> Result<SqlExpression, String>;
}
Expand description
Trait that parsers must implement to use CASE expression parsing