1 | import { LexRules as LexRulesType, ParseRules as ParseRulesType } from './Rules';
|
2 | import CharacterStream from './CharacterStream';
|
3 | import { State } from './types';
|
4 | export declare type ParserOptions = {
|
5 | eatWhitespace: (stream: CharacterStream) => boolean;
|
6 | lexRules: Partial<typeof LexRulesType>;
|
7 | parseRules: typeof ParseRulesType;
|
8 | editorConfig: {
|
9 | [name: string]: any;
|
10 | };
|
11 | };
|
12 | export default function onlineParser(options?: ParserOptions): {
|
13 | startState: () => State;
|
14 | token: (stream: CharacterStream, state: State) => string;
|
15 | };
|
16 |
|
\ | No newline at end of file |