UnicodeCharacterParser constructor
UnicodeCharacterParser(
- CharacterPredicate predicate,
- String message
Constructs a parser for an individual Unicode code point satisfying
predicate.
Implementation
factory(CharacterPredicate predicate, String message) =>
ConstantCharPredicate.any.isEqualTo(predicate)
? AnyUnicodeCharacterParser.internal(predicate, message)
: UnicodeCharacterParser.internal(predicate, message);