|
||||||||||
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.ReturnStatement
public class ReturnStatement
Return statement.
Constructor Summary | |
---|---|
ReturnStatement()
Creates a new ReturnStatement without a returned expression. |
|
ReturnStatement(Expression returnedExpression)
Creates a new ReturnStatement with a returned expression. |
Method Summary | |
---|---|
Expression |
getReturnedExpression()
Returns the returned expression. |
void |
setReturnedExpression(Expression returnedExpression)
Sets the returned expression. |
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 ReturnStatement()
public ReturnStatement(Expression returnedExpression)
returnedExpression
- the returned expressionMethod Detail |
---|
public Expression getReturnedExpression()
null
if no expression is
returnedpublic void setReturnedExpression(Expression returnedExpression)
returnedExpression
- the returned expression or null
to
remove the returned expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |