|
||||||||||
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.ArrayElement<T>
T
- the object typepublic class ArrayElement<T extends VhdlObject>
Array element of a VhdlObject.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.upb.hni.vmagic.expression.VhdlObject |
---|
VhdlObject.Mode, VhdlObject.ObjectClass |
Constructor Summary | |
---|---|
ArrayElement(T base,
Expression... indices)
Creates an array element. |
|
ArrayElement(T base,
Expression index)
Creates an array element. |
|
ArrayElement(T base,
int index)
Creates an array element with an integer index. |
|
ArrayElement(T base,
java.util.List<Expression> indices)
Creates an array 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.util.List<Expression> |
getIndices()
Returns the index. |
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 ArrayElement(T base, Expression index)
base
- the base objectindex
- the array indexpublic ArrayElement(T base, int index)
base
- the base objectindex
- the array indexpublic ArrayElement(T base, java.util.List<Expression> indices)
base
- the base objectindices
- the array indicespublic ArrayElement(T base, Expression... indices)
base
- the base objectindices
- the array indicesMethod Detail |
---|
public java.util.List<Expression> getIndices()
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 |