Module time::format_description::parse::ast

source ·
Available on (crate features formatting or parsing) and crate feature alloc only.
Expand description

AST for parsing format descriptions.

Structs§

Enums§

  • Item 🔒
    One part of a complete format description.

Functions§

  • parse 🔒
    Parse the provided tokens into an AST.
  • Parse a component. This assumes that the opening bracket has already been consumed.
  • Parse the provided tokens into an AST. The const generic indicates whether the resulting Item will be used directly or as part of a NestedFormatDescription.
  • Parse a nested format description. The location provided is the the most recent one consumed.