|
||||||||||
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.FileObject
public class FileObject
VHDL File Object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.upb.hni.vmagic.expression.VhdlObject |
---|
VhdlObject.Mode, VhdlObject.ObjectClass |
Constructor Summary | |
---|---|
FileObject(java.lang.String identifier,
SubtypeIndication type)
Creates a file. |
|
FileObject(java.lang.String identifier,
SubtypeIndication type,
Expression logicalName)
Creates a file. |
|
FileObject(java.lang.String identifier,
SubtypeIndication type,
Expression openKind,
Expression logicalName)
Creates a file. |
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 |
getIdentifier()
Returns the identifier of this object. |
Expression |
getLogicalName()
Returns the logical name. |
VhdlObject.Mode |
getMode()
Returns the mode of this vhdl object. |
VhdlObject.ObjectClass |
getObjectClass()
Returns the type of this VhdlObject. |
Expression |
getOpenKind()
Returns the file open kind. |
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. |
SubtypeIndication |
getType()
Returns the type of this object. |
java.util.List<FileObject> |
getVhdlObjects()
Returns a list of VhdlObject that are contained in this VhdlObjectProvider. |
void |
setIdentifier(java.lang.String identifier)
Sets the identifier of this object. |
void |
setLogicalName(Expression logicalName)
Sets the logical name. |
void |
setMode(VhdlObject.Mode mode)
Sets the mode of this vhdl object. |
void |
setOpenKind(Expression openKind)
Sets the file open kind. |
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 FileObject(java.lang.String identifier, SubtypeIndication type, Expression openKind, Expression logicalName)
identifier
- the identifiertype
- the typeopenKind
- the open kindlogicalName
- the logical namepublic FileObject(java.lang.String identifier, SubtypeIndication type, Expression logicalName)
identifier
- the identifiertype
- the typelogicalName
- the logical namepublic FileObject(java.lang.String identifier, SubtypeIndication type)
identifier
- the identifiertype
- the typeMethod Detail |
---|
public Expression getLogicalName()
public void setLogicalName(Expression logicalName)
logicalName
- the logical namepublic Expression getOpenKind()
public void setOpenKind(Expression openKind)
openKind
- the open kindpublic java.util.List<FileObject> getVhdlObjects()
VhdlObjectProvider
public VhdlObject.ObjectClass getObjectClass()
VhdlObject
getObjectClass
in class VhdlObject<FileObject>
public void setMode(VhdlObject.Mode mode)
mode
- the modepublic java.lang.String getIdentifier()
getIdentifier
in interface NamedEntity
getIdentifier
in class VhdlObject<T extends VhdlObject>
public void setIdentifier(java.lang.String identifier)
setIdentifier
in class VhdlObject<T extends VhdlObject>
identifier
- the identifierpublic SubtypeIndication getType()
getType
in class VhdlObject<T extends VhdlObject>
public void setType(SubtypeIndication type)
setType
in class VhdlObject<T extends VhdlObject>
type
- the typepublic VhdlObject.Mode getMode()
getMode
in class VhdlObject<T extends VhdlObject>
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 |