|
||||||||||
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.expression.Expression
de.upb.hni.vmagic.expression.Primary
de.upb.hni.vmagic.expression.VhdlObject<T>
de.upb.hni.vmagic.object.ForwardingVhdlObject<T>
de.upb.hni.vmagic.object.RecordElement<T>
T
- the object typepublic class RecordElement<T extends VhdlObject>
Record element.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.upb.hni.vmagic.expression.VhdlObject |
---|
VhdlObject.Mode, VhdlObject.ObjectClass |
Constructor Summary | |
---|---|
RecordElement(T base,
java.lang.String element)
Creates a record element. |
Method Summary | |
---|---|
ArrayElement<T> |
getArrayElement(Expression... indices)
Returns an array element of this object. |
ArrayElement<T> |
getArrayElement(Expression index)
Returns an array element of this object. |
ArrayElement<T> |
getArrayElement(int index)
Returns an array element of this object. |
ArrayElement<T> |
getArrayElement(java.util.List<Expression> indices)
Returns an array element of this object. |
AttributeExpression<T> |
getAttributeExpression(Attribute attribute)
Returns a attribute expression of this object. |
AttributeExpression<T> |
getAttributeExpression(Attribute attribute,
Expression parameter)
Returns a attribute expression of this object. |
java.lang.String |
getElement()
Returns the identifier of the record element. |
RecordElement<T> |
getRecordElement(java.lang.String element)
Returns a record element of this object. |
Slice<T> |
getSlice(DiscreteRange range)
Returns a slice of this vhdl object. |
Methods inherited from class de.upb.hni.vmagic.object.ForwardingVhdlObject |
---|
getBase, getIdentifier, getMode, getObjectClass, getType, getVhdlObjects, setIdentifier, setMode, setType |
Methods inherited from class de.upb.hni.vmagic.expression.Primary |
---|
getPrecedence |
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 RecordElement(T base, java.lang.String element)
base
- the base objectelement
- the identifier of the elementMethod Detail |
---|
public java.lang.String getElement()
public Slice<T> getSlice(DiscreteRange range)
getSlice
in class VhdlObject<T extends VhdlObject>
range
- the slice range.
public ArrayElement<T> getArrayElement(Expression index)
getArrayElement
in class VhdlObject<T extends VhdlObject>
index
- the index of the array element
public ArrayElement<T> getArrayElement(int index)
getArrayElement
in class VhdlObject<T extends VhdlObject>
index
- the index of the array element
public ArrayElement<T> getArrayElement(java.util.List<Expression> indices)
getArrayElement
in class VhdlObject<T extends VhdlObject>
indices
- the indices of the array element
public ArrayElement<T> getArrayElement(Expression... indices)
getArrayElement
in class VhdlObject<T extends VhdlObject>
indices
- the indices of the array element
public RecordElement<T> getRecordElement(java.lang.String element)
getRecordElement
in class VhdlObject<T extends VhdlObject>
element
- the identifier of the record element
public AttributeExpression<T> getAttributeExpression(Attribute attribute)
getAttributeExpression
in class VhdlObject<T extends VhdlObject>
attribute
- the attribute
public AttributeExpression<T> getAttributeExpression(Attribute attribute, Expression parameter)
getAttributeExpression
in class VhdlObject<T extends VhdlObject>
attribute
- the attributeparameter
- the parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |