fn is_operator(token_type: TokenType) -> bool {
    match token_type {
        TokenType::Equal => true,
        TokenType::InEqual => true,
        TokenType::InEqualCaseSensitive => true,
        TokenType::InEqualCaseInSensitive => true,
        TokenType::EqualCaseSensitive => true,
        TokenType::EqualCaseInSensitive => true,
        TokenType::Less => true,
        TokenType::LessOrEqual => true,
        TokenType::Greater => true,
        TokenType::GreaterOrEqual => true,
        TokenType::RegexpMatchesIgnoreCase => true,
        TokenType::RegexpMatchesCaseSensitive => true,
        TokenType::RegexpMatchesCaseInSensitive => true,
        TokenType::Dot => true,
        TokenType::And => true,
        TokenType::Or => true,
        TokenType::Plus => true,
        TokenType::Minus => true,
        TokenType::Multiply => true,
        TokenType::Divide => true,
        TokenType::Modulo => true,
        _ => false,
    }
}
// Returns true if this token is an operator that can be between two expressions.
Returns true if this token is an operator that can be between two expressions.
Returns true if this token is an operator that can be between two expressions .
fn is_operator(token_type: TokenType) -> bool {
    match token_type {
        TokenType::Equal => true,
        TokenType::InEqual => true,
        TokenType::InEqualCaseSensitive => true,
        TokenType::InEqualCaseInSensitive => true,
        TokenType::EqualCaseSensitive => true,
        TokenType::EqualCaseInSensitive => true,
        TokenType::Less => true,
        TokenType::LessOrEqual => true,
        TokenType::Greater => true,
        TokenType::GreaterOrEqual => true,
        TokenType::RegexpMatchesIgnoreCase => true,
        TokenType::RegexpMatchesCaseSensitive => true,
        TokenType::RegexpMatchesCaseInSensitive => true,
        TokenType::Dot => true,
        TokenType::And => true,
        TokenType::Or => true,
        TokenType::Plus => true,
        TokenType::Minus => true,
        TokenType::Multiply => true,
        TokenType::Divide => true,
        TokenType::Modulo => true,
        _ => false,
    }
}
fn is_operator ( token_type : TokenType ) -> bool { match token_type { TokenType :: Equal => true , TokenType :: InEqual => true , TokenType :: InEqualCaseSensitive => true , TokenType :: InEqualCaseInSensitive => true , TokenType :: EqualCaseSensitive => true , TokenType :: EqualCaseInSensitive => true , TokenType :: Less => true , TokenType :: LessOrEqual => true , TokenType :: Greater => true , TokenType :: GreaterOrEqual => true , TokenType :: RegexpMatchesIgnoreCase => true , TokenType :: RegexpMatchesCaseSensitive => true , TokenType :: RegexpMatchesCaseInSensitive => true , TokenType :: Dot => true , TokenType :: And => true , TokenType :: Or => true , TokenType :: Plus => true , TokenType :: Minus => true , TokenType :: Multiply => true , TokenType :: Divide => true , TokenType :: Modulo => true , _ => false , } }
Returns true if this token is an operator that can be between two expressions.
Returns true if this token is an operator that can be between two expressions .
token_type
TokenType
token_type
TokenType