line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
10
|
|
|
10
|
|
65
|
use strict; use warnings; |
|
10
|
|
|
10
|
|
18
|
|
|
10
|
|
|
|
|
272
|
|
|
10
|
|
|
|
|
47
|
|
|
10
|
|
|
|
|
15
|
|
|
10
|
|
|
|
|
333
|
|
2
|
|
|
|
|
|
|
package YAMLScript::Main; |
3
|
|
|
|
|
|
|
|
4
|
10
|
|
|
10
|
|
3790
|
use YAMLScript::Common; |
|
10
|
|
|
|
|
27
|
|
|
10
|
|
|
|
|
1987
|
|
5
|
10
|
|
|
10
|
|
4762
|
use YAMLScript::Reader; |
|
10
|
|
|
|
|
33
|
|
|
10
|
|
|
|
|
491
|
|
6
|
10
|
|
|
10
|
|
4545
|
use YAMLScript::RT; |
|
10
|
|
|
|
|
32
|
|
|
10
|
|
|
|
|
317
|
|
7
|
|
|
|
|
|
|
|
8
|
10
|
|
|
10
|
|
59
|
use base 'Lingy::Main'; |
|
10
|
|
|
|
|
25
|
|
|
10
|
|
|
|
|
4327
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub do_version { |
11
|
0
|
|
|
0
|
0
|
|
RT->rep(' |
12
|
|
|
|
|
|
|
(println |
13
|
|
|
|
|
|
|
(str |
14
|
|
|
|
|
|
|
"YAMLScript [" |
15
|
|
|
|
|
|
|
*HOST* |
16
|
|
|
|
|
|
|
"] version " |
17
|
|
|
|
|
|
|
(yamlscript-version))) |
18
|
|
|
|
|
|
|
'); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub do_eval { |
22
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
23
|
0
|
|
|
|
|
|
$YAMLScript::Reader::read_ys = 1; |
24
|
0
|
|
|
|
|
|
$self->SUPER::do_eval(@_); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub do_repl { |
28
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
29
|
0
|
|
|
|
|
|
$YAMLScript::Reader::read_ys = 1; |
30
|
0
|
|
|
|
|
|
$self->SUPER::do_repl(@_); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |