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   141 use 5.010001;
  8         23  
22 8     8   43 use strict;
  8         22  
  8         154  
23 8     8   71 use warnings;
  8         16  
  8         179  
24 8     8   34 use Carp;
  8         25  
  8         518  
25              
26 8     8   73 use vars qw($VERSION $STRING_VERSION);
  8         16  
  8         756  
27             $VERSION = '13.001_000';
28             $STRING_VERSION = $VERSION;
29             $VERSION = eval $VERSION;
30              
31              
32             package Marpa::R2::HTML::Internal::TDesc;
33 8     8   67 use constant TYPE => 0;
  8         19  
  8         555  
34 8     8   52 use constant START_TOKEN => 1;
  8         14  
  8         429  
35 8     8   47 use constant END_TOKEN => 2;
  8         15  
  8         418  
36 8     8   47 use constant VALUE => 3;
  8         15  
  8         405  
37 8     8   54 use constant RULE_ID => 4;
  8         16  
  8         458  
38              
39             package Marpa::R2::HTML::Internal::Token;
40 8     8   72 use constant TOKEN_ID => 0;
  8         17  
  8         391  
41 8     8   64 use constant TAG_NAME => 0;
  8         24  
  8         462  
42 8     8   52 use constant TYPE => 1;
  8         15  
  8         392  
43 8     8   47 use constant LINE => 2;
  8         28  
  8         493  
44 8     8   59 use constant COL => 3;
  8         15  
  8         468  
45 8     8   61 use constant COLUMN => 3;
  8         37  
  8         389  
46 8     8   48 use constant START_OFFSET => 4;
  8         15  
  8         407  
47 8     8   57 use constant END_OFFSET => 5;
  8         19  
  8         424  
48 8     8   45 use constant IS_CDATA => 6;
  8         39  
  8         412  
49 8     8   49 use constant ATTR => 7;
  8         43  
  8         506  
50              
51             1;