Class ArrayInitializerExpr

  • All Implemented Interfaces:
    NodeWithRange<Node>, NodeWithTokenRange<Node>, Observable, Visitable, HasParentNode<Node>, Cloneable

    public final class ArrayInitializerExpr
    extends Expression
    The initialization of an array. In the following sample, the outer { } is an ArrayInitializerExpr. It has two expressions inside: two ArrayInitializerExprs. These have two expressions each, one has 1 and 1, the other two and two.
    new int[][]{{1, 1}, {2, 2}};
    Author:
    Julio Vilmar Gesser