Package gnu.expr
Class Target
java.lang.Object
gnu.expr.Target
- Direct Known Subclasses:
ConditionalTarget
,ConsumerTarget
,IgnoreTarget
,StackTarget
This represents where a compiler can put the result of an expression.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
compileFromStack
(Compilation comp, Type stackType) abstract Type
getType()
static Target
Return a Target to push a value of specified type on JCM stack.
-
Field Details
-
Ignore
A Target which means that the result is ignored. -
pushObject
A Target which means to push an Object on the JVM stack.
-
-
Constructor Details
-
Target
public Target()
-
-
Method Details
-
getType
-
compileFromStack
-
pushValue
Return a Target to push a value of specified type on JCM stack.
-