@codemirror/legacy-modes
Version:
Collection of ported legacy language modes for the CodeMirror code editor
28 lines (27 loc) • 1.12 kB
TypeScript
import {StreamParser} from "@codemirror/language"
export declare function sql(conf: {
client?: {[word: string]: any},
atoms?: {[word: string]: any},
builtin?: {[word: string]: any},
keywords?: {[word: string]: any},
operatorChars?: RegExp,
support?: {[word: string]: any},
hooks?: {[hook: string]: any},
dateSQL?: {[word: string]: any},
backslashStringEscapes?: boolean,
brackets?: RegExp,
punctuation?: RegExp
}): StreamParser<unknown>
export declare const standardSQL: StreamParser<unknown>
export declare const msSQL: StreamParser<unknown>
export declare const mySQL: StreamParser<unknown>
export declare const mariaDB: StreamParser<unknown>
export declare const sqlite: StreamParser<unknown>
export declare const cassandra: StreamParser<unknown>
export declare const plSQL: StreamParser<unknown>
export declare const hive: StreamParser<unknown>
export declare const pgSQL: StreamParser<unknown>
export declare const gql: StreamParser<unknown>
export declare const gpSQL: StreamParser<unknown>
export declare const sparkSQL: StreamParser<unknown>
export declare const esper: StreamParser<unknown>