UNPKG

sucrase

Version:

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

14 lines (13 loc) 390 B
import { Options } from "../options"; import State from "../tokenizer/state"; export default class BaseParser { options: Options; plugins: { [key: string]: boolean; }; filename: string | null | undefined; state: State; input: string; hasPlugin(name: string): boolean; raise(pos: number, message: string, missingPluginNames?: Array<string>): never; }