public InCondtionInfo Parse(SelectAtomContext ctx) { var temp = Table_field.Parse(ctx); var condition = new InCondtionInfo(); condition.LeftValue = temp; if (In_keyword.keyworkd == "in") { condition.ConditionType = ConditionType.In; } else if (In_keyword.keyworkd == "not in") { condition.ConditionType = ConditionType.NotIn; } else { System.Diagnostics.Debug.Assert(false, "û������in����"); } //if (temp != null) //{ // rslt.Condition.Conditions.Add(new ConditionComplexInfo()); // rslt.Condition.Conditions[0].Condition = condition; //} var listField = this.In_right_value.Parse(ctx); condition.RightValue = listField; return condition; }
public InCondtionInfo Parse(SelectAtomContext ctx) { var temp = Table_field.Parse(ctx); var condition = new InCondtionInfo(); condition.LeftValue = temp; if (In_keyword.keyworkd == "in") { condition.ConditionType = ConditionType.In; } else if (In_keyword.keyworkd == "not in") { condition.ConditionType = ConditionType.NotIn; } else { System.Diagnostics.Debug.Assert(false, "没有这种in条件"); } //if (temp != null) //{ // rslt.Condition.Conditions.Add(new ConditionComplexInfo()); // rslt.Condition.Conditions[0].Condition = condition; //} var listField = this.In_right_value.Parse(ctx); condition.RightValue = listField; return(condition); }