Escape
Base parsers for escape sequences.
Value members
Concrete methods
Concrete fields
Parses a simple backslash character escape. Does except any character after the backslash, if you want to be strict and apply the specific rules about which characters are valid escapes you need to create a custom parser.
Parses a simple backslash character escape. Does except any character after the backslash, if you want to be strict and apply the specific rules about which characters are valid escapes you need to create a custom parser.
Parses a hexadecimal character escape.
It must start with a backslash, followed by the letter x
and exactly two hex digits,
e.g. \\xf2
.
Parses a hexadecimal character escape.
It must start with a backslash, followed by the letter x
and exactly two hex digits,
e.g. \\xf2
.
Parses a octal character escape.
It must start with a backslash, followed by one to three octal digits,
e.g. \\207
.
Parses a octal character escape.
It must start with a backslash, followed by one to three octal digits,
e.g. \\207
.