Class PythonCfgBlock

java.lang.Object
org.sonar.python.cfg.PythonCfgBlock
All Implemented Interfaces:
CfgBlock
Direct Known Subclasses:
PythonCfgBranchingBlock, PythonCfgEndBlock, PythonCfgSimpleBlock

public abstract class PythonCfgBlock extends Object implements CfgBlock
  • Constructor Details

    • PythonCfgBlock

      public PythonCfgBlock()
  • Method Details

    • predecessors

      public Set<CfgBlock> predecessors()
      Specified by:
      predecessors in interface CfgBlock
    • elements

      public List<Tree> elements()
      Specified by:
      elements in interface CfgBlock
    • addElement

      public void addElement(Tree tree)
    • isEmptyBlock

      public boolean isEmptyBlock()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringDisplayPosition

      protected String toStringDisplayPosition()