Module time::format_description::parse::lexer
source ยท Expand description
Lexer for parsing format descriptions.
Structsยง
- Lexed ๐An iterator over the lexed tokens.
Enumsยง
- BracketKind ๐What type of bracket is present.
- ComponentKind ๐Indicates whether the component is whitespace or not.
- Token ๐A token emitted by the lexer. There is no semantic meaning at this stage.
Functionsยง
- attach_location ๐Attach
Location
information to each byte in the iterator. - lex ๐Parse the string into a series of
Token
s.