sequence_ top-level property

Parser<CharacterPredicate> sequence_
final

Parser that reads a sequence of single characters or ranges.

Implementation

final Parser<CharacterPredicate> sequence_ = range_.or(single_).plus().map(
    (predicates) => optimizedRanges(predicates.cast<RangeCharPredicate>()))