12 lines
717 B
TypeScript
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
|