Beispiel #1
0
        public static ConditionalExpression CreateConditionalExpression(ConditionBlock conditionBlock, ConditionalExpression elseCondition, Token token)
        {
            ConditionalExpression result = CreateNode <ConditionalExpression>(token);

            result.SetIfBlock(conditionBlock);
            result.SetElseBlock(elseCondition);
            return(result);
        }