Class PythonCfgEndBlock

java.lang.Object
org.sonar.python.cfg.PythonCfgBlock
org.sonar.python.cfg.PythonCfgEndBlock
All Implemented Interfaces:
CfgBlock

public class PythonCfgEndBlock extends PythonCfgBlock
  • Constructor Details

    • PythonCfgEndBlock

      public PythonCfgEndBlock()
  • Method Details

    • successors

      public Set<CfgBlock> successors()
    • elements

      public List<Tree> elements()
      Specified by:
      elements in interface CfgBlock
      Overrides:
      elements in class PythonCfgBlock
    • syntacticSuccessor

      @CheckForNull public CfgBlock 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, raise)
    • toString

      public String toString()
      Overrides:
      toString in class PythonCfgBlock