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); } }
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); } }