Example #1
0
        // TypeBinaryExpression
        private Expression Rewrite(TypeBinaryExpression node)
        {
            Expression expression = RewriteExpression(node.Expression);

            if ((object)expression != (object)node.Expression)
            {
                return(Ast.TypeIs(expression, node.TypeOperand));
            }
            else
            {
                return(node);
            }
        }