| 1 | # Data::Hopen::Visitor - abstract interface for a visitor. | ||
| 2 | package Data::Hopen::Visitor; | ||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use Data::Hopen::Base; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | our $VERSION = '0.000021'; | |
| 7 | |||
| 8 | 1 | ▶ | use Class::Tiny; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | # Docs {{{1 | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Data::Hopen::Visitor - Abstract base class for DAG visitors | ||
| 15 | |||
| 16 | =head1 SYNOPSIS | ||
| 17 | |||
| 18 | This is an abstract base class for visitors provided to | ||
| 19 | L<Data::Hopen::G::Dag/run>. | ||
| 20 | |||
| 21 | =cut | ||
| 22 | |||
| 23 | # }}}1 | ||
| 24 | |||
| 25 | =head1 FUNCTIONS | ||
| 26 | |||
| 27 | =head2 visit_goal | ||
| 28 | |||
| 29 | Process a L<Data::Hopen::G::Goal>. | ||
| 30 | |||
| 31 | =cut | ||
| 32 | |||
| 33 | 0 | ▶ | sub visit_goal { ... } |
|
Subroutine
visit_goal: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 34 | |||
| 35 | =head2 visit_node | ||
| 36 | |||
| 37 | Process a graph node that is not a C<Data::Hopen::G::Goal>. | ||
| 38 | |||
| 39 | =cut | ||
| 40 | |||
| 41 | 0 | ▶ | sub visit_node { ... } |
|
Subroutine
visit_node: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 42 | |||
| 43 | 1 | 1; | |
| 44 | __END__ | ||