line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl -w |
2
|
|
|
|
|
|
|
# -*- mode: perl; coding: utf-8 -*- |
3
|
|
|
|
|
|
|
package YATT; |
4
|
|
|
|
|
|
|
require 5.007_001; # For sprintf reordering. |
5
|
|
|
|
|
|
|
|
6
|
10
|
|
|
10
|
|
17150
|
use strict; |
|
10
|
|
|
|
|
67
|
|
|
10
|
|
|
|
|
291
|
|
7
|
10
|
|
|
10
|
|
32
|
use warnings FATAL => qw(all); |
|
10
|
|
|
|
|
11
|
|
|
10
|
|
|
|
|
460
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.0_9'; |
9
|
10
|
|
|
10
|
|
39
|
use File::Basename; |
|
10
|
|
|
|
|
10
|
|
|
10
|
|
|
|
|
664
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
BEGIN { |
12
|
10
|
50
|
|
10
|
|
182
|
unless (caller(2)) { |
13
|
0
|
|
|
|
|
0
|
unshift @INC, dirname(__PACKAGE__); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
10
|
|
|
10
|
|
2865
|
use YATT::Util qw(escape decode_args attr named_attr); |
|
10
|
|
|
|
|
82
|
|
|
10
|
|
|
|
|
976
|
|
18
|
10
|
|
|
10
|
|
2917
|
use YATT::Util::Finalizer qw(capture); |
|
10
|
|
|
|
|
15
|
|
|
10
|
|
|
|
|
1019
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# for user |
21
|
5
|
|
|
5
|
0
|
11
|
sub breakpoint {} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
# for YATT itself. |
24
|
17
|
|
|
17
|
0
|
21
|
sub break_rc {} |
25
|
17
|
|
|
17
|
0
|
30
|
sub break_after_rc {} |
26
|
141
|
|
|
141
|
0
|
236
|
sub break_handler {} |
27
|
0
|
|
|
0
|
0
|
0
|
sub break_dispatch {} |
28
|
0
|
|
|
0
|
0
|
0
|
sub break_run {} |
29
|
|
|
|
|
|
|
|
30
|
146
|
|
|
146
|
0
|
842
|
sub break_translator {} |
31
|
4
|
|
|
4
|
0
|
359
|
sub break_parser {} |
32
|
4
|
|
|
4
|
0
|
8
|
sub break_cursor {} |
33
|
|
|
|
|
|
|
|
34
|
443
|
|
|
443
|
0
|
525
|
sub break_eval {} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
unless (caller) { |
37
|
|
|
|
|
|
|
# XXX: To be written. It will become general purpose command dispatcher. |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
1; |
41
|
|
|
|
|
|
|
__END__ |