Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPIx/Regexp/Structure/Subexpression.pm |
Statements | Executed 8 statements in 76µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 14µs | 26µs | BEGIN@32 | PPIx::Regexp::Structure::Subexpression::
1 | 1 | 1 | 8µs | 12µs | BEGIN@33 | PPIx::Regexp::Structure::Subexpression::
1 | 1 | 1 | 7µs | 59µs | BEGIN@35 | PPIx::Regexp::Structure::Subexpression::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | =head1 NAME | ||||
2 | |||||
3 | PPIx::Regexp::Structure::Subexpression - Represent an independent subexpression | ||||
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 | |||||
13 | C<PPIx::Regexp::Structure::Subexpression> is a | ||||
14 | L<PPIx::Regexp::Structure|PPIx::Regexp::Structure>. | ||||
15 | |||||
16 | C<PPIx::Regexp::Structure::Subexpression> has no descendants. | ||||
17 | |||||
18 | =head1 DESCRIPTION | ||||
19 | |||||
20 | This class represents an independent subexpression which must (says | ||||
21 | F<perlre>) match at the current location. | ||||
22 | |||||
23 | =head1 METHODS | ||||
24 | |||||
25 | This class provides no public methods beyond those provided by its | ||||
26 | superclass. | ||||
27 | |||||
28 | =cut | ||||
29 | |||||
30 | package PPIx::Regexp::Structure::Subexpression; | ||||
31 | |||||
32 | 2 | 24µs | 2 | 37µs | # spent 26µs (14+12) within PPIx::Regexp::Structure::Subexpression::BEGIN@32 which was called:
# once (14µs+12µs) by PPIx::Regexp::Lexer::BEGIN@50 at line 32 # spent 26µs making 1 call to PPIx::Regexp::Structure::Subexpression::BEGIN@32
# spent 12µs making 1 call to strict::import |
33 | 2 | 20µs | 2 | 16µs | # spent 12µs (8+4) within PPIx::Regexp::Structure::Subexpression::BEGIN@33 which was called:
# once (8µs+4µs) by PPIx::Regexp::Lexer::BEGIN@50 at line 33 # spent 12µs making 1 call to PPIx::Regexp::Structure::Subexpression::BEGIN@33
# spent 4µs making 1 call to warnings::import |
34 | |||||
35 | 2 | 29µs | 2 | 111µs | # spent 59µs (7+52) within PPIx::Regexp::Structure::Subexpression::BEGIN@35 which was called:
# once (7µs+52µs) by PPIx::Regexp::Lexer::BEGIN@50 at line 35 # spent 59µs making 1 call to PPIx::Regexp::Structure::Subexpression::BEGIN@35
# spent 52µs making 1 call to base::import |
36 | |||||
37 | 1 | 500ns | our $VERSION = '0.036'; | ||
38 | |||||
39 | 1 | 2µs | 1; | ||
40 | |||||
41 | __END__ |