line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Do not edit this file - Generated by Perlito6 9.0 |
2
|
31
|
|
|
31
|
|
210
|
use v5; |
|
31
|
|
|
|
|
61
|
|
3
|
31
|
|
|
31
|
|
83
|
use utf8; |
|
31
|
|
|
|
|
26
|
|
|
31
|
|
|
|
|
98
|
|
4
|
31
|
|
|
31
|
|
454
|
use strict; |
|
31
|
|
|
|
|
25
|
|
|
31
|
|
|
|
|
562
|
|
5
|
31
|
|
|
31
|
|
82
|
use warnings; |
|
31
|
|
|
|
|
27
|
|
|
31
|
|
|
|
|
755
|
|
6
|
31
|
|
|
31
|
|
77
|
no warnings ('redefine', 'once', 'void', 'uninitialized', 'misc', 'recursion'); |
|
31
|
|
|
|
|
27
|
|
|
31
|
|
|
|
|
814
|
|
7
|
31
|
|
|
31
|
|
96
|
use Perlito6::Perl5::Runtime; |
|
31
|
|
|
|
|
20
|
|
|
31
|
|
|
|
|
431
|
|
8
|
31
|
|
|
31
|
|
73
|
use Perlito6::Perl5::Prelude; |
|
31
|
|
|
|
|
602
|
|
|
31
|
|
|
|
|
37809
|
|
9
|
|
|
|
|
|
|
our $MATCH = Perlito6::Match->new(); |
10
|
|
|
|
|
|
|
{ |
11
|
|
|
|
|
|
|
package GLOBAL; |
12
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "GLOBAL" } |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# use v6 |
15
|
|
|
|
|
|
|
; |
16
|
|
|
|
|
|
|
{ |
17
|
|
|
|
|
|
|
package CompUnit; |
18
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "CompUnit" } |
19
|
0
|
|
|
0
|
|
0
|
sub name { $_[0]->{name} }; |
20
|
0
|
|
|
0
|
|
0
|
sub body { $_[0]->{body} } |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
; |
24
|
|
|
|
|
|
|
{ |
25
|
|
|
|
|
|
|
package Val::Int; |
26
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Val::Int" } |
27
|
0
|
|
|
0
|
|
0
|
sub int { $_[0]->{int} } |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
; |
31
|
|
|
|
|
|
|
{ |
32
|
|
|
|
|
|
|
package Val::Bit; |
33
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Val::Bit" } |
34
|
0
|
|
|
0
|
|
0
|
sub bit { $_[0]->{bit} } |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
; |
38
|
|
|
|
|
|
|
{ |
39
|
|
|
|
|
|
|
package Val::Num; |
40
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Val::Num" } |
41
|
0
|
|
|
0
|
|
0
|
sub num { $_[0]->{num} } |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
; |
45
|
|
|
|
|
|
|
{ |
46
|
|
|
|
|
|
|
package Val::Buf; |
47
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Val::Buf" } |
48
|
0
|
|
|
0
|
|
0
|
sub buf { $_[0]->{buf} } |
49
|
|
|
|
|
|
|
} |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
; |
52
|
|
|
|
|
|
|
{ |
53
|
|
|
|
|
|
|
package Lit::Block; |
54
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Lit::Block" } |
55
|
74
|
|
|
74
|
|
273
|
sub sig { $_[0]->{sig} }; |
56
|
356
|
|
|
356
|
|
889
|
sub stmts { $_[0]->{stmts} } |
57
|
|
|
|
|
|
|
} |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
; |
60
|
|
|
|
|
|
|
{ |
61
|
|
|
|
|
|
|
package Lit::Array; |
62
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Lit::Array" } |
63
|
0
|
|
|
0
|
|
0
|
sub array1 { $_[0]->{array1} } |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
; |
67
|
|
|
|
|
|
|
{ |
68
|
|
|
|
|
|
|
package Lit::Hash; |
69
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Lit::Hash" } |
70
|
0
|
|
|
0
|
|
0
|
sub hash1 { $_[0]->{hash1} } |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
; |
74
|
|
|
|
|
|
|
{ |
75
|
|
|
|
|
|
|
package Index; |
76
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Index" } |
77
|
0
|
|
|
0
|
|
0
|
sub obj { $_[0]->{obj} }; |
78
|
0
|
|
|
0
|
|
0
|
sub index_exp { $_[0]->{index_exp} } |
79
|
|
|
|
|
|
|
} |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
; |
82
|
|
|
|
|
|
|
{ |
83
|
|
|
|
|
|
|
package Lookup; |
84
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Lookup" } |
85
|
0
|
|
|
0
|
|
0
|
sub obj { $_[0]->{obj} }; |
86
|
0
|
|
|
0
|
|
0
|
sub index_exp { $_[0]->{index_exp} } |
87
|
|
|
|
|
|
|
} |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
; |
90
|
|
|
|
|
|
|
{ |
91
|
|
|
|
|
|
|
package Var; |
92
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Var" } |
93
|
505
|
|
|
505
|
|
1431
|
sub sigil { $_[0]->{sigil} }; |
94
|
0
|
|
|
0
|
|
0
|
sub twigil { $_[0]->{twigil} }; |
95
|
0
|
|
|
0
|
|
0
|
sub namespace { $_[0]->{namespace} }; |
96
|
0
|
|
|
0
|
|
0
|
sub name { $_[0]->{name} } |
97
|
|
|
|
|
|
|
} |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
; |
100
|
|
|
|
|
|
|
{ |
101
|
|
|
|
|
|
|
package Proto; |
102
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Proto" } |
103
|
0
|
|
|
0
|
|
0
|
sub name { $_[0]->{name} } |
104
|
|
|
|
|
|
|
} |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
; |
107
|
|
|
|
|
|
|
{ |
108
|
|
|
|
|
|
|
package Call; |
109
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Call" } |
110
|
27
|
|
|
27
|
|
67
|
sub invocant { $_[0]->{invocant} }; |
111
|
0
|
|
|
0
|
|
0
|
sub hyper { $_[0]->{hyper} }; |
112
|
27
|
|
|
27
|
|
83
|
sub method { $_[0]->{method} }; |
113
|
0
|
|
|
0
|
|
0
|
sub arguments { $_[0]->{arguments} } |
114
|
|
|
|
|
|
|
} |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
; |
117
|
|
|
|
|
|
|
{ |
118
|
|
|
|
|
|
|
package Apply; |
119
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Apply" } |
120
|
541
|
|
|
541
|
|
1839
|
sub code { $_[0]->{code} }; |
121
|
248
|
|
|
248
|
|
578
|
sub arguments { $_[0]->{arguments} }; |
122
|
0
|
|
|
0
|
|
0
|
sub namespace { $_[0]->{namespace} } |
123
|
|
|
|
|
|
|
} |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
; |
126
|
|
|
|
|
|
|
{ |
127
|
|
|
|
|
|
|
package If; |
128
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "If" } |
129
|
0
|
|
|
0
|
|
0
|
sub cond { $_[0]->{cond} }; |
130
|
0
|
|
|
0
|
|
0
|
sub body { $_[0]->{body} }; |
131
|
0
|
|
|
0
|
|
0
|
sub otherwise { $_[0]->{otherwise} } |
132
|
|
|
|
|
|
|
} |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
; |
135
|
|
|
|
|
|
|
{ |
136
|
|
|
|
|
|
|
package While; |
137
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "While" } |
138
|
0
|
|
|
0
|
|
0
|
sub init { $_[0]->{init} }; |
139
|
0
|
|
|
0
|
|
0
|
sub cond { $_[0]->{cond} }; |
140
|
0
|
|
|
0
|
|
0
|
sub continue { $_[0]->{continue} }; |
141
|
0
|
|
|
0
|
|
0
|
sub body { $_[0]->{body} } |
142
|
|
|
|
|
|
|
} |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
; |
145
|
|
|
|
|
|
|
{ |
146
|
|
|
|
|
|
|
package For; |
147
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "For" } |
148
|
0
|
|
|
0
|
|
0
|
sub cond { $_[0]->{cond} }; |
149
|
0
|
|
|
0
|
|
0
|
sub body { $_[0]->{body} } |
150
|
|
|
|
|
|
|
} |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
; |
153
|
|
|
|
|
|
|
{ |
154
|
|
|
|
|
|
|
package Decl; |
155
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Decl" } |
156
|
0
|
|
|
0
|
|
0
|
sub decl { $_[0]->{decl} }; |
157
|
0
|
|
|
0
|
|
0
|
sub type { $_[0]->{type} }; |
158
|
122
|
|
|
122
|
|
260
|
sub var { $_[0]->{var} } |
159
|
|
|
|
|
|
|
} |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
; |
162
|
|
|
|
|
|
|
{ |
163
|
|
|
|
|
|
|
package Sig; |
164
|
24
|
|
|
24
|
|
25
|
sub new { shift; bless { @_ }, "Sig" } |
|
24
|
|
|
|
|
197
|
|
165
|
12
|
|
|
12
|
|
25
|
sub invocant { $_[0]->{invocant} }; |
166
|
24
|
|
|
24
|
|
36
|
sub positional { $_[0]->{positional} }; |
167
|
0
|
|
|
0
|
|
0
|
sub named { $_[0]->{named} } |
168
|
|
|
|
|
|
|
} |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
; |
171
|
|
|
|
|
|
|
{ |
172
|
|
|
|
|
|
|
package Method; |
173
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Method" } |
174
|
0
|
|
|
0
|
|
0
|
sub name { $_[0]->{name} }; |
175
|
0
|
|
|
0
|
|
0
|
sub sig { $_[0]->{sig} }; |
176
|
0
|
|
|
0
|
|
0
|
sub block { $_[0]->{block} } |
177
|
|
|
|
|
|
|
} |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
; |
180
|
|
|
|
|
|
|
{ |
181
|
|
|
|
|
|
|
package Sub; |
182
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Sub" } |
183
|
0
|
|
|
0
|
|
0
|
sub name { $_[0]->{name} }; |
184
|
0
|
|
|
0
|
|
0
|
sub sig { $_[0]->{sig} }; |
185
|
0
|
|
|
0
|
|
0
|
sub block { $_[0]->{block} } |
186
|
|
|
|
|
|
|
} |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
; |
189
|
|
|
|
|
|
|
{ |
190
|
|
|
|
|
|
|
package Do; |
191
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Do" } |
192
|
65
|
|
|
65
|
|
106
|
sub block { $_[0]->{block} } |
193
|
|
|
|
|
|
|
} |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
; |
196
|
|
|
|
|
|
|
{ |
197
|
|
|
|
|
|
|
package Use; |
198
|
|
|
|
|
|
|
sub new { shift; bless { @_ }, "Use" } |
199
|
0
|
|
|
0
|
|
|
sub mod { $_[0]->{mod} } |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
} |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
1; |