public virtual void Visit(SoqlBooleanAndExpression v)
 {
     Output.Write('(');
     v.Left.Accept(this);
     Output.Write(" and ");
     v.Right.Accept(this);
     Output.Write(')');
 }
Beispiel #2
0
        private SoqlExpression ParseBooleanAnd()
        {
            SoqlExpression e = ParseBooleanPredicate();

            while (tokenizer.IsKeyword("and") || tokenizer.IsToken(SoqlTokenType.And))
            {
                tokenizer.GetNextToken();
                e = new SoqlBooleanAndExpression((SoqlBooleanExpression)e, (SoqlBooleanExpression)ParseBooleanPredicate());
            }
            return(e);
        }
Beispiel #3
0
        private SoqlExpression ParseBooleanAnd()
        {
            SoqlExpression e = ParseBooleanPredicate();

            while (tokenizer.IsKeyword("and") || tokenizer.IsToken(SoqlTokenType.And))
            {
                tokenizer.GetNextToken();
                e = new SoqlBooleanAndExpression((SoqlBooleanExpression)e, (SoqlBooleanExpression)ParseBooleanPredicate());
            }
            return e;
        }
 public virtual void Visit(SoqlBooleanAndExpression v)
 {
     Output.Write('(');
     v.Left.Accept(this);
     Output.Write(" and ");
     v.Right.Accept(this);
     Output.Write(')');
 }
 void Sooda.QL.ISoqlVisitor.Visit(SoqlBooleanAndExpression v)
 {
     v.Left.Accept(this);
     v.Right.Accept(this);
 }
 void Sooda.QL.ISoqlVisitor.Visit(SoqlBooleanAndExpression v)
 {
     v.Left.Accept(this);
     v.Right.Accept(this);
 }