Crate icu_unicodeset_parse

Source
Expand description

icu_unicodeset_parse is a utility crate of the ICU4X project.

This crate provides parsing functionality for UTS #35 - Unicode Sets. Parses into CodePointInversionListAndStringList.

See parse for more information.

Structs§

ParseError
The error type returned by the parse functions in this crate.
VariableMap
The map used for parsing UnicodeSets with variable support. See parse_with_variables.

Enums§

ParseErrorKind
The kind of error that occurred.
VariableValue
The value of a variable in a UnicodeSet. Used as value type in VariableMap.

Functions§

parse
Parses a UnicodeSet pattern and returns a UnicodeSet in the form of a CodePointInversionListAndStringList, as well as the number of bytes consumed from the source string.
parse_unstable
A version of parse that uses custom data provided by a DataProvider.
parse_unstable_with_variables
A version of parse_with_variables that uses custom data provided by a DataProvider.
parse_with_variables
Parses a UnicodeSet pattern with support for variables enabled.