Commit | Line | Data |
3fea05b9 |
1 | package PPI::Structure::Condition; |
2 | |
3 | =pod |
4 | |
5 | =head1 NAME |
6 | |
7 | PPI::Structure::Condition - Round braces for boolean context conditions |
8 | |
9 | =head1 SYNOPSIS |
10 | |
11 | if ( condition ) { |
12 | ... |
13 | } |
14 | |
15 | while ( condition ) { |
16 | ... |
17 | } |
18 | |
19 | =head1 INHERITANCE |
20 | |
21 | PPI::Structure::Condition |
22 | isa PPI::Structure |
23 | isa PPI::Node |
24 | isa PPI::Element |
25 | |
26 | =head1 DESCRIPTION |
27 | |
28 | C<PPI::Structure::Condition> is the class used for all round braces |
29 | that represent boolean contexts used in various conditions. |
30 | |
31 | =head1 METHODS |
32 | |
33 | C<PPI::Structure::Condition> has no methods beyond those provided by |
34 | the standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods. |
35 | |
36 | Got any ideas for methods? Submit a report to rt.cpan.org! |
37 | |
38 | =cut |
39 | |
40 | use strict; |
41 | use PPI::Structure (); |
42 | |
43 | use vars qw{$VERSION @ISA}; |
44 | BEGIN { |
45 | $VERSION = '1.206'; |
46 | @ISA = 'PPI::Structure'; |
47 | } |
48 | |
49 | 1; |
50 | |
51 | =pod |
52 | |
53 | =head1 SUPPORT |
54 | |
55 | See the L<support section|PPI/SUPPORT> in the main module. |
56 | |
57 | =head1 AUTHOR |
58 | |
59 | Adam Kennedy E<lt>adamk@cpan.orgE<gt> |
60 | |
61 | =head1 COPYRIGHT |
62 | |
63 | Copyright 2001 - 2009 Adam Kennedy. |
64 | |
65 | This program is free software; you can redistribute |
66 | it and/or modify it under the same terms as Perl itself. |
67 | |
68 | The full text of the license can be found in the |
69 | LICENSE file included with this module. |
70 | |
71 | =cut |