| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Pod::Elemental::Transformer; | 
| 2 |  |  |  |  |  |  | # ABSTRACT: something that transforms a node tree into a new tree | 
| 3 |  |  |  |  |  |  | $Pod::Elemental::Transformer::VERSION = '0.103005'; | 
| 4 | 11 |  |  | 11 |  | 6362 | use Moose::Role; | 
|  | 11 |  |  |  |  | 29 |  | 
|  | 11 |  |  |  |  | 113 |  | 
| 5 |  |  |  |  |  |  |  | 
| 6 | 11 |  |  | 11 |  | 61264 | use namespace::autoclean; | 
|  | 11 |  |  |  |  | 30 |  | 
|  | 11 |  |  |  |  | 90 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | requires 'transform_node'; | 
| 9 |  |  |  |  |  |  |  | 
| 10 |  |  |  |  |  |  | #pod =head1 OVERVIEW | 
| 11 |  |  |  |  |  |  | #pod | 
| 12 |  |  |  |  |  |  | #pod Pod::Elemental::Transformer is a role to be composed by anything that takes a | 
| 13 |  |  |  |  |  |  | #pod node and messes around with its contents.  This includes transformers to | 
| 14 |  |  |  |  |  |  | #pod implement Pod dialects, Pod tree nesting strategies, and Pod document | 
| 15 |  |  |  |  |  |  | #pod rewriters. | 
| 16 |  |  |  |  |  |  | #pod | 
| 17 |  |  |  |  |  |  | #pod A class including this role must implement the following methods: | 
| 18 |  |  |  |  |  |  | #pod | 
| 19 |  |  |  |  |  |  | #pod =method transform_node | 
| 20 |  |  |  |  |  |  | #pod | 
| 21 |  |  |  |  |  |  | #pod   my $node = $nester->transform_node($node); | 
| 22 |  |  |  |  |  |  | #pod | 
| 23 |  |  |  |  |  |  | #pod This method alters the given node and returns it.  Apart from that, the sky is | 
| 24 |  |  |  |  |  |  | #pod the limit. | 
| 25 |  |  |  |  |  |  | #pod | 
| 26 |  |  |  |  |  |  | #pod =cut | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | 1; | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | __END__ | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | =pod | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | =encoding UTF-8 | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | =head1 NAME | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | Pod::Elemental::Transformer - something that transforms a node tree into a new tree | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | =head1 VERSION | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | version 0.103005 | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | =head1 OVERVIEW | 
| 45 |  |  |  |  |  |  |  | 
| 46 |  |  |  |  |  |  | Pod::Elemental::Transformer is a role to be composed by anything that takes a | 
| 47 |  |  |  |  |  |  | node and messes around with its contents.  This includes transformers to | 
| 48 |  |  |  |  |  |  | implement Pod dialects, Pod tree nesting strategies, and Pod document | 
| 49 |  |  |  |  |  |  | rewriters. | 
| 50 |  |  |  |  |  |  |  | 
| 51 |  |  |  |  |  |  | A class including this role must implement the following methods: | 
| 52 |  |  |  |  |  |  |  | 
| 53 |  |  |  |  |  |  | =head1 METHODS | 
| 54 |  |  |  |  |  |  |  | 
| 55 |  |  |  |  |  |  | =head2 transform_node | 
| 56 |  |  |  |  |  |  |  | 
| 57 |  |  |  |  |  |  | my $node = $nester->transform_node($node); | 
| 58 |  |  |  |  |  |  |  | 
| 59 |  |  |  |  |  |  | This method alters the given node and returns it.  Apart from that, the sky is | 
| 60 |  |  |  |  |  |  | the limit. | 
| 61 |  |  |  |  |  |  |  | 
| 62 |  |  |  |  |  |  | =head1 AUTHOR | 
| 63 |  |  |  |  |  |  |  | 
| 64 |  |  |  |  |  |  | Ricardo SIGNES <rjbs@cpan.org> | 
| 65 |  |  |  |  |  |  |  | 
| 66 |  |  |  |  |  |  | =head1 COPYRIGHT AND LICENSE | 
| 67 |  |  |  |  |  |  |  | 
| 68 |  |  |  |  |  |  | This software is copyright (c) 2020 by Ricardo SIGNES. | 
| 69 |  |  |  |  |  |  |  | 
| 70 |  |  |  |  |  |  | This is free software; you can redistribute it and/or modify it under | 
| 71 |  |  |  |  |  |  | the same terms as the Perl 5 programming language system itself. | 
| 72 |  |  |  |  |  |  |  | 
| 73 |  |  |  |  |  |  | =cut |