Commit | Line | Data |
3fea05b9 |
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 an 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 | use strict; |
48 | use PPI::Statement (); |
49 | |
50 | use vars qw{$VERSION @ISA}; |
51 | BEGIN { |
52 | $VERSION = '1.206'; |
53 | @ISA = 'PPI::Statement'; |
54 | } |
55 | |
56 | # Once we have an __END__ we're done |
57 | sub _complete () { 1 } |
58 | |
59 | 1; |
60 | |
61 | =pod |
62 | |
63 | =head1 SUPPORT |
64 | |
65 | See the L<support section|PPI/SUPPORT> in the main module. |
66 | |
67 | =head1 AUTHOR |
68 | |
69 | Adam Kennedy E<lt>adamk@cpan.orgE<gt> |
70 | |
71 | =head1 COPYRIGHT |
72 | |
73 | Copyright 2001 - 2009 Adam Kennedy. |
74 | |
75 | This program is free software; you can redistribute |
76 | it and/or modify it under the same terms as Perl itself. |
77 | |
78 | The full text of the license can be found in the |
79 | LICENSE file included with this module. |
80 | |
81 | =cut |