|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstreamit.frontend.nodes.FENode
streamit.frontend.nodes.Expression
streamit.frontend.nodes.ExprRange
public class ExprRange
Indicates a range such as [min,ave,max] as used in a dynamic rate. Ranges are over integers.
Constructor Summary | |
---|---|
ExprRange(Expression min,
Expression max)
Create a new ExprRange with no context. |
|
ExprRange(Expression min,
Expression ave,
Expression max)
Create a new ExprRange with no context. |
|
ExprRange(FEContext context,
Expression min,
Expression max)
|
|
ExprRange(FEContext context,
Expression min,
Expression ave,
Expression max)
Create a new ExprDynamicToken. |
Method Summary | |
---|---|
Object |
accept(FEVisitor v)
Accept a front-end visitor. |
boolean |
equals(Object other)
|
Expression |
getAve()
Return average of range. |
Expression |
getMax()
Return maximum of range. |
Expression |
getMin()
Return minimum of range. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class streamit.frontend.nodes.Expression |
---|
isLValue |
Methods inherited from class streamit.frontend.nodes.FENode |
---|
getContext |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExprRange(FEContext context, Expression min, Expression ave, Expression max)
public ExprRange(FEContext context, Expression min, Expression max)
public ExprRange(Expression min, Expression ave, Expression max)
public ExprRange(Expression min, Expression max)
Method Detail |
---|
public Expression getMin()
public Expression getAve()
public Expression getMax()
public Object accept(FEVisitor v)
accept
in class FENode
v
- visitor object
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |