13 lines
562 B
TypeScript
13 lines
562 B
TypeScript
import { CodeAction, Diagnostic, DocumentSymbol, Location } from "vscode-languageserver";
|
|
|
|
export function LSP_updateFile(name: string, content: string): (eta: any) => any;
|
|
export function LSP_checkFile(name: string): Diagnostic[];
|
|
interface HoverResult {
|
|
info: string
|
|
location: Location
|
|
}
|
|
export function LSP_hoverInfo(name: string, row: number, col: number): HoverResult|boolean|null;
|
|
export function LSP_codeActionInfo(name: string, row: number, col: number): CodeAction[]|null;
|
|
export function LSP_docSymbols(name: string): DocumentSymbol[] | null;
|
|
|