Package com.aparapi.internal.instruction
Class BranchSet.SimpleLogicalExpressionNode
java.lang.Object
com.aparapi.internal.instruction.BranchSet.LogicalExpressionNode
com.aparapi.internal.instruction.BranchSet.SimpleLogicalExpressionNode
- Enclosing class:
- BranchSet
public static class BranchSet.SimpleLogicalExpressionNode extends BranchSet.LogicalExpressionNode
A node in the expression tree representing a simple logical expression.
For example in the following would appear as a SimpleLogicalExpressionNode
(i<3)
if (i<3){}
- Author:
- gfrost
-
Constructor Summary
Constructors Constructor Description SimpleLogicalExpressionNode(InstructionSet.ConditionalBranch _branch)
-
Method Summary
Modifier and Type Method Description BranchSet.LogicalExpressionNode
cloneInverted()
InstructionSet.ConditionalBranch
getBranch()
int
getFallThrough()
int
getTarget()
void
invert()
boolean
isInvert()
String
toString()
-
Constructor Details
-
Method Details
-
getTarget
public int getTarget()- Specified by:
getTarget
in classBranchSet.LogicalExpressionNode
-
invert
public void invert()- Specified by:
invert
in classBranchSet.LogicalExpressionNode
-
cloneInverted
- Specified by:
cloneInverted
in classBranchSet.LogicalExpressionNode
-
getFallThrough
public int getFallThrough()- Specified by:
getFallThrough
in classBranchSet.LogicalExpressionNode
-
isInvert
public boolean isInvert() -
getBranch
-
toString
-