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
|
|
27798
|
use strict; |
|
10
|
|
|
|
|
83
|
|
|
10
|
|
|
|
|
319
|
|
7
|
10
|
|
|
10
|
|
50
|
use warnings qw(FATAL all NONFATAL misc); |
|
10
|
|
|
|
|
19
|
|
|
10
|
|
|
|
|
641
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.0.10'; |
9
|
10
|
|
|
10
|
|
54
|
use File::Basename; |
|
10
|
|
|
|
|
27
|
|
|
10
|
|
|
|
|
991
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
BEGIN { |
12
|
10
|
50
|
|
10
|
|
1347
|
unless (caller(2)) { |
13
|
0
|
|
|
|
|
0
|
unshift @INC, dirname(__PACKAGE__); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
10
|
|
|
10
|
|
6842
|
use YATT::Util qw(escape decode_args attr named_attr); |
|
10
|
|
|
|
|
144
|
|
|
10
|
|
|
|
|
1536
|
|
18
|
10
|
|
|
10
|
|
6002
|
use YATT::Util::Finalizer qw(capture); |
|
10
|
|
|
|
|
25
|
|
|
10
|
|
|
|
|
1716
|
|
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
|
|
|
|
455
|
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__ |