Package org.sonar.plugins.php.api.cfg
Interface CfgBlock
- All Known Subinterfaces:
CfgBranchingBlock
public interface CfgBlock
A node of a
ControlFlowGraph
.
Successors are the nodes which may be executed after this one.
Predecessors are the nodes which may be executed before this one.
Elements are instances of Tree
which are evaluated one after the other.-
Method Summary
-
Method Details
-
predecessors
-
successors
-
syntacticSuccessor
- Returns:
- block following this one if no jump is applied
Returns
null
if this block doesn't end with jump statement (break, continue, return, goto, throw)
-
elements
-