| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package MarpaX::ESLIF::Recognizer; | ||
| 5 | 1 | ▶ | use parent qw/MarpaX::ESLIF::Base/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | # | ||
| 8 | # Base required class methods | ||
| 9 | # | ||
| 10 | 0 | ▶ | sub _CLONABLE { return sub { 0 } } |
|
Subroutine
_CLONABLE: not called CC=1 SCAR=6.9
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 11 | 0 | ▶ | sub _ALLOCATE { return \&MarpaX::ESLIF::Recognizer::allocate } |
|
Subroutine
_ALLOCATE: not called CC=1 SCAR=6.9
| |||
| 12 | 0 | ▶ | sub _DISPOSE { return \&MarpaX::ESLIF::Recognizer::dispose } |
|
Subroutine
_DISPOSE: not called CC=1 SCAR=6.9
| |||
| 13 | 0 | ▶ | sub _EQ { return } |
|
Subroutine
_EQ: not called CC=1 SCAR=6.9
| |||
| 14 | |||
| 15 | # ABSTRACT: MarpaX::ESLIF's recognizer | ||
| 16 | |||
| 17 | 1 | our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY | |
| 18 | |||
| 19 | 1 | our $VERSION = '6.0.35.1'; # VERSION | |
| 20 | |||
| 21 | |||
| 22 | 0 | ▶ | sub _allocate_newFrom { |
|
Subroutine
_allocate_newFrom: not called CC=1 SCAR=6.9
| |||
| 23 | 0 | my ($self, $eslifGrammar) = @_; | |
| 24 | |||
| 25 | 0 | return $self->allocate_newFrom($eslifGrammar) | |
| 26 | } | ||
| 27 | |||
| 28 | 0 | ▶ | sub newFrom { |
|
Subroutine
newFrom: not called CC=1 SCAR=2.2
Pod
documented
| |||
| 29 | 0 | my $self = shift; | |
| 30 | { | ||
| 31 | 0 | ▶ | no warnings 'redefine'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.2
| |||
| 32 | 0 | ▶ | local *_ALLOCATE = sub { return \&_allocate_newFrom }; |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 33 | # | ||
| 34 | # Take care, this is method that returns a new instance | ||
| 35 | # | ||
| 36 | 0 | return $self->new(@_) | |
| 37 | } | ||
| 38 | } | ||
| 39 | |||
| 40 | |||
| 41 | 0 | ▶ | sub lexemeAlternative { goto &alternative } |
|
Subroutine
lexemeAlternative: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 42 | |||
| 43 | |||
| 44 | 0 | ▶ | sub lexemeComplete { goto &alternativeComplete } |
|
Subroutine
lexemeComplete: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 45 | |||
| 46 | |||
| 47 | 0 | ▶ | sub lexemeRead { goto &alternativeRead } |
|
Subroutine
lexemeRead: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 48 | |||
| 49 | |||
| 50 | 0 | ▶ | sub lexemeTry { goto &nameTry } |
|
Subroutine
lexemeTry: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 51 | |||
| 52 | |||
| 53 | 0 | ▶ | sub lexemeExpected { goto &nameExpected } |
|
Subroutine
lexemeExpected: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 54 | |||
| 55 | |||
| 56 | 0 | ▶ | sub lexemeLastPause { goto &nameLastPause } |
|
Subroutine
lexemeLastPause: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 57 | |||
| 58 | |||
| 59 | 0 | ▶ | sub lexemeLastTry { goto &nameLastTry } |
|
Subroutine
lexemeLastTry: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 60 | |||
| 61 | |||
| 62 | 0 | ▶ | sub CLONE_SKIP { |
|
Subroutine
CLONE_SKIP: not called CC=1 SCAR=6.9
| |||
| 63 | 0 | return 1 | |
| 64 | } | ||
| 65 | |||
| 66 | 1 | 1; | |
| 67 | |||
| 68 | __END__ | ||