line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
16
|
use 5.10.0; |
|
2
|
|
|
|
|
4
|
|
2
|
2
|
|
|
2
|
|
7
|
use strict; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
29
|
|
3
|
2
|
|
|
2
|
|
5
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
84
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Map::Metro::Types; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# ABSTRACT: Type library for Map::Metro |
8
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY |
9
|
|
|
|
|
|
|
our $VERSION = '0.2404'; |
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
|
|
166
|
/; |
|
2
|
|
|
|
|
4
|
|
26
|
|
|
|
|
|
|
|
27
|
2
|
|
|
2
|
|
2360
|
use Type::Utils -all; |
|
2
|
|
|
|
|
6335
|
|
|
2
|
|
|
|
|
16
|
|
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.2404, released 2016-04-30. |
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 |