Class BasicBlock
A basic block, that is, a maximal straight-line sequence of control flow nodes without branches or joins.
At the database level, a basic block is represented by its first control flow node.
Import path
import javascript
Direct supertypes
Indirect supertypes
Known direct subtypes
Predicates
defAt | Holds if this basic block defines variable |
getANode | Gets a node in this block. |
getAPredecessor | Gets a basic block preceding this one. |
getASuccessor | Gets a basic block succeeding this one. |
getFirstNode | Gets the first node in this block. |
getImmediateDominator | Gets the basic block that immediately dominates this basic block. |
getLastNode | Gets the last node in this block. |
getNode | Gets the node at the given position in this block. |
isLiveAtEntry | Holds if |
isLiveAtEntry | Holds if |
length | Gets the length of this block. |
localIsLiveAtEntry | Holds if local variable |
localIsLiveAtEntry | Holds if local variable |
localLiveDefAt | Holds if |
localMayBeOverwritten | Holds if |
useAt | Holds if this basic block uses variable |
Inherited predicates
getAPrimaryQlClass | Gets the primary QL class for the Locatable. | from Locatable |
getContainer | Gets the function or toplevel to which this node belongs. | from NodeInStmtContainer |
getEndLine | Gets the line on which this element ends. | from Locatable |
getFile | Gets the file this program element comes from. | from Locatable |
getLocation | Gets this element’s location. | from Locatable |
getNumLines | Gets the number of lines covered by this element. | from Locatable |
getPrimaryQlClasses | Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs. | from Locatable |
getStartLine | Gets the line on which this element starts. | from Locatable |
toString | Gets a textual representation of this element. | from Locatable |