← Index
NYTProf Performance Profile   « line view »
For /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/bin/perlcritic
  Run on Sat Mar 19 22:12:22 2016
Reported on Sat Mar 19 22:14:13 2016

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPIx/Regexp/Token/CharClass.pm
StatementsExecuted 8 statements in 89µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11113µs26µsPPIx::Regexp::Token::CharClass::::BEGIN@37PPIx::Regexp::Token::CharClass::BEGIN@37
11111µs16µsPPIx::Regexp::Token::CharClass::::BEGIN@38PPIx::Regexp::Token::CharClass::BEGIN@38
1118µs69µsPPIx::Regexp::Token::CharClass::::BEGIN@40PPIx::Regexp::Token::CharClass::BEGIN@40
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1=head1 NAME
2
3PPIx::Regexp::Token::CharClass - Represent a character class
4
5=head1 SYNOPSIS
6
7 use PPIx::Regexp::Dumper;
8 PPIx::Regexp::Dumper->new( 'qr{\w}smx' )
9 ->print();
10
11=head1 INHERITANCE
12
13C<PPIx::Regexp::Token::CharClass> is a
14L<PPIx::Regexp::Token|PPIx::Regexp::Token>.
15
16C<PPIx::Regexp::Token::CharClass> is the parent of
17L<PPIx::Regexp::Token::CharClass::POSIX|PPIx::Regexp::Token::CharClass::POSIX>
18and
19L<PPIx::Regexp::Token::CharClass::Simple|PPIx::Regexp::Token::CharClass::Simple>.
20
21=head1 DESCRIPTION
22
23This class represents a character class. It is not intended that this
24class be instantiated; it simply serves to identify a character class in
25the class hierarchy, and provide any common methods that might become
26useful.
27
28=head1 METHODS
29
30This class provides the following public methods beyond those provided
31by its superclass.
32
33=cut
34
35package PPIx::Regexp::Token::CharClass;
36
37222µs239µs
# spent 26µs (13+13) within PPIx::Regexp::Token::CharClass::BEGIN@37 which was called: # once (13µs+13µs) by base::import at line 37
use strict;
# spent 26µs making 1 call to PPIx::Regexp::Token::CharClass::BEGIN@37 # spent 13µs making 1 call to strict::import
38224µs222µs
# spent 16µs (11+5) within PPIx::Regexp::Token::CharClass::BEGIN@38 which was called: # once (11µs+5µs) by base::import at line 38
use warnings;
# spent 16µs making 1 call to PPIx::Regexp::Token::CharClass::BEGIN@38 # spent 5µs making 1 call to warnings::import
39
40240µs269µs
# spent 69µs (8+60) within PPIx::Regexp::Token::CharClass::BEGIN@40 which was called: # once (8µs+60µs) by base::import at line 40
use base qw{ PPIx::Regexp::Token };
# spent 69µs making 1 call to PPIx::Regexp::Token::CharClass::BEGIN@40 # spent 60µs making 1 call to base::import, recursion: max depth 1, sum of overlapping time 60µs
41
421600nsour $VERSION = '0.036';
43
44# Return true if the token can be quantified, and false otherwise
45# sub can_be_quantified { return };
46
47##=head2 is_case_sensitive
48##
49##This method returns true if the character class is case-sensitive (that
50##is, if it may match or not based on the case of the string being
51##matched), false (but defined) if it is not, and simply returns (giving
52##C<undef> in scalar context and an empty list in list context) if the
53##case-sensitivity can not be determined.
54##
55##=cut
56##
57##sub is_case_sensitive {
58## return;
59##}
60
6112µs1;
62
63__END__