org.jetbrains.jet.codegen.context
Enum LocalLookup.LocalLookupCase

java.lang.Object
  extended by java.lang.Enum<LocalLookup.LocalLookupCase>
      extended by org.jetbrains.jet.codegen.context.LocalLookup.LocalLookupCase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LocalLookup.LocalLookupCase>
Enclosing interface:
LocalLookup

public static enum LocalLookup.LocalLookupCase
extends java.lang.Enum<LocalLookup.LocalLookupCase>


Enum Constant Summary
LOCAL_NAMED_FUNCTION
           
RECEIVER
           
VAR
           
 
Method Summary
abstract  StackValue innerValue(DeclarationDescriptor d, LocalLookup localLookup, GenerationState state, MutableClosure closure, org.jetbrains.asm4.Type classType)
           
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VAR

public static final LocalLookup.LocalLookupCase VAR

LOCAL_NAMED_FUNCTION

public static final LocalLookup.LocalLookupCase LOCAL_NAMED_FUNCTION

RECEIVER

public static final LocalLookup.LocalLookupCase RECEIVER
Method Detail

values

public static LocalLookup.LocalLookupCase[] 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 (LocalLookup.LocalLookupCase c : LocalLookup.LocalLookupCase.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LocalLookup.LocalLookupCase 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 name
java.lang.NullPointerException - if the argument is null

isCase

public abstract boolean isCase(DeclarationDescriptor d,
                               GenerationState state)

innerValue

public abstract StackValue innerValue(DeclarationDescriptor d,
                                      LocalLookup localLookup,
                                      GenerationState state,
                                      MutableClosure closure,
                                      org.jetbrains.asm4.Type classType)

outerValue

public StackValue outerValue(EnclosedValueDescriptor d,
                             ExpressionCodegen expressionCodegen)