|
||||||||||
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.declaration.DeclarativeItem
de.upb.hni.vmagic.declaration.SubprogramBody
public abstract class SubprogramBody
Abstract base class for subprogram bodies.
Constructor Summary | |
---|---|
SubprogramBody(java.lang.String identifier,
java.util.List<VhdlObjectProvider> parameters)
Creates a subprogram body. |
|
SubprogramBody(java.lang.String identifier,
VhdlObjectProvider... parameters)
Creates a subprogram body. |
|
SubprogramBody(SubprogramDeclaration declaration)
Creates a subprogram body based on a subprogram declaration. |
Method Summary | |
---|---|
java.util.List<SubprogramDeclarativeItem> |
getDeclarations()
Returns the declarations. |
java.lang.String |
getIdentifier()
Returns the subprogram's identifier. |
java.util.List<VhdlObjectProvider<? extends VhdlObject>> |
getParameters()
Returns the parameters of this subprogram. |
Scope |
getScope()
Returns the scope of this declarative region. |
java.util.List<SequentialStatement> |
getStatements()
Returns the statements. |
void |
setIdentifier(java.lang.String identifier)
Sets the subprogram's identifier. |
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 SubprogramBody(java.lang.String identifier, VhdlObjectProvider... parameters)
identifier
- the identifier of this subprogram bodyparameters
- the parameterspublic SubprogramBody(java.lang.String identifier, java.util.List<VhdlObjectProvider> parameters)
identifier
- the identifier of this subprogram bodyparameters
- the parameterspublic SubprogramBody(SubprogramDeclaration declaration)
declaration
- the subprogam declarationMethod Detail |
---|
public java.lang.String getIdentifier()
public void setIdentifier(java.lang.String identifier)
identifier
- the identifierpublic java.util.List<VhdlObjectProvider<? extends VhdlObject>> getParameters()
public java.util.List<SubprogramDeclarativeItem> getDeclarations()
public java.util.List<SequentialStatement> 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 |