gnu.expr

Class StackTarget

Known Direct Subclasses:
CheckedTarget

public class StackTarget
extends Target

Field Summary

Fields inherited from class gnu.expr.Target

Ignore, pushObject

Constructor Summary

StackTarget(Type type)

Method Summary

void
compileFromStack(Compilation comp, Type stackType)
protected boolean
compileFromStack0(Compilation comp, Type stackType)
static void
convert(Compilation comp, Type stackType, Type targetType)
protected static void
emitCoerceFromObject(Type type, Compilation comp)
static Target
getInstance(Type type)
Type
getType()

Methods inherited from class gnu.expr.Target

compileFromStack, getType, pushValue

Constructor Details

StackTarget

public StackTarget(Type type)

Method Details

compileFromStack

public void compileFromStack(Compilation comp,
                             Type stackType)
Overrides:
compileFromStack in interface Target

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)

getInstance

public static Target getInstance(Type type)

getType

public Type getType()
Overrides:
getType in interface Target