Exemplo n.º 1
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;
 }
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.TypeName = new TypeNameInfo(this) { Text = this.Type_name };
         rslt.Cast_Expression = this.Cast_expression.Parse();
     }
     return rslt;
 }
Exemplo n.º 3
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);
        }
Exemplo n.º 4
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.TypeName = new TypeNameInfo(this)
                {
                    Text = this.Type_name
                };
                rslt.Cast_Expression = this.Cast_expression.Parse();
            }
            return(rslt);
        }