| 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 |
use 5.010001; |
| 22 |
use strict; |
| 23 |
use warnings; |
| 24 |
use Carp; |
| 25 |
|
| 26 |
use vars qw($VERSION $STRING_VERSION); |
| 27 |
$VERSION = '14.000000'; |
| 28 |
$STRING_VERSION = $VERSION; |
| 29 |
$VERSION = eval $VERSION; |
| 30 |
|
| 31 |
|
| 32 |
package Marpa::R2::Internal::Symbol; |
| 33 |
use constant ID => 0; |
| 34 |
use constant BLESSING => 1; |
| 35 |
use constant LEXEME_SEMANTICS => 2; |
| 36 |
use constant DISPLAY_FORM => 3; |
| 37 |
use constant DSL_FORM => 4; |
| 38 |
use constant LEGACY_NAME => 5; |
| 39 |
use constant DESCRIPTION => 6; |
| 40 |
use constant IF_INACCESSIBLE => 7; |
| 41 |
|
| 42 |
package Marpa::R2::Internal::Rule; |
| 43 |
use constant ID => 0; |
| 44 |
use constant NAME => 1; |
| 45 |
use constant DISCARD_SEPARATION => 2; |
| 46 |
use constant MASK => 3; |
| 47 |
use constant SLIF_TAG => 4; |
| 48 |
use constant ACTION_NAME => 5; |
| 49 |
use constant BLESSING => 6; |
| 50 |
use constant DESCRIPTION => 7; |
| 51 |
|
| 52 |
package Marpa::R2::Internal::Grammar; |
| 53 |
use constant C => 0; |
| 54 |
use constant TRACER => 1; |
| 55 |
use constant RULES => 2; |
| 56 |
use constant RULE_ID_BY_TAG => 3; |
| 57 |
use constant SYMBOLS => 4; |
| 58 |
use constant ACTIONS => 5; |
| 59 |
use constant BLESS_PACKAGE => 6; |
| 60 |
use constant DEFAULT_ACTION => 7; |
| 61 |
use constant TRACE_FILE_HANDLE => 8; |
| 62 |
use constant WARNINGS => 9; |
| 63 |
use constant INTERFACE => 10; |
| 64 |
use constant INTERNAL => 11; |
| 65 |
use constant CHARACTER_CLASSES => 12; |
| 66 |
use constant CHARACTER_CLASS_TABLE => 13; |
| 67 |
use constant LAST_BASIC_DATA_FIELD => 13; |
| 68 |
use constant DEFAULT_EMPTY_ACTION => 14; |
| 69 |
use constant ACTION_OBJECT => 15; |
| 70 |
use constant INFINITE_ACTION => 16; |
| 71 |
use constant LAST_EVALUATOR_FIELD => 16; |
| 72 |
use constant PROBLEMS => 17; |
| 73 |
use constant LAST_RECOGNIZER_FIELD => 17; |
| 74 |
use constant START_NAME => 18; |
| 75 |
use constant INACCESSIBLE_OK => 19; |
| 76 |
use constant UNPRODUCTIVE_OK => 20; |
| 77 |
use constant TRACE_RULES => 21; |
| 78 |
use constant LAST_FIELD => 21; |
| 79 |
|
| 80 |
package Marpa::R2::Internal::Recognizer; |
| 81 |
use constant C => 0; |
| 82 |
use constant B_C => 1; |
| 83 |
use constant O_C => 2; |
| 84 |
use constant T_C => 3; |
| 85 |
use constant GRAMMAR => 4; |
| 86 |
use constant TREE_MODE => 5; |
| 87 |
use constant FINISHED => 6; |
| 88 |
use constant TOKEN_VALUES => 7; |
| 89 |
use constant ASF_OR_NODES => 8; |
| 90 |
use constant TRACE_FILE_HANDLE => 9; |
| 91 |
use constant ERROR_MESSAGE => 10; |
| 92 |
use constant END_OF_PARSE => 11; |
| 93 |
use constant CLOSURES => 12; |
| 94 |
use constant EVENT_IF_EXPECTED => 13; |
| 95 |
use constant MAX_PARSES => 14; |
| 96 |
use constant RANKING_METHOD => 15; |
| 97 |
use constant TRACE_ACTIONS => 16; |
| 98 |
use constant TRACE_AND_NODES => 17; |
| 99 |
use constant TRACE_BOCAGE => 18; |
| 100 |
use constant TRACE_EARLEY_SETS => 19; |
| 101 |
use constant TRACE_OR_NODES => 20; |
| 102 |
use constant TRACE_TERMINALS => 21; |
| 103 |
use constant TRACE_VALUES => 22; |
| 104 |
use constant TRACE_SL => 23; |
| 105 |
use constant WARNINGS => 24; |
| 106 |
use constant EVENTS => 25; |
| 107 |
use constant NO_PARSE => 26; |
| 108 |
use constant READ_STRING_ERROR => 27; |
| 109 |
use constant NULL_VALUES => 28; |
| 110 |
use constant PER_PARSE_CONSTRUCTOR => 29; |
| 111 |
use constant RESOLVE_PACKAGE => 30; |
| 112 |
use constant RESOLVE_PACKAGE_SOURCE => 31; |
| 113 |
use constant REGISTRATIONS => 32; |
| 114 |
use constant CLOSURE_BY_SYMBOL_ID => 33; |
| 115 |
use constant CLOSURE_BY_RULE_ID => 34; |
| 116 |
|
| 117 |
package Marpa::R2::Internal::Progress_Report; |
| 118 |
use constant RULE_ID => 0; |
| 119 |
use constant POSITION => 1; |
| 120 |
use constant ORIGIN => 2; |
| 121 |
use constant CURRENT => 3; |
| 122 |
|
| 123 |
package Marpa::R2::Internal::Glade; |
| 124 |
use constant ID => 0; |
| 125 |
use constant SYMCHES => 1; |
| 126 |
use constant VISITED => 2; |
| 127 |
use constant REGISTERED => 3; |
| 128 |
|
| 129 |
package Marpa::R2::Internal::Choicepoint; |
| 130 |
use constant ASF => 0; |
| 131 |
use constant FACTORING_STACK => 1; |
| 132 |
use constant OR_NODE_IN_USE => 2; |
| 133 |
|
| 134 |
package Marpa::R2::Internal::Nook; |
| 135 |
use constant PARENT => 0; |
| 136 |
use constant OR_NODE => 1; |
| 137 |
use constant FIRST_CHOICE => 2; |
| 138 |
use constant LAST_CHOICE => 3; |
| 139 |
use constant IS_CAUSE => 4; |
| 140 |
use constant IS_PREDECESSOR => 5; |
| 141 |
use constant CAUSE_IS_EXPANDED => 6; |
| 142 |
use constant PREDECESSOR_IS_EXPANDED => 7; |
| 143 |
|
| 144 |
package Marpa::R2::Internal::ASF; |
| 145 |
use constant SLR => 0; |
| 146 |
use constant LEXEME_RESOLUTIONS => 1; |
| 147 |
use constant RULE_RESOLUTIONS => 2; |
| 148 |
use constant FACTORING_MAX => 3; |
| 149 |
use constant RULE_BLESSINGS => 4; |
| 150 |
use constant SYMBOL_BLESSINGS => 5; |
| 151 |
use constant SYMCH_BLESSING_PACKAGE => 6; |
| 152 |
use constant FACTORING_BLESSING_PACKAGE => 7; |
| 153 |
use constant PROBLEM_BLESSING_PACKAGE => 8; |
| 154 |
use constant DEFAULT_RULE_BLESSING_PACKAGE => 9; |
| 155 |
use constant DEFAULT_TOKEN_BLESSING_PACKAGE => 10; |
| 156 |
use constant OR_NODES => 11; |
| 157 |
use constant GLADES => 12; |
| 158 |
use constant INTSET_BY_KEY => 13; |
| 159 |
use constant NEXT_INTSET_ID => 14; |
| 160 |
use constant NIDSET_BY_ID => 15; |
| 161 |
use constant POWERSET_BY_ID => 16; |
| 162 |
|
| 163 |
package Marpa::R2::Internal::ASF::Traverse; |
| 164 |
use constant ASF => 0; |
| 165 |
use constant VALUES => 1; |
| 166 |
use constant CODE => 2; |
| 167 |
use constant PER_TRAVERSE_OBJECT => 3; |
| 168 |
use constant GLADE => 4; |
| 169 |
use constant SYMCH_IX => 5; |
| 170 |
use constant FACTORING_IX => 6; |
| 171 |
|
| 172 |
package Marpa::R2::Internal::Nidset; |
| 173 |
use constant ID => 0; |
| 174 |
use constant NIDS => 1; |
| 175 |
|
| 176 |
package Marpa::R2::Internal::Powerset; |
| 177 |
use constant ID => 0; |
| 178 |
use constant NIDSET_IDS => 1; |
| 179 |
|
| 180 |
package Marpa::R2::Internal::Scanless::G; |
| 181 |
use constant C => 0; |
| 182 |
use constant THICK_LEX_GRAMMARS => 1; |
| 183 |
use constant THICK_G1_GRAMMAR => 2; |
| 184 |
use constant CHARACTER_CLASS_TABLES => 3; |
| 185 |
use constant DISCARD_EVENT_BY_LEXER_RULE => 4; |
| 186 |
use constant MASK_BY_RULE_ID => 5; |
| 187 |
use constant DEFAULT_G1_START_ACTION => 6; |
| 188 |
use constant COMPLETION_EVENT_BY_ID => 7; |
| 189 |
use constant NULLED_EVENT_BY_ID => 8; |
| 190 |
use constant PREDICTION_EVENT_BY_ID => 9; |
| 191 |
use constant LEXEME_EVENT_BY_ID => 10; |
| 192 |
use constant SYMBOL_IDS_BY_EVENT_NAME_AND_TYPE => 11; |
| 193 |
use constant CACHE_RULEIDS_BY_LHS_NAME => 12; |
| 194 |
use constant TRACE_FILE_HANDLE => 13; |
| 195 |
use constant TRACE_TERMINALS => 14; |
| 196 |
|
| 197 |
package Marpa::R2::Internal::Scanless::R; |
| 198 |
use constant C => 0; |
| 199 |
use constant GRAMMAR => 1; |
| 200 |
use constant THICK_G1_RECCE => 2; |
| 201 |
use constant P_INPUT_STRING => 3; |
| 202 |
use constant EXHAUSTION_ACTION => 4; |
| 203 |
use constant REJECTION_ACTION => 5; |
| 204 |
use constant TRACE_FILE_HANDLE => 6; |
| 205 |
use constant TRACE_LEXERS => 7; |
| 206 |
use constant TRACE_TERMINALS => 8; |
| 207 |
use constant READ_STRING_ERROR => 9; |
| 208 |
use constant EVENTS => 10; |
| 209 |
|
| 210 |
1; |