Class CFG::ConditionGuardNode

A guard node recording that some condition is known to be truthy or falsy at this point in the program.

Direct supertypes

Indirect supertypes

Predicates

getOutcome

Gets the value recorded for the condition.

toString

Gets a textual representation of this element.

Inherited predicates

describeControlFlowNode

For internal use.

from ControlFlowNode
dominates

Holds if this guard dominates basic block bb, that is, the guard is known to hold at bb.

from GuardControlFlowNode
getAPredecessor

Gets a node preceding this node in the CFG.

from ControlFlowNode
getASuccessor

Gets a node succeeding this node in the CFG.

from ControlFlowNode
getBasicBlock

Gets the basic block this node belongs to.

from ControlFlowNode
getContainer

Gets the function or toplevel whose CFG this node belongs to.

from GuardControlFlowNode
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 SyntheticControlFlowNode
getNumLines

Gets the number of lines covered by this element.

from Locatable
getStartLine

Gets the line on which this element starts.

from Locatable
getTest

Gets the expression that this guard concerns.

from GuardControlFlowNode
isAFinalNode

Holds if this is a final node, that is, a CFG node where execution of a toplevel or function terminates.

from ControlFlowNode
isBranch

Holds if this is a node with more than one successor.

from ControlFlowNode
isJoin

Holds if this is a node with more than one predecessor.

from ControlFlowNode
isStart

Holds if this is a start node, that is, the CFG node where execution of a toplevel or function begins.

from ControlFlowNode
isUnreachable

Holds if this node is unreachable, that is, it has no predecessors in the CFG. Entry nodes are always considered reachable.

from ControlFlowNode