UNPKG

@dbml/parse

Version:
9 lines (8 loc) 611 B
import { SymbolKind } from '../../lib/analyzer/symbol/symbolIndex'; import { CompletionItemKind, CompletionList } from '../types'; import { SyntaxToken } from '../../lib/lexer/tokens'; export declare function pickCompletionItemKind(symbolKind: SymbolKind): CompletionItemKind; export declare function shouldPrependSpace(token: SyntaxToken | undefined, offset: number): boolean; export declare function noSuggestions(): CompletionList; export declare function prependSpace(completionList: CompletionList): CompletionList; export declare function addQuoteIfNeeded(completionList: CompletionList): CompletionList;