line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
57
|
use 5.10.0; |
|
2
|
|
|
|
|
5
|
|
2
|
2
|
|
|
2
|
|
7
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
32
|
|
3
|
2
|
|
|
2
|
|
6
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
86
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Map::Metro::Types; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: Type library for Map::Metro |
8
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY |
9
|
|
|
|
|
|
|
our $VERSION = '0.2405'; |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
7
|
use namespace::autoclean; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
9
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
use Type::Library |
14
|
2
|
|
|
|
|
14
|
-base, |
15
|
|
|
|
|
|
|
-declare => qw/ |
16
|
|
|
|
|
|
|
Connection |
17
|
|
|
|
|
|
|
Line |
18
|
|
|
|
|
|
|
LineStation |
19
|
|
|
|
|
|
|
Route |
20
|
|
|
|
|
|
|
Routing |
21
|
|
|
|
|
|
|
Segment |
22
|
|
|
|
|
|
|
Station |
23
|
|
|
|
|
|
|
Step |
24
|
|
|
|
|
|
|
Transfer |
25
|
2
|
|
|
2
|
|
154
|
/; |
|
2
|
|
|
|
|
3
|
|
26
|
|
|
|
|
|
|
|
27
|
2
|
|
|
2
|
|
2303
|
use Type::Utils -all; |
|
2
|
|
|
|
|
6290
|
|
|
2
|
|
|
|
|
17
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
class_type Connection => { class => 'Map::Metro::Graph::Connection' }; |
30
|
|
|
|
|
|
|
class_type Line => { class => 'Map::Metro::Graph::Line' }; |
31
|
|
|
|
|
|
|
class_type LineStation => { class => 'Map::Metro::Graph::LineStation' }; |
32
|
|
|
|
|
|
|
class_type Route => { class => 'Map::Metro::Graph::Route' }; |
33
|
|
|
|
|
|
|
class_type Routing => { class => 'Map::Metro::Graph::Routing' }; |
34
|
|
|
|
|
|
|
class_type Segment => { class => 'Map::Metro::Graph::Segment' }; |
35
|
|
|
|
|
|
|
class_type Station => { class => 'Map::Metro::Graph::Station' }; |
36
|
|
|
|
|
|
|
class_type Step => { class => 'Map::Metro::Graph::Step' }; |
37
|
|
|
|
|
|
|
class_type Transfer => { class => 'Map::Metro::Graph::Transfer' }; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__END__ |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=pod |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=encoding UTF-8 |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 NAME |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Map::Metro::Types - Type library for Map::Metro |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 VERSION |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Version 0.2405, released 2016-07-23. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 SOURCE |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
L<https://github.com/Csson/p5-Map-Metro> |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 HOMEPAGE |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
L<https://metacpan.org/release/Map-Metro> |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 AUTHOR |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Erik Carlsson <info@code301.com> |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
This software is copyright (c) 2016 by Erik Carlsson. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
72
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=cut |