|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSFE.Compiler.Lvalue
SFE.Compiler.ArrayEntryLvalue
public class ArrayEntryLvalue
ArrayEntryLvalue represent as array entry l-value that can be defined in a program. The ArrayEntryLvalue class extends the Lvalue class.
Constructor Summary | |
---|---|
ArrayEntryLvalue(Lvalue array,
int index)
Constructs a new ArrayEntryLvalue from a given lvalue and index in the array. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the this ArrayEntryLvalue. |
Type |
getType()
Returns the Type of this LArrayEntryLvalue object. |
boolean |
isOutput()
Returns true is this ArrayEntryLvalue is a part out the circuit's output. |
void |
notOutput()
Marks this ArrayEntryLvalue's pin as not output. |
int |
size()
Returns the size of this ArrayEntryLvalue object in bits. |
java.lang.String |
toString()
Returns a string representation of this ArrayEntryLvalue. |
Methods inherited from class SFE.Compiler.Lvalue |
---|
getDerivedLvalues, hasDerives |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayEntryLvalue(Lvalue array, int index)
array
- the array's l-value.index
- the index of this ArrayEntryLvalue in the array.Method Detail |
---|
public Type getType()
getType
in class Lvalue
public int size()
size
in class Lvalue
public java.lang.String getName()
getName
in class Lvalue
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isOutput()
isOutput
in class Lvalue
public void notOutput()
notOutput
in class Lvalue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |