| 1 | package PLS::Parser::Element::Constant; | ||
| 2 | |||
| 3 | 15 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 15 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 15 | ▶ | use parent 'PLS::Parser::Element'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | PLS::Parser::Element::Constant | ||
| 11 | |||
| 12 | =head1 DESCRIPTION | ||
| 13 | |||
| 14 | Subclass of L<PPI::Parser::Element> representing a constant | ||
| 15 | declared with C<use constant>. | ||
| 16 | |||
| 17 | =cut | ||
| 18 | |||
| 19 | sub location_info | ||
| 20 | 0 | ▶ | { |
|
Subroutine
location_info: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 21 | 0 | my ($self) = @_; | |
| 22 | |||
| 23 | 0 | my $info = $self->SUPER::location_info; | |
| 24 | 0 | $info->{constant} = 1; | |
| 25 | 0 | return $info; | |
| 26 | } ## end sub location_info | ||
| 27 | |||
| 28 | 15 | 1; | |