import lsp from 'vscode-languageserver'; import type { CstNode } from 'chevrotain'; import type { SymbolTable } from '../java/symbol-table.js'; export interface SemanticDiagnostic { range: lsp.Range; message: string; severity: lsp.DiagnosticSeverity; code?: string; } /** * Run all semantic checks and return diagnostics. */ export declare function computeSemanticDiagnostics(cst: CstNode, table: SymbolTable, text: string): lsp.Diagnostic[]; //# sourceMappingURL=semantic-diagnostics.d.ts.map