Exemplo n.º 1
0
        private Cast CreateCast(List <Node> parameters)
        {
            parameters.CheckLength(2);
            var node = new Cast
            {
                Type       = (Type)parameters[0],
                Expression = (Expression)parameters[1]
            };

            node.AddChildren(node.Type, node.Expression);

            return(node);
        }