| Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPIx/Regexp/Token/Delimiter.pm |
| Statements | Executed 8 statements in 114µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 20µs | 43µs | PPIx::Regexp::Token::Delimiter::BEGIN@33 |
| 1 | 1 | 1 | 11µs | 20µs | PPIx::Regexp::Token::Delimiter::BEGIN@34 |
| 1 | 1 | 1 | 10µs | 4.28ms | PPIx::Regexp::Token::Delimiter::BEGIN@36 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | =head1 NAME | ||||
| 2 | |||||
| 3 | PPIx::Regexp::Token::Delimiter - Represent the delimiters of the regular expression | ||||
| 4 | |||||
| 5 | =head1 SYNOPSIS | ||||
| 6 | |||||
| 7 | use PPIx::Regexp::Dumper; | ||||
| 8 | PPIx::Regexp::Dumper->new( 'qr{foo}smx' ) | ||||
| 9 | ->print(); | ||||
| 10 | |||||
| 11 | =head1 INHERITANCE | ||||
| 12 | |||||
| 13 | C<PPIx::Regexp::Token::Delimiter> is a | ||||
| 14 | L<PPIx::Regexp::Token::Structure|PPIx::Regexp::Token::Structure>. | ||||
| 15 | |||||
| 16 | C<PPIx::Regexp::Token::Delimiter> has no descendants. | ||||
| 17 | |||||
| 18 | =head1 DESCRIPTION | ||||
| 19 | |||||
| 20 | This token represents the delimiters of the regular expression. Since | ||||
| 21 | the tokenizer has to figure out where these are anyway, this class is | ||||
| 22 | used to give the lexer a hint about what is going on. | ||||
| 23 | |||||
| 24 | =head1 METHODS | ||||
| 25 | |||||
| 26 | This class provides no public methods beyond those provided by its | ||||
| 27 | superclass. | ||||
| 28 | |||||
| 29 | =cut | ||||
| 30 | |||||
| 31 | package PPIx::Regexp::Token::Delimiter; | ||||
| 32 | |||||
| 33 | 2 | 34µs | 2 | 65µs | # spent 43µs (20+22) within PPIx::Regexp::Token::Delimiter::BEGIN@33 which was called:
# once (20µs+22µs) by PPIx::Regexp::Tokenizer::BEGIN@24 at line 33 # spent 43µs making 1 call to PPIx::Regexp::Token::Delimiter::BEGIN@33
# spent 22µs making 1 call to strict::import |
| 34 | 2 | 35µs | 2 | 28µs | # spent 20µs (11+8) within PPIx::Regexp::Token::Delimiter::BEGIN@34 which was called:
# once (11µs+8µs) by PPIx::Regexp::Tokenizer::BEGIN@24 at line 34 # spent 20µs making 1 call to PPIx::Regexp::Token::Delimiter::BEGIN@34
# spent 8µs making 1 call to warnings::import |
| 35 | |||||
| 36 | 2 | 41µs | 2 | 8.54ms | # spent 4.28ms (10µs+4.27) within PPIx::Regexp::Token::Delimiter::BEGIN@36 which was called:
# once (10µs+4.27ms) by PPIx::Regexp::Tokenizer::BEGIN@24 at line 36 # spent 4.28ms making 1 call to PPIx::Regexp::Token::Delimiter::BEGIN@36
# spent 4.27ms making 1 call to base::import |
| 37 | |||||
| 38 | 1 | 700ns | our $VERSION = '0.036'; | ||
| 39 | |||||
| 40 | # Return true if the token can be quantified, and false otherwise | ||||
| 41 | # sub can_be_quantified { return }; | ||||
| 42 | |||||
| 43 | 1 | 3µs | 1; | ||
| 44 | |||||
| 45 | __END__ |