Parser for unicode number formats described in http://unicode.org/reports/tr35/tr35-numbers.html#Number_Format_Patterns.
Parser for unicode number formats described in http://unicode.org/reports/tr35/tr35-numbers.html#Number_Format_Patterns.
(allows-decimal-part? format)
(allows-exponent-part? format)
(apply-modifier value modifier)
Modifies the result of parsing a formatted number according to any contained modifier (percent or mph).
Modifies the result of parsing a formatted number according to any contained modifier (percent or mph).
(create-decimal-format group-char decimal-char)
(create-floating-format group-char decimal-char)
(create-integer-format group-char decimal-char)
(is-ascii-digit? c)
(is-modifier-char? c)
(parse-decimal-groups format-string start-index)
(parse-decimal-part format-string start-index)
(parse-exponent format-string start-index)
(parse-exponent-digits s start-index)
(parse-exponent-part format-string start-index)
(parse-integer-groups format-str start-index)
(parse-integer-part format-str start-index)
(parse-number s
{:keys [prefix integer decimal exponent suffix modifier group-char
decimal-char]
:as fmt})
(parse-number-format format-str)
(parse-number-format format-str group-char decimal-char)
(parse-number-with-format format-string numeric-string)
(parse-numeric-decimal s start-index decimal-char group-char decimal-spec)
(parse-numeric-exponent s start-index exponent-spec)
(parse-numeric-exponent-part s start-index {:keys [sign] :as exponent-spec})
(parse-numeric-groups s start-index group-char)
(parse-numeric-integer s
start-index
group-char
{:keys [min-length max-length] :as integer-spec})
(parse-numeric-prefix s {:keys [prefix sign] :as prefix-spec})
(parse-numeric-suffix s start-index suffix-spec)
(parse-prefix format-str)
(parse-suffix format-string start-index prefix-modifier)
(validate-decimal-groups groups
{{group-size :size :as group} :group :as decimal-spec})
(validate-digit-count digits
part-name
{:keys [min-length max-length] :as part-spec})
(validate-group-size group-index group group-size)
(validate-group-sizes groups group-size)
(validate-numeric-groups groups
{:keys [primary-group-size secondary-group-size]
:as group-spec})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close