line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
5
|
|
|
5
|
|
50
|
use strict; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
158
|
|
2
|
5
|
|
|
5
|
|
29
|
use warnings FATAL => 'all'; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
1320
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package MarpaX::ESLIF::URI::_generic::RecognizerInterface; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.006'; # VERSION |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: MarpaX::ESLIF's URI Recognizer Interface |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# |
13
|
|
|
|
|
|
|
# This class is very internal and should not harm Pod coverage test |
14
|
|
|
|
|
|
|
# |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
# |
18
|
|
|
|
|
|
|
# Optimized constructor |
19
|
|
|
|
|
|
|
# |
20
|
32
|
|
|
32
|
0
|
121
|
sub new { bless \$_[1], $_[0] } |
21
|
|
|
|
|
|
|
# |
22
|
|
|
|
|
|
|
# Recognizer Interface required methods |
23
|
|
|
|
|
|
|
# |
24
|
32
|
|
|
32
|
0
|
192
|
sub read { 1 } # First read callback will be ok |
25
|
32
|
|
|
32
|
0
|
127
|
sub isEof { 1 } # ../. and we will say this is EOF |
26
|
32
|
|
|
32
|
0
|
15400
|
sub isCharacterStream { 1 } # MarpaX::ESLIF will validate the input |
27
|
|
|
|
32
|
0
|
|
sub encoding { } # Let MarpaX::ESLIF guess |
28
|
32
|
|
|
32
|
0
|
69
|
sub data { "${$_[0]}" } # Forced stringified input |
|
32
|
|
|
|
|
210
|
|
29
|
32
|
|
|
32
|
0
|
165
|
sub isWithDisableThreshold { 0 } # Disable threshold warning ? |
30
|
32
|
|
|
32
|
0
|
129
|
sub isWithExhaustion { 0 } # Exhaustion event ? |
31
|
32
|
|
|
32
|
0
|
127
|
sub isWithNewline { 0 } # Newline count ? |
32
|
32
|
|
|
32
|
0
|
123
|
sub isWithTrack { 0 } # Absolute position tracking ? |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
__END__ |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=pod |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=encoding UTF-8 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 NAME |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
MarpaX::ESLIF::URI::_generic::RecognizerInterface - MarpaX::ESLIF's URI Recognizer Interface |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 VERSION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
version 0.006 |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=for Pod::Coverage *EVERYTHING* |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 AUTHOR |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Jean-Damien Durand <jeandamiendurand@free.fr> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This software is copyright (c) 2017 by Jean-Damien Durand. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
61
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |