Class Frame.TryCtx

java.lang.Object
me.topchetoeu.j2s.runtime.Frame.TryCtx
Enclosing class:
Frame

public static class Frame.TryCtx extends Object
  • Field Details

    • start

      public final int start
    • end

      public final int end
    • catchStart

      public final int catchStart
    • finallyStart

      public final int finallyStart
    • restoreStackPtr

      public final int restoreStackPtr
    • state

      public final Frame.TryState state
    • error

      public final EngineException error
    • result

      public final me.topchetoeu.j2s.runtime.Frame.PendingResult result
  • Constructor Details

    • TryCtx

      public TryCtx(Frame.TryState state, EngineException err, me.topchetoeu.j2s.runtime.Frame.PendingResult res, int stackPtr, int start, int end, int catchStart, int finallyStart)
  • Method Details

    • hasCatch

      public boolean hasCatch()
    • hasFinally

      public boolean hasFinally()
    • inBounds

      public boolean inBounds(int ptr)
    • setCause

      public void setCause(EngineException target)
    • _catch

      public Frame.TryCtx _catch(EngineException e)
    • _finally

      public Frame.TryCtx _finally(me.topchetoeu.j2s.runtime.Frame.PendingResult res)