gnu.expr
public class ConditionalTarget extends Target
| Field Summary | |
|---|---|
| Label | ifFalse |
| Label | ifTrue |
| boolean | trueBranchComesFirst True if the ifTrue label comes before the ifFalse label.
|
| Constructor Summary | |
|---|---|
| ConditionalTarget(Label ifTrue, Label ifFalse, Language language) | |
| Method Summary | |
|---|---|
| void | compileFromStack(Compilation comp, Type stackType) |
| void | emitGotoFirstBranch(CodeAttr code) Goto whichever of IfTrue or ifFalse is specified by trueBranchComesFirst.
|
| Type | getType() |
Parameters: ifTrue label to jump to if this evaluates to true ifFalse label to jump to if true language specifies what values are true