UNPKG

graphql-language-service

Version:

The official, runtime independent Language Service for GraphQL

16 lines 560 B
import CharacterStream from './CharacterStream'; import { State } from './types'; import { LexRules, ParseRules } from './Rules'; export declare type ParserOptions = { eatWhitespace: (stream: CharacterStream) => boolean; lexRules: Partial<typeof LexRules>; parseRules: typeof ParseRules; editorConfig: { [name: string]: any; }; }; export default function onlineParser(options?: ParserOptions): { startState: () => State; token: (stream: CharacterStream, state: State) => string; }; //# sourceMappingURL=onlineParser.d.ts.map