import type { SemanticData } from "../../../ast-node"; import type { Statement } from "../statement"; import type { ParameterDeclaration } from "../../declarations"; export interface TryCatchStatementSemantics extends SemanticData { tryBlock: Statement; catchBlock: CatchBlock[]; finallyBlock?: Statement; } export interface CatchBlock extends SemanticData { parameter?: ParameterDeclaration; body: Statement; }