Class PythonExceptionTable

java.lang.Object
ai.timefold.jpyinterpreter.PythonExceptionTable

public class PythonExceptionTable extends Object
  • Constructor Details

    • PythonExceptionTable

      public PythonExceptionTable()
  • Method Details

    • addEntry

      public void addEntry(PythonVersion pythonVersion, int blockStartInstructionInclusive, int blockEndInstructionInclusive, int targetByteOffset, int stackDepth, boolean pushLastIndex)
    • getEntries

      public List<ExceptionBlock> getEntries()
    • containsJumpTarget

      public boolean containsJumpTarget(int target)
    • getJumpTargetSet

      public Set<Integer> getJumpTargetSet()
    • getJumpTargetForStartSet

      public Set<Integer> getJumpTargetForStartSet(int start)
    • getInnerExceptionBlockList

      public List<ExceptionBlock> getInnerExceptionBlockList(int start, Set<Integer> possibleJumpTargetSet)
    • getStartPositionSet

      public Set<Integer> getStartPositionSet()
    • toString

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object