org.jetbrains.kotlin.codegen
Class StackValue.CollectionElement
java.lang.Object
org.jetbrains.kotlin.codegen.StackValue
org.jetbrains.kotlin.codegen.StackValue.StackValueWithSimpleReceiver
org.jetbrains.kotlin.codegen.StackValue.CollectionElement
- Enclosing class:
- StackValue
public static class StackValue.CollectionElement
- extends StackValue.StackValueWithSimpleReceiver
Nested classes/interfaces inherited from class org.jetbrains.kotlin.codegen.StackValue |
StackValue.CallReceiver, StackValue.CollectionElement, StackValue.CollectionElementReceiver, StackValue.Constant, StackValue.DelegatedForComplexReceiver, StackValue.Field, StackValue.FieldForSharedVar, StackValue.Local, StackValue.OnStack, StackValue.Receiver, StackValue.Shared, StackValue.StackValueWithSimpleReceiver |
Method Summary |
static boolean |
isStandardStack(JetTypeMapper typeMapper,
ResolvedCall<?> call,
int valueParamsSize)
|
void |
putSelector(org.jetbrains.org.objectweb.asm.Type type,
org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v)
|
int |
receiverSize()
|
void |
storeSelector(org.jetbrains.org.objectweb.asm.Type topOfStackType,
org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v)
|
Methods inherited from class org.jetbrains.kotlin.codegen.StackValue |
and, arrayElement, canHaveSideEffects, changeReceiverForFieldAndSharedVar, cmp, coerce, coerceFrom, coerceTo, coercion, collectionElement, compareIntWithZero, compareWithNull, complexWriteReadReceiver, constant, couldSkipReceiverOnStaticCall, expression, field, field, field, fieldForSharedVar, fieldForSharedVar, functionCall, local, moveToTopOfStack, none, not, oldSingleton, onStack, operation, or, postIncrement, preIncrement, preIncrementForLocalVar, property, put, put, putUnitInstance, receiver, receiverWithoutReceiverArgument, receiverWithRefWrapper, refType, shared, sharedTypeForType, singleton, singletonForCompanion, store, thisOrOuter, unit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackValue.CollectionElement
public StackValue.CollectionElement(@NotNull
StackValue collectionElementReceiver,
@NotNull
org.jetbrains.org.objectweb.asm.Type type,
@Nullable
ResolvedCall<FunctionDescriptor> resolvedGetCall,
@Nullable
ResolvedCall<FunctionDescriptor> resolvedSetCall,
@NotNull
ExpressionCodegen codegen)
putSelector
public void putSelector(@NotNull
org.jetbrains.org.objectweb.asm.Type type,
@NotNull
org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v)
- Specified by:
putSelector
in class StackValue
receiverSize
public int receiverSize()
- Overrides:
receiverSize
in class StackValue.StackValueWithSimpleReceiver
isStandardStack
public static boolean isStandardStack(@NotNull
JetTypeMapper typeMapper,
@Nullable
ResolvedCall<?> call,
int valueParamsSize)
storeSelector
public void storeSelector(@NotNull
org.jetbrains.org.objectweb.asm.Type topOfStackType,
@NotNull
org.jetbrains.org.objectweb.asm.commons.InstructionAdapter v)
- Overrides:
storeSelector
in class StackValue