PPI/Structure/Condition.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/Structure/Block.pm ↑ Summary PPI/Structure/Constructor.pm »
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 =cut
37  
38 63 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 63 ▶use PPI::Structure ();
Subroutine BEGIN: called CC=1 SCAR=0.0
40  
41 63 our $VERSION = '1.260'; # VERSION
42  
43 63 our @ISA = "PPI::Structure";
44  
45 63 1;
46  
47 =pod
48  
49 =head1 SUPPORT
50  
51 See the L<support section|PPI/SUPPORT> in the main module.
52  
53 =head1 AUTHOR
54  
55 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
56  
57 =head1 COPYRIGHT
58  
59 Copyright 2001 - 2011 Adam Kennedy.
60  
61 This program is free software; you can redistribute
62 it and/or modify it under the same terms as Perl itself.
63  
64 The full text of the license can be found in the
65 LICENSE file included with this module.
66  
67 =cut
« PPI/Structure/Block.pm ↑ Summary PPI/Structure/Constructor.pm »