예제 #1
0
파일: FormulaParser.cs 프로젝트: ikvm/test
 private void UnionExpression()
 {
     this.IntersectionExpression();
     while (AreaFormulaToken.IsAreaToken(this.GetLastTokenCode()))
     {
         if (this.isFunctionArgumentsProcessed || !this.GetNextOnDemand(','))
         {
             break;
         }
         this.ResetCounter();
         this.IntersectionExpression();
         this.ResetCounter("Operand for union operator.");
         this.AddToken(FormulaTokenCode.List);
     }
 }
예제 #2
0
파일: FormulaParser.cs 프로젝트: ikvm/test
 private void IntersectionExpression()
 {
     this.ReferenceExpression();
     while (AreaFormulaToken.IsAreaToken(this.GetLastTokenCode()))
     {
         if (this.isFunctionArgumentsProcessed || !this.GetNextOnDemand(' ', false))
         {
             break;
         }
         this.ResetCounter();
         this.ReferenceExpression();
         this.ResetCounter("Operand for intersect operator.");
         this.AddToken(FormulaTokenCode.Isect);
     }
 }