public static enum IExpressionScope.Anchor extends java.lang.Enum<IExpressionScope.Anchor>
Enum Constant and Description |
---|
AFTER
The context after the given expression
|
BEFORE
The context before the given expression
|
RECEIVER
The context with the given expression as receiver.
|
WITHIN
E.g. inside of catch blocks or for-loops, or if the current context is a feature call
|
Modifier and Type | Method and Description |
---|---|
static IExpressionScope.Anchor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IExpressionScope.Anchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IExpressionScope.Anchor BEFORE
public static final IExpressionScope.Anchor AFTER
public static final IExpressionScope.Anchor RECEIVER
public static final IExpressionScope.Anchor WITHIN
public static IExpressionScope.Anchor[] values()
for (IExpressionScope.Anchor c : IExpressionScope.Anchor.values()) System.out.println(c);
public static IExpressionScope.Anchor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null