Add built local::lib
[catagits/Gitalist.git] / local-lib5 / lib / perl5 / PPI / Structure / Block.pm
CommitLineData
3fea05b9 1package PPI::Structure::Block;
2
3=pod
4
5=head1 NAME
6
7PPI::Structure::Block - Curly braces representing a code block
8
9=head1 SYNOPSIS
10
11 sub foo { ... }
12
13 grep { ... } @list;
14
15 if ( condition ) {
16 ...
17 }
18
19 LABEL: {
20 ...
21 }
22
23=head1 INHERITANCE
24
25 PPI::Structure::Block
26 isa PPI::Structure
27 isa PPI::Node
28 isa PPI::Element
29
30=head1 DESCRIPTION
31
32C<PPI::Structure::Block> is the class used for all curly braces that
33represent code blocks. This includes subroutines, compound statements
34and any other block braces.
35
36=head1 METHODS
37
38C<PPI::Structure::Block> has no methods beyond those provided by the
39standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
40
41Got any ideas for methods? Submit a report to rt.cpan.org!
42
43=cut
44
45use strict;
46use PPI::Structure ();
47
48use vars qw{$VERSION @ISA};
49BEGIN {
50 $VERSION = '1.206';
51 @ISA = 'PPI::Structure';
52}
53
54
55
56
57
58#####################################################################
59# PPI::Element Methods
60
61# This is a scope boundary
62sub scope { 1 }
63
641;
65
66=pod
67
68=head1 SUPPORT
69
70See the L<support section|PPI/SUPPORT> in the main module.
71
72=head1 AUTHOR
73
74Adam Kennedy E<lt>adamk@cpan.orgE<gt>
75
76=head1 COPYRIGHT
77
78Copyright 2001 - 2009 Adam Kennedy.
79
80This program is free software; you can redistribute
81it and/or modify it under the same terms as Perl itself.
82
83The full text of the license can be found in the
84LICENSE file included with this module.
85
86=cut