PPI/Token/Label.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/When.pm ↑ Summary PPI/Token/Quote.pm »
1 package PPI::Token::Label;
2  
3 =pod
4  
5 =head1 NAME
6  
7 PPI::Token::Label - Token class for a statement label
8  
9 =head1 INHERITANCE
10  
11 PPI::Token::Label
12 isa PPI::Token
13 isa PPI::Element
14  
15 =head1 DESCRIPTION
16  
17 A label is an identifier attached to a line or statements, to allow for
18 various types of flow control. For example, a loop might have a label
19 attached so that a C<last> or C<next> flow control statement can be used
20 from multiple levels below to reference the loop directly.
21  
22 =head1 METHODS
23  
24 There are no additional methods beyond those provided by the parent
25 L<PPI::Token> and L<PPI::Element> classes.
26  
27 =cut
28  
29 63 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
30 63 ▶use PPI::Token ();
Subroutine BEGIN: called CC=1 SCAR=0.0
31  
32 63 our $VERSION = '1.260'; # VERSION
33  
34 63 our @ISA = "PPI::Token";
35  
36 63 1;
37  
38 =pod
39  
40 =head1 SUPPORT
41  
42 See the L<support section|PPI/SUPPORT> in the main module.
43  
44 =head1 AUTHOR
45  
46 Adam Kennedy E<lt>adamk@cpan.orgE<gt>
47  
48 =head1 COPYRIGHT
49  
50 Copyright 2001 - 2011 Adam Kennedy.
51  
52 This program is free software; you can redistribute
53 it and/or modify it under the same terms as Perl itself.
54  
55 The full text of the license can be found in the
56 LICENSE file included with this module.
57  
58 =cut
« PPI/Structure/When.pm ↑ Summary PPI/Token/Quote.pm »