gnu.expr
Class StackTarget

java.lang.Object
  extended by gnu.expr.Target
      extended by gnu.expr.StackTarget
Direct Known 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
pushValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackTarget

public StackTarget(Type type)
Method Detail

getType

public Type getType()
Specified by:
getType in class Target

getInstance

public static Target getInstance(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:
compileFromStack in class Target