File Coverage

blib/lib/Marpa/R2/HTML/Internal.pm
Criterion Covered Total %
statement 59 59 100.0
branch n/a
condition n/a
subroutine 20 20 100.0
pod n/a
total 79 79 100.0


line stmt bran cond sub pod time code
1             # Copyright 2022 Jeffrey Kegler
2             # This file is part of Marpa::R2. Marpa::R2 is free software: you can
3             # redistribute it and/or modify it under the terms of the GNU Lesser
4             # General Public License as published by the Free Software Foundation,
5             # either version 3 of the License, or (at your option) any later version.
6             #
7             # Marpa::R2 is distributed in the hope that it will be useful,
8             # but WITHOUT ANY WARRANTY; without even the implied warranty of
9             # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10             # Lesser General Public License for more details.
11             #
12             # You should have received a copy of the GNU Lesser
13             # General Public License along with Marpa::R2. If not, see
14             # http://www.gnu.org/licenses/.
15              
16             # DO NOT EDIT THIS FILE DIRECTLY
17             # It was generated by make_internal_pm.pl
18              
19             package Marpa::R2::Internal;
20              
21 8     8   150 use 5.010001;
  8         25  
22 8     8   46 use strict;
  8         17  
  8         157  
23 8     8   34 use warnings;
  8         12  
  8         187  
24 8     8   47 use Carp;
  8         14  
  8         504  
25              
26 8     8   58 use vars qw($VERSION $STRING_VERSION);
  8         30  
  8         781  
27             $VERSION = '12.000000';
28             $STRING_VERSION = $VERSION;
29             $VERSION = eval $VERSION;
30              
31              
32             package Marpa::R2::HTML::Internal::TDesc;
33 8     8   80 use constant TYPE => 0;
  8         15  
  8         544  
34 8     8   55 use constant START_TOKEN => 1;
  8         23  
  8         416  
35 8     8   48 use constant END_TOKEN => 2;
  8         18  
  8         404  
36 8     8   47 use constant VALUE => 3;
  8         15  
  8         424  
37 8     8   48 use constant RULE_ID => 4;
  8         15  
  8         464  
38              
39             package Marpa::R2::HTML::Internal::Token;
40 8     8   51 use constant TOKEN_ID => 0;
  8         17  
  8         407  
41 8     8   45 use constant TAG_NAME => 0;
  8         16  
  8         486  
42 8     8   50 use constant TYPE => 1;
  8         12  
  8         415  
43 8     8   62 use constant LINE => 2;
  8         17  
  8         462  
44 8     8   58 use constant COL => 3;
  8         16  
  8         363  
45 8     8   55 use constant COLUMN => 3;
  8         30  
  8         403  
46 8     8   47 use constant START_OFFSET => 4;
  8         13  
  8         401  
47 8     8   48 use constant END_OFFSET => 5;
  8         13  
  8         366  
48 8     8   45 use constant IS_CDATA => 6;
  8         15  
  8         453  
49 8     8   50 use constant ATTR => 7;
  8         15  
  8         488  
50              
51             1;