UNPKG

sucrase

Version:

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

6 lines (5 loc) 226 B
import type { Token } from "../parser/tokenizer"; /** * Get all identifier names in the code, in order, including duplicates. */ export default function getIdentifierNames(code: string, tokens: Array<Token>): Array<string>;