示例#1
0
        internal override IExpression GetConditionExpression()
        {
            IExpression expr = ConditionVariable.GetExpression();

            if (ConditionValue)
            {
                return(expr);
            }
            else
            {
                return(Builder.NotExpr(expr));
            }
        }
示例#2
0
 internal override IExpression GetConditionExpression()
 {
     return(Builder.BinaryExpr(ConditionVariable.GetExpression(), BinaryOperator.ValueEquality, range.GetExpression()));
 }