|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.analysis.flowgraph.Entity dk.brics.xact.analysis.flowgraph.Statement dk.brics.xact.analysis.flowgraph.statements.Assignment dk.brics.xact.analysis.flowgraph.statements.InstanceAssignment dk.brics.xact.analysis.flowgraph.statements.CopyStm
public class CopyStm
Assignment of Element.copy(AttrNode, XML, XML)
and variants.
Nested Class Summary | |
---|---|
static class |
CopyStm.Kind
|
Constructor Summary | |
---|---|
CopyStm(CopyStm.Kind kind,
Variable dest,
Variable base,
Variable firstchild,
Variable firstattr,
Variable nextnode,
Origin origin)
Constructs a new CopyStm object. |
Method Summary | |
---|---|
Variable |
getFirstAttr()
Returns the first-attr variable, or null if none is available. |
Variable |
getFirstChild()
Returns the first-child variable, or null if none is available. |
CopyStm.Kind |
getKind()
Returns the kind. |
Variable |
getNextNode()
Returns the next-node variable, or null if none is available. |
String |
getOpName()
Returns the name of the operation. |
void |
setFirstAttr(Variable firstattr)
Sets the first-attr variable. |
void |
setFirstChild(Variable firstchild)
Sets the first-child variable. |
void |
setNextNode(Variable nextnode)
Sets the next-node variable. |
String |
toString()
Returns a textual description of the statement. |
void |
visitBy(StatementVisitor v)
Visits this statement by the given visitor. |
Methods inherited from class dk.brics.xact.analysis.flowgraph.statements.InstanceAssignment |
---|
getBase, setBase |
Methods inherited from class dk.brics.xact.analysis.flowgraph.statements.Assignment |
---|
getDest, setDest |
Methods inherited from class dk.brics.xact.analysis.flowgraph.Entity |
---|
getOrigin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CopyStm(CopyStm.Kind kind, Variable dest, Variable base, Variable firstchild, Variable firstattr, Variable nextnode, Origin origin)
CopyStm
object.
firstchild
, firstattr
and nextnode
can be null.
Method Detail |
---|
public Variable getFirstAttr()
public Variable getFirstChild()
public CopyStm.Kind getKind()
public Variable getNextNode()
public String getOpName()
Statement
getOpName
in class Statement
public void setFirstAttr(Variable firstattr)
public void setFirstChild(Variable firstchild)
public void setNextNode(Variable nextnode)
public String toString()
Statement
toString
in class Assignment
public void visitBy(StatementVisitor v)
Statement
visitBy
in class Statement
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |