|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.upb.hni.vmagic.VhdlElement
de.upb.hni.vmagic.Range
public class Range
Range.
Nested Class Summary | |
---|---|
static class |
Range.Direction
Range direction. |
Constructor Summary | |
---|---|
Range(Expression from,
Range.Direction direction,
Expression to)
Creates a range. |
|
Range(int from,
Range.Direction direction,
int to)
Creates a range with integer bounds. |
Method Summary | |
---|---|
Range.Direction |
getDirection()
Returns the direction of this range. |
Expression |
getFrom()
Returns the from expression. |
Expression |
getTo()
Returns the to expression. |
void |
setDirection(Range.Direction direction)
Sets the direction of this range. |
void |
setFrom(Expression from)
Sets the from expression. |
void |
setFrom(int from)
Sets the from expression. |
void |
setTo(Expression to)
Sets the to expression. |
void |
setTo(int to)
Sets the to expression. |
Methods inherited from class de.upb.hni.vmagic.VhdlElement |
---|
getParent, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Range(Expression from, Range.Direction direction, Expression to)
from
- the from expressiondirection
- the directionto
- the to expressionpublic Range(int from, Range.Direction direction, int to)
from
- the from valuedirection
- the directionto
- the to valueMethod Detail |
---|
public void setDirection(Range.Direction direction)
direction
- the directionpublic Range.Direction getDirection()
public void setFrom(Expression from)
from
- the from expressionpublic void setFrom(int from)
from
- the value of the from expressionpublic Expression getFrom()
public void setTo(Expression to)
to
- the to expressionpublic void setTo(int to)
to
- the value of the to expressionpublic Expression getTo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |