public static enum VariableContext.Type extends Enum<VariableContext.Type>
Enum Constant and Description |
---|
INT_INDEX
Brackets containing an integer index (ie an array).
|
MEMBER
A member of the previous context (ie "dot" access).
|
METHOD
Parenthesis represent a member method to be called.
|
STR_INDEX
Brackets containing a string as the "index".
|
Modifier and Type | Method and Description |
---|---|
static VariableContext.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableContext.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableContext.Type MEMBER
public static final VariableContext.Type STR_INDEX
public static final VariableContext.Type INT_INDEX
public static final VariableContext.Type METHOD
public static VariableContext.Type[] values()
for (VariableContext.Type c : VariableContext.Type.values()) System.out.println(c);
public static VariableContext.Type 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 © 2000-2021 Apache Software Foundation. All Rights Reserved.