|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.sir.SIROperator
public abstract class SIROperator
This represents an operator in the stream graph.
Constructor Summary | |
---|---|
protected |
SIROperator()
|
protected |
SIROperator(SIRContainer parent)
Constructs and operator with parent |
Method Summary | |
---|---|
abstract Object |
accept(AttributeStreamVisitor v)
|
void |
assertMutable()
This should be called in every mutator. |
Object |
deepClone()
Returns a deep clone of this object. |
protected void |
deepCloneInto(SIROperator other)
Clones all fields of this into |
List<SIROperator> |
getAncestors()
Get lists starting with this followed by its ancestors in order of lookup through the parent relation. |
abstract String |
getIdent()
Returns an identifier for this which is NOT unique. |
String |
getName()
Returns a UNIQUE name for this. |
int |
getNumber()
Returns a UNIQUE integer for this. |
SIRContainer |
getParent()
|
SIRContainer[] |
getParents()
Returns list of all parents. |
JExpression |
getParentStructureAccess()
TO BE REMOVED once immutable IR is in place. |
String |
getRelativeName()
TO BE REMOVED once immutable stuff is in place. |
String |
getShortIdent(int n)
Returns the name of this, truncated to 'n' characters. |
int |
hashCode()
|
protected Object |
readResolve()
|
void |
setParent(SIRContainer parent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SIROperator(SIRContainer parent)
protected SIROperator()
Method Detail |
---|
public void setParent(SIRContainer parent)
parent
- the parent to setpublic SIRContainer getParent()
public SIRContainer[] getParents()
public List<SIROperator> getAncestors()
public JExpression getParentStructureAccess()
public String getRelativeName()
public abstract Object accept(AttributeStreamVisitor v)
protected Object readResolve() throws Exception
Exception
public abstract String getIdent()
public String getName()
public String getShortIdent(int n)
public int getNumber()
public int hashCode()
hashCode
in class Object
public void assertMutable()
assertMutable
in interface Finalizable
public Object deepClone()
deepClone
in interface DeepCloneable
protected void deepCloneInto(SIROperator other)
other
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |