Skip to main content

Module char

Module char 

Source
Expand description

Module containg parsers specialized on character streams

Structs§

AlphaNum
CrLf
Digit
HexDigit
Letter
Lower
NewLine
OctDigit
Space
Spaces
String
Tab
Upper

Functions§

alpha_num
Parses either an alphabet letter or digit
char
Parses a character and succeeds if the characther is equal to c
crlf
Parses carriage return and newline, returning the newline character.
digit
Parses a digit from a stream containing characters
hex_digit
Parses a hexdecimal digit with uppercase and lowercase
letter
Parses an alphabet letter
lower
Parses an lowercase letter
newline
Parses a newline character
oct_digit
Parses an octal digit
space
Parses whitespace
spaces
Skips over zero or more spaces
string
Parses the string s
tab
Parses a tab character
upper
Parses an uppercase letter

Type Aliases§

ParseResult