Cldr v0.8.3 Cldr.Number.PluralRule.Compiler View Source
Generate functions from CLDR plural rules that can be used to determine which pularization rule to be used for a given number.
Link to this section Summary
Link to this section Functions
Parse a rule definition
Using a yexx lexer, parse a rule definition into an Elixir
AST that can then be unquoted
into a function definition.
Scan a rule definition
Using a leex lexer, tokenize a rule definition