removeDuplicates<R> function
- @useResult
- @Deprecated('Use `optimize(parser, rules: const [RemoveDuplicate()])` instead')
- Parser<
R> parser
Collapses all duplicate parsers in-place.
Implementation
@useResult
@Deprecated('Use `optimize(parser, rules: const [RemoveDuplicate()])` instead')
Parser<R> removeDuplicates<R>(Parser<R> parser) =>
optimize(parser, rules: const [RemoveDuplicate()]);