GT2/Ejectable/node_modules/sucrase/dist/NameManager.d.ts

8 lines
252 B
TypeScript

import type { Token } from "./parser/tokenizer";
export default class NameManager {
private readonly usedNames;
constructor(code: string, tokens: Array<Token>);
claimFreeName(name: string): string;
findFreeName(name: string): string;
}