PPI/Statement/Expression.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« PPI/Statement/End.pm ↑ Summary PPI/Statement/Include/Perl6.pm »
1 package PPI::Statement::Expression;
2  
3 =pod
4  
5 =head1 NAME
6  
7 PPI::Statement::Expression - A generic and non-specialised statement
8  
9 =head1 SYNOPSIS
10  
11 $foo = bar;
12 ("Hello World!");
13 do_this();
14  
15 =head1 INHERITANCE
16  
17 PPI::Statement::Expression
18 isa PPI::Statement
19 isa PPI::Node
20 isa PPI::Element
21  
22 =head1 DESCRIPTION
23  
24 A C<PPI::Statement::Expression> is a normal statement that is evaluated,
25 may or may not assign, may or may not have side effects, and has no special
26 or redeeming features whatsoever.
27  
28 It provides a default for all statements that don't fit into any other
29 classes.
30  
31 =head1 METHODS
32  
33 C<PPI::Statement::Expression> has no additional methods beyond the default ones
34 provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>.
35  
36 =cut
37  
38 62 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 62 ▶use PPI::Statement ();
Subroutine BEGIN: called CC=1 SCAR=0.0
40  
41 62 ▶use vars qw{$VERSION @ISA};
Subroutine BEGIN: called CC=1 SCAR=0.0
42 BEGIN {
43 62 ▶ $VERSION = '1.236';
Subroutine BEGIN: called CC=1 SCAR=0.0
44 62 @ISA = 'PPI::Statement';
45 }
46  
47 62 1;
48  
49 =pod
50  
51 =head1 SUPPORT
52  
53 See the L<support section|PPI/SUPPORT> in the main module.
54  
55 =head1 AUTHOR
56  
57 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
58  
59 =head1 COPYRIGHT
60  
61 Copyright 2001 - 2011 Adam Kennedy.
62  
63 This program is free software; you can redistribute
64 it and/or modify it under the same terms as Perl itself.
65  
66 The full text of the license can be found in the
67 LICENSE file included with this module.
68  
69 =cut
« PPI/Statement/End.pm ↑ Summary PPI/Statement/Include/Perl6.pm »