Available on (crate features
formatting
or parsing
) and crate feature alloc
only.Expand description
AST for parsing format descriptions.
Structsยง
- Modifier ๐
- A modifier for a component.
- Nested
Format ๐Description - A format description that is nested within another format description.
Enumsยง
- Item ๐
- One part of a complete format description.
Functionsยง
- parse ๐
- Parse the provided tokens into an AST.
- parse_
component ๐ - Parse a component. This assumes that the opening bracket has already been consumed.
- parse_
inner ๐ - Parse the provided tokens into an AST. The const generic indicates whether the resulting
Item
will be used directly or as part of aNestedFormatDescription
. - parse_
nested ๐ - Parse a nested format description. The location provided is the the most recent one consumed.