Datatype expressions
Inheritance: Expr
Ejemplo n.º 1
0
        /// <summary>
        /// Translates an ASTVector into a DatatypeExpr[]
        /// </summary>
        public DatatypeExpr[] ToDatatypeExprArray()
        {
            uint n = Size;

            DatatypeExpr[] res = new DatatypeExpr[n];
            for (uint i = 0; i < n; i++)
            {
                res[i] = (DatatypeExpr)Expr.Create(this.Context, this[i].NativeObject);
            }
            return(res);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Translates an ASTVector into a DatatypeExpr[]
 /// </summary>    
 public DatatypeExpr[] ToDatatypeExprArray()
 {
     uint n = Size;
     DatatypeExpr[] res = new DatatypeExpr[n];
     for (uint i = 0; i < n; i++)
         res[i] = (DatatypeExpr)Expr.Create(this.Context, this[i].NativeObject);
     return res;
 }