line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Pod::Weaver::Role::Transformer; |
2
|
|
|
|
|
|
|
# ABSTRACT: something that restructures a Pod5 document |
3
|
|
|
|
|
|
|
$Pod::Weaver::Role::Transformer::VERSION = '4.017'; |
4
|
9
|
|
|
9
|
|
7060
|
use Moose::Role; |
|
9
|
|
|
|
|
22
|
|
|
9
|
|
|
|
|
97
|
|
5
|
|
|
|
|
|
|
with 'Pod::Weaver::Role::Plugin'; |
6
|
|
|
|
|
|
|
|
7
|
9
|
|
|
9
|
|
51687
|
use namespace::autoclean; |
|
9
|
|
|
|
|
28
|
|
|
9
|
|
|
|
|
92
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
#pod =head1 IMPLEMENTING |
10
|
|
|
|
|
|
|
#pod |
11
|
|
|
|
|
|
|
#pod The Transformer role indicates that a plugin will be used to pre-process the input |
12
|
|
|
|
|
|
|
#pod hashref's Pod document before weaving begins. The plugin must provide a |
13
|
|
|
|
|
|
|
#pod C<transform_document> method which will be called with the input Pod document. |
14
|
|
|
|
|
|
|
#pod It is expected to modify the input in place. |
15
|
|
|
|
|
|
|
#pod |
16
|
|
|
|
|
|
|
#pod =cut |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
requires 'transform_document'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=pod |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=encoding UTF-8 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Pod::Weaver::Role::Transformer - something that restructures a Pod5 document |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 VERSION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
version 4.017 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 IMPLEMENTING |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
The Transformer role indicates that a plugin will be used to pre-process the input |
39
|
|
|
|
|
|
|
hashref's Pod document before weaving begins. The plugin must provide a |
40
|
|
|
|
|
|
|
C<transform_document> method which will be called with the input Pod document. |
41
|
|
|
|
|
|
|
It is expected to modify the input in place. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHOR |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Ricardo SIGNES <rjbs@cpan.org> |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
This software is copyright (c) 2021 by Ricardo SIGNES. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
52
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=cut |