public static enum FunctionDeclarationTree.Kind extends Enum<FunctionDeclarationTree.Kind>
Enum Constant and Description |
---|
ARROW |
DECLARATION |
EXPRESSION |
MEMBER |
Modifier and Type | Method and Description |
---|---|
static FunctionDeclarationTree.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionDeclarationTree.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionDeclarationTree.Kind DECLARATION
public static final FunctionDeclarationTree.Kind EXPRESSION
public static final FunctionDeclarationTree.Kind MEMBER
public static final FunctionDeclarationTree.Kind ARROW
public static FunctionDeclarationTree.Kind[] values()
for (FunctionDeclarationTree.Kind c : FunctionDeclarationTree.Kind.values()) System.out.println(c);
public static FunctionDeclarationTree.Kind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2009-2016 Google. All Rights Reserved.