Package gnu.expr
Class StackTarget
- java.lang.Object
-
- gnu.expr.Target
-
- gnu.expr.StackTarget
-
- Direct Known Subclasses:
CheckedTarget
public class StackTarget extends Target
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanautoTruncatesTarget is field or array element that automatically truncates.-
Fields inherited from class gnu.expr.Target
Ignore, pushObject
-
-
Constructor Summary
Constructors Constructor Description StackTarget(Type type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompileFromStack(Compilation comp, Type stackType)protected booleancompileFromStack0(Compilation comp, Type stackType)static voidconvert(Compilation comp, Type stackType, Type targetType)protected voiddoCoerce(Compilation comp)protected static voidemitCoerceFromObject(Type type, Compilation comp)static TypeforceLazy(Compilation comp, Type stackType, Type type)static TypeforceLazyIfNeeded(Compilation comp, Type stackType, Type type)protected StackTargetgetClonedInstance(Type type)static TargetgetInstance(Type type)static TargetgetTruncatingInstance(Type type)TypegetType()
-
-
-
Constructor Detail
-
StackTarget
public StackTarget(Type type)
-
-
Method Detail
-
getClonedInstance
protected StackTarget getClonedInstance(Type type)
-
forceLazyIfNeeded
public static Type forceLazyIfNeeded(Compilation comp, Type stackType, Type type)
-
forceLazy
public static Type forceLazy(Compilation comp, Type stackType, Type type)
-
compileFromStack0
protected boolean compileFromStack0(Compilation comp, Type stackType)
-
convert
public static void convert(Compilation comp, Type stackType, Type targetType)
-
emitCoerceFromObject
protected static void emitCoerceFromObject(Type type, Compilation comp)
-
compileFromStack
public void compileFromStack(Compilation comp, Type stackType)
- Specified by:
compileFromStackin classTarget
-
doCoerce
protected void doCoerce(Compilation comp)
-
-