|
||||||||||
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.LabeledElement
de.upb.hni.vmagic.statement.SequentialStatement
de.upb.hni.vmagic.statement.VariableAssignment
public class VariableAssignment
Variable assignment.
Variable target = new Variable("TARGET", Standard.BIT); VariableAssignment assignment = new VariableAssignment(target, Standard.BIT_1);
TARGET := '1';
Constructor Summary | |
---|---|
VariableAssignment(Target<Variable> target,
Expression value)
Creates a variable assignment. |
Method Summary | |
---|---|
Target<Variable> |
getTarget()
Returns the variable assignement target. |
Expression |
getValue()
Returns the assigned value. |
void |
setTarget(Target<Variable> target)
Sets the variable assignment target. |
void |
setValue(Expression value)
Sets the assigned value. |
Methods inherited from class de.upb.hni.vmagic.statement.SequentialStatement |
---|
getLabel, setLabel |
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 VariableAssignment(Target<Variable> target, Expression value)
target
- the variable assignment targetvalue
- the assigned valueMethod Detail |
---|
public Target<Variable> getTarget()
public void setTarget(Target<Variable> target)
target
- the targetpublic Expression getValue()
public void setValue(Expression value)
value
- the value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |