Class Tree.ArrTy

  • Enclosing class:
    Tree

    public static class Tree.ArrTy
    extends Tree.Type
    An array type.
    • Constructor Detail

      • ArrTy

        public ArrTy​(int position,
                     com.google.common.collect.ImmutableList<Tree.Anno> annos,
                     Tree.Type elem)
    • Method Detail

      • accept

        public <I extends @Nullable java.lang.Object,​O extends @Nullable java.lang.Object> O accept​(Tree.Visitor<I,​O> visitor,
                                                                                                          I input)
        Specified by:
        accept in class Tree
      • elem

        public Tree.Type elem()
        The element type of the array.

        Multi-dimensional arrays are represented as nested Tree.ArrTys.