line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Text::MicroMason::CatchErrors; |
2
|
|
|
|
|
|
|
|
3
|
5
|
|
|
5
|
|
2093
|
use strict; |
|
5
|
|
|
|
|
5
|
|
|
5
|
|
|
|
|
112
|
|
4
|
5
|
|
|
5
|
|
13
|
use Carp; |
|
5
|
|
|
|
|
3
|
|
|
5
|
|
|
|
|
600
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
###################################################################### |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# sub defaults { |
9
|
|
|
|
|
|
|
# (shift)->NEXT('assembler_rules'), error_string => 1 |
10
|
|
|
|
|
|
|
# } |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub compile { |
13
|
26
|
|
|
26
|
1
|
391
|
my $result = eval { local $SIG{__DIE__}; (shift)->NEXT('compile', @_) }; |
|
26
|
|
|
|
|
62
|
|
|
26
|
|
|
|
|
63
|
|
14
|
26
|
50
|
|
|
|
422
|
wantarray ? ($result, $@) : $result; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub execute { |
18
|
24
|
|
|
24
|
1
|
1588
|
my $result = eval { local $SIG{__DIE__}; (shift)->NEXT('execute', @_) }; |
|
24
|
|
|
|
|
56
|
|
|
24
|
|
|
|
|
72
|
|
19
|
24
|
100
|
|
|
|
347
|
wantarray ? ($result, $@) : $result; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
###################################################################### |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |