9 lines
301 B
TypeScript
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
|