| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.EVisitResults |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | FLAG_RECORD_PARENTS | ||||||||||
| int | FLAG_SKIP_ASSIGN_DST | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public IEGeneric | currentNode | for DFS pre-order only | |||||||||
| public boolean | interruptVisit | request an interruption (sticky) | |||||||||
| public Deque<IEGeneric> | parents | optional queue used to record parents; non-null only if FLAG_RECORD_PARENTS was used
when creating the object
|
|||||||||
| public boolean | skipAssignmentDestination | ||||||||||
| public boolean | skipVisitingChildren | for DFS pre-order only | |||||||||
| public int | visitedChildPosition | For clients, this is a read-only, indicator field regarding the position of the visited child within its parent node. | |||||||||
| public boolean | visitedSuccessfully | visit result | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| EVisitResults() | |||||||||||
| EVisitResults(int flags) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | getFlags() | ||||||||||
| void |
interrupt(boolean success)
Notify the visitor that the visit of the tree should be stopped.
| ||||||||||
| void | popParent() | ||||||||||
| void | pushParent(IEGeneric parent) | ||||||||||
| 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)
optional queue used to record parents; non-null only if FLAG_RECORD_PARENTS was used
when creating the object
for DFS pre-order only
For clients, this is a read-only, indicator field regarding the position of the visited child within its parent node.
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.