| 1 | package Logic::Relational::Goal::Fail; | ||
| 2 | |||
| 3 | 31 | ▶ | use v5.38; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 31 | ▶ | use experimental 'signatures'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 31 | ▶ | use parent 'Logic::Relational::Goal'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | =head1 NAME | ||
| 8 | |||
| 9 | Logic::Relational::Goal::Fail - Goal that always fails. | ||
| 10 | |||
| 11 | =cut | ||
| 12 | |||
| 13 | 1 | ▶ | sub new ($class) { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 14 | 1 | return bless {}, $class; | |
| 15 | } | ||
| 16 | |||
| 17 | 1 | ▶ | sub expand ( $self, %args ) { |
|
Subroutine
expand: called CC=1 SCAR=0.0
Pod
documented
| |||
| 18 | 1 | return (); | |
| 19 | } | ||
| 20 | |||
| 21 | 0 | ▶ | sub freshen ( $self, $var_map ) { |
|
Subroutine
freshen: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 22 | 0 | return $self; | |
| 23 | } | ||
| 24 | |||
| 25 | 0 | ▶ | sub is_ground ( $self, $subst ) { |
|
Subroutine
is_ground: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 26 | 0 | return 1; | |
| 27 | } | ||
| 28 | |||
| 29 | 31 | 1; | |