public class ClawRange
extends java.lang.Object
Constructor and Description |
---|
ClawRange()
Constructs null initialized ClawRange object.
|
ClawRange(java.lang.String inductionVar,
java.lang.String lowerBound,
java.lang.String upperBound,
java.lang.String step)
Constructs a new ClawRange object with all parameters initialization.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Xnode doStmt)
Compare a ClawRange with a do statement.
|
java.lang.String |
getInductionVar()
Get the induction variable value.
|
java.lang.String |
getLowerBound()
Get the lower bound value.
|
java.lang.String |
getStep()
Get the step value.
|
java.lang.String |
getUpperBound()
Get the upper bound value.
|
void |
setInductionVar(java.lang.String inductionVar)
Set the induction variable value.
|
void |
setLowerBound(java.lang.String lowerBound)
Set the lower bound value.
|
void |
setStep(java.lang.String step)
Set the step value.
|
void |
setUpperBound(java.lang.String upperBound)
Set the upper bound value.
|
public ClawRange()
public ClawRange(java.lang.String inductionVar, java.lang.String lowerBound, java.lang.String upperBound, java.lang.String step)
inductionVar
- The induction variable value.lowerBound
- The lower bound value.upperBound
- The upper bound value.step
- The step value.public java.lang.String getInductionVar()
public void setInductionVar(java.lang.String inductionVar)
inductionVar
- The induction variable value.public java.lang.String getLowerBound()
public void setLowerBound(java.lang.String lowerBound)
lowerBound
- The lower bound value.public java.lang.String getUpperBound()
public void setUpperBound(java.lang.String upperBound)
upperBound
- The upper bound value.public java.lang.String getStep()
public void setStep(java.lang.String step)
step
- The step value.public boolean equals(Xnode doStmt)
doStmt
- The do statement to compare iteration range.