|
|||||||
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.NodeStm
public class NodeStm
Assignment of a new Element.Element(String, String, AttrNode, XML, NamespaceDecl, XML, Origin)
and variants.
Nested Class Summary | |
---|---|
static class |
NodeStm.Kind
Node kinds. |
Constructor Summary | |
---|---|
NodeStm(NodeStm.Kind kind,
Variable dest,
dk.brics.automaton.Automaton name,
dk.brics.automaton.Automaton value,
Variable firstchild,
Variable firstattr,
String gap,
String type,
Variable nextnode,
Origin origin)
Constructs a new NodeStm 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. |
String |
getGap()
Returns the gap name, or null if none is available. |
NodeStm.Kind |
getKind()
Returns the kind. |
dk.brics.automaton.Automaton |
getName()
Returns the element/attribute name, or null if none is available. |
Variable |
getNextNode()
Returns the next-node variable, or null if none is available. |
String |
getOpName()
Returns the name of the operation. |
String |
getType()
Returns the gap type, or null if none is available. |
dk.brics.automaton.Automaton |
getValue()
Returns the attribute value, or null if none is available. |
void |
setFirstAttr(Variable firstattr)
Sets the first-attr variable. |
void |
setFirstChild(Variable firstchild)
Sets the first-child variable. |
void |
setName(dk.brics.automaton.Automaton name)
|
void |
setNextNode(Variable nextnode)
Sets the next-node variable. |
void |
setValue(dk.brics.automaton.Automaton value)
|
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.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 NodeStm(NodeStm.Kind kind, Variable dest, dk.brics.automaton.Automaton name, dk.brics.automaton.Automaton value, Variable firstchild, Variable firstattr, String gap, String type, Variable nextnode, Origin origin)
NodeStm
object.
firstchild
, firstattr
, gap
,
type
and nextnode
can be null.
Method Detail |
---|
public Variable getFirstAttr()
public Variable getFirstChild()
public String getGap()
public NodeStm.Kind getKind()
public dk.brics.automaton.Automaton getName()
public Variable getNextNode()
public String getOpName()
Statement
getOpName
in class Statement
public String getType()
public dk.brics.automaton.Automaton getValue()
public void setFirstAttr(Variable firstattr)
public void setFirstChild(Variable firstchild)
public void setName(dk.brics.automaton.Automaton name)
public void setNextNode(Variable nextnode)
public void setValue(dk.brics.automaton.Automaton value)
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 |