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         27  
22 8     8   41 use strict;
  8         16  
  8         196  
23 8     8   51 use warnings;
  8         13  
  8         191  
24 8     8   60 use Carp;
  8         19  
  8         500  
25              
26 8     8   69 use vars qw($VERSION $STRING_VERSION);
  8         18  
  8         770  
27             $VERSION = '13.002_000';
28             $STRING_VERSION = $VERSION;
29             $VERSION = eval $VERSION;
30              
31              
32             package Marpa::R2::HTML::Internal::TDesc;
33 8     8   53 use constant TYPE => 0;
  8         20  
  8         577  
34 8     8   52 use constant START_TOKEN => 1;
  8         15  
  8         422  
35 8     8   49 use constant END_TOKEN => 2;
  8         15  
  8         414  
36 8     8   48 use constant VALUE => 3;
  8         15  
  8         409  
37 8     8   63 use constant RULE_ID => 4;
  8         16  
  8         487  
38              
39             package Marpa::R2::HTML::Internal::Token;
40 8     8   66 use constant TOKEN_ID => 0;
  8         23  
  8         406  
41 8     8   56 use constant TAG_NAME => 0;
  8         27  
  8         472  
42 8     8   52 use constant TYPE => 1;
  8         15  
  8         389  
43 8     8   47 use constant LINE => 2;
  8         22  
  8         454  
44 8     8   52 use constant COL => 3;
  8         12  
  8         399  
45 8     8   46 use constant COLUMN => 3;
  8         24  
  8         409  
46 8     8   49 use constant START_OFFSET => 4;
  8         18  
  8         399  
47 8     8   48 use constant END_OFFSET => 5;
  8         14  
  8         372  
48 8     8   45 use constant IS_CDATA => 6;
  8         23  
  8         422  
49 8     8   48 use constant ATTR => 7;
  8         55  
  8         505  
50              
51             1;