Exemplo n.º 1
0
        internal CreatorInfo Parse()
        {
            var rslt = new CreatorInfo();

            rslt.GenericType = Generic_type.Parse();

            foreach (var para in this.Assignment_expressions)
            {
                rslt.Assignment_expressions.Add(para.Parse());
            }
            return(rslt);
        }
Exemplo n.º 2
0
        internal Cast_ExpressionInfo Parse()
        {
            var rslt = new Cast_ExpressionInfo(this);

            if (this.Unary_expression != null)
            {
                rslt.Unary_Expression = this.Unary_expression.Parse();
            }
            else
            {
                rslt.GenericType     = Generic_type.Parse();
                rslt.Cast_Expression = this.Cast_expression.Parse();
            }
            return(rslt);
        }