public IExpression GetAndExpression() { IExpression left; IExpression right; left = GetEqualityExpression(); while (true) { switch ((mcc_ntk == -1)?mcc_mntk():mcc_ntk) { case AND: ; break; default: goto label_2; } mcc_consume_token(AND); right = GetEqualityExpression(); left = LogicExpression.CreateAND(AsBooleanExpression(left), AsBooleanExpression(right)); } label_2 :; { return(left); } throw new Exception("Missing return statement in function"); }
public static IBooleanExpression CreateBetween(IExpression value, IExpression left, IExpression right) { return(LogicExpression.CreateAND(CreateGreaterThanOrEqual(value, left), CreateLesserThanOrEqual(value, right))); }