struct CLDR::Numbers::PatternConstruct

Overview

Construct consisting of component rules parsed from a CLDR number pattern

Defined in:

cldr/logic/numbers/parser.cr

Constructors

Instance Method Summary

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)?) #

[View source]

Instance Method Detail

def clone #

[View source]
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) #

[View source]
def fractional : Array(Rules::Rules) #

def integer : Array(Rules::Rules) #

def negative_prefix : Array(Rules::Rules)? #

def negative_suffix : Array(Rules::Rules)? #

def prefix : Array(Rules::Rules) #

def suffix : Array(Rules::Rules) #