line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Language::P::Intermediate::Code; |
2
|
|
|
|
|
|
|
|
3
|
37
|
|
|
37
|
|
201
|
use strict; |
|
37
|
|
|
|
|
77
|
|
|
37
|
|
|
|
|
5853
|
|
4
|
37
|
|
|
37
|
|
214
|
use warnings; |
|
37
|
|
|
|
|
79
|
|
|
37
|
|
|
|
|
1062
|
|
5
|
37
|
|
|
37
|
|
200
|
use base qw(Class::Accessor::Fast); |
|
37
|
|
|
|
|
72
|
|
|
37
|
|
|
|
|
13898
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
__PACKAGE__->mk_ro_accessors( qw(type name basic_blocks outer inner |
8
|
|
|
|
|
|
|
lexicals) ); |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
11
|
129
|
|
|
129
|
1
|
2301
|
my( $class, $args ) = @_; |
12
|
129
|
|
|
|
|
1045
|
my $self = $class->SUPER::new( $args ); |
13
|
|
|
|
|
|
|
|
14
|
129
|
|
|
|
|
2081
|
$self->{inner} = []; |
15
|
|
|
|
|
|
|
|
16
|
129
|
|
|
|
|
535
|
return $self; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
51
|
|
|
51
|
0
|
2022
|
sub is_main { $_[0]->{type} == 1 } |
20
|
46
|
|
|
46
|
0
|
196
|
sub is_sub { $_[0]->{type} == 2 } |
21
|
46
|
|
|
46
|
0
|
154
|
sub is_regex { $_[0]->{type} == 3 } |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |