示例#1
0
        private BooleanExpression ParseAndOperator()
        {
            BooleanExpression c = this.ParseSimpleExpression();

            while (this.token == TokenType.And)
            {
                this.MoveNext();
                c = new AndOperator(c, this.ParseSimpleExpression());
            }
            return(c);
        }
示例#2
0
文件: Parser.cs 项目: bnantz/NCS-V1-1
 private BooleanExpression ParseAndOperator()
 {
     BooleanExpression c = this.ParseSimpleExpression();
     while (this.token == TokenType.And)
     {
         this.MoveNext();
         c = new AndOperator(c, this.ParseSimpleExpression());
     }
     return c;
 }