public ExprJsArrayLiteral(Ctx ctx, TypeReference elType, IEnumerable<Expr> elements)
     : base(ctx) {
     this.Elements = elements;
     this.ElementType = elType;
     this.type = elType.MakeArray();
 }
예제 #2
0
 public ExprNewArray(Ctx ctx, TypeReference elementType, Expr exprNumElements)
     : base(ctx) {
     this.ExprNumElements = exprNumElements;
     this.ElementType = elementType;
     this.type = elementType.MakeArray();
 }