Enum Tree.Kind

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Tree.Kind>
    Enclosing class:
    Tree

    public static enum Tree.Kind
    extends java.lang.Enum<Tree.Kind>
    Tree kind.
    • Enum Constant Detail

      • WILD_TY

        public static final Tree.Kind WILD_TY
      • ARR_TY

        public static final Tree.Kind ARR_TY
      • PRIM_TY

        public static final Tree.Kind PRIM_TY
      • VOID_TY

        public static final Tree.Kind VOID_TY
      • CLASS_TY

        public static final Tree.Kind CLASS_TY
      • LITERAL

        public static final Tree.Kind LITERAL
      • TYPE_CAST

        public static final Tree.Kind TYPE_CAST
      • BINARY

        public static final Tree.Kind BINARY
      • CONST_VAR_NAME

        public static final Tree.Kind CONST_VAR_NAME
      • CLASS_LITERAL

        public static final Tree.Kind CLASS_LITERAL
      • ASSIGN

        public static final Tree.Kind ASSIGN
      • CONDITIONAL

        public static final Tree.Kind CONDITIONAL
      • ARRAY_INIT

        public static final Tree.Kind ARRAY_INIT
      • COMP_UNIT

        public static final Tree.Kind COMP_UNIT
      • IMPORT_DECL

        public static final Tree.Kind IMPORT_DECL
      • VAR_DECL

        public static final Tree.Kind VAR_DECL
      • METH_DECL

        public static final Tree.Kind METH_DECL
      • ANNO_EXPR

        public static final Tree.Kind ANNO_EXPR
      • TY_DECL

        public static final Tree.Kind TY_DECL
      • TY_PARAM

        public static final Tree.Kind TY_PARAM
      • PKG_DECL

        public static final Tree.Kind PKG_DECL
      • MOD_DECL

        public static final Tree.Kind MOD_DECL
      • MOD_REQUIRES

        public static final Tree.Kind MOD_REQUIRES
      • MOD_EXPORTS

        public static final Tree.Kind MOD_EXPORTS
      • MOD_OPENS

        public static final Tree.Kind MOD_OPENS
      • MOD_USES

        public static final Tree.Kind MOD_USES
      • MOD_PROVIDES

        public static final Tree.Kind MOD_PROVIDES
    • Method Detail

      • values

        public static Tree.Kind[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Tree.Kind c : Tree.Kind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Tree.Kind valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null