Files
echo-nexus/node_modules/@codemirror/legacy-modes/mode/clike.d.ts
T

36 lines
1.3 KiB
TypeScript

import {StreamParser} from "@codemirror/language"
export declare function clike(conf: {
name: string,
statementIndentUnit?: number,
dontAlignCalls?: boolean,
keywords?: {[word: string]: any},
types?: {[word: string]: any},
builtin?: {[word: string]: any},
blockKeywords?: {[word: string]: any},
atoms?: {[word: string]: any},
hooks?: {[hook: string]: any},
multiLineStrings?: boolean,
indentStatements?: boolean,
indentSwitch?: boolean,
namespaceSeparator?: string,
isPunctuationChar?: RegExp,
numberStart?: RegExp,
number?: RegExp,
isOperatorChar?: RegExp,
isIdentifierChar?: RegExp,
isReservedIdentifier?: (id: string) => boolean
}): StreamParser<unknown>
export declare const c: StreamParser<unknown>
export declare const cpp: StreamParser<unknown>
export declare const java: StreamParser<unknown>
export declare const csharp: StreamParser<unknown>
export declare const scala: StreamParser<unknown>
export declare const kotlin: StreamParser<unknown>
export declare const shader: StreamParser<unknown>
export declare const nesC: StreamParser<unknown>
export declare const objectiveC: StreamParser<unknown>
export declare const objectiveCpp: StreamParser<unknown>
export declare const squirrel: StreamParser<unknown>
export declare const ceylon: StreamParser<unknown>
export declare const dart: StreamParser<unknown>