Module ast

Source
Expand description

Message Format AST

Structs§

PluralFormat
Format a value taking pluralization rules into account.
SelectFormat
Using a value, select the appropriate message and format it.
SimpleFormat
A simple message consisting of a value to be formatted.

Enums§

MessagePart
Either some plain text (string) or something to be formatted.
PluralCategory
The set of grammatical numbers that we support.

Traits§

Format
The part of a message which formats a value.

Functions§

english_cardinal_classifier
English cardinal plural classifier.