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.
- 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 resultingItem
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.