line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package XML::SRS::DS::List; |
2
|
|
|
|
|
|
|
BEGIN { |
3
|
1
|
|
|
1
|
|
9167
|
$XML::SRS::DS::List::VERSION = '0.09'; |
4
|
|
|
|
|
|
|
} |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
593
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
use PRANG::Graph; |
8
|
|
|
|
|
|
|
use XML::SRS::DS; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
use Moose::Util::TypeConstraints; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use XML::SRS::Server; |
13
|
|
|
|
|
|
|
has_element 'ds_list' => |
14
|
|
|
|
|
|
|
is => "rw", |
15
|
|
|
|
|
|
|
isa => "ArrayRef[XML::SRS::DS]", |
16
|
|
|
|
|
|
|
xml_nodeName => "DS", |
17
|
|
|
|
|
|
|
xml_required => 0, |
18
|
|
|
|
|
|
|
; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
coerce __PACKAGE__ |
21
|
|
|
|
|
|
|
=> from 'ArrayRef[XML::SRS::DS]' |
22
|
|
|
|
|
|
|
=> via { |
23
|
|
|
|
|
|
|
__PACKAGE__->new( |
24
|
|
|
|
|
|
|
ds_list => $_, |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
}; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
coerce __PACKAGE__ |
29
|
|
|
|
|
|
|
=> from 'ArrayRef[HashRef]' |
30
|
|
|
|
|
|
|
=> via { |
31
|
|
|
|
|
|
|
__PACKAGE__->new( |
32
|
|
|
|
|
|
|
ds_list => [ |
33
|
|
|
|
|
|
|
map { |
34
|
|
|
|
|
|
|
XML::SRS::DS->new($_); |
35
|
|
|
|
|
|
|
} @$_ |
36
|
|
|
|
|
|
|
], |
37
|
|
|
|
|
|
|
); |
38
|
|
|
|
|
|
|
}; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
with 'XML::SRS::Node'; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |