Debian Codegraph @

engine/read_only/error_codes.table

raw
1 # Copyright 2022 Jeffrey Kegler
2 # Permission is hereby granted, free of charge, to any person obtaining a
3 # copy of this software and associated documentation files (the "Software"),
4 # to deal in the Software without restriction, including without limitation
5 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
6 # and/or sell copies of the Software, and to permit persons to whom the
7 # Software is furnished to do so, subject to the following conditions:
8 #
9 # The above copyright notice and this permission notice shall be included
10 # in all copies or substantial portions of the Software.
11 #
12 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15 # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
16 # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
17 # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
18 # OTHER DEALINGS IN THE SOFTWARE.
19
20 # ============ DO NOT EDIT DIRECTLY =============
21 # This file is written by the Libmarpa build process.
22 # It is NOT INTENDED TO BE MODIFIED DIRECTLY.
23 # Any changes will overwritten by the next full
24 # build of Libmarpa.
25 # ================================================
26
27 # Format is: number mnemonic message
28 # That is each newline-terminated line contains, in order:
29 # number, which must be an integer; followed by
30 # a single space; followed by
31 # a mnemonic, which is anything not containing whitespace; followed by
32 # a single space; followed by
33 # a message, which is anything not containing a newline
34 #
35
36 0 MARPA_ERR_NONE No error
37 1 MARPA_ERR_AHFA_IX_NEGATIVE MARPA_ERR_AHFA_IX_NEGATIVE
38 2 MARPA_ERR_AHFA_IX_OOB MARPA_ERR_AHFA_IX_OOB
39 3 MARPA_ERR_ANDID_NEGATIVE MARPA_ERR_ANDID_NEGATIVE
40 4 MARPA_ERR_ANDID_NOT_IN_OR MARPA_ERR_ANDID_NOT_IN_OR
41 5 MARPA_ERR_ANDIX_NEGATIVE MARPA_ERR_ANDIX_NEGATIVE
42 6 MARPA_ERR_BAD_SEPARATOR Separator has invalid symbol ID
43 7 MARPA_ERR_BOCAGE_ITERATION_EXHAUSTED MARPA_ERR_BOCAGE_ITERATION_EXHAUSTED
44 8 MARPA_ERR_COUNTED_NULLABLE Nullable symbol on RHS of a sequence rule
45 9 MARPA_ERR_DEVELOPMENT Development error, see string
46 10 MARPA_ERR_DUPLICATE_AND_NODE MARPA_ERR_DUPLICATE_AND_NODE
47 11 MARPA_ERR_DUPLICATE_RULE Duplicate rule
48 12 MARPA_ERR_DUPLICATE_TOKEN Duplicate token
49 13 MARPA_ERR_YIM_COUNT Maximum number of Earley items exceeded
50 14 MARPA_ERR_YIM_ID_INVALID MARPA_ERR_YIM_ID_INVALID
51 15 MARPA_ERR_EVENT_IX_NEGATIVE Negative event index
52 16 MARPA_ERR_EVENT_IX_OOB No event at that index
53 17 MARPA_ERR_GRAMMAR_HAS_CYCLE Grammar has cycle
54 18 MARPA_ERR_INACCESSIBLE_TOKEN Token symbol is inaccessible
55 19 MARPA_ERR_INTERNAL MARPA_ERR_INTERNAL
56 20 MARPA_ERR_INVALID_AHFA_ID MARPA_ERR_INVALID_AHFA_ID
57 21 MARPA_ERR_INVALID_AIMID MARPA_ERR_INVALID_AIMID
58 22 MARPA_ERR_INVALID_BOOLEAN Argument is not boolean
59 23 MARPA_ERR_INVALID_IRLID MARPA_ERR_INVALID_IRLID
60 24 MARPA_ERR_INVALID_NSYID MARPA_ERR_INVALID_NSYID
61 25 MARPA_ERR_INVALID_LOCATION Location is not valid
62 26 MARPA_ERR_INVALID_RULE_ID Rule ID is malformed
63 27 MARPA_ERR_INVALID_START_SYMBOL Specified start symbol is not valid
64 28 MARPA_ERR_INVALID_SYMBOL_ID Symbol ID is malformed
65 29 MARPA_ERR_I_AM_NOT_OK Marpa is in a not OK state
66 30 MARPA_ERR_MAJOR_VERSION_MISMATCH Libmarpa major version number is a mismatch
67 31 MARPA_ERR_MICRO_VERSION_MISMATCH Libmarpa micro version number is a mismatch
68 32 MARPA_ERR_MINOR_VERSION_MISMATCH Libmarpa minor version number is a mismatch
69 33 MARPA_ERR_NOOKID_NEGATIVE MARPA_ERR_NOOKID_NEGATIVE
70 34 MARPA_ERR_NOT_PRECOMPUTED This grammar is not precomputed
71 35 MARPA_ERR_NOT_TRACING_COMPLETION_LINKS MARPA_ERR_NOT_TRACING_COMPLETION_LINKS
72 36 MARPA_ERR_NOT_TRACING_LEO_LINKS MARPA_ERR_NOT_TRACING_LEO_LINKS
73 37 MARPA_ERR_NOT_TRACING_TOKEN_LINKS MARPA_ERR_NOT_TRACING_TOKEN_LINKS
74 38 MARPA_ERR_NO_AND_NODES MARPA_ERR_NO_AND_NODES
75 39 MARPA_ERR_NO_EARLEY_SET_AT_LOCATION Earley set ID is after latest Earley set
76 40 MARPA_ERR_NO_OR_NODES MARPA_ERR_NO_OR_NODES
77 41 MARPA_ERR_NO_PARSE No parse
78 42 MARPA_ERR_NO_RULES This grammar does not have any rules
79 43 MARPA_ERR_NO_START_SYMBOL This grammar has no start symbol
80 44 MARPA_ERR_NO_TOKEN_EXPECTED_HERE No token is expected at this earleme location
81 45 MARPA_ERR_NO_TRACE_YIM MARPA_ERR_NO_TRACE_YIM
82 46 MARPA_ERR_NO_TRACE_YS MARPA_ERR_NO_TRACE_YS
83 47 MARPA_ERR_NO_TRACE_PIM MARPA_ERR_NO_TRACE_PIM
84 48 MARPA_ERR_NO_TRACE_SRCL MARPA_ERR_NO_TRACE_SRCL
85 49 MARPA_ERR_NULLING_TERMINAL A symbol is both terminal and nulling
86 50 MARPA_ERR_ORDER_FROZEN The ordering is frozen
87 51 MARPA_ERR_ORID_NEGATIVE MARPA_ERR_ORID_NEGATIVE
88 52 MARPA_ERR_OR_ALREADY_ORDERED MARPA_ERR_OR_ALREADY_ORDERED
89 53 MARPA_ERR_PARSE_EXHAUSTED The parse is exhausted
90 54 MARPA_ERR_PARSE_TOO_LONG This input would make the parse too long
91 55 MARPA_ERR_PIM_IS_NOT_LIM MARPA_ERR_PIM_IS_NOT_LIM
92 56 MARPA_ERR_POINTER_ARG_NULL An argument is null when it should not be
93 57 MARPA_ERR_PRECOMPUTED This grammar is precomputed
94 58 MARPA_ERR_PROGRESS_REPORT_EXHAUSTED The progress report is exhausted
95 59 MARPA_ERR_PROGRESS_REPORT_NOT_STARTED No progress report has been started
96 60 MARPA_ERR_RECCE_NOT_ACCEPTING_INPUT The recognizer is not accepting input
97 61 MARPA_ERR_RECCE_NOT_STARTED The recognizer has not been started
98 62 MARPA_ERR_RECCE_STARTED The recognizer has been started
99 63 MARPA_ERR_RHS_IX_NEGATIVE RHS index cannot be negative
100 64 MARPA_ERR_RHS_IX_OOB RHS index must be less than rule length
101 65 MARPA_ERR_RHS_TOO_LONG The RHS is too long
102 66 MARPA_ERR_SEQUENCE_LHS_NOT_UNIQUE LHS of sequence rule would not be unique
103 67 MARPA_ERR_SOURCE_TYPE_IS_AMBIGUOUS MARPA_ERR_SOURCE_TYPE_IS_AMBIGUOUS
104 68 MARPA_ERR_SOURCE_TYPE_IS_COMPLETION MARPA_ERR_SOURCE_TYPE_IS_COMPLETION
105 69 MARPA_ERR_SOURCE_TYPE_IS_LEO MARPA_ERR_SOURCE_TYPE_IS_LEO
106 70 MARPA_ERR_SOURCE_TYPE_IS_NONE MARPA_ERR_SOURCE_TYPE_IS_NONE
107 71 MARPA_ERR_SOURCE_TYPE_IS_TOKEN MARPA_ERR_SOURCE_TYPE_IS_TOKEN
108 72 MARPA_ERR_SOURCE_TYPE_IS_UNKNOWN MARPA_ERR_SOURCE_TYPE_IS_UNKNOWN
109 73 MARPA_ERR_START_NOT_LHS Start symbol not on LHS of any rule
110 74 MARPA_ERR_SYMBOL_VALUED_CONFLICT Symbol is treated both as valued and unvalued
111 75 MARPA_ERR_TERMINAL_IS_LOCKED The terminal status of the symbol is locked
112 76 MARPA_ERR_TOKEN_IS_NOT_TERMINAL Token symbol must be a terminal
113 77 MARPA_ERR_TOKEN_LENGTH_LE_ZERO Token length must greater than zero
114 78 MARPA_ERR_TOKEN_TOO_LONG Token is too long
115 79 MARPA_ERR_TREE_EXHAUSTED Tree iterator is exhausted
116 80 MARPA_ERR_TREE_PAUSED Tree iterator is paused
117 81 MARPA_ERR_UNEXPECTED_TOKEN_ID Unexpected token
118 82 MARPA_ERR_UNPRODUCTIVE_START Unproductive start symbol
119 83 MARPA_ERR_VALUATOR_INACTIVE Valuator inactive
120 84 MARPA_ERR_VALUED_IS_LOCKED The valued status of the symbol is locked
121 85 MARPA_ERR_RANK_TOO_LOW Rule or symbol rank too low
122 86 MARPA_ERR_RANK_TOO_HIGH Rule or symbol rank too high
123 87 MARPA_ERR_SYMBOL_IS_NULLING Symbol is nulling
124 88 MARPA_ERR_SYMBOL_IS_UNUSED Symbol is not used
125 89 MARPA_ERR_NO_SUCH_RULE_ID No rule with this ID exists
126 90 MARPA_ERR_NO_SUCH_SYMBOL_ID No symbol with this ID exists
127 91 MARPA_ERR_BEFORE_FIRST_TREE Tree iterator is before first tree
128 92 MARPA_ERR_SYMBOL_IS_NOT_COMPLETION_EVENT Symbol is not set up for completion events
129 93 MARPA_ERR_SYMBOL_IS_NOT_NULLED_EVENT Symbol is not set up for nulled events
130 94 MARPA_ERR_SYMBOL_IS_NOT_PREDICTION_EVENT Symbol is not set up for prediction events
131 95 MARPA_ERR_RECCE_IS_INCONSISTENT MARPA_ERR_RECCE_IS_INCONSISTENT
132 96 MARPA_ERR_INVALID_ASSERTION_ID Assertion ID is malformed
133 97 MARPA_ERR_NO_SUCH_ASSERTION_ID No assertion with this ID exists
134 98 MARPA_ERR_HEADERS_DO_NOT_MATCH Internal error: Libmarpa was built incorrectly
135 99 MARPA_ERR_NOT_A_SEQUENCE Rule is not a sequence