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
|
|
30812
|
use strict; |
|
10
|
|
|
|
|
85
|
|
|
10
|
|
|
|
|
305
|
|
7
|
10
|
|
|
10
|
|
54
|
use warnings qw(FATAL all NONFATAL misc); |
|
10
|
|
|
|
|
19
|
|
|
10
|
|
|
|
|
630
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.0.9'; |
9
|
10
|
|
|
10
|
|
48
|
use File::Basename; |
|
10
|
|
|
|
|
28
|
|
|
10
|
|
|
|
|
962
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
BEGIN { |
12
|
10
|
50
|
|
10
|
|
317
|
unless (caller(2)) { |
13
|
0
|
|
|
|
|
0
|
unshift @INC, dirname(__PACKAGE__); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
10
|
|
|
10
|
|
7722
|
use YATT::Util qw(escape decode_args attr named_attr); |
|
10
|
|
|
|
|
141
|
|
|
10
|
|
|
|
|
1498
|
|
18
|
10
|
|
|
10
|
|
5686
|
use YATT::Util::Finalizer qw(capture); |
|
10
|
|
|
|
|
26
|
|
|
10
|
|
|
|
|
2616
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
# for user |
21
|
|
|
|
5
|
0
|
|
sub breakpoint {} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
# for YATT itself. |
24
|
|
|
|
17
|
0
|
|
sub break_rc {} |
25
|
|
|
|
17
|
0
|
|
sub break_after_rc {} |
26
|
|
|
|
141
|
0
|
|
sub break_handler {} |
27
|
|
|
|
0
|
0
|
|
sub break_dispatch {} |
28
|
|
|
|
0
|
0
|
|
sub break_run {} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
146
|
0
|
|
sub break_translator {} |
31
|
|
|
|
4
|
0
|
|
sub break_parser {} |
32
|
|
|
|
4
|
0
|
|
sub break_cursor {} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
443
|
0
|
|
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__ |