← 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:14 2016

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPIx/Regexp/Token/GroupType/BranchReset.pm
StatementsExecuted 8 statements in 131µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11118µs34µsPPIx::Regexp::Token::GroupType::BranchReset::::BEGIN@32PPIx::Regexp::Token::GroupType::BranchReset::BEGIN@32
11110µs16µsPPIx::Regexp::Token::GroupType::BranchReset::::BEGIN@33PPIx::Regexp::Token::GroupType::BranchReset::BEGIN@33
1119µs83µsPPIx::Regexp::Token::GroupType::BranchReset::::BEGIN@35PPIx::Regexp::Token::GroupType::BranchReset::BEGIN@35
0000s0sPPIx::Regexp::Token::GroupType::BranchReset::::__defining_stringPPIx::Regexp::Token::GroupType::BranchReset::__defining_string
0000s0sPPIx::Regexp::Token::GroupType::BranchReset::::perl_version_introducedPPIx::Regexp::Token::GroupType::BranchReset::perl_version_introduced
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::GroupType::BranchReset - Represent a branch reset specifier
4
5=head1 SYNOPSIS
6
7 use PPIx::Regexp::Dumper;
8 PPIx::Regexp::Dumper->new( 'qr{(?|(foo)|(bar))}smx' )
9 ->print();
10
11=head1 INHERITANCE
12
13C<PPIx::Regexp::Token::GroupType::BranchReset> is a
14L<PPIx::Regexp::Token::GroupType|PPIx::Regexp::Token::GroupType>.
15
16C<PPIx::Regexp::Token::GroupType::BranchReset> has no descendants.
17
18=head1 DESCRIPTION
19
20This token represents the specifier for a branch reset - namely the
21C<?|> that comes after the left parenthesis.
22
23=head1 METHODS
24
25This class provides no public methods beyond those provided by its
26superclass.
27
28=cut
29
30package PPIx::Regexp::Token::GroupType::BranchReset;
31
32228µs250µs
# spent 34µs (18+16) within PPIx::Regexp::Token::GroupType::BranchReset::BEGIN@32 which was called: # once (18µs+16µs) by PPIx::Regexp::Tokenizer::BEGIN@27 at line 32
use strict;
# spent 34µs making 1 call to PPIx::Regexp::Token::GroupType::BranchReset::BEGIN@32 # spent 16µs making 1 call to strict::import
33228µs222µs
# spent 16µs (10+6) within PPIx::Regexp::Token::GroupType::BranchReset::BEGIN@33 which was called: # once (10µs+6µs) by PPIx::Regexp::Tokenizer::BEGIN@27 at line 33
use warnings;
# spent 16µs making 1 call to PPIx::Regexp::Token::GroupType::BranchReset::BEGIN@33 # spent 6µs making 1 call to warnings::import
34
35271µs2157µs
# spent 83µs (9+74) within PPIx::Regexp::Token::GroupType::BranchReset::BEGIN@35 which was called: # once (9µs+74µs) by PPIx::Regexp::Tokenizer::BEGIN@27 at line 35
use base qw{ PPIx::Regexp::Token::GroupType };
# spent 83µs making 1 call to PPIx::Regexp::Token::GroupType::BranchReset::BEGIN@35 # spent 74µs making 1 call to base::import
36
371800nsour $VERSION = '0.036';
38
39# Return true if the token can be quantified, and false otherwise
40# sub can_be_quantified { return };
41
42sub perl_version_introduced {
43 return '5.009005';
44}
45
46sub __defining_string {
47 return '?|';
48}
49
5013µs1;
51
52__END__