Module nom_grapheme_clusters::parse
source · Expand description
Exports parse functions related to segments/grapheme clusters.
Structs
- A type usable as tag for a parser without having to create a proper
Span
.
Functions
- Recognizes zero or more UTF-8 alphabetic segments, possibly with diacritics.
- Recognizes one or more UTF-8 alphabetic segments, possibly with diacritics.
- Recognizes zero or more UTF-8 alphanumeric segments, possibly with diacritics.
- Recognizes one or more UTF-8 alphanumeric segments, possibly with diacritics.
- Recognizes any grapheme cluster/segment.
- Recognizes zero or more ASCII alphabetic segments without diacritics.
- Recognizes one or more ASCII alphabetic segments without diacritics.
- Recognizes zero or more ASCII alphanumeric segments without diacritics.
- Recognizes one or more ASCII alphanumeric segments without diacritics.
- Recognizes zero or more ASCII numeric segments without diacritics.
- Recognizes one or more ASCII numeric segments without diacritics.
- Recognizes zero or more UTF-8 alphabetic segments without diacritics.
- Recognizes one or more UTF-8 alphabetic segments without diacritics.
- Recognizes zero or more UTF-8 alphanumeric segments without diacritics.
- Recognizes one or more UTF-8 alphanumeric segments without diacritics.
- Recognizes zero or more UTF-8 numeric segments without diacritics.
- Recognizes one or more UTF-8 numeric segments without diacritics.
- Recognizes the sequence
"\r\n"
. - Recognizes zero or more digits in the given base. ASCII characters
0-9
.a-z
,A-Z
are considered digits, depending on the base. - Recognizes one or more digits in the given base. ASCII characters
0-9
.a-z
,A-Z
are considered digits, depending on the base. - Parses a signed 8-bit number. Consumes all available digits, but might return an error if too large.
- Parses a signed 16-bit number. Consumes all available digits, but might return an error if too large.
- Parses a signed 32-bit number. Consumes all available digits, but might return an error if too large.
- Parses a signed 64-bit number. Consumes all available digits, but might return an error if too large.
- Parses a signed 128-bit number. Consumes all available digits, but might return an error if too large.
- Parses an unsigned 8-bit number. Consumes all available digits, but might return an error if too large.
- Parses an unsigned 16-bit number. Consumes all available digits, but might return an error if too large.
- Parses an unsigned 32-bit number. Consumes all available digits, but might return an error if too large.
- Parses an unsigned 64-bit number. Consumes all available digits, but might return an error if too large.
- Parses an unsigned 128-bit number. Consumes all available digits, but might return an error if too large.
- Parses line ending, either a linefeed or a
"\r\n"
sequence. - Recognizes one linefeed (
"\n"
) ASCII character. - Recognizes a grapheme clusters/segments NOT in the given list.
- Parses segments until a line ending (
"\n"
or"\r\n"
) is found. - Recognizes zero or more UTF-8 numeric segments, possibly with diacritics.
- Recognizes one or more UTF-8 numeric segments, possibly with diacritics.
- Recognizes any of the grapheme clusters/segments in the given list.
- Recognizes a character that satifies the given
condition
function. - Recognizes the given grapheme cluster/segment.
- Recognizes zero or more ASCII spaces.
- Recognizes one or more ASCII spaces.
- Executes the parser returning any data automatically combing the span of such data into a symbol.
- Recognizes one tab (
"\t"
) ASCII character. - Recognizes zero or more unicode whitespace graphemes.
- Recognizes one or more unicode whitespace graphemes.