Package com.google.turbine.tree
Enum Tree.Kind
- java.lang.Object
-
- java.lang.Enum<Tree.Kind>
-
- com.google.turbine.tree.Tree.Kind
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOANNO_EXPRARR_TYARRAY_INITASSIGNBINARYCLASS_LITERALCLASS_TYCOMP_UNITCONDITIONALCONST_VAR_NAMEIDENTIMPORT_DECLLITERALMETH_DECLMOD_DECLMOD_EXPORTSMOD_OPENSMOD_PROVIDESMOD_REQUIRESMOD_USESPARENPKG_DECLPRIM_TYTY_DECLTY_PARAMTYPE_CASTUNARYVAR_DECLVOID_TYWILD_TY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Tree.KindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Tree.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDENT
public static final Tree.Kind IDENT
-
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
-
PAREN
public static final Tree.Kind PAREN
-
TYPE_CAST
public static final Tree.Kind TYPE_CAST
-
UNARY
public static final Tree.Kind UNARY
-
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
public static final Tree.Kind ANNO
-
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 namejava.lang.NullPointerException- if the argument is null
-
-