| 1 | package StateML::Event ; | ||||||||||
| 2 | |||||||||||
| 3 | 3 | ▶ | use strict ; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 3 | ▶ | use base qw(StateML::Object ) ; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 3 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 7 | 3 | return shift()->SUPER::new( | |||||||||
| 8 | API => undef, | ||||||||||
| 9 | PRE_HANDLERS => [], | ||||||||||
| 10 | POST_HANDLERS => [], | ||||||||||
| 11 | HANDLERS => [], | ||||||||||
| 12 | @_ | ||||||||||
| 13 | ) ; | ||||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | sub api { | ||||||||
|
Subroutine
api: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 18 | 0 | my $self = shift ; | |||||||||
| 19 | 0 | ▶ | $self->{API} = shift if @_ ; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | 0 | return $self->{API} ; | |||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | 0 | ▶ | sub description { | ||||||||
|
Subroutine
description: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 24 | 0 | my $self = shift ; | |||||||||
| 25 | 0 | ▶ | $self->{DESCRIPTION} = shift if @_ ; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 26 | 0 | return $self->{DESCRIPTION}; | |||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | 0 | ▶ | sub pre_handlers { | ||||||||
|
Subroutine
pre_handlers: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 30 | 0 | my $self = shift ; | |||||||||
| 31 | 0 | ▶ | $self->{PRE_HANDLERS} = @_ if @_ ; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 32 | 0 | return @{$self->{PRE_HANDLERS}} ; | |||||||||
| 33 | } | ||||||||||
| 34 | |||||||||||
| 35 | |||||||||||
| 36 | 0 | ▶ | sub handlers { | ||||||||
|
Subroutine
handlers: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 37 | 0 | my $self = shift ; | |||||||||
| 38 | 0 | ▶ | $self->{HANDLERS} = @_ if @_ ; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 39 | 0 | return @{$self->{HANDLERS}} ; | |||||||||
| 40 | } | ||||||||||
| 41 | |||||||||||
| 42 | 0 | ▶ | sub post_handlers { | ||||||||
|
Subroutine
post_handlers: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 43 | 0 | my $self = shift ; | |||||||||
| 44 | 0 | ▶ | $self->{POST_HANDLERS} = @_ if @_ ; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 45 | 0 | return @{$self->{POST_HANDLERS}} ; | |||||||||
| 46 | } | ||||||||||
| 47 | |||||||||||
| 48 | |||||||||||
| 49 | 0 | ▶ | sub arcs { | ||||||||
|
Subroutine
arcs: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 50 | 0 | my $self = shift ; | |||||||||
| 51 | 0 | return $self->machine->arcs_for_event( $self ) ; | |||||||||
| 52 | } | ||||||||||
| 53 | |||||||||||
| 54 | 3 | 1 ; | |||||||||