Prolog/TermList/Step.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 95.8% 23 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Prolog/Parser/PreProcessor.pm ↑ Summary
1 package AI::Prolog::TermList::Step;
2 13 $REVISION = '$Id: Step.pm,v 1.2 2005/02/20 18:27:55 ovid Exp $';
3 13 $VERSION = '0.1';
4 13 @ISA = 'AI::Prolog::TermList';
5 13 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 13 ▶use aliased 'AI::Prolog::Term';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
11 1 my ($class, $termlist) = @_;
12 1 my $self = $class->SUPER::new;
13  
14 1 $self->{next} = $termlist->next;
15 1 $termlist->{next} = $self;
16 1 $self->{term} = Term->new('STEP',0);
17 1 return $self;
18 }
19  
20 13 1;
21 __END__
« Prolog/Parser/PreProcessor.pm ↑ Summary