@platformos/pos-cli
Version:
Manage your platformOS application
16 lines • 588 B
TypeScript
import { LexRules as LexRulesType, ParseRules as ParseRulesType } from './Rules';
import { CharacterStream, State } from 'graphql-language-service-types';
declare type ParserOptions = {
eatWhitespace: (stream: CharacterStream) => boolean;
lexRules: typeof LexRulesType;
parseRules: typeof ParseRulesType;
editorConfig: {
[name: string]: any;
};
};
export default function onlineParser(options?: ParserOptions): {
startState: () => State;
token: (stream: CharacterStream, state: State) => string;
};
export {};
//# sourceMappingURL=onlineParser.d.ts.map