fuc-new/doc/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.d.ts
hellcat 6adbc04d4b 1
2025-10-03 17:17:08 +08:00

9 lines
301 B
TypeScript

import type { Visitor } from '../../traverser/traverse.js';
/**
Extract nodes at the end of every alternative into a suffix.
Ex: `aa$|bba$|ca$` -> `(?:a|bb|c)a$`.
Also works within groups.
*/
declare const extractSuffix: Visitor;
export { extractSuffix, };
//# sourceMappingURL=extract-suffix.d.ts.map