|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSFE.Compiler.Lvalue
SFE.Compiler.StructFieldLvalue
public class StructFieldLvalue
The VarLvalue class extends the Lvalue class, and can be when a variable is used as Lvalue.
Constructor Summary | |
---|---|
StructFieldLvalue(Lvalue base,
java.lang.String field)
Constructs a new StructFieldLvalue from a given lvalue and fild name. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the lvalue of this object. |
Type |
getType()
Returns the Type of this Lvalue object. |
boolean |
isOutput()
Returns true is this variable is a part out the circuit's output. |
void |
notOutput()
Sets this struct as not output of the circuit |
int |
size()
Returns the size of this Lvalue object in bits. |
java.lang.String |
toString()
Returns a string representation of the object. |
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 StructFieldLvalue(Lvalue base, java.lang.String field)
base
- the type of the fieldfield
- field nameMethod 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 |