Beispiel #1
0
        private BooleanExpression ParseOrOperator()
        {
            BooleanExpression c = this.ParseAndOperator();

            while (this.token == TokenType.Or)
            {
                this.MoveNext();
                c = new OrOperator(c, this.ParseAndOperator());
            }
            return(c);
        }
Beispiel #2
0
 private BooleanExpression ParseOrOperator()
 {
     BooleanExpression c = this.ParseAndOperator();
     while (this.token == TokenType.Or)
     {
         this.MoveNext();
         c = new OrOperator(c, this.ParseAndOperator());
     }
     return c;
 }