static final class ReferenceCollectingCallback.BasicBlock
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
isFunction
Whether this block denotes a function scope.
|
private boolean |
isLoop
Whether this block denotes a loop.
|
private ReferenceCollectingCallback.BasicBlock |
parent |
private Node |
root |
Constructor and Description |
---|
BasicBlock(ReferenceCollectingCallback.BasicBlock parent,
Node root)
Creates a new block.
|
Modifier and Type | Method and Description |
---|---|
(package private) ReferenceCollectingCallback.BasicBlock |
getParent() |
(package private) boolean |
isGlobalScopeBlock()
Determines whether this block is equivalent to the very first block that
is created when reference collection traversal enters global scope.
|
(package private) boolean |
provablyExecutesBefore(ReferenceCollectingCallback.BasicBlock thatBlock)
Determines whether this block is guaranteed to begin executing before
the given block does.
|
private final ReferenceCollectingCallback.BasicBlock parent
private final Node root
private final boolean isFunction
private final boolean isLoop
BasicBlock(ReferenceCollectingCallback.BasicBlock parent, Node root)
parent
- The containing block.root
- The root node of the block.ReferenceCollectingCallback.BasicBlock getParent()
boolean isGlobalScopeBlock()
BasicBlock
is created.boolean provablyExecutesBefore(ReferenceCollectingCallback.BasicBlock thatBlock)