Module cldr_pluralrules_parser::ast
source · Expand description
A public AST module for plural rule representations.
Structs
An incomplete AST representation of a plural rule. Comprises a vector of Relations.
A complete (and the only complete) AST representation of a plural rule. Comprises a vector of AndConditions.
An incomplete AST representation of a plural rule. Comprises an Operand and an optional Modulo.
An incomplete AST representation of a plural rule. Comprises a Value but is later expressed as
% usize
.An incomplete AST representation of a plural rule. Comprises a char.
An incomplete AST representation of a plural rule. Comprises two Values: an inclusive lower and upper limit.
An incomplete AST representation of a plural rule. Comprises a vector of RangeListItems.
An incomplete AST representation of a plural rule. Comprises an Expression, an Operator, and a RangeList.
An incomplete AST representation of a plural rule, representing one integer.
Enums
An enum of Relation operators for plural rules.
An enum of items that appear in a RangeList: Range or a Value.