public static enum LocalLookup.LocalLookupCase extends java.lang.Enum<LocalLookup.LocalLookupCase>
Enum Constant and Description |
---|
LOCAL_NAMED_FUNCTION |
RECEIVER |
VAR |
Modifier and Type | Method and Description |
---|---|
abstract StackValue |
innerValue(DeclarationDescriptor d,
LocalLookup localLookup,
GenerationState state,
MutableClosure closure,
JvmClassName className) |
abstract boolean |
isCase(DeclarationDescriptor d,
GenerationState state) |
StackValue |
outerValue(EnclosedValueDescriptor d,
ExpressionCodegen expressionCodegen) |
static LocalLookup.LocalLookupCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocalLookup.LocalLookupCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalLookup.LocalLookupCase VAR
public static final LocalLookup.LocalLookupCase LOCAL_NAMED_FUNCTION
public static final LocalLookup.LocalLookupCase RECEIVER
public static LocalLookup.LocalLookupCase[] values()
for (LocalLookup.LocalLookupCase c : LocalLookup.LocalLookupCase.values()) System.out.println(c);
public static LocalLookup.LocalLookupCase 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 nullpublic abstract boolean isCase(DeclarationDescriptor d, GenerationState state)
public abstract StackValue innerValue(DeclarationDescriptor d, LocalLookup localLookup, GenerationState state, MutableClosure closure, JvmClassName className)
public StackValue outerValue(EnclosedValueDescriptor d, ExpressionCodegen expressionCodegen)