68 lines
1.1 KiB
Perl
68 lines
1.1 KiB
Perl
package PPI::Structure::Condition;
|
|
|
|
=pod
|
|
|
|
=head1 NAME
|
|
|
|
PPI::Structure::Condition - Round braces for boolean context conditions
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
if ( condition ) {
|
|
...
|
|
}
|
|
|
|
while ( condition ) {
|
|
...
|
|
}
|
|
|
|
=head1 INHERITANCE
|
|
|
|
PPI::Structure::Condition
|
|
isa PPI::Structure
|
|
isa PPI::Node
|
|
isa PPI::Element
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
C<PPI::Structure::Condition> is the class used for all round braces
|
|
that represent boolean contexts used in various conditions.
|
|
|
|
=head1 METHODS
|
|
|
|
C<PPI::Structure::Condition> has no methods beyond those provided by
|
|
the standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
|
|
|
|
=cut
|
|
|
|
use strict;
|
|
use PPI::Structure ();
|
|
|
|
our $VERSION = '1.270'; # VERSION
|
|
|
|
our @ISA = "PPI::Structure";
|
|
|
|
1;
|
|
|
|
=pod
|
|
|
|
=head1 SUPPORT
|
|
|
|
See the L<support section|PPI/SUPPORT> in the main module.
|
|
|
|
=head1 AUTHOR
|
|
|
|
Adam Kennedy E<lt>adamk@cpan.orgE<gt>
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
Copyright 2001 - 2011 Adam Kennedy.
|
|
|
|
This program is free software; you can redistribute
|
|
it and/or modify it under the same terms as Perl itself.
|
|
|
|
The full text of the license can be found in the
|
|
LICENSE file included with this module.
|
|
|
|
=cut
|