Transformations/Any/Latin/Numericpinyin.pm untested

filter: Statementstmt 0.0% 0 / 41 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 12 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 56 CC 2 SCAR 9.6
CC
2
Cov
0%
BEGIN
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.6
1 package Locale::CLDR::Transformations::Any::Latin::Numericpinyin;
2 # This file auto generated from Data\common\transforms\Latin-NumericPinyin.xml
3 # on Fri 17 Jan 12:03:31 pm GMT
4
5 use strict;
6 use warnings;
7 use version;
8
9 our $VERSION = version->declare('v0.46.0');
10
11 use v5.12.0;
12 use mro 'c3';
13 use utf8;
14 use feature 'unicode_strings';
15 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
16 use Moo;
17
18 BEGIN {
19 die "Transliteration requires Perl 5.18 or above"
20 unless $^V ge v5.18.0;
21 }
22
23 no warnings 'experimental::regex_sets';
24 has 'transforms' => (
25 is => 'ro',
26 isa => ArrayRef,
27 init_arg => undef,
28 default => sub { [
29 qr/(?^um:\G.)/,
30 {
31 type => 'transform',
32 data => [
33 {
34 from => q(Any),
35 to => q(NFD),
36 },
37 ],
38 },
39 {
40 type => 'conversion',
41 data => [
42 {
43 before => q(e),
44 after => q(),
45 replace => q(([̄́̌̀̆])r),
46 result => q(r&Pinyin-NumericPinyin($1)),
47 revisit => 0,
48 },
49 {
50 before => q(),
51 after => q(),
52 replace => q(([̄́̌̀̆])([ionu\N{U+6F.6E}\N{U+6E.67}])),
53 result => q($2&Pinyin-NumericPinyin($1)),
54 revisit => 0,
55 },
56 {
57 before => q(),
58 after => q(),
59 replace => q(([̄́̌̀̆])),
60 result => q(&Pinyin-NumericPinyin($1)),
61 revisit => 0,
62 },
63 ],
64 },
65 {
66 type => 'transform',
67 data => [
68 {
69 from => q(Any),
70 to => q(NFC),
71 },
72 ]
73 },
74 ] },
75 );
76
77 no Moo;
78
79 1;
80
81 # vim: tabstop=4