|
||||||||||
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.AttributeExpression<T>
T
- the object typepublic class AttributeExpression<T extends VhdlObject>
Attribute expression.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.upb.hni.vmagic.expression.VhdlObject |
---|
VhdlObject.Mode, VhdlObject.ObjectClass |
Constructor Summary | |
---|---|
AttributeExpression(T base,
Attribute attribute)
Creates an attribute expression. |
|
AttributeExpression(T base,
Attribute attribute,
Expression parameter)
Creates an attribute expression with a parameter. |
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. |
Attribute |
getAttribute()
Returns the attribute. |
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. |
Expression |
getParameter()
Returns the parameter. |
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 AttributeExpression(T base, Attribute attribute)
base
- the base objectattribute
- the attributepublic AttributeExpression(T base, Attribute attribute, Expression parameter)
base
- the base objectattribute
- the attributeparameter
- the parameterMethod Detail |
---|
public Attribute getAttribute()
public Expression getParameter()
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 |