|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstreamit.frontend.nodes.FENode
streamit.frontend.nodes.Expression
streamit.frontend.nodes.ExprField
public class ExprField
A reference to a named field of a StreamIt structure. This is the expression "foo.bar". It contains a "left" expression and the name of the field being referenced.
| Constructor Summary | |
|---|---|
ExprField(FEContext context,
Expression left,
String name)
Creates a new field-reference expression, referencing the named field of the specified expression. |
|
| Method Summary | |
|---|---|
Object |
accept(FEVisitor v)
Accept a front-end visitor. |
boolean |
equals(Object other)
|
Expression |
getLeft()
Returns the expression we're taking a field from. |
String |
getName()
Returns the name of the field. |
int |
hashCode()
|
boolean |
isLValue()
Determine if this expression can be assigned to. |
String |
toString()
|
| Methods inherited from class streamit.frontend.nodes.FENode |
|---|
getContext |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExprField(FEContext context,
Expression left,
String name)
| Method Detail |
|---|
public Expression getLeft()
public String getName()
public Object accept(FEVisitor v)
accept in class FENodev - visitor object
public boolean isLValue()
isLValue in class Expressionpublic String toString()
toString in class Objectpublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||