UNPKG

@neo4j-cypher/language-support

Version:
17 lines (16 loc) 536 B
import { DiagnosticSeverity } from 'vscode-languageserver-types'; import { DbSchema } from '../dbSchema'; export interface SemanticAnalysisResult { errors: SemanticAnalysisElement[]; notifications: SemanticAnalysisElement[]; } export interface SemanticAnalysisElement { severity: DiagnosticSeverity; message: string; position: { offset: number; line: number; column: number; }; } export declare function wrappedSemanticAnalysis(query: string, dbSchema: DbSchema): SemanticAnalysisResult;