line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
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 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 has no additional methods beyond the default ones |
34
|
|
|
|
|
|
|
provided by L, L and L. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=cut |
37
|
|
|
|
|
|
|
|
38
|
64
|
|
|
64
|
|
452
|
use strict; |
|
64
|
|
|
|
|
142
|
|
|
64
|
|
|
|
|
1451
|
|
39
|
64
|
|
|
64
|
|
281
|
use PPI::Statement (); |
|
64
|
|
|
|
|
119
|
|
|
64
|
|
|
|
|
2835
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
our $VERSION = '1.276'; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
our @ISA = "PPI::Statement"; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=pod |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 SUPPORT |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
See the L in the main module. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 AUTHOR |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Adam Kennedy Eadamk@cpan.orgE |
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 |