UNPKG

481 BTypeScriptView Raw
1import { Rule, Token } from './types';
2export declare function opt(ofRule: Rule | string): Rule;
3export declare function list(ofRule: Rule | string, separator?: string | Rule): Rule;
4export declare function butNot(rule: Rule, exclusions: Array<Rule>): Rule;
5export declare function t(kind: string, style: string): {
6 style: string;
7 match: (token: Token) => boolean;
8};
9export declare function p(value: string, style?: string): Rule;
10//# sourceMappingURL=RuleHelpers.d.ts.map
\No newline at end of file