Represents a basic block in a Control Flow Graph (CFG), corresponding to a single statement in the source code. Basic blocks are connected by edges that represent the flow of control between statements.

The unique identifier of the statement this node represents.

Kind of the basic block representing ways it behave.

A set of indices for edges incoming to this node, representing control flows leading into this statement.

A set of indices for edges outgoing from this node, representing potential control flows out of this statement.

Constructors

Properties

Methods

Constructors

Properties

dstEdges: Set<number> = ...
idx: number
srcEdges: Set<number> = ...
stmtID: number

Methods

  • Returns true iff this basic block terminates control flow.

    Returns boolean