| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.EVisitResults |
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public IEGeneric | currentNode | for DFS pre-order only | |||||||||
| public boolean | interruptVisit | request an interruption (sticky) | |||||||||
| public boolean | skipVisitingChildren | for DFS pre-order only | |||||||||
| public boolean | visitedSuccessfully | visit result | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| EVisitResults() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
interrupt(boolean success)
Notify the visitor that the visit of the tree should be stopped.
| ||||||||||
| void | setReplacedNode(IEGeneric newNode) | ||||||||||
| void |
skipChildren()
Used in DFS pre-order to notify the visitor that the children of the currently visited node
should be skipped; the visitor will then proceed with the next cousin.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
request an interruption (sticky)
for DFS pre-order only
visit result
Notify the visitor that the visit of the tree should be stopped.
| success | the result of the visit |
|---|
Used in DFS pre-order to notify the visitor that the children of the currently visited node should be skipped; the visitor will then proceed with the next cousin.
Note: this method is useless in DFS post-order since children of a node are always processed before their parent.