Expand description
Utilities for validating (raw) string, char, and byte literals and turning escape sequences into the values they represent.
Enums§
- Escape
Error - Errors and warnings that can occur during string, char, and byte unescaping.
- Mixed
Unit - Enum representing either a char or a byte
- Mode
- Enum of the different kinds of literal
Functions§
- check_
for_ errors - Check a literal only for errors
- check_
raw_ byte_ str - Check a raw byte string literal for validity
- check_
raw_ c_ str - Check a raw C string literal for validity
- check_
raw_ str - Check a raw string literal for validity
- unescape_
byte - Unescape a byte literal
- unescape_
byte_ str - Unescape a byte string literal
- unescape_
c_ str - Unescape a C string literal
- unescape_
char - Unescape a char literal
- unescape_
str - Unescape a string literal