public static class BranchSet.SimpleLogicalExpressionNode extends BranchSet.LogicalExpressionNode
(i<3)
if (i<3){}
Modifier and Type | Field and Description |
---|---|
private InstructionSet.ConditionalBranch |
branch |
private boolean |
invert |
Modifier | Constructor and Description |
---|---|
|
SimpleLogicalExpressionNode(InstructionSet.ConditionalBranch _branch) |
private |
SimpleLogicalExpressionNode(InstructionSet.ConditionalBranch _branch,
boolean _invert) |
Modifier and Type | Method and Description |
---|---|
BranchSet.LogicalExpressionNode |
cloneInverted() |
InstructionSet.ConditionalBranch |
getBranch() |
int |
getFallThrough() |
int |
getTarget() |
void |
invert() |
boolean |
isInvert() |
java.lang.String |
toString() |
private final InstructionSet.ConditionalBranch branch
private boolean invert
public SimpleLogicalExpressionNode(InstructionSet.ConditionalBranch _branch)
private SimpleLogicalExpressionNode(InstructionSet.ConditionalBranch _branch, boolean _invert)
public int getTarget()
getTarget
in class BranchSet.LogicalExpressionNode
public void invert()
invert
in class BranchSet.LogicalExpressionNode
public BranchSet.LogicalExpressionNode cloneInverted()
cloneInverted
in class BranchSet.LogicalExpressionNode
public int getFallThrough()
getFallThrough
in class BranchSet.LogicalExpressionNode
public boolean isInvert()
public InstructionSet.ConditionalBranch getBranch()
public java.lang.String toString()
toString
in class java.lang.Object