struct CLDR::Numbers::PatternConstruct
- CLDR::Numbers::PatternConstruct
- Struct
- Value
- Object
Overview
Construct consisting of component rules parsed from a CLDR number pattern
Defined in:
cldr/logic/numbers/parser.crConstructors
Instance Method Summary
- #clone
- #copy_with(prefix _prefix = @prefix, integer _integer = @integer, fractional _fractional = @fractional, suffix _suffix = @suffix, negative_prefix _negative_prefix = @negative_prefix, negative_suffix _negative_suffix = @negative_suffix)
- #fractional : Array(Rules::Rules)
- #integer : Array(Rules::Rules)
- #negative_prefix : Array(Rules::Rules)?
- #negative_suffix : Array(Rules::Rules)?
- #prefix : Array(Rules::Rules)
- #suffix : Array(Rules::Rules)
Constructor Detail
def self.new(prefix : Array(Rules::Rules), integer : Array(Rules::Rules), fractional : Array(Rules::Rules), suffix : Array(Rules::Rules), negative_prefix : Array(Rules::Rules)?, negative_suffix : Array(Rules::Rules)?)
#
Instance Method Detail
def copy_with(prefix _prefix = @prefix, integer _integer = @integer, fractional _fractional = @fractional, suffix _suffix = @suffix, negative_prefix _negative_prefix = @negative_prefix, negative_suffix _negative_suffix = @negative_suffix)
#