|
||||||||||
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>
T
- the object typepublic abstract class VhdlObject<T extends VhdlObject>
Vhdl object.
Nested Class Summary | |
---|---|
static class |
VhdlObject.Mode
Vhdl object mode. |
static class |
VhdlObject.ObjectClass
Object class describes the type of VhdlObject. |
Constructor Summary | |
---|---|
VhdlObject()
|
Method Summary | |
---|---|
abstract ArrayElement<T> |
getArrayElement(Expression... indices)
Returns an array element of this object. |
abstract ArrayElement<T> |
getArrayElement(Expression index)
Returns an array element of this object. |
abstract ArrayElement<T> |
getArrayElement(int index)
Returns an array element of this object. |
abstract ArrayElement<T> |
getArrayElement(java.util.List<Expression> indices)
Returns an array element of this object. |
abstract AttributeExpression<T> |
getAttributeExpression(Attribute attribute)
Returns a attribute expression of this object. |
abstract AttributeExpression<T> |
getAttributeExpression(Attribute attribute,
Expression parameter)
Returns a attribute expression of this object. |
abstract java.lang.String |
getIdentifier()
Returns the identifier of this object. |
abstract VhdlObject.Mode |
getMode()
Returns the mode of this vhdl object. |
abstract VhdlObject.ObjectClass |
getObjectClass()
Returns the type of this VhdlObject. |
abstract RecordElement<T> |
getRecordElement(java.lang.String element)
Returns a record element of this object. |
abstract Slice<T> |
getSlice(DiscreteRange range)
Returns a slice of this vhdl object. |
abstract SubtypeIndication |
getType()
Returns the type of this object. |
abstract void |
setIdentifier(java.lang.String identifier)
Sets the identifier of this object. |
abstract void |
setMode(VhdlObject.Mode mode)
Sets the mode of this vhdl object. |
abstract void |
setType(SubtypeIndication type)
Sets the type of this object. |
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 VhdlObject()
Method Detail |
---|
public abstract java.lang.String getIdentifier()
getIdentifier
in interface NamedEntity
public abstract void setIdentifier(java.lang.String identifier)
identifier
- the identifierpublic abstract SubtypeIndication getType()
getType
in class Expression
public abstract void setType(SubtypeIndication type)
type
- the typepublic abstract VhdlObject.Mode getMode()
public abstract void setMode(VhdlObject.Mode mode)
mode
- the modepublic abstract Slice<T> getSlice(DiscreteRange range)
range
- the slice range.
public abstract ArrayElement<T> getArrayElement(Expression index)
index
- the index of the array element
public abstract ArrayElement<T> getArrayElement(int index)
index
- the index of the array element
public abstract ArrayElement<T> getArrayElement(java.util.List<Expression> indices)
indices
- the indices of the array element
public abstract ArrayElement<T> getArrayElement(Expression... indices)
indices
- the indices of the array element
public abstract RecordElement<T> getRecordElement(java.lang.String element)
element
- the identifier of the record element
public abstract AttributeExpression<T> getAttributeExpression(Attribute attribute)
attribute
- the attribute
public abstract AttributeExpression<T> getAttributeExpression(Attribute attribute, Expression parameter)
attribute
- the attributeparameter
- the parameter
public abstract VhdlObject.ObjectClass getObjectClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |