| 1 | |||||||||||
| 2 | 10 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 10 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | package Context::Singleton::Frame::Promise::Rule; | ||||||||||
| 6 | 10 | $Context::Singleton::Frame::Promise::Rule::VERSION = '1.0.9'; | |||||||||
| 7 | 10 | ▶ | use Moo; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 10 | ▶ | use namespace::clean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 10 | ▶ | BEGIN { extends q (Context::Singleton::Frame::Promise) } | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | |||||||||||
| 13 | 10 | ▶ | use namespace::clean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 14 | |||||||||||
| 15 | 10 | has q (rule) | |||||||||
| 16 | => is => q (ro) | ||||||||||
| 17 | ; | ||||||||||
| 18 | |||||||||||
| 19 | 1257 | ▶ | sub notify_deducible { | ||||||||
|
Subroutine
notify_deducible: called CC=2 SCAR=7.2
Pod
undocumented
| |||||||||||
| 20 | 1257 | my ($self, $in_depth) = @_; | |||||||||
| 21 | |||||||||||
| 22 | 1257 | ▶ | $self->set_deducible ($in_depth) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | if $self->deducible_dependencies | ||||||||||
| 24 | ; | ||||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | 39 | ▶ | sub deducible_builder { | ||||||||
|
Subroutine
deducible_builder: called CC=3 SCAR=11.0
Pod
undocumented
| |||||||||||
| 28 | 39 | my ($self) = @_; | |||||||||
| 29 | |||||||||||
| 30 | 39 | for my $dependency ($self->deducible_dependencies) { | |||||||||
| 31 | next | ||||||||||
| 32 | 42 | ▶ | unless $dependency->deduced_in_depth == $self->deduced_in_depth | ||||||||
|
Branch: 1 branch
| |||||||||||
| 33 | ; | ||||||||||
| 34 | |||||||||||
| 35 | 39 | return $dependency; | |||||||||
| 36 | } | ||||||||||
| 37 | } | ||||||||||
| 38 | |||||||||||
| 39 | 10 | 1; | |||||||||
| 40 | |||||||||||
| 41 | =pod | ||||||||||
| 42 | |||||||||||
| 43 | =encoding utf-8 | ||||||||||
| 44 | |||||||||||
| 45 | =head1 NAME | ||||||||||
| 46 | |||||||||||
| 47 | Context::Singleton::Frame::Promise::Rule - Represents all rules of one singleton | ||||||||||
| 48 | |||||||||||
| 49 | =head1 DESCRIPTION | ||||||||||
| 50 | |||||||||||
| 51 | This is internal package. | ||||||||||
| 52 | |||||||||||
| 53 | =head1 AUTHOR | ||||||||||
| 54 | |||||||||||
| 55 | Branislav ZahradnĂk <barney.cpan@gmail.com> | ||||||||||
| 56 | |||||||||||
| 57 | =head1 COPYRIGHT AND LICENCE | ||||||||||
| 58 | |||||||||||
| 59 | This module is part of L<Context::Singleton> distribution. | ||||||||||
| 60 | |||||||||||
| 61 | =cut | ||||||||||
| 62 | |||||||||||