|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xact.analysis.xmlgraph.ForwardsXGAnalyzer<EBooleanLattice> dk.brics.xact.analysis.xmlgraph.RootAnalysis
public class RootAnalysis
Determines for each reachable node whether it always occurs as root when unfolded (yes), or never occurs as root (no).
Constructor Summary | |
---|---|
RootAnalysis(XMLGraph xg)
|
Method Summary | |
---|---|
protected EBooleanLattice |
bottom()
Returns BOTTOM element. |
protected EBooleanLattice |
initial(Node node)
Returns initial value for the specified node. |
protected Set<Integer> |
initialNodes()
Returns the initial nodes. |
protected void |
transfer(EBooleanLattice src,
Node node)
Transfer data from the specified node to its children. |
Methods inherited from class dk.brics.xact.analysis.xmlgraph.ForwardsXGAnalyzer |
---|
doAnalysis, get, get, getXmlGraph, put |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RootAnalysis(XMLGraph xg)
Method Detail |
---|
protected EBooleanLattice bottom()
ForwardsXGAnalyzer
bottom
in class ForwardsXGAnalyzer<EBooleanLattice>
protected EBooleanLattice initial(Node node)
ForwardsXGAnalyzer
initial
in class ForwardsXGAnalyzer<EBooleanLattice>
node
- one of the nodes whose index was returned by ForwardsXGAnalyzer.initialNodes()
protected Set<Integer> initialNodes()
ForwardsXGAnalyzer
initialNodes
in class ForwardsXGAnalyzer<EBooleanLattice>
protected void transfer(EBooleanLattice src, Node node)
ForwardsXGAnalyzer
ForwardsXGAnalyzer.put(int, Object)
.
transfer
in class ForwardsXGAnalyzer<EBooleanLattice>
src
- lattice point for the specified node, provided for conveniencenode
- the node to transfer from
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |