forked from defunkt/ReefVM
8 lines
352 B
TypeScript
8 lines
352 B
TypeScript
import { Scope } from "./scope"
|
|
|
|
export type ExceptionHandler = {
|
|
catchAddress: number // Where to jump when exception is caught
|
|
finallyAddress?: number // Where to jump for `finally` block
|
|
callStackDepth: number // Call stack depth when handler was pushed
|
|
scope: Scope // Scope to restore when catching
|
|
} |