eslint-plugin-regexp
Version:
ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
17 lines (16 loc) • 426 B
TypeScript
import type { Token } from "./tokens";
export declare class Tokenizer {
private readonly source;
pos: number;
private readonly end;
private readonly ecmaVersion;
constructor(source: string, options: {
start: number;
end?: number;
ecmaVersion: number;
});
parseTokens(quote?: number): Generator<Token>;
private readEscape;
private readUnicode;
private readHex;
}