| Filename | /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/site_perl/5.18.2/PPIx/Regexp/Node/Range.pm |
| Statements | Executed 8 statements in 72µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 11µs | 23µs | PPIx::Regexp::Node::Range::BEGIN@33 |
| 1 | 1 | 1 | 7µs | 12µs | PPIx::Regexp::Node::Range::BEGIN@34 |
| 1 | 1 | 1 | 7µs | 58µs | PPIx::Regexp::Node::Range::BEGIN@36 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | =head1 NAME | ||||
| 2 | |||||
| 3 | PPIx::Regexp::Node::Range - Represent a character range in a character class | ||||
| 4 | |||||
| 5 | =head1 SYNOPSIS | ||||
| 6 | |||||
| 7 | use PPIx::Regexp::Dumper; | ||||
| 8 | PPIx::Regexp::Dumper->new( 'qr{[a-z]}smx' ) | ||||
| 9 | ->print(); | ||||
| 10 | |||||
| 11 | =head1 INHERITANCE | ||||
| 12 | |||||
| 13 | C<PPIx::Regexp::Node::Range> is a | ||||
| 14 | L<PPIx::Regexp::Node|PPIx::Regexp::Node>. | ||||
| 15 | |||||
| 16 | C<PPIx::Regexp::Node::Range> has no descendants. | ||||
| 17 | |||||
| 18 | =head1 DESCRIPTION | ||||
| 19 | |||||
| 20 | This class represents a character range in a character class. It is a | ||||
| 21 | node rather than a structure because there are no delimiters. The | ||||
| 22 | content is simply the two literals with the '-' operator between them. | ||||
| 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::Node::Range; | ||||
| 32 | |||||
| 33 | 2 | 20µs | 2 | 35µs | # spent 23µs (11+12) within PPIx::Regexp::Node::Range::BEGIN@33 which was called:
# once (11µs+12µs) by PPIx::Regexp::Lexer::BEGIN@43 at line 33 # spent 23µs making 1 call to PPIx::Regexp::Node::Range::BEGIN@33
# spent 12µs making 1 call to strict::import |
| 34 | 2 | 20µs | 2 | 16µs | # spent 12µs (7+4) within PPIx::Regexp::Node::Range::BEGIN@34 which was called:
# once (7µs+4µs) by PPIx::Regexp::Lexer::BEGIN@43 at line 34 # spent 12µs making 1 call to PPIx::Regexp::Node::Range::BEGIN@34
# spent 4µs making 1 call to warnings::import |
| 35 | |||||
| 36 | 2 | 29µs | 2 | 109µs | # spent 58µs (7+51) within PPIx::Regexp::Node::Range::BEGIN@36 which was called:
# once (7µs+51µs) by PPIx::Regexp::Lexer::BEGIN@43 at line 36 # spent 58µs making 1 call to PPIx::Regexp::Node::Range::BEGIN@36
# spent 51µs making 1 call to base::import |
| 37 | |||||
| 38 | 1 | 500ns | our $VERSION = '0.036'; | ||
| 39 | |||||
| 40 | 1 | 2µs | 1; | ||
| 41 | |||||
| 42 | __END__ |