|
||||||||||
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.type.Type
de.upb.hni.vmagic.type.RecordType
public class RecordType
Record type.
Nested Class Summary | |
---|---|
static class |
RecordType.ElementDeclaration
Element declaration in a record type. |
Constructor Summary | |
---|---|
RecordType(java.lang.String identifier)
Creates a record type. |
Method Summary | |
---|---|
RecordType.ElementDeclaration |
createElement(SubtypeIndication type,
java.util.List<java.lang.String> identifiers)
Creates a new element declaration and adds it to this record. |
RecordType.ElementDeclaration |
createElement(SubtypeIndication type,
java.lang.String... identifiers)
Creates a new element declaration and adds it to this record. |
java.util.List<RecordType.ElementDeclaration> |
getElements()
Returns the elements. |
Methods inherited from class de.upb.hni.vmagic.type.Type |
---|
getIdentifier, setIdentifier |
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 RecordType(java.lang.String identifier)
identifier
- the identifier of this typeMethod Detail |
---|
public RecordType.ElementDeclaration createElement(SubtypeIndication type, java.util.List<java.lang.String> identifiers)
type
- the typeidentifiers
- a list of identifiers
public RecordType.ElementDeclaration createElement(SubtypeIndication type, java.lang.String... identifiers)
type
- the typeidentifiers
- a variable number of identifiers
public java.util.List<RecordType.ElementDeclaration> getElements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |