UNPKG

sucrase

Version:

Super-fast alternative to Babel for when you can target modern JS runtimes

9 lines (8 loc) 624 B
import { TokenType } from "../tokenizer/types"; export declare function parseSpread(): void; export declare function parseRest(isBlockScope: boolean): void; export declare function parseBindingIdentifier(isBlockScope: boolean): void; export declare function markPriorBindingIdentifier(isBlockScope: boolean): void; export declare function parseBindingAtom(isBlockScope: boolean): void; export declare function parseBindingList(close: TokenType, isBlockScope: boolean, allowEmpty?: boolean, allowModifiers?: boolean): void; export declare function parseMaybeDefault(isBlockScope: boolean, leftAlreadyParsed?: boolean): void;