| 1 | package TPath::Selector::Test::Root; | ||
| 2 | $TPath::Selector::Test::Root::VERSION = '1.007'; | ||
| 3 | # ABSTRACT: handles C<:root> | ||
| 4 | |||
| 5 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | |||
| 9 | with 'TPath::Selector::Test'; | ||
| 10 | |||
| 11 | |||
| 12 | 0 | ▶ | sub candidates { |
|
Subroutine
candidates: not called CC=1 SCAR=6.9
| |||
| 13 | 0 | my ( $self, $ctx ) = @_; | |
| 14 | 0 | return $ctx->i->root; | |
| 15 | } | ||
| 16 | |||
| 17 | 0 | ▶ | sub to_string { ':root' } |
|
Subroutine
to_string: not called CC=1 SCAR=6.9
| |||
| 18 | |||
| 19 | __PACKAGE__->meta->make_immutable; | ||
| 20 | |||
| 21 | 1; | ||
| 22 | |||
| 23 | __END__ | ||