line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
404
|
|
|
404
|
|
233647
|
use strict; |
|
404
|
|
|
|
|
1121
|
|
|
404
|
|
|
|
|
22193
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package HTML::FormFu::Role::GetProcessors; |
4
|
|
|
|
|
|
|
# ABSTRACT: processor getter roles |
5
|
|
|
|
|
|
|
$HTML::FormFu::Role::GetProcessors::VERSION = '2.07'; |
6
|
404
|
|
|
404
|
|
2542
|
use Moose::Role; |
|
404
|
|
|
|
|
995
|
|
|
404
|
|
|
|
|
3024
|
|
7
|
|
|
|
|
|
|
|
8
|
404
|
|
|
|
|
241257
|
use HTML::FormFu::Util qw( |
9
|
|
|
|
|
|
|
_parse_args |
10
|
|
|
|
|
|
|
_filter_components |
11
|
404
|
|
|
404
|
|
2113721
|
); |
|
404
|
|
|
|
|
1022
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub get_deflators { |
14
|
4
|
|
|
4
|
0
|
972
|
my $self = shift; |
15
|
4
|
|
|
|
|
16
|
my %args = _parse_args(@_); |
16
|
|
|
|
|
|
|
|
17
|
4
|
|
|
|
|
7
|
my @x = map { @{ $_->get_deflators(@_) } } @{ $self->_elements }; |
|
8
|
|
|
|
|
16
|
|
|
8
|
|
|
|
|
31
|
|
|
4
|
|
|
|
|
120
|
|
18
|
|
|
|
|
|
|
|
19
|
4
|
|
|
|
|
16
|
return _filter_components( \%args, \@x ); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub get_filters { |
23
|
627
|
|
|
627
|
0
|
3140
|
my $self = shift; |
24
|
627
|
|
|
|
|
2198
|
my %args = _parse_args(@_); |
25
|
|
|
|
|
|
|
|
26
|
627
|
|
|
|
|
1379
|
my @x = map { @{ $_->get_filters(@_) } } @{ $self->_elements }; |
|
1325
|
|
|
|
|
2207
|
|
|
1325
|
|
|
|
|
5299
|
|
|
627
|
|
|
|
|
17110
|
|
27
|
|
|
|
|
|
|
|
28
|
627
|
|
|
|
|
2172
|
return _filter_components( \%args, \@x ); |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub get_constraints { |
32
|
637
|
|
|
637
|
0
|
3001
|
my $self = shift; |
33
|
637
|
|
|
|
|
2143
|
my %args = _parse_args(@_); |
34
|
|
|
|
|
|
|
|
35
|
637
|
|
|
|
|
1565
|
my @x = map { @{ $_->get_constraints(@_) } } @{ $self->_elements }; |
|
1335
|
|
|
|
|
2176
|
|
|
1335
|
|
|
|
|
4792
|
|
|
637
|
|
|
|
|
17181
|
|
36
|
|
|
|
|
|
|
|
37
|
637
|
|
|
|
|
2097
|
return _filter_components( \%args, \@x ); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub get_inflators { |
41
|
430
|
|
|
430
|
0
|
2488
|
my $self = shift; |
42
|
430
|
|
|
|
|
1977
|
my %args = _parse_args(@_); |
43
|
|
|
|
|
|
|
|
44
|
430
|
|
|
|
|
1330
|
my @x = map { @{ $_->get_inflators(@_) } } @{ $self->_elements }; |
|
902
|
|
|
|
|
1496
|
|
|
902
|
|
|
|
|
3504
|
|
|
430
|
|
|
|
|
12274
|
|
45
|
|
|
|
|
|
|
|
46
|
430
|
|
|
|
|
2826
|
return _filter_components( \%args, \@x ); |
47
|
|
|
|
|
|
|
} |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
sub get_validators { |
50
|
422
|
|
|
422
|
0
|
1190
|
my $self = shift; |
51
|
422
|
|
|
|
|
1519
|
my %args = _parse_args(@_); |
52
|
|
|
|
|
|
|
|
53
|
422
|
|
|
|
|
1267
|
my @x = map { @{ $_->get_validators(@_) } } @{ $self->_elements }; |
|
887
|
|
|
|
|
1635
|
|
|
887
|
|
|
|
|
3667
|
|
|
422
|
|
|
|
|
11680
|
|
54
|
|
|
|
|
|
|
|
55
|
422
|
|
|
|
|
1379
|
return _filter_components( \%args, \@x ); |
56
|
|
|
|
|
|
|
} |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
sub get_transformers { |
59
|
421
|
|
|
421
|
0
|
958
|
my $self = shift; |
60
|
421
|
|
|
|
|
1649
|
my %args = _parse_args(@_); |
61
|
|
|
|
|
|
|
|
62
|
421
|
|
|
|
|
1387
|
my @x = map { @{ $_->get_transformers(@_) } } @{ $self->_elements }; |
|
885
|
|
|
|
|
1501
|
|
|
885
|
|
|
|
|
4336
|
|
|
421
|
|
|
|
|
11830
|
|
63
|
|
|
|
|
|
|
|
64
|
421
|
|
|
|
|
1664
|
return _filter_components( \%args, \@x ); |
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
sub get_plugins { |
68
|
1549
|
|
|
1549
|
0
|
3379
|
my $self = shift; |
69
|
1549
|
|
|
|
|
5879
|
my %args = _parse_args(@_); |
70
|
|
|
|
|
|
|
|
71
|
1549
|
|
|
|
|
42289
|
return _filter_components( \%args, $self->_plugins ); |
72
|
|
|
|
|
|
|
} |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
1; |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
__END__ |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=pod |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=encoding UTF-8 |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head1 NAME |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
HTML::FormFu::Role::GetProcessors - processor getter roles |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head1 VERSION |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
version 2.07 |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 AUTHOR |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Carl Franks <cpan@fireartist.com> |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
This software is copyright (c) 2018 by Carl Franks. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
99
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
=cut |