This module contains functionality to describe character predicates, which can be used to determine what characters are valid for different tokens.
4.0.0
Basic character predicate, which reads regular Scala 16-bit characters.
Basic character predicate, which reads regular Scala 16-bit characters.
This predicate is only capable of recognising characters within the Basic Multilingual Plane.
4.0.0
Base class for character predicates.
Base class for character predicates.
4.0.0
Character predicate that never succeeds.
Character predicate that never succeeds.
4.0.0
More generic character predicate, which reads any unicode codepoint.
More generic character predicate, which reads any unicode codepoint.
Full unicode characters can be up to 24-bits, which is handled by a 32-bit number on the JVM. This predicate can be used, therefore, to handle any single unicode codepoint: this excludes multi-codepoint characters like flags, or modified emojis.
In Scala, characters can be upcast to integers, so still can be used in the description of this predicate.
4.0.0