pub fn parse(q_str: &str) -> Result<Operation>