PPI/Statement/End.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« PPI/Statement/Data.pm ↑ Summary PPI/Statement/Expression.pm »
1 package PPI::Statement::End;
2  
3 =pod
4  
5 =head1 NAME
6  
7 PPI::Statement::End - Content after the __END__ of a module
8  
9 =head1 SYNOPSIS
10  
11 # This is normal content
12
13 __END__
14
15 This is part of a PPI::Statement::End statement
16
17 =pod
18
19 This is not part of the ::End statement, it's POD
20
21 =cut
22
23 This is another PPI::Statement::End statement
24  
25 =head1 INHERITANCE
26  
27 PPI::Statement::End
28 isa PPI::Statement
29 isa PPI::Node
30 isa PPI::Element
31  
32 =head1 DESCRIPTION
33  
34 C<PPI::Statement::End> is a utility class designed to serve as a contained
35 for all of the content after the __END__ tag in a file.
36  
37 It doesn't cover the ENTIRE of the __END__ section, and can be interspersed
38 with L<PPI::Token::Pod> tokens.
39  
40 =head1 METHODS
41  
42 C<PPI::Statement::End> has no additional methods beyond the default ones
43 provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>.
44  
45 =cut
46  
47 63 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
48 63 ▶use PPI::Statement ();
Subroutine BEGIN: called CC=1 SCAR=0.0
49  
50 63 our $VERSION = '1.260'; # VERSION
51  
52 63 our @ISA = "PPI::Statement";
53  
54 # Once we have an __END__ we're done
55 sub _complete () { 1 }
56  
57 63 1;
58  
59 =pod
60  
61 =head1 SUPPORT
62  
63 See the L<support section|PPI/SUPPORT> in the main module.
64  
65 =head1 AUTHOR
66  
67 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
68  
69 =head1 COPYRIGHT
70  
71 Copyright 2001 - 2011 Adam Kennedy.
72  
73 This program is free software; you can redistribute
74 it and/or modify it under the same terms as Perl itself.
75  
76 The full text of the license can be found in the
77 LICENSE file included with this module.
78  
79 =cut
« PPI/Statement/Data.pm ↑ Summary PPI/Statement/Expression.pm »