Esempio n. 1
0
        private ConditionExpression ParseBooleanAnd()
        {
            var expression = ParseBooleanPredicate();

            while (tokenizer.IsKeyword("and") || tokenizer.IsToken(ConditionTokenType.And))
            {
                tokenizer.GetNextToken();
                expression = new ConditionAndExpression(expression, ParseBooleanPredicate());
            }

            return(expression);
        }
Esempio n. 2
0
        private ConditionExpression ParseBooleanAnd()
        {
            var expression = ParseBooleanPredicate();

            while (tokenizer.IsKeyword("and") || tokenizer.IsToken(ConditionTokenType.And))
            {
                tokenizer.GetNextToken();
                expression = new ConditionAndExpression(expression, ParseBooleanPredicate());
            }

            return expression;
        }