line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=head1 NAME |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
PPIx::Regexp::Token::GroupType::Subexpression - Represent an independent subexpression marker |
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 the '?>' after a left parenthesis that identifies |
21
|
|
|
|
|
|
|
an independent subexpression. |
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::Token::GroupType::Subexpression; |
31
|
|
|
|
|
|
|
|
32
|
9
|
|
|
9
|
|
62
|
use strict; |
|
9
|
|
|
|
|
21
|
|
|
9
|
|
|
|
|
275
|
|
33
|
9
|
|
|
9
|
|
43
|
use warnings; |
|
9
|
|
|
|
|
20
|
|
|
9
|
|
|
|
|
240
|
|
34
|
|
|
|
|
|
|
|
35
|
9
|
|
|
9
|
|
45
|
use base qw{ PPIx::Regexp::Token::GroupType }; |
|
9
|
|
|
|
|
16
|
|
|
9
|
|
|
|
|
730
|
|
36
|
|
|
|
|
|
|
|
37
|
9
|
|
|
9
|
|
62
|
use PPIx::Regexp::Constant qw{ @CARP_NOT }; |
|
9
|
|
|
|
|
22
|
|
|
9
|
|
|
|
|
841
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
our $VERSION = '0.087'; |
40
|
|
|
|
|
|
|
|
41
|
9
|
|
|
9
|
|
66
|
use constant EXPL => 'Match subexpression without backtracking'; |
|
9
|
|
|
|
|
21
|
|
|
9
|
|
|
|
|
612
|
|
42
|
|
|
|
|
|
|
|
43
|
9
|
|
|
|
|
606
|
use constant DEF => { |
44
|
|
|
|
|
|
|
'?>' => { |
45
|
|
|
|
|
|
|
expl => EXPL, |
46
|
|
|
|
|
|
|
intro => '5.005', |
47
|
|
|
|
|
|
|
}, |
48
|
|
|
|
|
|
|
'*atomic:' => { |
49
|
|
|
|
|
|
|
expl => EXPL, |
50
|
|
|
|
|
|
|
intro =>'5.027009', |
51
|
|
|
|
|
|
|
}, |
52
|
9
|
|
|
9
|
|
64
|
}; |
|
9
|
|
|
|
|
18
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
__PACKAGE__->__setup_class(); |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
1; |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
__END__ |