line |
stmt |
bran |
cond |
sub |
pod |
time |
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 is a |
14
|
|
|
|
|
|
|
L. |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
C has no descendants. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 DESCRIPTION |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
This class represents an independent subexpression which must (says |
21
|
|
|
|
|
|
|
F) 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
|
9
|
|
|
9
|
|
65
|
use strict; |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
283
|
|
33
|
9
|
|
|
9
|
|
44
|
use warnings; |
|
9
|
|
|
|
|
19
|
|
|
9
|
|
|
|
|
254
|
|
34
|
|
|
|
|
|
|
|
35
|
9
|
|
|
9
|
|
47
|
use base qw{ PPIx::Regexp::Structure }; |
|
9
|
|
|
|
|
17
|
|
|
9
|
|
|
|
|
760
|
|
36
|
|
|
|
|
|
|
|
37
|
9
|
|
|
9
|
|
59
|
use PPIx::Regexp::Constant qw{ @CARP_NOT }; |
|
9
|
|
|
|
|
16
|
|
|
9
|
|
|
|
|
1005
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
our $VERSION = '0.087'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__END__ |