Package org.sonar.plugins.python.api.cfg
Interface CfgBlock
-
- All Known Subinterfaces:
CfgBranchingBlock
- All Known Implementing Classes:
PythonCfgBlock,PythonCfgBranchingBlock,PythonCfgEndBlock,PythonCfgSimpleBlock
public interface CfgBlock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Tree>elements()Set<CfgBlock>predecessors()Set<CfgBlock>successors()CfgBlocksyntacticSuccessor()
-
-
-
Method Detail
-
syntacticSuccessor
@CheckForNull CfgBlock syntacticSuccessor()
- Returns:
- block following this one if no jump is applied
Returns
nullif this block doesn't end with jump statement (break, continue, return, raise)
-
-