Elemental/Transformer.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Elemental/Element/Pod5/Verbatim.pm ↑ Summary
1 package Pod::Elemental::Transformer 0.103006;
2 # ABSTRACT: something that transforms a node tree into a new tree
3  
4 11 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 11 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 11 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 11 1;
29  
30 __END__
« Elemental/Element/Pod5/Verbatim.pm ↑ Summary