public override object Visit(ArrayInitializerExpression arrayInitializerExpression, object data)
 {
     return null;
 }
示例#2
0
	void ArrayInitializer(
#line  1356 "VBNET.ATG" 
out Expression outExpr) {

#line  1358 "VBNET.ATG" 
		Expression expr = null;
		ArrayInitializerExpression initializer = new ArrayInitializerExpression();
		
		Expect(21);
		if (StartOf(19)) {
			VariableInitializer(
#line  1363 "VBNET.ATG" 
out expr);

#line  1365 "VBNET.ATG" 
			initializer.CreateExpressions.Add(expr);
			
			while (
#line  1368 "VBNET.ATG" 
NotFinalComma()) {
				Expect(12);
				VariableInitializer(
#line  1368 "VBNET.ATG" 
out expr);

#line  1369 "VBNET.ATG" 
				initializer.CreateExpressions.Add(expr); 
			}
		}
		Expect(22);

#line  1372 "VBNET.ATG" 
		outExpr = initializer; 
	}
 public object Visit(ArrayInitializerExpression arrayInitializerExpression, object data)
 {
     DebugOutput(arrayInitializerExpression);
     if (arrayInitializerExpression.CreateExpressions.Count > 0) {
         return String.Concat("{",
                              GetExpressionList(arrayInitializerExpression.CreateExpressions),
                              "}");
     }
     return String.Empty;
 }
        public virtual object Visit(ArrayInitializerExpression arrayInitializerExpression, object data)
        {
            if (arrayInitializerExpression.CreateExpressions != null) {
                foreach (INode node in arrayInitializerExpression.CreateExpressions) {
                    node.AcceptVisitor(this, data);
                }
            }

            return data;
        }
 public override object Visit(ArrayInitializerExpression arrayInitializerExpression, object data)
 {
     // no calls allowed !!!
     return null;
 }
 public ArrayCreateExpression(TypeReference createType, ArrayInitializerExpression arrayInitializer)
 {
     this.createType = createType;
     this.arrayInitializer = arrayInitializer;
 }