Commit | Line | Data |
---|---|---|
3fea05b9 | 1 | package MooseX::Method::Signatures::Types; |
2 | ||
3 | use MooseX::Types -declare => [qw/ Injections PrototypeInjections Params /]; | |
4 | use MooseX::Types::Moose qw/Str ArrayRef/; | |
5 | use MooseX::Types::Structured qw/Dict/; | |
6 | use Parse::Method::Signatures::Types qw/Param/; | |
7 | ||
8 | subtype Injections, | |
9 | as ArrayRef[Str]; | |
10 | ||
11 | subtype PrototypeInjections, | |
12 | as Dict[declarator => Str, injections => Injections]; | |
13 | ||
14 | subtype Params, | |
15 | as ArrayRef[Param]; | |
16 | ||
17 | 1; |