time::format_description::parse

Module ast

source
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_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 a NestedFormatDescription.
  • parse_nested ๐Ÿ”’
    Parse a nested format description. The location provided is the the most recent one consumed.