Example #1
0
 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);
     }
 }
Example #2
0
 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);
     }
 }