| Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPIx/Regexp/Structure/Assertion.pm |
| Statements | Executed 8 statements in 75µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 13µs | 25µs | PPIx::Regexp::Structure::Assertion::BEGIN@32 |
| 1 | 1 | 1 | 7µs | 12µs | PPIx::Regexp::Structure::Assertion::BEGIN@33 |
| 1 | 1 | 1 | 7µs | 61µs | PPIx::Regexp::Structure::Assertion::BEGIN@35 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | =head1 NAME | ||||
| 2 | |||||
| 3 | PPIx::Regexp::Structure::Assertion - Represent a parenthesized assertion | ||||
| 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::Assertion> is a | ||||
| 14 | L<PPIx::Regexp::Structure|PPIx::Regexp::Structure>. | ||||
| 15 | |||||
| 16 | C<PPIx::Regexp::Structure::Assertion> has no descendants. | ||||
| 17 | |||||
| 18 | =head1 DESCRIPTION | ||||
| 19 | |||||
| 20 | This class represents one of the parenthesized assertions, either look | ||||
| 21 | ahead or look behind, and either positive or negative. | ||||
| 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::Assertion; | ||||
| 31 | |||||
| 32 | 2 | 20µs | 2 | 38µs | # spent 25µs (13+13) within PPIx::Regexp::Structure::Assertion::BEGIN@32 which was called:
# once (13µs+13µs) by PPIx::Regexp::Lexer::BEGIN@45 at line 32 # spent 25µs making 1 call to PPIx::Regexp::Structure::Assertion::BEGIN@32
# spent 13µs making 1 call to strict::import |
| 33 | 2 | 21µs | 2 | 17µs | # spent 12µs (7+5) within PPIx::Regexp::Structure::Assertion::BEGIN@33 which was called:
# once (7µs+5µs) by PPIx::Regexp::Lexer::BEGIN@45 at line 33 # spent 12µs making 1 call to PPIx::Regexp::Structure::Assertion::BEGIN@33
# spent 5µs making 1 call to warnings::import |
| 34 | |||||
| 35 | 2 | 31µs | 2 | 116µs | # spent 61µs (7+54) within PPIx::Regexp::Structure::Assertion::BEGIN@35 which was called:
# once (7µs+54µs) by PPIx::Regexp::Lexer::BEGIN@45 at line 35 # spent 61µs making 1 call to PPIx::Regexp::Structure::Assertion::BEGIN@35
# spent 54µs making 1 call to base::import |
| 36 | |||||
| 37 | 1 | 500ns | our $VERSION = '0.036'; | ||
| 38 | |||||
| 39 | 1 | 2µs | 1; | ||
| 40 | |||||
| 41 | __END__ |