Files
Chen Xiao 0b64e2de94 First commit.
Signed-off-by: Chen Xiao <abigwc@gmail.com>
2026-05-08 14:43:16 +08:00

12 lines
717 B
TypeScript

/******************************************************************************
* Copyright 2021 TypeFox GmbH
* This program and the accompanying materials are made available under the
* terms of the MIT License, which is available in the project root.
******************************************************************************/
import type { CstNode } from '../syntax-tree.js';
export declare class ErrorWithLocation extends Error {
constructor(node: CstNode | undefined, message: string);
}
export declare function assertUnreachable(_: never, message?: string): never;
export declare function assertCondition(condition: boolean, message?: string): asserts condition;
//# sourceMappingURL=errors.d.ts.map