fn parse_binary(text: &str) -> BinaryOperator {
    match text {
        "AND" => BinaryOperator::And,
        "OR" => BinaryOperator::Or,
        "LSHIFT" => BinaryOperator::LShift,
        "RSHIFT" => BinaryOperator::RShift,
        _ => panic!("Unknown binary operator {}", text)
    }
}
// Parse a binary operator from it's textual name
Parse a binary operator from it's textual name
Parse a binary operator from it ' s textual name
fn parse_binary(text: &str) -> BinaryOperator {
    match text {
        "AND" => BinaryOperator::And,
        "OR" => BinaryOperator::Or,
        "LSHIFT" => BinaryOperator::LShift,
        "RSHIFT" => BinaryOperator::RShift,
        _ => panic!("Unknown binary operator {}", text)
    }
}
fn parse_binary ( text : & str ) -> BinaryOperator { match text { " " => BinaryOperator :: And , " " => BinaryOperator :: Or , " " => BinaryOperator :: LShift , " " => BinaryOperator :: RShift , _ => panic ! ( " " text ) } }
Parse a binary operator from it's textual name
Parse a binary operator from it ' s textual name
text
&str