|
||||||||||
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.concurrent.ConcurrentStatement
de.upb.hni.vmagic.concurrent.BlockStatement
public class BlockStatement
Block statement.
Constructor Summary | |
---|---|
BlockStatement(java.lang.String label)
Creates a block statement. |
|
BlockStatement(java.lang.String label,
Expression guardExpression)
Creates a block statement with a guard epxression. |
Method Summary | |
---|---|
java.util.List<BlockDeclarativeItem> |
getDeclarations()
Returns the declarations. |
java.util.List<VhdlObjectProvider<Constant>> |
getGeneric()
Returns the generic clause. |
java.util.List<AssociationElement> |
getGenericMap()
Returns the generic map. |
Expression |
getGuardExpression()
Returns the guard expression. |
java.util.List<VhdlObjectProvider<Signal>> |
getPort()
Returns the port clause. |
java.util.List<AssociationElement> |
getPortMap()
Returns the port map. |
Scope |
getScope()
Returns the scope of this declarative region. |
java.util.List<ConcurrentStatement> |
getStatements()
Returns the statements. |
void |
setGuardExpression(Expression guardExpression)
Sets the guard expression. |
Methods inherited from class de.upb.hni.vmagic.concurrent.ConcurrentStatement |
---|
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 BlockStatement(java.lang.String label)
label
- the labelpublic BlockStatement(java.lang.String label, Expression guardExpression)
label
- the labelguardExpression
- the guard expressionMethod Detail |
---|
public Expression getGuardExpression()
null
if no guard expression is setpublic void setGuardExpression(Expression guardExpression)
guardExpression
- the guard expression or
null
to remove the guard expressionpublic java.util.List<VhdlObjectProvider<Constant>> getGeneric()
public java.util.List<VhdlObjectProvider<Signal>> getPort()
public java.util.List<AssociationElement> getGenericMap()
public java.util.List<AssociationElement> getPortMap()
public java.util.List<BlockDeclarativeItem> getDeclarations()
public java.util.List<ConcurrentStatement> getStatements()
public Scope getScope()
DeclarativeRegion
getScope
in interface DeclarativeRegion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |